Expand description
ts-bookkeeping
contains structs to store the state of a TeamSpeak server, with its clients and
channels.
The crate can be used to keep track of the state on a server by processing all incoming commands, which is why it is called “bookkeeping”. It also contains generated structs for all TeamSpeak commands.
Incoming commands can be applied to the state and generate events
. The main struct is
data::Connection
.
The structs have methods to create packets for various actions. The generated packets can be sent to a server.
Modules§
Structs§
- Channel
Group Id - Identifies a channel group on a server.
- Channel
Id - Identifies a channel on a server.
- Channel
Permission Hint - Hints if the client has the permission to make specific actions.
- Client
DbId - The database id of a client.
- Client
Id - A
ClientId
identifies a client which is connected to a server. - Client
Permission Hint - Hints if the client has the permission to make specific actions.
- Connect
Options - The configuration to create a new connection.
- Disconnect
Options - IconId
- Invoker
- Invoker
Ref - Permission
- Server
Group Id - Identifies a server group on a server.
- Talk
Power Request - Uid
- UidBuf
- Describes a client or server uid which is a base64 encoded hash or a special reserved name.