Struct WaypointTravelledBroadcast
Server → owner: the character has been moved to the waypoint. The position itself arrives through the reconcile; this exists so the map can close and the arrival sound can play at the moment it happened rather than when the client notices the jump.
public struct WaypointTravelledBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Remarks
The scene is not named. Travel resolves the waypoint out of the character's own
scene (WaypointRegistry.TryGet is keyed by its scene handle), so the arrival is
always in the scene the owner is standing in; the controller substitutes
CurrentSceneName().
Fields
WaypointIndex
public int WaypointIndex