roomId}"); } public function broadcastAs(): string { return 'room.emote.thrown'; } /** * @return array{id: string, from_player_id: int, target_player_id: int} */ public function broadcastWith(): array { return [ 'id' => $this->id, 'from_player_id' => $this->fromPlayerId, 'target_player_id' => $this->targetPlayerId, ]; } }