Enum ServerPacketType
Types of packets that the server can send to a client.
public enum ServerPacketType
- Extension Methods
Fields
AssetInfoRequest = 2Sends information about all used assets by the server, meaning the level file, models, materials and so on.
AssetPayload = 3Can be URLs to Steam workshop items, or actual binary asset data.
AuthRequest = 1Disconnect = 0Forcibly 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 = 7Contains game event/RPC data.
GameStatePayload = 6Contains entity state data.
SpawnCompleteAck = 5Acknowledgment to SpawnComplete.
SpawnResponse = 4Sends a full snapshot of the game state (can come in chunks), and an entity ID.