Class MessageTypes
The first byte of every message (03-wire-protocol § 3). Client-to-server types have the high bit set.
public static class MessageTypes
- Inheritance
-
MessageTypes
- Inherited Members
Fields
Bye
Client → server: a clean leave.
public const byte Bye = 133
Field Value
Commands
Client → server: typed commands.
public const byte Commands = 131
Field Value
Hello
Client → server: the first message.
public const byte Hello = 129
Field Value
Kick
Server → client: the session is being closed.
public const byte Kick = 4
Field Value
Ping
Client → server: liveness and the last applied tick.
public const byte Ping = 132
Field Value
Pong
Server → client: reply to Ping.
public const byte Pong = 3
Field Value
Tick
Server → client: one tick's frame.
public const byte Tick = 2
Field Value
Welcome
Server → client: session opened.
public const byte Welcome = 1