forked from ReSpeak/tsdeclarations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMessages.toml
315 lines (308 loc) · 37.7 KB
/
Messages.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
fields = [
{ map="aclid", ts="aclid", pretty="ClientId", type="ClientId" },
{ map="acn", ts="acn", pretty="ClientName", type="str" },
{ map="alpha", ts="alpha", pretty="Alpha", type="str" },
{ map="average_speed", ts="average_speed", pretty="AverageSpeed", type="f32" },
{ map="bantime", ts="bantime", pretty="BanTime", type="DurationSeconds" },
{ map="beta", ts="beta", pretty="Beta", type="str" },
{ map="cfid", ts="cfid", pretty="SourceChannelId", type="ChannelId" },
{ map="cgi", ts="cgi", pretty="ChannelGroupIndex", type="ChannelGroupId" },
{ map="cgid", ts="cgid", pretty="ChannelGroup", type="ChannelGroupId" },
{ map="channel_codec", ts="channel_codec", pretty="Codec", type="Codec" },
{ map="channel_codec_is_unencrypted", ts="channel_codec_is_unencrypted", pretty="IsUnencrypted", type="bool" },
{ map="channel_codec_latency_factor", ts="channel_codec_latency_factor", pretty="CodecLatencyFactor", type="i32" },
{ map="channel_codec_quality", ts="channel_codec_quality", pretty="CodecQuality", type="u8" },
{ map="channel_delete_delay", ts="channel_delete_delay", pretty="DeleteDelay", type="DurationSeconds" },
{ map="channel_flag_default", ts="channel_flag_default", pretty="IsDefault", type="bool" },
{ map="channel_flag_maxclients_unlimited", ts="channel_flag_maxclients_unlimited", pretty="IsMaxClientsUnlimited", type="bool" },
{ map="channel_flag_maxfamilyclients_inherited", ts="channel_flag_maxfamilyclients_inherited", pretty="InheritsMaxFamilyClients", type="bool" },
{ map="channel_flag_maxfamilyclients_unlimited", ts="channel_flag_maxfamilyclients_unlimited", pretty="IsMaxFamilyClientsUnlimited", type="bool" },
{ map="channel_flag_password", ts="channel_flag_password", pretty="HasPassword", type="bool" },
{ map="channel_flag_permanent", ts="channel_flag_permanent", pretty="IsPermanent", type="bool" },
{ map="channel_flag_private", ts="channel_flag_private", pretty="IsPrivate", type="bool" },
{ map="channel_flag_semi_permanent", ts="channel_flag_semi_permanent", pretty="IsSemiPermanent", type="bool" },
{ map="channel_forced_silence", ts="channel_forced_silence", pretty="ForcedSilence", type="bool" },
{ map="channel_icon_id", ts="channel_icon_id", pretty="IconId", type="IconHash" },
{ map="channel_maxclients", ts="channel_maxclients", pretty="MaxClients", type="i32" }, # should be u16, but teamspeak sometimes sends '-1'
{ map="channel_maxfamilyclients", ts="channel_maxfamilyclients", pretty="MaxFamilyClients", type="i32" }, # should be u16, but teamspeak sometimes sends '-1'
{ map="channel_name", ts="channel_name", pretty="Name", type="str" },
{ map="channel_name_phonetic", ts="channel_name_phonetic", pretty="PhoneticName", type="str" },
{ map="channel_needed_subscribe_power", ts="channel_needed_subscribe_power", pretty="NeededSubscribePower", type="i32" },
{ map="channel_needed_talk_power", ts="channel_needed_talk_power", pretty="NeededTalkPower", type="i32" },
{ map="channel_order", ts="channel_order", pretty="Order", type="i32" },
{ map="channel_topic", ts="channel_topic", pretty="Topic", type="str" },
{ map="cid", ts="cid", pretty="ChannelId", type="ChannelId" },
{ map="cldbid", ts="cldbid", pretty="ClientDbId", type="ClientDbId" },
{ map="clid", ts="clid", pretty="ClientId", type="ClientId" },
{ map="client_away", ts="client_away", pretty="IsAway", type="bool" },
{ map="client_away_message", ts="client_away_message", pretty="AwayMessage", type="str" },
{ map="client_badges", ts="client_badges", pretty="Badges", type="str" },
{ map="client_base64HashClientUID", ts="client_base64HashClientUID", pretty="Base64HashClientUid", type="str" },
{ map="client_channel_group_id", ts="client_channel_group_id", pretty="ChannelGroup", type="ChannelGroupId" },
{ map="client_channel_group_inherited_channel_id", ts="client_channel_group_inherited_channel_id", pretty="InheritedChannelGroupFromChannel", type="ChannelId" },
{ map="client_channel_id", ts="client_channel_id", pretty="ChannelId", type="ChannelId" },
{ map="client_country", ts="client_country", pretty="CountryCode", type="str" },
{ map="client_created", ts="client_created", pretty="CreationDate", type="DateTime" },
{ map="client_database_id", ts="client_database_id", pretty="DatabaseId", type="ClientDbId" },
{ map="client_default_channel", ts="client_default_channel", pretty="DefaultChannel", type="str" },
{ map="client_default_token", ts="client_default_token", pretty="DefaultToken", type="str" },
{ map="client_description", ts="client_description", pretty="Description", type="str" },
# ?? string ??
{ map="client_flag_avatar", ts="client_flag_avatar", pretty="AvatarHash", type="str" },
{ map="client_icon_id", ts="client_icon_id", pretty="IconId", type="IconHash" },
{ map="client_id", ts="client_id", pretty="ClientId", type="ClientId" },
{ map="client_idle_time", ts="client_idle_time", pretty="ClientIdleTime", type="DurationMilliseconds" },
{ map="client_input_hardware", ts="client_input_hardware", pretty="InputHardwareEnabled", type="bool" },
{ map="client_input_muted", ts="client_input_muted", pretty="InputMuted", type="bool" },
{ map="client_is_channel_commander", ts="client_is_channel_commander", pretty="IsChannelCommander", type="bool" },
{ map="client_is_priority_speaker", ts="client_is_priority_speaker", pretty="IsPrioritySpeaker", type="bool" },
{ map="client_is_recording", ts="client_is_recording", pretty="IsRecording", type="bool" },
{ map="client_is_talker", ts="client_is_talker", pretty="TalkPowerGranted", type="bool" },
{ map="client_lastconnected", ts="client_lastconnected", pretty="LastConnected", type="DateTime" },
{ map="client_lastip", ts="client_lastip", pretty="LastIp", type="str" },
{ map="client_login_name", ts="client_login_name", pretty="LoginName", type="str" },
{ map="client_meta_data", ts="client_meta_data", pretty="Metadata", type="str" },
{ map="client_month_bytes_downloaded", ts="client_month_bytes_downloaded", pretty="MonthlyDownloadQuota", type="i64" },
{ map="client_month_bytes_uploaded", ts="client_month_bytes_uploaded", pretty="MonthlyUploadQuota", type="i64" },
{ map="client_needed_serverquery_view_power", ts="client_needed_serverquery_view_power", pretty="NeededServerqueryViewPower", type="i32" },
{ map="client_nickname", ts="client_nickname", pretty="Name", type="str" },
{ map="client_nickname_phonetic", ts="client_nickname_phonetic", pretty="PhoneticName", type="str" },
{ map="client_origin_server_id", ts="client_origin_server_id", pretty="OriginServerId", type="u64" },
{ map="client_output_hardware", ts="client_output_hardware", pretty="OutputHardwareEnabled", type="bool" },
{ map="client_output_muted", ts="client_output_muted", pretty="OutputMuted", type="bool" },
{ map="client_outputonly_muted", ts="client_outputonly_muted", pretty="OutputOnlyMuted", type="bool" },
{ map="client_platform", ts="client_platform", pretty="ClientPlattform", type="str" },
{ map="client_security_hash", ts="client_security_hash", pretty="SecurityHash", type="str" },
{ map="client_servergroups", ts="client_servergroups", pretty="ServerGroups", type="ServerGroupId", mod="array" },
{ map="client_talk_power", ts="client_talk_power", pretty="TalkPower", type="i32" },
{ map="client_talk_request", ts="client_talk_request", pretty="TalkPowerRequestTime", type="DateTime" },
{ map="client_talk_request_msg", ts="client_talk_request_msg", pretty="TalkPowerRequestMessage", type="str" },
{ map="client_total_bytes_downloaded", ts="client_total_bytes_downloaded", pretty="TotalDownloadQuota", type="i64" },
{ map="client_total_bytes_uploaded", ts="client_total_bytes_uploaded", pretty="TotalUploadQuota", type="i64" },
{ map="client_totalconnections", ts="client_totalconnections", pretty="TotalConnections", type="i32" },
{ map="client_type", ts="client_type", pretty="ClientType", type="ClientType" },
{ map="client_unique_identifier", ts="client_unique_identifier", pretty="Uid", type="Uid" },
{ map="client_unread_messages", ts="client_unread_messages", pretty="UnreadMessages", type="u32" },
{ map="client_version", ts="client_version", pretty="ClientVersion", type="str" },
{ map="client_version_sign", ts="client_version_sign", pretty="ClientVersionSign", type="str" },
{ map="clientftfid", ts="clientftfid", pretty="ClientFileTransferId", type="u16" },
{ map="cluid", ts="cluid", pretty="ClientUid", type="Uid" },
{ map="connection_bandwidth_received_last_minute_control", ts="connection_bandwidth_received_last_minute_control", pretty="BandwidthReceivedLastMinuteControl", type="u64" },
{ map="connection_bandwidth_received_last_minute_keepalive", ts="connection_bandwidth_received_last_minute_keepalive", pretty="BandwidthReceivedLastMinuteKeepalive", type="u64" },
{ map="connection_bandwidth_received_last_minute_speech", ts="connection_bandwidth_received_last_minute_speech", pretty="BandwidthReceivedLastMinuteSpeech", type="u64" },
{ map="connection_bandwidth_received_last_minute_total", ts="connection_bandwidth_received_last_minute_total", pretty="BandwidthReceivedLastMinuteTotal", type="u64" },
{ map="connection_bandwidth_received_last_second_control", ts="connection_bandwidth_received_last_second_control", pretty="BandwidthReceivedLastSecondControl", type="u64" },
{ map="connection_bandwidth_received_last_second_keepalive", ts="connection_bandwidth_received_last_second_keepalive", pretty="BandwidthReceivedLastSecondKeepalive", type="u64" },
{ map="connection_bandwidth_received_last_second_speech", ts="connection_bandwidth_received_last_second_speech", pretty="BandwidthReceivedLastSecondSpeech", type="u64" },
{ map="connection_bandwidth_received_last_second_total", ts="connection_bandwidth_received_last_second_total", pretty="BandwidthReceivedLastSecondTotal", type="u64" },
{ map="connection_bandwidth_sent_last_minute_control", ts="connection_bandwidth_sent_last_minute_control", pretty="BandwidthSentLastMinuteControl", type="u64" },
{ map="connection_bandwidth_sent_last_minute_keepalive", ts="connection_bandwidth_sent_last_minute_keepalive", pretty="BandwidthSentLastMinuteKeepalive", type="u64" },
{ map="connection_bandwidth_sent_last_minute_speech", ts="connection_bandwidth_sent_last_minute_speech", pretty="BandwidthSentLastMinuteSpeech", type="u64" },
{ map="connection_bandwidth_sent_last_minute_total", ts="connection_bandwidth_sent_last_minute_total", pretty="BandwidthSentLastMinuteTotal", type="u64" },
{ map="connection_bandwidth_sent_last_second_control", ts="connection_bandwidth_sent_last_second_control", pretty="BandwidthSentLastSecondControl", type="u64" },
{ map="connection_bandwidth_sent_last_second_keepalive", ts="connection_bandwidth_sent_last_second_keepalive", pretty="BandwidthSentLastSecondKeepalive", type="u64" },
{ map="connection_bandwidth_sent_last_second_speech", ts="connection_bandwidth_sent_last_second_speech", pretty="BandwidthSentLastSecondSpeech", type="u64" },
{ map="connection_bandwidth_sent_last_second_total", ts="connection_bandwidth_sent_last_second_total", pretty="BandwidthSentLastSecondTotal", type="u64" },
{ map="connection_bytes_received_control", ts="connection_bytes_received_control", pretty="BytesReceivedControl", type="u64" },
{ map="connection_bytes_received_keepalive", ts="connection_bytes_received_keepalive", pretty="BytesReceivedKeepalive", type="u64" },
{ map="connection_bytes_received_speech", ts="connection_bytes_received_speech", pretty="BytesReceivedSpeech", type="u64" },
{ map="connection_bytes_received_total", ts="connection_bytes_received_total", pretty="BytesReceivedTotal", type="u64" },
{ map="connection_bytes_sent_control", ts="connection_bytes_sent_control", pretty="BytesSentControl", type="u64" },
{ map="connection_bytes_sent_keepalive", ts="connection_bytes_sent_keepalive", pretty="BytesSentKeepalive", type="u64" },
{ map="connection_bytes_sent_speech", ts="connection_bytes_sent_speech", pretty="BytesSentSpeech", type="u64" },
{ map="connection_bytes_sent_total", ts="connection_bytes_sent_total", pretty="BytesSentTotal", type="u64" },
{ map="connection_client_ip", ts="connection_client_ip", pretty="Ip", type="str" },
{ map="connection_client_port", ts="connection_client_port", pretty="Port", type="u16" },
{ map="connection_client2server_packetloss_control", ts="connection_client2server_packetloss_control", pretty="ClientToServerPacketlossControl", type="f32" },
{ map="connection_client2server_packetloss_keepalive", ts="connection_client2server_packetloss_keepalive", pretty="ClientToServerPacketlossKeepalive", type="f32" },
{ map="connection_client2server_packetloss_speech", ts="connection_client2server_packetloss_speech", pretty="ClientToServerPacketlossSpeech", type="f32" },
{ map="connection_client2server_packetloss_total", ts="connection_client2server_packetloss_total", pretty="ClientToServerPacketlossTotal", type="f32" },
{ map="connection_connected_time", ts="connection_connected_time", pretty="ConnectedTime", type="DurationMilliseconds" },
{ map="connection_filetransfer_bandwidth_received", ts="connection_filetransfer_bandwidth_received", pretty="FiletransferBandwidthReceived", type="u64" },
{ map="connection_filetransfer_bandwidth_sent", ts="connection_filetransfer_bandwidth_sent", pretty="FiletransferBandwidthSent", type="u64" },
{ map="connection_idle_time", ts="connection_idle_time", pretty="IdleTime", type="DurationMilliseconds" },
{ map="connection_packets_received_control", ts="connection_packets_received_control", pretty="PacketsReceivedControl", type="u64" },
{ map="connection_packets_received_keepalive", ts="connection_packets_received_keepalive", pretty="PacketsReceivedKeepalive", type="u64" },
{ map="connection_packets_received_speech", ts="connection_packets_received_speech", pretty="PacketsReceivedSpeech", type="u64" },
{ map="connection_packets_received_total", ts="connection_packets_received_total", pretty="PacketsReceivedTotal", type="u64" },
{ map="connection_packets_sent_control", ts="connection_packets_sent_control", pretty="PacketsSentControl", type="u64" },
{ map="connection_packets_sent_keepalive", ts="connection_packets_sent_keepalive", pretty="PacketsSentKeepalive", type="u64" },
{ map="connection_packets_sent_speech", ts="connection_packets_sent_speech", pretty="PacketsSentSpeech", type="u64" },
{ map="connection_packets_sent_total", ts="connection_packets_sent_total", pretty="PacketsSentTotal", type="u64" },
{ map="connection_ping", ts="connection_ping", pretty="Ping", type="DurationMilliseconds" },
{ map="connection_ping_deviation", ts="connection_ping_deviation", pretty="PingDeviation", type="DurationMilliseconds" },
{ map="connection_server2client_packetloss_control", ts="connection_server2client_packetloss_control", pretty="ServerToClientPacketlossControl", type="f32" },
{ map="connection_server2client_packetloss_keepalive", ts="connection_server2client_packetloss_keepalive", pretty="ServerToClientPacketlossKeepalive", type="f32" },
{ map="connection_server2client_packetloss_speech", ts="connection_server2client_packetloss_speech", pretty="ServerToClientPacketlossSpeech", type="f32" },
{ map="connection_server2client_packetloss_total", ts="connection_server2client_packetloss_total", pretty="ServerToClientPacketlossTotal", type="f32" },
{ map="cpid", ts="cpid", pretty="ChannelParentId", type="ChannelId" },
{ map="ctid", ts="ctid", pretty="TargetChannelId", type="ChannelId" },
{ map="current_speed", ts="current_speed", pretty="CurrentSpeed", type="f32" },
{ map="data", ts="data", pretty="Data", type="str" },
{ map="datetime", ts="datetime", pretty="DateTime", type="DateTime" },
{ map="es", ts="es", pretty="EmptySince", type="DurationSeconds" },
{ map="ft_status", ts="status", pretty="Status", type="i32" },
{ map="ft_type", ts="type", pretty="IsFile", type="bool" },
{ map="ftkey", ts="ftkey", pretty="FileTransferKey", type="str" },
{ map="iconid", ts="iconid", pretty="IconId", type="IconHash" },
{ map="id", ts="id", pretty="Id", type="ChannelId" },
{ map="invokerid", ts="invokerid", pretty="InvokerId", type="ClientId" },
{ map="invokername", ts="invokername", pretty="InvokerName", type="str" },
{ map="invokeruid", ts="invokeruid", pretty="InvokerUid", type="Uid" },
{ map="lt", ts="lt", pretty="LicenseType", type="LicenseType" },
{ map="msg", ts="msg", pretty="Message", type="str" },
{ map="n_member_addp", ts="n_member_addp", pretty="NeededMemberAddPower", type="i32" },
{ map="n_member_remove_p", ts="n_member_remove_p", pretty="NeededMemberRemovePower", type="i32" },
{ map="n_modifyp", ts="n_modifyp", pretty="NeededModifyPower", type="i32" },
{ map="name", ts="name", pretty="Name", type="str" },
{ map="namemode", ts="namemode", pretty="NamingMode", type="GroupNamingMode" },
{ map="omega", ts="omega", pretty="Omega", type="str" },
{ map="order", ts="order", pretty="Order", type="i32" },
{ map="path", ts="path", pretty="Path", type="str" },
{ map="permid", ts="permid", pretty="PermissionId", type="PermissionId" },
{ map="permvalue", ts="permvalue", pretty="PermissionValue", type="i32" },
{ map="pid", ts="pid", pretty="ParentChannelId", type="ChannelId" },
{ map="port", ts="port", pretty="Port", type="u16" },
{ map="pv", ts="pv", pretty="ProtocolVersion", type="u16" },
{ map="reasonid", ts="reasonid", pretty="Reason", type="Reason" },
{ map="reasonmsg", ts="reasonmsg", pretty="ReasonMessage", type="str" },
{ map="runtime", ts="runtime", pretty="Runtime", type="DurationSeconds" },
{ map="savedb", ts="savedb", pretty="IsPermanent", type="bool" },
{ map="seconds_empty", ts="seconds_empty", pretty="DurationEmpty", type="DurationSeconds" },
{ map="seekpos", ts="seekpos", pretty="SeekPosistion", type="i64" },
# ?? type
{ map="sender", ts="sender", pretty="Sender", type="u64" },
{ map="serverftfid", ts="serverftfid", pretty="ServerFileTransferId", type="u16" },
{ map="sgid", ts="sgid", pretty="ServerGroupId", type="ServerGroupId" },
{ map="size", ts="size", pretty="Size", type="i64" },
{ map="sizedone", ts="sizedone", pretty="SizeDone", type="i64" },
{ map="sortid", ts="sortid", pretty="SortId", type="i32" },
# ?? type/enum
{ map="status", ts="status", pretty="Status", type="Ts3ErrorCode" },
{ map="target", ts="target", pretty="TargetClientId", type="ClientId" },
{ map="targetmode", ts="targetmode", pretty="Target", type="TextMessageTargetMode" },
{ map="targetmode_plugin", ts="targetmode", pretty="Target", type="i32" },
{ map="token", ts="token", pretty="UsedToken", type="str" },
{ map="token1", ts="token1", pretty="Token1", type="str" },
{ map="token2", ts="token2", pretty="Token2", type="str" },
{ map="tokencustomset", ts="tokencustomset", pretty="TokenCustomSet", type="str" },
{ map="total_clients", ts="total_clients", pretty="TotalClients", type="i32" },
{ map="total_clients_family", ts="total_clients_family", pretty="TotalFamilyClients", type="i32" },
{ map="type", ts="type", pretty="GroupType", type="GroupType" },
{ map="virtualserver_ask_for_privilegekey", ts="virtualserver_ask_for_privilegekey", pretty="AskForPrivilegekey", type="bool" },
{ map="virtualserver_autostart", ts="virtualserver_autostart", pretty="Autostart", type="bool" },
{ map="virtualserver_channel_temp_delete_delay_default", ts="virtualserver_channel_temp_delete_delay_default", pretty="TempChannelDefaultDeleteDelay", type="DurationSeconds" },
{ map="virtualserver_clientsonline", ts="virtualserver_clientsonline", pretty="ClientsOnline", type="i32" },
{ map="virtualserver_codec_encryption_mode", ts="virtualserver_codec_encryption_mode", pretty="CodecEncryptionMode", type="CodecEncryptionMode" },
{ map="virtualserver_created", ts="virtualserver_created", pretty="ServerCreated", type="DateTime" },
{ map="virtualserver_default_channel_group", ts="virtualserver_default_channel_group", pretty="DefaultChannelGroup", type="ChannelGroupId" },
{ map="virtualserver_default_server_group", ts="virtualserver_default_server_group", pretty="DefaultServerGroup", type="ServerGroupId" },
{ map="virtualserver_hostbanner_gfx_interval", ts="virtualserver_hostbanner_gfx_interval", pretty="HostbannerGfxInterval", type="DurationSeconds" },
{ map="virtualserver_hostbanner_gfx_url", ts="virtualserver_hostbanner_gfx_url", pretty="HostbannerGfxUrl", type="str" },
{ map="virtualserver_hostbanner_mode", ts="virtualserver_hostbanner_mode", pretty="HostbannerMode", type="HostBannerMode" },
{ map="virtualserver_hostbanner_url", ts="virtualserver_hostbanner_url", pretty="HostbannerUrl", type="str" },
{ map="virtualserver_hostbutton_gfx_url", ts="virtualserver_hostbutton_gfx_url", pretty="HostbuttonGfxUrl", type="str" },
{ map="virtualserver_hostbutton_tooltip", ts="virtualserver_hostbutton_tooltip", pretty="HostbuttonTooltip", type="str" },
{ map="virtualserver_hostbutton_url", ts="virtualserver_hostbutton_url", pretty="HostbuttonUrl", type="str" },
{ map="virtualserver_hostmessage", ts="virtualserver_hostmessage", pretty="Hostmessage", type="str" },
{ map="virtualserver_hostmessage_mode", ts="virtualserver_hostmessage_mode", pretty="HostmessageMode", type="HostMessageMode" },
{ map="virtualserver_icon_id", ts="virtualserver_icon_id", pretty="IconId", type="IconHash" },
{ map="virtualserver_id", ts="virtualserver_id", pretty="VirtualServerId", type="u64" },
{ map="virtualserver_ip", ts="virtualserver_ip", pretty="ServerIp", type="str", mod="array" },
{ map="virtualserver_machine_id", ts="virtualserver_machine_id", pretty="MachineId", type="str" },
{ map="virtualserver_maxclients", ts="virtualserver_maxclients", pretty="MaxClients", type="u16" },
{ map="virtualserver_name", ts="virtualserver_name", pretty="Name", type="str" },
{ map="virtualserver_name_phonetic", ts="virtualserver_name_phonetic", pretty="PhoneticName", type="str" },
{ map="virtualserver_platform", ts="virtualserver_platform", pretty="ServerPlatform", type="str" },
{ map="virtualserver_port", ts="virtualserver_port", pretty="VirtualServerPort", type="u16" },
{ map="virtualserver_priority_speaker_dimm_modificator", ts="virtualserver_priority_speaker_dimm_modificator", pretty="PrioritySpeakerDimmModificator", type="f32" },
{ map="virtualserver_queryclientsonline", ts="virtualserver_queryclientsonline", pretty="QueriesOnline", type="i32" },
{ map="virtualserver_status", ts="virtualserver_status", pretty="VirtualServerStatus", type="str" },
{ map="virtualserver_unique_identifier", ts="virtualserver_unique_identifier", pretty="VirtualServerUid", type="Uid" },
{ map="virtualserver_uptime", ts="virtualserver_uptime", pretty="Uptime", type="DurationSeconds" },
{ map="virtualserver_version", ts="virtualserver_version", pretty="ServerVersion", type="str" },
{ map="virtualserver_welcomemessage", ts="virtualserver_welcomemessage", pretty="WelcomeMessage", type="str" },
# Error stuff
{ map="error_id", ts="id", pretty="Id", type="Ts3ErrorCode" },
{ map="failed_permid", ts="failed_permid", pretty="MissingPermissionId", type="PermissionId" },
{ map="return_code", ts="return_code", pretty="ReturnCode", type="str" },
{ map="extra_msg", ts="extra_msg", pretty="ExtraMessage", type="str" },
# 3.1
{ map="l", ts="l", pretty="License", type="str" },
{ map="tvd", ts="tvd", pretty="Tvd", type="str" },
{ map="proof", ts="proof", pretty="Proof", type="str" },
{ map="ot", ts="ot", pretty="Ot", type="bool" },
]
# Server to Client Notifications
[[msg_group]]
default = { s2c=true, c2s=false, response=false, low=false, np=false }
msg = [
{ name="ChannelChanged", notify="notifychannelchanged", attributes=["cid"] },
{ name="ChannelCreated", notify="notifychannelcreated", attributes=["cid", "invokerid", "invokername", "invokeruid", "channel_order", "channel_name", "channel_topic", "channel_flag_default", "channel_flag_password", "channel_flag_permanent", "channel_flag_semi_permanent", "channel_codec", "channel_codec_quality", "channel_needed_talk_power", "channel_icon_id", "channel_maxclients", "channel_maxfamilyclients", "channel_codec_latency_factor", "channel_codec_is_unencrypted", "channel_delete_delay", "channel_flag_maxclients_unlimited", "channel_flag_maxfamilyclients_unlimited", "channel_flag_maxfamilyclients_inherited", "channel_name_phonetic", "cpid"] },
{ name="ChannelDeleted", notify="notifychanneldeleted", attributes=["cid", "invokerid", "invokername", "invokeruid"] },
{ name="ChannelEdited", notify="notifychanneledited", attributes=["cid", "invokerid", "invokername", "invokeruid", "channel_order", "channel_name", "channel_topic", "channel_flag_default", "channel_flag_password", "channel_flag_permanent", "channel_flag_semi_permanent", "channel_codec", "channel_codec_quality", "channel_needed_talk_power", "channel_icon_id", "channel_maxclients", "channel_maxfamilyclients", "channel_codec_latency_factor", "channel_codec_is_unencrypted", "channel_delete_delay", "channel_flag_maxclients_unlimited", "channel_flag_maxfamilyclients_unlimited", "channel_flag_maxfamilyclients_inherited", "channel_name_phonetic", "reasonid"] },
{ name="ChannelGroupList", notify="notifychannelgrouplist", attributes=["cgid", "name", "type", "iconid", "savedb", "sortid", "namemode", "n_modifyp", "n_member_addp", "n_member_remove_p?"] },
{ name="ChannelList", notify="channellist", attributes=["cid", "cpid", "channel_name", "channel_topic", "channel_codec", "channel_codec_quality", "channel_maxclients", "channel_maxfamilyclients", "channel_order", "channel_flag_permanent", "channel_flag_semi_permanent", "channel_flag_default", "channel_flag_password", "channel_codec_latency_factor", "channel_codec_is_unencrypted", "channel_delete_delay", "channel_flag_maxclients_unlimited", "channel_flag_maxfamilyclients_unlimited", "channel_flag_maxfamilyclients_inherited", "channel_needed_talk_power", "channel_forced_silence", "channel_name_phonetic", "channel_icon_id", "channel_flag_private"] },
{ name="ChannelListFinished", notify="channellistfinished", attributes=[] },
{ name="ChannelMoved", notify="notifychannelmoved", attributes=["order", "cid", "invokerid", "invokername", "invokeruid", "reasonid", "cpid"] },
{ name="ChannelPasswordChanged", notify="notifychannelpasswordchanged", attributes=["cid"] },
{ name="ChannelSubscribed", notify="notifychannelsubscribed", attributes=["cid", "es"] },
{ name="ChannelUnsubscribed", notify="notifychannelunsubscribed", attributes=["cid"] },
{ name="ClientChannelGroupChanged", notify="notifyclientchannelgroupchanged", attributes=["invokerid", "invokername", "cgid", "cgi", "cid", "clid"] },
{ name="ClientChatComposing", notify="notifyclientchatcomposing", attributes=["clid", "cluid"] },
{ name="ClientEnterView", notify="notifycliententerview", attributes=["reasonid", "ctid", "invokerid?", "invokername?", "invokeruid?", "clid", "client_database_id", "client_nickname", "client_type", "cfid", "client_unique_identifier", "client_flag_avatar", "client_description", "client_icon_id", "client_input_muted", "client_output_muted", "client_outputonly_muted", "client_input_hardware", "client_output_hardware", "client_meta_data", "client_is_recording", "client_channel_group_id", "client_channel_group_inherited_channel_id", "client_servergroups", "client_away", "client_away_message", "client_talk_power", "client_talk_request", "client_talk_request_msg", "client_is_talker", "client_is_priority_speaker", "client_unread_messages", "client_nickname_phonetic", "client_needed_serverquery_view_power", "client_is_channel_commander", "client_country", "client_badges"] },
{ name="ClientIds", notify="notifyclientids", attributes=["cluid", "clid", "name"] },
{ name="ClientLeftView", notify="notifyclientleftview", attributes=["reasonmsg", "bantime?", "reasonid", "ctid", "invokerid?", "invokername?", "invokeruid?", "clid", "cfid"] },
{ name="ClientMoved", notify="notifyclientmoved", attributes=["clid", "reasonid", "ctid", "invokerid", "invokername", "invokeruid"] },
{ name="ClientNeededPermissions", notify="notifyclientneededpermissions", attributes=["permid", "permvalue"] },
{ name="ClientServerGroupAdded", notify="notifyservergroupclientadded", attributes=["name", "sgid", "invokerid", "invokername", "invokeruid", "clid", "cluid"] },
{ name="CommandError", notify="error", attributes=["error_id", "msg", "failed_permid", "return_code", "extra_msg"] },
{ name="ConnectionInfo", notify="notifyconnectioninfo", attributes=["clid", "connection_ping", "connection_ping_deviation", "connection_connected_time", "connection_client_ip", "connection_client_port", "connection_packets_sent_speech", "connection_packets_sent_keepalive", "connection_packets_sent_control", "connection_bytes_sent_speech", "connection_bytes_sent_keepalive", "connection_bytes_sent_control", "connection_packets_received_speech", "connection_packets_received_keepalive", "connection_packets_received_control", "connection_bytes_received_speech", "connection_bytes_received_keepalive", "connection_bytes_received_control", "connection_server2client_packetloss_speech", "connection_server2client_packetloss_keepalive", "connection_server2client_packetloss_control", "connection_server2client_packetloss_total", "connection_client2server_packetloss_speech", "connection_client2server_packetloss_keepalive", "connection_client2server_packetloss_control", "connection_client2server_packetloss_total", "connection_bandwidth_sent_last_second_speech", "connection_bandwidth_sent_last_second_keepalive", "connection_bandwidth_sent_last_second_control", "connection_bandwidth_sent_last_minute_speech", "connection_bandwidth_sent_last_minute_keepalive", "connection_bandwidth_sent_last_minute_control", "connection_bandwidth_received_last_second_speech", "connection_bandwidth_received_last_second_keepalive", "connection_bandwidth_received_last_second_control", "connection_bandwidth_received_last_minute_speech", "connection_bandwidth_received_last_minute_keepalive", "connection_bandwidth_received_last_minute_control", "connection_filetransfer_bandwidth_sent", "connection_filetransfer_bandwidth_received", "connection_idle_time"] },
{ name="ConnectionInfoRequest", notify="notifyconnectioninforequest", attributes=[] },
{ name="FileListFinished", notify="notifyfilelistfinished", attributes=["cid", "path"] },
{ name="FileTransferStatus", notify="notifystatusfiletransfer", attributes=["clientftfid", "status", "msg", "size"] },
{ name="InitIvExpand", notify="initivexpand", attributes=["alpha", "beta", "omega"] },
{ name="InitIvExpand2", notify="initivexpand2", attributes=["l", "beta", "omega", "ot", "proof", "tvd"] },
{ name="InitServer", notify="initserver", attributes=["virtualserver_welcomemessage", "virtualserver_platform", "virtualserver_version", "virtualserver_maxclients", "virtualserver_created", "virtualserver_hostmessage", "virtualserver_hostmessage_mode", "virtualserver_id", "virtualserver_ip", "virtualserver_ask_for_privilegekey", "acn", "aclid", "pv", "lt?", "client_talk_power", "client_needed_serverquery_view_power", "virtualserver_name", "virtualserver_codec_encryption_mode", "virtualserver_default_server_group", "virtualserver_default_channel_group", "virtualserver_hostbanner_url", "virtualserver_hostbanner_gfx_url", "virtualserver_hostbanner_gfx_interval", "virtualserver_priority_speaker_dimm_modificator", "virtualserver_hostbutton_tooltip", "virtualserver_hostbutton_url", "virtualserver_hostbutton_gfx_url", "virtualserver_name_phonetic", "virtualserver_icon_id", "virtualserver_hostbanner_mode", "virtualserver_channel_temp_delete_delay_default"] },
{ name="PluginCommand", notify="notifyplugincmd", attributes=["name", "data"] },
{ name="ServerEdited", notify="notifyserveredited", attributes=["invokerid", "invokername", "invokeruid", "reasonid", "virtualserver_name", "virtualserver_codec_encryption_mode", "virtualserver_default_server_group", "virtualserver_default_channel_group", "virtualserver_hostbanner_url", "virtualserver_hostbanner_gfx_url", "virtualserver_hostbanner_gfx_interval", "virtualserver_priority_speaker_dimm_modificator", "virtualserver_hostbutton_tooltip", "virtualserver_hostbutton_url", "virtualserver_hostbutton_gfx_url", "virtualserver_name_phonetic", "virtualserver_icon_id", "virtualserver_hostbanner_mode", "virtualserver_channel_temp_delete_delay_default" ] },
{ name="ServerGroupList", notify="notifyservergrouplist", attributes=["sgid", "name", "type", "iconid", "savedb", "sortid", "namemode", "n_modifyp", "n_member_addp", "n_member_remove_p?"] },
{ name="TextMessage", notify="notifytextmessage", attributes=["targetmode", "msg", "target", "invokerid", "invokername", "invokeruid"] },
{ name="TokenUsed", notify="notifytokenused", attributes=["token", "tokencustomset", "token1", "token2", "clid", "cldbid", "cluid"] },
]
# Client to Server Notifications
[[msg_group]]
default = { s2c=false, c2s=true, response=false, low=false, np=false }
msg = [
{ name="GetClientIds", notify="clientgetids", attributes=["cluid"] },
{ name="PluginCommandRequest", notify="plugincmd", attributes=["name", "data", "targetmode_plugin"] },
]
# Responses
[[msg_group]]
default = { s2c=true, c2s=false, response=true, low=false, np=false }
msg = [
{ name="ChannelData", attributes=["id", "pid", "seconds_empty", "total_clients_family", "total_clients", "channel_needed_subscribe_power", "channel_order", "channel_name", "channel_topic", "channel_flag_default", "channel_flag_password", "channel_flag_permanent", "channel_flag_semi_permanent", "channel_codec", "channel_codec_quality", "channel_needed_talk_power", "channel_icon_id", "channel_maxclients", "channel_maxfamilyclients"] },
{ name="ClientData", attributes=["clid", "client_unique_identifier", "cid", "client_database_id", "client_nickname", "client_type"] },
{ name="ClientDbData", attributes=["client_lastip", "clid", "client_unique_identifier", "cid", "client_database_id", "client_nickname", "client_type", "client_flag_avatar", "client_description", "client_icon_id", "client_created", "client_lastconnected", "client_totalconnections", "client_month_bytes_uploaded", "client_month_bytes_downloaded", "client_total_bytes_uploaded", "client_total_bytes_downloaded", "client_base64HashClientUID"] },
{ name="ClientInfo", attributes=["client_idle_time", "client_version", "client_version_sign", "client_platform", "client_default_channel", "client_security_hash", "client_login_name", "client_default_token", "connection_filetransfer_bandwidth_sent", "connection_filetransfer_bandwidth_received", "connection_packets_sent_total", "connection_packets_received_total", "connection_bytes_sent_total", "connection_bytes_received_total", "connection_bandwidth_sent_last_second_total", "connection_bandwidth_received_last_second_total", "connection_bandwidth_sent_last_minute_total", "connection_bandwidth_received_last_minute_total", "connection_connected_time", "connection_client_ip", "cid", "client_unique_identifier", "client_database_id", "client_nickname", "client_type", "client_input_muted", "client_output_muted", "client_outputonly_muted", "client_input_hardware", "client_output_hardware", "client_meta_data", "client_is_recording", "client_channel_group_id", "client_channel_group_inherited_channel_id", "client_servergroups", "client_away", "client_away_message", "client_talk_power", "client_talk_request", "client_talk_request_msg", "client_is_talker", "client_is_priority_speaker", "client_unread_messages", "client_nickname_phonetic", "client_needed_serverquery_view_power", "client_is_channel_commander", "client_country", "client_badges", "client_created", "client_lastconnected", "client_totalconnections", "client_month_bytes_uploaded", "client_month_bytes_downloaded", "client_total_bytes_uploaded", "client_total_bytes_downloaded", "client_base64HashClientUID", "client_flag_avatar", "client_description", "client_icon_id"] },
{ name="ServerData", attributes=["virtualserver_clientsonline", "virtualserver_queryclientsonline", "virtualserver_maxclients", "virtualserver_uptime", "virtualserver_autostart", "virtualserver_machine_id", "virtualserver_name", "virtualserver_id", "virtualserver_unique_identifier", "virtualserver_port", "virtualserver_status"] },
{ name="ServerGroupAddResponse", attributes=["sgid"] },
{ name="WhoAmI", attributes=["client_id", "client_channel_id", "client_nickname", "client_database_id", "client_login_name", "client_origin_server_id", "virtualserver_id", "virtualserver_unique_identifier", "virtualserver_port", "virtualserver_status", "client_unique_identifier"] },
]
# Hybrid
[[msg_group]]
default = { s2c=true, c2s=false, response=true, low=false, np=false }
msg = [
{ name="ClientServerGroup", notify="notifyservergroupsbyclientid", attributes=["name", "sgid", "cldbid"] },
{ name="FileDownload", notify="notifystartdownload", attributes=["clientftfid", "serverftfid", "ftkey", "port", "size", "msg"] },
{ name="FileInfoTs", notify="notifyfileinfo", attributes=["cid", "path", "name", "size", "datetime"] },
{ name="FileList", notify="notifyfilelist", attributes=["cid", "path", "name", "size", "datetime", "ft_type"] },
{ name="FileTransfer", notify="notifyfiletransferlist", attributes=["clid", "path", "name", "size", "sizedone", "clientftfid", "serverftfid", "sender", "ft_status", "current_speed", "average_speed", "runtime"] },
{ name="FileUpload", notify="notifystartupload", attributes=["clientftfid", "serverftfid", "ftkey", "port", "seekpos", "msg"] },
]
# TODO: notifyclientchatclosed
# TODO: notifyclientpoke
# TODO: notifyclientupdated
# TODO: notifyclientchannelgroupchanged
# TODO: notifychannelpasswordchanged
# TODO: notifychanneldescriptionchanged