Enum ServerPacketType
Types of packets that the server can send to a client.
public enum ServerPacketType
- Extension Methods
Fields
AssetInfoRequest = 2
Sends information about all used assets by the server, meaning the level file, models, materials and so on.
AssetPayload = 3
Can be URLs to Steam workshop items, or actual binary asset data.
AuthRequest = 1
Disconnect = 0
Forcibly disconnects a client, sends a short string to the client with a reason for the disconnection. Typically happens whenever the server shuts down, or when a client is kicked/banned etc.
GameEventPayload = 7
Contains game event/RPC data.
GameStatePayload = 6
Contains entity state data.
SpawnCompleteAck = 5
Acknowledgment to SpawnComplete.
SpawnResponse = 4
Sends a full snapshot of the game state (can come in chunks), and an entity ID.