Module client_packets

Source
Expand description

This module contains the definitions for the admin packets that can be sent to the server.

Structs§

Chat
Send chat as the server.
Gamescript
Send a JSON string to the current active GameScript.
Join
The admin announces and authenticates itself to the server.
Ping
Ping the server, requiring the server to reply with a pong packet.
Poll
Poll the server for certain updates, an invalid poll (e.g. not existent id) gets silently dropped.
Quit
Notification to the server that this admin is quitting.
Rcon
Execute a command on the servers console.
UpdateFrequency
Register updates to be sent at certain frequencies (as announced in the PROTOCOL packet).

Traits§

Packet
Implemented by all admin client-sendable types.