Skip to main content

MessageType

An enum in Root.Township, Alta.Networking.

The kind of a connection-level network message: joining, spawning, entity updates, scene sync, voice and so on. Each has a handler on the receiving connection.

Values​

Member
ClientIsReadyToSpawn = 11
ConfirmServerControl = 13
ConnectionPauseRequest = 17
Debug = 1
EntityDestroyed = 21
EntityInternal = 24
EntityMissing = 22
EntityMoved = 23
Error = 2
FileCacheRequest = 26
InitialEntitySerialize = 29
None = 0
Ping = 6
RequestJoin = 9
RequestJoinResponse = 10
RequestServerControl = 12
SceneEntitySync = 25
SceneSerialize = 28
ServerControlMessage = 15
ServerDiagnostics = 4
ServerStatus = 7
SpawnEntity = 20
VoiceChat = 30

Used in​

Members of other types that take, return or hold a MessageType: