Constant tsproto_structs::enums::DATA_STR[][src]

pub const DATA_STR: &str = "[[enum]]\nname = \"PermissionType\"\n#type = \"u32\"\n#doc = \"\"\nvariants = [\n\t{ name=\"ServerGroup\", doc=\"Server group permission. (id1: ServerGroupId, id2: 0)\" },\n\t{ name=\"GlobalClient\", doc=\"Client specific permission. (id1: ClientDbId, id2: 0)\" },\n\t{ name=\"Channel\", doc=\"Channel specific permission. (id1: ChannelId, id2: 0)\" },\n\t{ name=\"ChannelGroup\", doc=\"Channel group permission. (id1: ChannelId, id2: ChannelGroupId)\" },\n\t{ name=\"ChannelClient\", doc=\"Channel-client specific permission. (id1: ChannelId, id2: ClientDbId)\" },\n]\n\n[[enum]]\nname = \"TextMessageTargetMode\"\nvariants = [\n\t{ name=\"Unknown\", doc=\"Maybe to all servers?\" },\n\t{ name=\"Client\", doc=\"Send to specific client\" },\n\t{ name=\"Channel\", doc=\"Send to current channel\" },\n\t{ name=\"Server\", doc=\"Send to server chat\" },\n]\n\n[[enum]]\nname = \"HostMessageMode\"\nvariants = [\n\t{ name=\"None\", doc=\"Dont display anything\" },\n\t{ name=\"Log\", doc=\"Display message inside log\" },\n\t{ name=\"Modal\", doc=\"Display message inside a modal dialog\" },\n\t{ name=\"Modalquit\", doc=\"Display message inside a modal dialog and quit/close server/connection\" },\n]\n\n[[enum]]\nname = \"HostBannerMode\"\nvariants = [\n\t{ name=\"NoAdjust\", doc=\"Do not adjust\" },\n\t{ name=\"AdjustIgnoreAspect\", doc=\"Adjust and ignore aspect ratio\" },\n\t{ name=\"AdjustKeepAspect\", doc=\"Adjust and keep aspect ratio\" },\n]\n\n[[enum]]\nname = \"Codec\"\nvariants = [\n\t{ name=\"SpeexNarrowband\", doc=\"Mono, 16bit, 8kHz, bitrate dependent on the quality setting\" },\n\t{ name=\"SpeexWideband\", doc=\"Mono, 16bit, 16kHz, bitrate dependent on the quality setting\" },\n\t{ name=\"SpeexUltrawideband\", doc=\"Mono, 16bit, 32kHz, bitrate dependent on the quality setting\" },\n\t{ name=\"CeltMono\", doc=\"Mono, 16bit, 48kHz, bitrate dependent on the quality setting\" },\n\t{ name=\"OpusVoice\", doc=\"Mono, 16bit, 48kHz, bitrate dependent on the quality setting, optimized for voice\" },\n\t{ name=\"OpusMusic\", doc=\"Stereo, 16bit, 48kHz, bitrate dependent on the quality setting, optimized for music\" },\n]\n\n[[enum]]\nname = \"CodecEncryptionMode\"\nvariants = [\n\t{ name=\"PerChannel\", doc=\"Voice encryption is configured per channel\" },\n\t{ name=\"ForcedOff\", doc=\"Voice encryption is globally off\" },\n\t{ name=\"ForcedOn\", doc=\"Voice encryption is globally on\" },\n]\n\n[[enum]]\nname = \"Reason\"\nvariants = [\n\t{ name=\"None\", doc=\"No reason data\" },\n\t{ name=\"Moved\", doc=\"Has invoker\" },\n\t{ name=\"Subscription\", doc=\"No reason data\" },\n\t{ name=\"LostConnection\", doc=\"Timeout\" },\n\t{ name=\"KickChannel\", doc=\"Has invoker\" },\n\t{ name=\"KickServer\", doc=\"Has invoker\" },\n\t{ name=\"KickServerBan\", doc=\"Has invoker, bantime\" },\n\t{ name=\"Serverstop\", doc=\"\" },\n\t{ name=\"Clientdisconnect\", doc=\"\" },\n\t{ name=\"Channelupdate\", doc=\"No reason data\" },\n\t{ name=\"Channeledit\", doc=\"Has invoker\" },\n\t{ name=\"ClientdisconnectServerShutdown\", doc=\"\" },\n]\n\n[[enum]]\nname = \"GroupNamingMode\"\nvariants = [\n\t{ name=\"None\", doc=\"No group name is displayed.\" },\n\t{ name=\"Before\", doc=\"Group name is displayed before the client name.\" },\n\t{ name=\"After\", doc=\"Group name is displayed after the client name.\" },\n]\n\n[[enum]]\nname = \"GroupType\"\nvariants = [\n\t{ name=\"Template\", doc=\"Template group (used for new virtual servers).\" },\n\t{ name=\"Regular\", doc=\"Regular group (used for regular clients).\" },\n\t{ name=\"Query\", doc=\"Global query group (used for server query clients).\" },\n]\n\n[[enum]]\nname = \"LicenseType\"\nvariants = [\n\t{ name=\"NoLicense\", doc=\"No licence\" },\n\t{ name=\"Offline\", doc=\"Offline/LAN license\" },\n\t{ name=\"Sdk\", doc=\"TeamSpeak SDK license\" },\n\t{ name=\"SdkOffline\", doc=\"TeamSpeak SDK offline license\" },\n\t{ name=\"Npl\", doc=\"Non-Profit License (NPL)\" },\n\t{ name=\"Athp\", doc=\"Authorised TeamSpeak Host Provider License (ATHP)\" },\n\t{ name=\"Aal\", doc=\"Annual activation license (AAL)\" },\n\t{ name=\"Default\", doc=\"Default license with 32 slots\" },\n\t{ name=\"Gamer\", doc=\"Gamer license\" },\n\t{ name=\"Sponsorship\", doc=\"Licenses sponsored by TeamSpeak\" },\n\t{ name=\"Commercial\", doc=\"For use inside corporates\" },\n]\n\n[[enum]]\nname = \"ChannelType\"\nvariants = [\n\t{ name=\"Permanent\", doc=\"Normal channel\" },\n\t{ name=\"SemiPermanent\", doc=\"Deleted when the server restarts\" },\n\t{ name=\"Temporary\", doc=\"Deleted when empty\" },\n]\n\n[[enum]]\nname = \"TokenType\"\nvariants = [\n\t{ name=\"ServerGroup\", doc=\"Server group token (`id1={groupId}, id2=0`)\" },\n\t{ name=\"ChannelGroup\", doc=\"Channel group token (`id1={groupId}, id2={channelId}`)\" },\n]\n\n[[enum]]\nname = \"PluginTargetMode\"\nvariants = [\n\t{ name=\"CurrentChannel\", doc=\"Send to all clients in the current channel.\" },\n\t{ name=\"Server\", doc=\"Send to all clients on the server.\" },\n\t{ name=\"Client\", doc=\"Send to all given clients ids.\" },\n\t{ name=\"CurrentChannelSubsribedClients\", doc=\"Send to all given clients which are subscribed to the current channel (i.e. which see the this client).\" },\n]\n\n[[enum]]\nname = \"LogLevel\"\nvariants = [\n\t{ name=\"Error\", doc=\"Everything that is really bad.\", value=1 },\n\t{ name=\"Warning\", doc=\"Everything that might be bad.\" },\n\t{ name=\"Debug\", doc=\"Output that might help find a problem.\" },\n\t{ name=\"Info\", doc=\"Informational output.\" },\n]\n\n[[bitflag]]\nname = \"ChannelPermissionHint\"\ndoc = \"Hints if the client has the permission to make specific actions.\"\nvariants = [\n\t{ name=\"Join\", doc=\"b_channel_join_*\", value=1 },\n\t{ name=\"Modify\", doc=\"i_channel_modify_power\", value=2 },\n\t{ name=\"ForceDelete\", doc=\"b_channel_delete_flag_force\", value=4 },\n\t{ name=\"Delete\", doc=\"b_channel_delete_*\", value=8 },\n\t{ name=\"Subscribe\", doc=\"i_channel_subscribe_power\", value=16 },\n\t{ name=\"ViewDescription\", doc=\"i_channel_description_view_power\", value=32 },\n\t{ name=\"FileUpload\", doc=\"i_ft_file_upload_power\", value=64 },\n\t{ name=\"FileDownload\", doc=\"i_ft_needed_file_download_power\", value=128 },\n\t{ name=\"FileDelete\", doc=\"i_ft_file_delete_power\", value=256 },\n\t{ name=\"FileRename\", doc=\"i_ft_file_rename_power\", value=512 },\n\t{ name=\"FileBrowse\", doc=\"i_ft_file_browse_power\", value=1024 },\n\t{ name=\"FileDirectoryCreate\", doc=\"i_ft_directory_create_power\", value=2048 },\n\t{ name=\"ModifyPermissions\", doc=\"i_channel_permission_modify_power\", value=4096 },\n]\n\n[[bitflag]]\nname = \"ClientPermissionHint\"\ndoc = \"Hints if the client has the permission to make specific actions.\"\nvariants = [\n\t{ name=\"KickServer\", doc=\"i_client_kick_from_server_power\", value=1 },\n\t{ name=\"KickChannel\", doc=\"i_client_kick_from_channel_power\", value=2 },\n\t{ name=\"Ban\", doc=\"i_client_ban_power\", value=4 },\n\t{ name=\"MoveClient\", doc=\"i_client_move_power\", value=8 },\n\t{ name=\"PrivateMessage\", doc=\"i_client_private_textmessage_power\", value=16 },\n\t{ name=\"Poke\", doc=\"i_client_poke_power\", value=32 },\n\t{ name=\"Whisper\", doc=\"i_client_whisper_power\", value=64 },\n\t{ name=\"Complain\", doc=\"i_client_complain_power\", value=128 },\n\t{ name=\"ModifyPermissions\", doc=\"i_client_permission_modify_power\", value=256 },\n]\n";