Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServerClientEventContext

Hierarchy

  • ServerClientEventContext

Index

Properties

Optional map

map: Partial<GameMapV2>

If mapId is present on the incoming event, then map will be populated. You are not guaranteed completeness in the map object.

Optional player

player: Partial<Player>

If encId is present on the incoming event, then player will be populated here. You are not guaranteed completeness in the player object, some fields may be undefined.

Optional playerId

playerId: string

The uid of the player, if present.

spaceId

spaceId: string

The space this client is operating on. Mostly for convenience

Optional target

target: Partial<Player>

If encIdTarget is present on the incoming event, then target will be populated. You are not guaranteed completeness, just like player; it's whatever is in the state.

Optional targetId

targetId: string

The uid of the target, if present.

Generated using TypeDoc