Nebula
Protocol

KickedMsg

Gateway -> client: the server removed this player (MsgId.Kicked, protocol 23).

generated from the sources
public struct KickedMsg

Gateway -> client: the server removed this player (MsgId.Kicked, protocol 23). The session is over: the worker removes the pawn, and the gateway closes the link right after sending this. The client does not reconnect by itself.

Fields

Code

public ushort Code;

The game's own code for why, for the client's code to branch on. Nebula gives it no meaning; 0 when the server gave none.

Reason

public string Reason;

Why, fit to show the player.

Methods

Write

public void Write(NetworkWriter w);

Read

public static KickedMsg Read(NetworkReader r);

On this page