Protocol
SessionReplacedMsg
Gateway -> client: the player this client signed in as connected again elsewhere, and that newer connection now holds the session and the pawn (NebulaConfig.SingleSessionPerPlayer).
generated from the sources
Struct in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/Messages.cspublic struct SessionReplacedMsgGateway -> client: the player this client signed in as connected again elsewhere, and that newer connection now holds the session and the pawn (NebulaConfig.SingleSessionPerPlayer). The gateway closes the link right after sending it. The client keeps its identity but must not reconnect by itself, or the two connections would take the player from each other in turn; Reason is fit to show the player.
Fields
Reason
public string Reason;Methods
Write
public void Write(NetworkWriter w);Read
public static SessionReplacedMsg Read(NetworkReader r);