Nebula
Protocol

DespawnPlayerMsg

Gateway -> worker: the client's link ended, so the session waits for a reclaim, or the session is over (EndNow).

generated from the sources
public struct DespawnPlayerMsg

Gateway -> 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);

On this page