DespawnPlayerMsg
Gateway -> worker: the client's link ended, so the session waits for a reclaim, or the session is over (EndNow).
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/Messages.cspublic struct DespawnPlayerMsgGateway -> worker: the client's link ended, so the session waits for a reclaim, or the session is over (EndNow). Fenced by Generation like SpawnPlayerMsg. A worker that has handed the pawn on forwards it to the new owner.
Fields
ClientId
public ulong ClientId;Generation
public ulong Generation;EndNow
public bool EndNow;The session is over and not waiting for a reclaim: the player said goodbye, or was kicked. The worker removes the pawn now instead of keeping it for NebulaConfig.SessionReclaimSeconds.
Methods
Write
public void Write(NetworkWriter w);Read
public static DespawnPlayerMsg Read(NetworkReader r);ContainerOwnershipUpdate
What one MsgId.ContainerOwnership message says: either the complete set of containers a client should know about (Full) or a change to it.
DriveInputMsg
A driver's recent inputs for an entity it drives (MsgId.DriveInput, protocol 25): the same frames as ClientInputMsg, for the entity NetId names instead of the sender's pawn.