Table of Contents

Class MessageTypes

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

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

byte

Commands

Client → server: typed commands.

public const byte Commands = 131

Field Value

byte

Hello

Client → server: the first message.

public const byte Hello = 129

Field Value

byte

Kick

Server → client: the session is being closed.

public const byte Kick = 4

Field Value

byte

Ping

Client → server: liveness and the last applied tick.

public const byte Ping = 132

Field Value

byte

Pong

Server → client: reply to Ping.

public const byte Pong = 3

Field Value

byte

Tick

Server → client: one tick's frame.

public const byte Tick = 2

Field Value

byte

Welcome

Server → client: session opened.

public const byte Welcome = 1

Field Value

byte