Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Media.PlayersCreatedEvent
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PlayersCreatedEvent } = default.Media;

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.