Client
LocalPlayerLossCause
Why the local player's pawn went away while the client stayed connected (NebulaClient.LocalPlayerLost).
generated from the sources
Enum in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Client/DisconnectInfo.cspublic enum LocalPlayerLossCause : byteWhy the local player's pawn went away while the client stayed connected (NebulaClient.LocalPlayerLost).
Members
| Name | Value | Description |
|---|---|---|
Despawned | 0 | The server removed the pawn: game code on its worker despawned it. Whether the player gets another one is up to the game. |
WorkerLost | 1 | The worker that simulated the pawn failed. The gateway is placing the player again (NebulaClient.JoinHoldReason is JoinHoldReason.Recovering), from the pawn's last checkpoint when it has one, and NebulaClient.LocalPlayerSpawned follows when it is back. |