Module ts3defines
[hide private]
[frames] | no frames]

Source Code for Module ts3defines

   1  from collections import namedtuple 
   2   
   3  TS3Vector = namedtuple('TS3Vecor', 'x y') 
   4   
   5  PLUGIN_MENU_BUFSZ = 128 
   6  PLUGIN_HOTKEY_BUFSZ = 128 
   7   
   8  TS3_MAX_SIZE_CHANNEL_NAME = 40 
   9  TS3_MAX_SIZE_VIRTUALSERVER_NAME = 64 
  10  TS3_MAX_SIZE_CLIENT_NICKNAME = 64 
  11  TS3_MIN_SIZE_CLIENT_NICKNAME = 3 
  12  TS3_MAX_SIZE_REASON_MESSAGE = 80 
  13   
  14  TS3_MAX_SIZE_TEXTMESSAGE = 1024 
  15  TS3_MAX_SIZE_CHANNEL_TOPIC = 255 
  16  TS3_MAX_SIZE_CHANNEL_DESCRIPTION = 8192 
  17  TS3_MAX_SIZE_VIRTUALSERVER_WELCOMEMESSAGE = 1024 
  18   
  19  TS3_MIN_SECONDS_CLIENTID_REUSE = 300 
  20   
  21  MAX_VARIABLES_EXPORT_COUNT = 64 
  22   
  23  BANDWIDTH_LIMIT_UNLIMITED = 0xFFFFFFFFFFFFFFFF 
  24   
  25  SPEAKER_FRONT_LEFT = 0x1 
  26  SPEAKER_FRONT_RIGHT = 0x2 
  27  SPEAKER_FRONT_CENTER = 0x4 
  28  SPEAKER_LOW_FREQUENCY = 0x8 
  29  SPEAKER_BACK_LEFT = 0x10 
  30  SPEAKER_BACK_RIGHT = 0x20 
  31  SPEAKER_FRONT_LEFT_OF_CENTER = 0x40 
  32  SPEAKER_FRONT_RIGHT_OF_CENTER = 0x80 
  33  SPEAKER_BACK_CENTER = 0x100 
  34  SPEAKER_SIDE_LEFT = 0x200 
  35  SPEAKER_SIDE_RIGHT = 0x400 
  36  SPEAKER_TOP_CENTER = 0x800 
  37  SPEAKER_TOP_FRONT_LEFT = 0x1000 
  38  SPEAKER_TOP_FRONT_CENTER = 0x2000 
  39  SPEAKER_TOP_FRONT_RIGHT = 0x4000 
  40  SPEAKER_TOP_BACK_LEFT = 0x8000 
  41  SPEAKER_TOP_BACK_CENTER = 0x10000 
  42  SPEAKER_TOP_BACK_RIGHT = 0x20000 
  43  SPEAKER_HEADPHONES_LEFT = 0x10000000 
  44  SPEAKER_HEADPHONES_RIGHT = 0x20000000 
  45  SPEAKER_MONO = 0x40000000 
  46   
  47  TS3_MAX_SIZE_CLIENT_NICKNAME_NONSDK = 30 
  48  TS3_MIN_SIZE_CLIENT_NICKNAME_NONSDK = 3 
  49  TS3_MAX_SIZE_AWAY_MESSAGE = 80 
  50  TS3_MAX_SIZE_GROUP_NAME = 30 
  51  TS3_MAX_SIZE_TALK_REQUEST_MESSAGE = 50 
  52  TS3_MAX_SIZE_COMPLAIN_MESSAGE = 200 
  53  TS3_MAX_SIZE_CLIENT_DESCRIPTION = 200 
  54  TS3_MAX_SIZE_HOST_MESSAGE = 200 
  55  TS3_MAX_SIZE_HOSTBUTTON_TOOLTIP = 50 
  56  TS3_MAX_SIZE_POKE_MESSAGE = 100 
  57  TS3_MAX_SIZE_OFFLINE_MESSAGE = 4096 
  58  TS3_MAX_SIZE_OFFLINE_MESSAGE_SUBJECT = 200 
  59   
  60  TS3_MAX_SIZE_PLUGIN_COMMAND = 1024 * 8 
  61  TS3_MAX_SIZE_VIRTUALSERVER_HOSTBANNER_GFX_URL = 2000 
  62   
  63  ERROR_accounting_already_started = 0x0b0c 
  64   
  65  ERROR_accounting_instance_check_error = 0x0b08 
  66   
  67  ERROR_accounting_instance_duplicated = 0x0b0b 
  68   
  69  ERROR_accounting_instance_limit_reached = 0x0b07 
  70   
  71  ERROR_accounting_license_date_not_ok = 0x0b03 
  72   
  73  ERROR_accounting_license_file_invalid = 0x0b09 
  74   
  75  ERROR_accounting_license_file_not_found = 0x0b02 
  76   
  77  ERROR_accounting_not_started = 0x0b0d 
  78   
  79  ERROR_accounting_running_elsewhere = 0x0b0a 
  80   
  81  ERROR_accounting_server_error = 0x0b06 
  82   
  83  ERROR_accounting_slot_limit_reached = 0x0b01 
  84   
  85  ERROR_accounting_to_many_starts = 0x0b0e 
  86   
  87  ERROR_accounting_unable_to_connect_to_server = 0x0b04 
  88   
  89  ERROR_accounting_unknown_error = 0x0b05 
  90   
  91  ERROR_accounting_virtualserver_limit_reached = 0x0b00 
  92   
  93  ERROR_ban_flooding = 0x0d03 
  94   
  95  ERROR_ban_invalid_id = 0x0d00 
  96   
  97  ERROR_channel_already_in = 0x0302 
  98   
  99  ERROR_channel_can_not_delete_default = 0x0305 
 100   
 101  ERROR_channel_default_require_permanent = 0x0306 
 102   
 103  ERROR_channel_invalid_flags = 0x0307 
 104   
 105  ERROR_channel_invalid_id = 0x0300 
 106   
 107  ERROR_channel_invalid_order = 0x030b 
 108   
 109  ERROR_channel_invalid_password = 0x030d 
 110   
 111  ERROR_channel_invalid_security_hash = 0x030f 
 112   
 113  ERROR_channel_is_private_channel = 0x030e 
 114   
 115  ERROR_channel_maxclients_reached = 0x0309 
 116   
 117  ERROR_channel_maxfamily_reached = 0x030a 
 118   
 119  ERROR_channel_name_inuse = 0x0303 
 120   
 121  ERROR_channel_no_filetransfer_supported = 0x030c 
 122   
 123  ERROR_channel_not_empty = 0x0304 
 124   
 125  ERROR_channel_parent_not_permanent = 0x0308 
 126   
 127  ERROR_channel_protocol_limit_reached = 0x0301 
 128   
 129  ERROR_client_already_subscribed = 0x0205 
 130   
 131  ERROR_client_cannot_verify_now = 0x020e 
 132   
 133  ERROR_client_could_not_validate_identity = 0x0207 
 134   
 135  ERROR_client_hacked = 0x020d 
 136   
 137  ERROR_client_invalid_id = 0x0200 
 138   
 139  ERROR_client_invalid_password = 0x0208 
 140   
 141  ERROR_client_invalid_type = 0x0204 
 142   
 143  ERROR_client_is_flooding = 0x020c 
 144   
 145  ERROR_client_is_online = 0x020b 
 146   
 147  ERROR_client_login_not_permitted = 0x020f 
 148   
 149  ERROR_client_nickname_inuse = 0x0201 
 150   
 151  ERROR_client_not_logged_in = 0x0206 
 152   
 153  ERROR_client_not_subscribed = 0x0210 
 154   
 155  ERROR_client_protocol_limit_reached = 0x0203 
 156   
 157  ERROR_client_too_many_clones_connected = 0x0209 
 158   
 159  ERROR_client_version_outdated = 0x020a 
 160   
 161  ERROR_clientlibrary_not_initialised = 0x0709 
 162   
 163  ERROR_command_not_found = 0x0100 
 164   
 165  ERROR_connect_failed_banned = 0x0d01 
 166   
 167  ERROR_connection_ip_protocol_missing = 0x070d 
 168   
 169  ERROR_connection_lost = 0x0701 
 170   
 171  ERROR_could_not_initialise_input_manager = 0x0708 
 172   
 173  ERROR_could_not_resolve_hostname = 0x0706 
 174   
 175  ERROR_currently_not_possible = 0x0704 
 176   
 177  ERROR_database = 0x0500 
 178   
 179  ERROR_database_constraint = 0x0504 
 180   
 181  ERROR_database_duplicate_entry = 0x0502 
 182   
 183  ERROR_database_empty_result = 0x0501 
 184   
 185  ERROR_database_no_modifications = 0x0503 
 186   
 187  ERROR_database_reinvoke = 0x0505 
 188   
 189  ERROR_dont_notify = 0x0004 
 190   
 191  ERROR_failed_connection_initialisation = 0x0705 
 192   
 193  ERROR_file_already_exists = 0x0802 
 194   
 195  ERROR_file_already_in_use = 0x080a 
 196   
 197  ERROR_file_connection_lost = 0x080f 
 198   
 199  ERROR_file_could_not_open_connection = 0x080b 
 200   
 201  ERROR_file_exceeds_file_system_maximum_size = 0x080d 
 202   
 203  ERROR_file_exceeds_supplied_size = 0x0810 
 204   
 205  ERROR_file_invalid_name = 0x0800 
 206   
 207  ERROR_file_invalid_path = 0x0806 
 208   
 209  ERROR_file_invalid_permissions = 0x0801 
 210   
 211  ERROR_file_invalid_size = 0x0809 
 212   
 213  ERROR_file_invalid_transfer_id = 0x0805 
 214   
 215  ERROR_file_io_error = 0x0804 
 216   
 217  ERROR_file_no_files_available = 0x0807 
 218   
 219  ERROR_file_no_space_left_on_device = 0x080c 
 220   
 221  ERROR_file_not_found = 0x0803 
 222   
 223  ERROR_file_overwrite_excludes_resume = 0x0808 
 224   
 225  ERROR_file_transfer_canceled = 0x0812 
 226   
 227  ERROR_file_transfer_client_quota_exceeded = 0x0815 
 228   
 229  ERROR_file_transfer_complete = 0x0811 
 230   
 231  ERROR_file_transfer_connection_timeout = 0x080e 
 232   
 233  ERROR_file_transfer_interrupted = 0x0813 
 234   
 235  ERROR_file_transfer_limit_reached = 0x0817 
 236   
 237  ERROR_file_transfer_reset = 0x0816 
 238   
 239  ERROR_file_transfer_server_quota_exceeded = 0x0814 
 240   
 241  ERROR_invalid_server_connection_handler_id = 0x0707 
 242   
 243  ERROR_lib_time_limit_reached = 0x0005 
 244   
 245  ERROR_message_invalid_id = 0x0c00 
 246   
 247  ERROR_no_cached_connection_info = 0x0703 
 248   
 249  ERROR_no_network_port_available = 0x0102 
 250   
 251  ERROR_not_connected = 0x0702 
 252   
 253  ERROR_not_implemented = 0x0002 
 254   
 255  ERROR_ok = 0x0000 
 256   
 257  ERROR_ok_no_update = 0x0003 
 258   
 259  ERROR_parameter_checksum = 0x0607 
 260   
 261  ERROR_parameter_convert = 0x0604 
 262   
 263  ERROR_parameter_invalid = 0x0602 
 264   
 265  ERROR_parameter_invalid_count = 0x0601 
 266   
 267  ERROR_parameter_invalid_size = 0x0605 
 268   
 269  ERROR_parameter_missing = 0x0606 
 270   
 271  ERROR_parameter_not_found = 0x0603 
 272   
 273  ERROR_parameter_quote = 0x0600 
 274   
 275  ERROR_permission_default_group_forbidden = 0x0a04 
 276   
 277  ERROR_permission_duplicate_entry = 0x0a01 
 278   
 279  ERROR_permission_empty_result = 0x0a03 
 280   
 281  ERROR_permission_invalid_group_id = 0x0a00 
 282   
 283  ERROR_permission_invalid_perm_id = 0x0a02 
 284   
 285  ERROR_permission_invalid_size = 0x0a05 
 286   
 287  ERROR_permission_invalid_value = 0x0a06 
 288   
 289  ERROR_permission_template_group_is_used = 0x0a0b 
 290   
 291  ERROR_permissions = 0x0a0c 
 292   
 293  ERROR_permissions_client_insufficient = 0x0a08 
 294   
 295  ERROR_permissions_group_not_empty = 0x0a07 
 296   
 297  ERROR_permissions_insufficient_group_power = 0x0a09 
 298   
 299  ERROR_permissions_insufficient_permission_power = 0x0a0a 
 300   
 301  ERROR_port_already_in_use = 0x0103 
 302   
 303  ERROR_privilege_key_invalid = 0x0f00 
 304   
 305  ERROR_provisioning_already_connected = 0x1115 
 306   
 307  ERROR_provisioning_already_initialized = 0x1112 
 308   
 309  ERROR_provisioning_auth_data_too_large = 0x1111 
 310   
 311  ERROR_provisioning_auth_server_not_connected = 0x1110 
 312   
 313  ERROR_provisioning_connecting = 0x1114 
 314   
 315  ERROR_provisioning_could_not_connect = 0x1109 
 316   
 317  ERROR_provisioning_internal_tries_exceeded = 0x1106 
 318   
 319  ERROR_provisioning_invalid_password = 0x1100 
 320   
 321  ERROR_provisioning_invalid_request = 0x1101 
 322   
 323  ERROR_provisioning_invalid_timeout = 0x1118 
 324   
 325  ERROR_provisioning_io_error = 0x1117 
 326   
 327  ERROR_provisioning_no_permission = 0x111A 
 328   
 329  ERROR_provisioning_no_slots_available = 0x1102 
 330   
 331  ERROR_provisioning_not_connected = 0x1116 
 332   
 333  ERROR_provisioning_not_initialized = 0x1113 
 334   
 335  ERROR_provisioning_pool_missing = 0x1103 
 336   
 337  ERROR_provisioning_pool_unknown = 0x1104 
 338   
 339  ERROR_provisioning_too_many_reserved = 0x1108 
 340   
 341  ERROR_provisioning_too_many_slots_requested = 0x1107 
 342   
 343  ERROR_provisioning_ts3server_not_found = 0x1119 
 344   
 345  ERROR_provisioning_unknown_ip_location = 0x1105 
 346   
 347  ERROR_rename_failed_banned = 0x0d02 
 348   
 349  ERROR_server_deployment_active = 0x0405 
 350   
 351  ERROR_server_duplicate_running = 0x040e 
 352   
 353  ERROR_server_invalid_id = 0x0400 
 354   
 355  ERROR_server_invalid_password = 0x0404 
 356   
 357  ERROR_server_is_booting = 0x040a 
 358   
 359  ERROR_server_is_not_running = 0x0409 
 360   
 361  ERROR_server_is_shutting_down = 0x0402 
 362   
 363  ERROR_server_is_virtual = 0x0407 
 364   
 365  ERROR_server_maxclients_reached = 0x0403 
 366   
 367  ERROR_server_modal_quit = 0x040c 
 368   
 369  ERROR_server_running = 0x0401 
 370   
 371  ERROR_server_status_invalid = 0x040b 
 372   
 373  ERROR_server_unable_to_stop_own_server = 0x0406 
 374   
 375  ERROR_server_version_outdated = 0x040d 
 376   
 377  ERROR_server_wrong_machineid = 0x0408 
 378   
 379  ERROR_serverlibrary_not_initialised = 0x070a 
 380   
 381  ERROR_sound_channel_mask_mismatch = 0x0918 
 382   
 383  ERROR_sound_could_not_open_capture_device = 0x0906 
 384   
 385  ERROR_sound_could_not_open_playback_device = 0x0907 
 386   
 387  ERROR_sound_device_already_registerred = 0x0910 
 388   
 389  ERROR_sound_device_busy = 0x0916 
 390   
 391  ERROR_sound_device_in_use = 0x090f 
 392   
 393  ERROR_sound_handler_has_device = 0x0908 
 394   
 395  ERROR_sound_internal_capture = 0x090e 
 396   
 397  ERROR_sound_internal_encoder = 0x0902 
 398   
 399  ERROR_sound_internal_playback = 0x0903 
 400   
 401  ERROR_sound_internal_preprocessor = 0x0901 
 402   
 403  ERROR_sound_invalid_capture_device = 0x0909 
 404   
 405  ERROR_sound_invalid_channel_count = 0x0913 
 406   
 407  ERROR_sound_invalid_playback_device = 0x090a 
 408   
 409  ERROR_sound_invalid_wave = 0x090b 
 410   
 411  ERROR_sound_need_more_data = 0x0915 
 412   
 413  ERROR_sound_no_capture_device_available = 0x0904 
 414   
 415  ERROR_sound_no_data = 0x0917 
 416   
 417  ERROR_sound_no_playback_device_available = 0x0905 
 418   
 419  ERROR_sound_open_wave = 0x090d 
 420   
 421  ERROR_sound_preprocessor_disabled = 0x0900 
 422   
 423  ERROR_sound_read_wave = 0x0914 
 424   
 425  ERROR_sound_unknown_device = 0x0911 
 426   
 427  ERROR_sound_unsupported_frequency = 0x0912 
 428   
 429  ERROR_sound_unsupported_wave = 0x090c 
 430   
 431  ERROR_tts_unable_to_initialize = 0x0e00 
 432   
 433  ERROR_unable_to_bind_network_port = 0x0101 
 434   
 435  ERROR_undefined = 0x0001 
 436   
 437  ERROR_voip_already_initialized = 0x1001 
 438   
 439  ERROR_voip_cannot_answer_initiated_call = 0x1006 
 440   
 441  ERROR_voip_internal_error = 0x1004 
 442   
 443  ERROR_voip_invalid_account = 0x1003 
 444   
 445  ERROR_voip_invalid_connectionId = 0x1005 
 446   
 447  ERROR_voip_not_initialized = 0x1007 
 448   
 449  ERROR_voip_pjsua = 0x1000 
 450   
 451  ERROR_voip_too_many_accounts = 0x1002 
 452   
 453  ERROR_vs_critical = 0x0700 
 454   
 455  ERROR_whisper_no_targets = 0x070c 
 456   
 457  ERROR_whisper_too_many_targets = 0x070b 
 458   
 459   
 460   
461 -class ACLType(object):
462 ACL_NONE = 0 463 ACL_WHITE_LIST = 1 464 ACL_BLACK_LIST = 2
465 466
467 -class AwayStatus(object):
468 AWAY_NONE = 0 469 AWAY_ZZZ = 1
470 471
472 -class BBCodeTags(object):
473 BBCodeTag_B = 0x00000001 474 BBCodeTag_I = 0x00000002 475 BBCodeTag_U = 0x00000004 476 BBCodeTag_S = 0x00000008 477 BBCodeTag_SUP = 0x00000010 478 BBCodeTag_SUB = 0x00000020 479 BBCodeTag_COLOR = 0x00000040 480 BBCodeTag_SIZE = 0x00000080 481 BBCodeTag_group_text = 0x000000FF 482 BBCodeTag_LEFT = 0x00001000 483 BBCodeTag_RIGHT = 0x00002000 484 BBCodeTag_CENTER = 0x00004000 485 BBCodeTag_group_align = 0x00007000 486 BBCodeTag_URL = 0x00010000 487 BBCodeTag_IMAGE = 0x00020000 488 BBCodeTag_HR = 0x00040000 489 BBCodeTag_LIST = 0x00100000 490 BBCodeTag_LISTITEM = 0x00200000 491 BBCodeTag_group_list = 0x00300000 492 BBCodeTag_TABLE = 0x00400000 493 BBCodeTag_TR = 0x00800000 494 BBCodeTag_TH = 0x01000000 495 BBCodeTag_TD = 0x02000000 496 BBCodeTag_group_table = 0x03C00000 497 BBCodeTag_def_simple = ((((((BBCodeTag_B | BBCodeTag_I) | BBCodeTag_U) | BBCodeTag_S) | BBCodeTag_SUP) | BBCodeTag_SUB) | BBCodeTag_COLOR) | BBCodeTag_URL 498 BBCodeTag_def_simple_Img = BBCodeTag_def_simple | BBCodeTag_IMAGE 499 BBCodeTag_def_extended = (((((BBCodeTag_group_text | BBCodeTag_group_align) | BBCodeTag_URL) | BBCodeTag_IMAGE) | BBCodeTag_HR) | BBCodeTag_group_list) | BBCodeTag_group_table
500 501
502 -class ChannelProperties(object):
503 CHANNEL_NAME = 0 504 CHANNEL_TOPIC = 1 505 CHANNEL_DESCRIPTION = 2 506 CHANNEL_PASSWORD = 3 507 CHANNEL_CODEC = 4 508 CHANNEL_CODEC_QUALITY = 5 509 CHANNEL_MAXCLIENTS = 6 510 CHANNEL_MAXFAMILYCLIENTS = 7 511 CHANNEL_ORDER = 8 512 CHANNEL_FLAG_PERMANENT = 9 513 CHANNEL_FLAG_SEMI_PERMANENT = 10 514 CHANNEL_FLAG_DEFAULT = 11 515 CHANNEL_FLAG_PASSWORD = 12 516 CHANNEL_CODEC_LATENCY_FACTOR = 13 517 CHANNEL_CODEC_IS_UNENCRYPTED = 14 518 CHANNEL_SECURITY_SALT = 15 519 CHANNEL_DELETE_DELAY = 16 520 CHANNEL_ENDMARKER = 17
521 522
523 -class ChannelPropertiesRare(object):
524 CHANNEL_DUMMY_2 = 17 525 CHANNEL_DUMMY_3 = 18 526 CHANNEL_DUMMY_4 = 19 527 CHANNEL_DUMMY_5 = 20 528 CHANNEL_DUMMY_6 = 21 529 CHANNEL_DUMMY_7 = 22 530 CHANNEL_FLAG_MAXCLIENTS_UNLIMITED = 23 531 CHANNEL_FLAG_MAXFAMILYCLIENTS_UNLIMITED = 24 532 CHANNEL_FLAG_MAXFAMILYCLIENTS_INHERITED = 25 533 CHANNEL_FLAG_ARE_SUBSCRIBED = 26 534 CHANNEL_FILEPATH = 27 535 CHANNEL_NEEDED_TALK_POWER = 28 536 CHANNEL_FORCED_SILENCE = 29 537 CHANNEL_NAME_PHONETIC = 30 538 CHANNEL_ICON_ID = 31 539 CHANNEL_FLAG_PRIVATE = 32 540 CHANNEL_ENDMARKER_RARE = 33
541 542
543 -class ClientCommand(object):
544 CLIENT_COMMAND_requestConnectionInfo = 0 545 CLIENT_COMMAND_requestClientMove = 1 546 CLIENT_COMMAND_requestXXMuteClients = 2 547 CLIENT_COMMAND_requestClientKickFromXXX = 3 548 CLIENT_COMMAND_flushChannelCreation = 4 549 CLIENT_COMMAND_flushChannelUpdates = 5 550 CLIENT_COMMAND_requestChannelMove = 6 551 CLIENT_COMMAND_requestChannelDelete = 7 552 CLIENT_COMMAND_requestChannelDescription = 8 553 CLIENT_COMMAND_requestChannelXXSubscribeXXX = 9 554 CLIENT_COMMAND_requestServerConnectionInfo = 10 555 CLIENT_COMMAND_requestSendXXXTextMsg = 11 556 CLIENT_COMMAND_filetransfers = 12 557 CLIENT_COMMAND_ENDMARKER = 13
558 559
560 -class ClientProperties(object):
561 CLIENT_UNIQUE_IDENTIFIER = 0 562 CLIENT_NICKNAME = 1 563 CLIENT_VERSION = 2 564 CLIENT_PLATFORM = 3 565 CLIENT_FLAG_TALKING = 4 566 CLIENT_INPUT_MUTED = 5 567 CLIENT_OUTPUT_MUTED = 6 568 CLIENT_OUTPUTONLY_MUTED = 7 569 CLIENT_INPUT_HARDWARE = 8 570 CLIENT_OUTPUT_HARDWARE = 9 571 CLIENT_INPUT_DEACTIVATED = 10 572 CLIENT_IDLE_TIME = 11 573 CLIENT_DEFAULT_CHANNEL = 12 574 CLIENT_DEFAULT_CHANNEL_PASSWORD = 13 575 CLIENT_SERVER_PASSWORD = 14 576 CLIENT_META_DATA = 15 577 CLIENT_IS_MUTED = 16 578 CLIENT_IS_RECORDING = 17 579 CLIENT_VOLUME_MODIFICATOR = 18 580 CLIENT_VERSION_SIGN = 19 581 CLIENT_SECURITY_HASH = 20 582 CLIENT_ENDMARKER = 21
583 584
585 -class ClientPropertiesRare(object):
586 CLIENT_DUMMY_3 = 21 587 CLIENT_DUMMY_4 = 22 588 CLIENT_DUMMY_5 = 23 589 CLIENT_DUMMY_6 = 24 590 CLIENT_DUMMY_7 = 25 591 CLIENT_DUMMY_8 = 26 592 CLIENT_DUMMY_9 = 27 593 CLIENT_KEY_OFFSET = 28 594 CLIENT_LAST_VAR_REQUEST = 29 595 CLIENT_LOGIN_NAME = 30 596 CLIENT_LOGIN_PASSWORD = 31 597 CLIENT_DATABASE_ID = 32 598 CLIENT_CHANNEL_GROUP_ID = 33 599 CLIENT_SERVERGROUPS = 34 600 CLIENT_CREATED = 35 601 CLIENT_LASTCONNECTED = 36 602 CLIENT_TOTALCONNECTIONS = 37 603 CLIENT_AWAY = 38 604 CLIENT_AWAY_MESSAGE = 39 605 CLIENT_TYPE = 40 606 CLIENT_FLAG_AVATAR = 41 607 CLIENT_TALK_POWER = 42 608 CLIENT_TALK_REQUEST = 43 609 CLIENT_TALK_REQUEST_MSG = 44 610 CLIENT_DESCRIPTION = 45 611 CLIENT_IS_TALKER = 46 612 CLIENT_MONTH_BYTES_UPLOADED = 47 613 CLIENT_MONTH_BYTES_DOWNLOADED = 48 614 CLIENT_TOTAL_BYTES_UPLOADED = 49 615 CLIENT_TOTAL_BYTES_DOWNLOADED = 50 616 CLIENT_IS_PRIORITY_SPEAKER = 51 617 CLIENT_UNREAD_MESSAGES = 52 618 CLIENT_NICKNAME_PHONETIC = 53 619 CLIENT_NEEDED_SERVERQUERY_VIEW_POWER = 54 620 CLIENT_DEFAULT_TOKEN = 55 621 CLIENT_ICON_ID = 56 622 CLIENT_IS_CHANNEL_COMMANDER = 57 623 CLIENT_COUNTRY = 58 624 CLIENT_CHANNEL_GROUP_INHERITED_CHANNEL_ID = 59 625 CLIENT_BADGES = 60 626 CLIENT_ENDMARKER_RARE = 61
627 628
629 -class ClientType(object):
630 ClientType_NORMAL = 0 631 ClientType_SERVERQUERY = 1
632 633
634 -class CodecEncryptionMode(object):
635 CODEC_ENCRYPTION_PER_CHANNEL = 0 636 CODEC_ENCRYPTION_FORCED_OFF = 1 637 CODEC_ENCRYPTION_FORCED_ON = 2
638 639
640 -class CodecType(object):
641 CODEC_SPEEX_NARROWBAND = 0 642 CODEC_SPEEX_WIDEBAND = 1 643 CODEC_SPEEX_ULTRAWIDEBAND = 2 644 CODEC_CELT_MONO = 3 645 CODEC_OPUS_VOICE = 4 646 CODEC_OPUS_MUSIC = 5
647 648
649 -class CommandLinePropertiesRare(object):
650 COMMANDLINE_NOTHING = 0 651 COMMANDLINE_ENDMARKER_RARE = 1
652 653
654 -class ConnectionProperties(object):
655 CONNECTION_PING = 0 656 CONNECTION_PING_DEVIATION = 1 657 CONNECTION_CONNECTED_TIME = 2 658 CONNECTION_IDLE_TIME = 3 659 CONNECTION_CLIENT_IP = 4 660 CONNECTION_CLIENT_PORT = 5 661 CONNECTION_SERVER_IP = 6 662 CONNECTION_SERVER_PORT = 7 663 CONNECTION_PACKETS_SENT_SPEECH = 8 664 CONNECTION_PACKETS_SENT_KEEPALIVE = 9 665 CONNECTION_PACKETS_SENT_CONTROL = 10 666 CONNECTION_PACKETS_SENT_TOTAL = 11 667 CONNECTION_BYTES_SENT_SPEECH = 12 668 CONNECTION_BYTES_SENT_KEEPALIVE = 13 669 CONNECTION_BYTES_SENT_CONTROL = 14 670 CONNECTION_BYTES_SENT_TOTAL = 15 671 CONNECTION_PACKETS_RECEIVED_SPEECH = 16 672 CONNECTION_PACKETS_RECEIVED_KEEPALIVE = 17 673 CONNECTION_PACKETS_RECEIVED_CONTROL = 18 674 CONNECTION_PACKETS_RECEIVED_TOTAL = 19 675 CONNECTION_BYTES_RECEIVED_SPEECH = 20 676 CONNECTION_BYTES_RECEIVED_KEEPALIVE = 21 677 CONNECTION_BYTES_RECEIVED_CONTROL = 22 678 CONNECTION_BYTES_RECEIVED_TOTAL = 23 679 CONNECTION_PACKETLOSS_SPEECH = 24 680 CONNECTION_PACKETLOSS_KEEPALIVE = 25 681 CONNECTION_PACKETLOSS_CONTROL = 26 682 CONNECTION_PACKETLOSS_TOTAL = 27 683 CONNECTION_SERVER2CLIENT_PACKETLOSS_SPEECH = 28 684 CONNECTION_SERVER2CLIENT_PACKETLOSS_KEEPALIVE = 29 685 CONNECTION_SERVER2CLIENT_PACKETLOSS_CONTROL = 30 686 CONNECTION_SERVER2CLIENT_PACKETLOSS_TOTAL = 31 687 CONNECTION_CLIENT2SERVER_PACKETLOSS_SPEECH = 32 688 CONNECTION_CLIENT2SERVER_PACKETLOSS_KEEPALIVE = 33 689 CONNECTION_CLIENT2SERVER_PACKETLOSS_CONTROL = 34 690 CONNECTION_CLIENT2SERVER_PACKETLOSS_TOTAL = 35 691 CONNECTION_BANDWIDTH_SENT_LAST_SECOND_SPEECH = 36 692 CONNECTION_BANDWIDTH_SENT_LAST_SECOND_KEEPALIVE = 37 693 CONNECTION_BANDWIDTH_SENT_LAST_SECOND_CONTROL = 38 694 CONNECTION_BANDWIDTH_SENT_LAST_SECOND_TOTAL = 39 695 CONNECTION_BANDWIDTH_SENT_LAST_MINUTE_SPEECH = 40 696 CONNECTION_BANDWIDTH_SENT_LAST_MINUTE_KEEPALIVE = 41 697 CONNECTION_BANDWIDTH_SENT_LAST_MINUTE_CONTROL = 42 698 CONNECTION_BANDWIDTH_SENT_LAST_MINUTE_TOTAL = 43 699 CONNECTION_BANDWIDTH_RECEIVED_LAST_SECOND_SPEECH = 44 700 CONNECTION_BANDWIDTH_RECEIVED_LAST_SECOND_KEEPALIVE = 45 701 CONNECTION_BANDWIDTH_RECEIVED_LAST_SECOND_CONTROL = 46 702 CONNECTION_BANDWIDTH_RECEIVED_LAST_SECOND_TOTAL = 47 703 CONNECTION_BANDWIDTH_RECEIVED_LAST_MINUTE_SPEECH = 48 704 CONNECTION_BANDWIDTH_RECEIVED_LAST_MINUTE_KEEPALIVE = 49 705 CONNECTION_BANDWIDTH_RECEIVED_LAST_MINUTE_CONTROL = 50 706 CONNECTION_BANDWIDTH_RECEIVED_LAST_MINUTE_TOTAL = 51 707 CONNECTION_ENDMARKER = 52
708 709
710 -class ConnectionPropertiesRare(object):
711 CONNECTION_DUMMY_0 = 52 712 CONNECTION_DUMMY_1 = 53 713 CONNECTION_DUMMY_2 = 54 714 CONNECTION_DUMMY_3 = 55 715 CONNECTION_DUMMY_4 = 56 716 CONNECTION_DUMMY_5 = 57 717 CONNECTION_DUMMY_6 = 58 718 CONNECTION_DUMMY_7 = 59 719 CONNECTION_DUMMY_8 = 60 720 CONNECTION_DUMMY_9 = 61 721 CONNECTION_FILETRANSFER_BANDWIDTH_SENT = 62 722 CONNECTION_FILETRANSFER_BANDWIDTH_RECEIVED = 63 723 CONNECTION_FILETRANSFER_BYTES_RECEIVED_TOTAL = 64 724 CONNECTION_FILETRANSFER_BYTES_SENT_TOTAL = 65 725 CONNECTION_ENDMARKER_RARE = 66
726 727
728 -class ConnectStatus(object):
729 STATUS_DISCONNECTED = 0 730 STATUS_CONNECTING = 1 731 STATUS_CONNECTED = 2 732 STATUS_CONNECTION_ESTABLISHING = 3 733 STATUS_CONNECTION_ESTABLISHED = 4
734 735
736 -class FileListType(object):
737 FileListType_Directory = 0 738 FileListType_File = 1
739 740
741 -class FileTransferState(object):
742 FILETRANSFER_INITIALISING = 0 743 FILETRANSFER_ACTIVE = 1 744 FILETRANSFER_FINISHED = 2
745 746
747 -class FTAction(object):
748 FT_INIT_SERVER = 0 749 FT_INIT_CHANNEL = 1 750 FT_UPLOAD = 2 751 FT_DOWNLOAD = 3 752 FT_DELETE = 4 753 FT_CREATEDIR = 5 754 FT_RENAME = 6 755 FT_FILELIST = 7 756 FT_FILEINFO = 8
757 758
759 -class GroupShowNameTreeMode(object):
760 GroupShowNameTreeMode_NONE = 0 761 GroupShowNameTreeMode_BEFORE = 1 762 GroupShowNameTreeMode_BEHIND = 2
763 764
765 -class GroupWhisperTargetMode(object):
766 GROUPWHISPERTARGETMODE_ALL = 0 767 GROUPWHISPERTARGETMODE_CURRENTCHANNEL = 1 768 GROUPWHISPERTARGETMODE_PARENTCHANNEL = 2 769 GROUPWHISPERTARGETMODE_ALLPARENTCHANNELS = 3 770 GROUPWHISPERTARGETMODE_CHANNELFAMILY = 4 771 GROUPWHISPERTARGETMODE_ANCESTORCHANNELFAMILY = 5 772 GROUPWHISPERTARGETMODE_SUBCHANNELS = 6 773 GROUPWHISPERTARGETMODE_ENDMARKER = 7
774 775
776 -class GroupWhisperType(object):
777 GROUPWHISPERTYPE_SERVERGROUP = 0 778 GROUPWHISPERTYPE_CHANNELGROUP = 1 779 GROUPWHISPERTYPE_CHANNELCOMMANDER = 2 780 GROUPWHISPERTYPE_ALLCLIENTS = 3 781 GROUPWHISPERTYPE_ENDMARKER = 4
782 783
784 -class HardwareInputStatus(object):
785 HARDWAREINPUT_DISABLED = 0 786 HARDWAREINPUT_ENABLED = 1
787 788
789 -class HardwareOutputStatus(object):
790 HARDWAREOUTPUT_DISABLED = 0 791 HARDWAREOUTPUT_ENABLED = 1
792 793
794 -class HostBannerMode(object):
795 HostBannerMode_NO_ADJUST = 0 796 HostBannerMode_ADJUST_IGNORE_ASPECT = 1 797 HostBannerMode_ADJUST_KEEP_ASPECT = 2
798 799
800 -class HostMessageMode(object):
801 HostMessageMode_NONE = 0 802 HostMessageMode_LOG = 1 803 HostMessageMode_MODAL = 2 804 HostMessageMode_MODALQUIT = 3
805 806
807 -class InputDeactivationStatus(object):
808 INPUT_ACTIVE = 0 809 INPUT_DEACTIVATED = 1
810 811
812 -class LicenseViolationType(object):
813 NO_VIOLATION = 0 814 SLOT_VIOLATION = 1 815 SLOT_SUSPICION = 2
816 817
818 -class LocalTestMode(object):
819 TEST_MODE_OFF = 0 820 TEST_MODE_VOICE_LOCAL_ONLY = 1 821 TEST_MODE_VOICE_LOCAL_AND_REMOTE = 2
822 823
824 -class LogLevel(object):
825 LogLevel_CRITICAL = 0 826 LogLevel_ERROR = 1 827 LogLevel_WARNING = 2 828 LogLevel_DEBUG = 3 829 LogLevel_INFO = 4 830 LogLevel_DEVEL = 5
831 832
833 -class LogTypes(object):
834 LogType_NONE = 0x0000 835 LogType_FILE = 0x0001 836 LogType_CONSOLE = 0x0002 837 LogType_USERLOGGING = 0x0004 838 LogType_NO_NETLOGGING = 0x0008 839 LogType_DATABASE = 0x0010 840 LogType_SYSLOG = 0x0020
841 842
843 -class MonoSoundDestination(object):
844 MONO_SOUND_DESTINATION_ALL = 0 845 MONO_SOUND_DESTINATION_FRONT_CENTER = 1 846 MONO_SOUND_DESTINATION_FRONT_LEFT_AND_RIGHT = 2
847 848
849 -class MuteInputStatus(object):
850 MUTEINPUT_NONE = 0 851 MUTEINPUT_MUTED = 1
852 853
854 -class MuteOutputStatus(object):
855 MUTEOUTPUT_NONE = 0 856 MUTEOUTPUT_MUTED = 1
857 858
859 -class PluginConfigureOffer(object):
860 PLUGIN_OFFERS_NO_CONFIGURE = 0 861 PLUGIN_OFFERS_CONFIGURE_NEW_THREAD = 1 862 PLUGIN_OFFERS_CONFIGURE_QT_THREAD = 2
863 864
865 -class PluginConnectTab(object):
866 PLUGIN_CONNECT_TAB_NEW = 0 867 PLUGIN_CONNECT_TAB_CURRENT = 1 868 PLUGIN_CONNECT_TAB_NEW_IF_CURRENT_CONNECTED = 2
869 870
871 -class PluginGuiProfile(object):
872 PLUGIN_GUI_SOUND_CAPTURE = 0 873 PLUGIN_GUI_SOUND_PLAYBACK = 1 874 PLUGIN_GUI_HOTKEY = 2 875 PLUGIN_GUI_SOUNDPACK = 3 876 PLUGIN_GUI_IDENTITY = 4
877 878
879 -class PluginItemType(object):
880 PLUGIN_SERVER = 0 881 PLUGIN_CHANNEL = 1 882 PLUGIN_CLIENT = 2
883 884
885 -class PluginMenuType(object):
886 PLUGIN_MENU_TYPE_GLOBAL = 0 887 PLUGIN_MENU_TYPE_CHANNEL = 1 888 PLUGIN_MENU_TYPE_CLIENT = 2
889 890
891 -class PluginMessageTarget(object):
892 PLUGIN_MESSAGE_TARGET_SERVER = 0 893 PLUGIN_MESSAGE_TARGET_CHANNEL = 1
894 895
896 -class PluginTargetMode(object):
897 PluginCommandTarget_CURRENT_CHANNEL = 0 898 PluginCommandTarget_SERVER = 1 899 PluginCommandTarget_CLIENT = 2 900 PluginCommandTarget_CURRENT_CHANNEL_SUBSCRIBED_CLIENTS = 3 901 PluginCommandTarget_MAX = 4
902 903
904 -class ReasonIdentifier(object):
905 REASON_NONE = 0 906 REASON_MOVED = 1 907 REASON_SUBSCRIPTION = 2 908 REASON_LOST_CONNECTION = 3 909 REASON_KICK_CHANNEL = 4 910 REASON_KICK_SERVER = 5 911 REASON_KICK_SERVER_BAN = 6 912 REASON_SERVERSTOP = 7 913 REASON_CLIENTDISCONNECT = 8 914 REASON_CHANNELUPDATE = 9 915 REASON_CHANNELEDIT = 10 916 REASON_CLIENTDISCONNECT_SERVER_SHUTDOWN = 11
917 918
919 -class SecuritySaltOptions(object):
920 SECURITY_SALT_CHECK_NICKNAME = 1 921 SECURITY_SALT_CHECK_META_DATA = 2
922 923
924 -class SERVER_BINDING(object):
925 SERVER_BINDING_VIRTUALSERVER = 0 926 SERVER_BINDING_SERVERQUERY = 1 927 SERVER_BINDING_FILETRANSFER = 2
928 929
930 -class ServerInstancePropertiesRare(object):
931 SERVERINSTANCE_DATABASE_VERSION = 0 932 SERVERINSTANCE_FILETRANSFER_PORT = 1 933 SERVERINSTANCE_SERVER_ENTROPY = 2 934 SERVERINSTANCE_MONTHLY_TIMESTAMP = 3 935 SERVERINSTANCE_MAX_DOWNLOAD_TOTAL_BANDWIDTH = 4 936 SERVERINSTANCE_MAX_UPLOAD_TOTAL_BANDWIDTH = 5 937 SERVERINSTANCE_GUEST_SERVERQUERY_GROUP = 6 938 SERVERINSTANCE_SERVERQUERY_FLOOD_COMMANDS = 7 939 SERVERINSTANCE_SERVERQUERY_FLOOD_TIME = 8 940 SERVERINSTANCE_SERVERQUERY_BAN_TIME = 9 941 SERVERINSTANCE_TEMPLATE_SERVERADMIN_GROUP = 10 942 SERVERINSTANCE_TEMPLATE_SERVERDEFAULT_GROUP = 11 943 SERVERINSTANCE_TEMPLATE_CHANNELADMIN_GROUP = 12 944 SERVERINSTANCE_TEMPLATE_CHANNELDEFAULT_GROUP = 13 945 SERVERINSTANCE_PERMISSIONS_VERSION = 14 946 SERVERINSTANCE_PENDING_CONNECTIONS_PER_IP = 15 947 SERVERINSTANCE_ENDMARKER_RARE = 16
948 949
950 -class TalkStatus(object):
951 STATUS_NOT_TALKING = 0 952 STATUS_TALKING = 1 953 STATUS_TALKING_WHILE_DISABLED = 2
954 955
956 -class TextMessageTargetMode(object):
957 TextMessageTarget_CLIENT = 1 958 TextMessageTarget_CHANNEL = 2 959 TextMessageTarget_SERVER = 3 960 TextMessageTarget_MAX = 4
961 962
963 -class VirtualServerProperties(object):
964 VIRTUALSERVER_UNIQUE_IDENTIFIER = 0 965 VIRTUALSERVER_NAME = 1 966 VIRTUALSERVER_WELCOMEMESSAGE = 2 967 VIRTUALSERVER_PLATFORM = 3 968 VIRTUALSERVER_VERSION = 4 969 VIRTUALSERVER_MAXCLIENTS = 5 970 VIRTUALSERVER_PASSWORD = 6 971 VIRTUALSERVER_CLIENTS_ONLINE = 7 972 VIRTUALSERVER_CHANNELS_ONLINE = 8 973 VIRTUALSERVER_CREATED = 9 974 VIRTUALSERVER_UPTIME = 10 975 VIRTUALSERVER_CODEC_ENCRYPTION_MODE = 11 976 VIRTUALSERVER_ENDMARKER = 12
977 978
979 -class VirtualServerPropertiesRare(object):
980 VIRTUALSERVER_DUMMY_0 = 12 981 VIRTUALSERVER_DUMMY_1 = 13 982 VIRTUALSERVER_DUMMY_2 = 14 983 VIRTUALSERVER_DUMMY_3 = 15 984 VIRTUALSERVER_DUMMY_4 = 16 985 VIRTUALSERVER_DUMMY_5 = 17 986 VIRTUALSERVER_DUMMY_6 = 18 987 VIRTUALSERVER_DUMMY_7 = 19 988 VIRTUALSERVER_DUMMY_8 = 20 989 VIRTUALSERVER_KEYPAIR = 21 990 VIRTUALSERVER_HOSTMESSAGE = 22 991 VIRTUALSERVER_HOSTMESSAGE_MODE = 23 992 VIRTUALSERVER_FILEBASE = 24 993 VIRTUALSERVER_DEFAULT_SERVER_GROUP = 25 994 VIRTUALSERVER_DEFAULT_CHANNEL_GROUP = 26 995 VIRTUALSERVER_FLAG_PASSWORD = 27 996 VIRTUALSERVER_DEFAULT_CHANNEL_ADMIN_GROUP = 28 997 VIRTUALSERVER_MAX_DOWNLOAD_TOTAL_BANDWIDTH = 29 998 VIRTUALSERVER_MAX_UPLOAD_TOTAL_BANDWIDTH = 30 999 VIRTUALSERVER_HOSTBANNER_URL = 31 1000 VIRTUALSERVER_HOSTBANNER_GFX_URL = 32 1001 VIRTUALSERVER_HOSTBANNER_GFX_INTERVAL = 33 1002 VIRTUALSERVER_COMPLAIN_AUTOBAN_COUNT = 34 1003 VIRTUALSERVER_COMPLAIN_AUTOBAN_TIME = 35 1004 VIRTUALSERVER_COMPLAIN_REMOVE_TIME = 36 1005 VIRTUALSERVER_MIN_CLIENTS_IN_CHANNEL_BEFORE_FORCED_SILENCE = 37 1006 VIRTUALSERVER_PRIORITY_SPEAKER_DIMM_MODIFICATOR = 38 1007 VIRTUALSERVER_ID = 39 1008 VIRTUALSERVER_ANTIFLOOD_POINTS_TICK_REDUCE = 40 1009 VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_COMMAND_BLOCK = 41 1010 VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_IP_BLOCK = 42 1011 VIRTUALSERVER_CLIENT_CONNECTIONS = 43 1012 VIRTUALSERVER_QUERY_CLIENT_CONNECTIONS = 44 1013 VIRTUALSERVER_HOSTBUTTON_TOOLTIP = 45 1014 VIRTUALSERVER_HOSTBUTTON_URL = 46 1015 VIRTUALSERVER_HOSTBUTTON_GFX_URL = 47 1016 VIRTUALSERVER_QUERYCLIENTS_ONLINE = 48 1017 VIRTUALSERVER_DOWNLOAD_QUOTA = 49 1018 VIRTUALSERVER_UPLOAD_QUOTA = 50 1019 VIRTUALSERVER_MONTH_BYTES_DOWNLOADED = 51 1020 VIRTUALSERVER_MONTH_BYTES_UPLOADED = 52 1021 VIRTUALSERVER_TOTAL_BYTES_DOWNLOADED = 53 1022 VIRTUALSERVER_TOTAL_BYTES_UPLOADED = 54 1023 VIRTUALSERVER_PORT = 55 1024 VIRTUALSERVER_AUTOSTART = 56 1025 VIRTUALSERVER_MACHINE_ID = 57 1026 VIRTUALSERVER_NEEDED_IDENTITY_SECURITY_LEVEL = 58 1027 VIRTUALSERVER_LOG_CLIENT = 59 1028 VIRTUALSERVER_LOG_QUERY = 60 1029 VIRTUALSERVER_LOG_CHANNEL = 61 1030 VIRTUALSERVER_LOG_PERMISSIONS = 62 1031 VIRTUALSERVER_LOG_SERVER = 63 1032 VIRTUALSERVER_LOG_FILETRANSFER = 64 1033 VIRTUALSERVER_MIN_CLIENT_VERSION = 65 1034 VIRTUALSERVER_NAME_PHONETIC = 66 1035 VIRTUALSERVER_ICON_ID = 67 1036 VIRTUALSERVER_RESERVED_SLOTS = 68 1037 VIRTUALSERVER_TOTAL_PACKETLOSS_SPEECH = 69 1038 VIRTUALSERVER_TOTAL_PACKETLOSS_KEEPALIVE = 70 1039 VIRTUALSERVER_TOTAL_PACKETLOSS_CONTROL = 71 1040 VIRTUALSERVER_TOTAL_PACKETLOSS_TOTAL = 72 1041 VIRTUALSERVER_TOTAL_PING = 73 1042 VIRTUALSERVER_IP = 74 1043 VIRTUALSERVER_WEBLIST_ENABLED = 75 1044 VIRTUALSERVER_AUTOGENERATED_PRIVILEGEKEY = 76 1045 VIRTUALSERVER_ASK_FOR_PRIVILEGEKEY = 77 1046 VIRTUALSERVER_HOSTBANNER_MODE = 78 1047 VIRTUALSERVER_CHANNEL_TEMP_DELETE_DELAY_DEFAULT = 79 1048 VIRTUALSERVER_MIN_ANDROID_VERSION = 80 1049 VIRTUALSERVER_MIN_IOS_VERSION = 81 1050 VIRTUALSERVER_MIN_WINPHONE_VERSION = 82 1051 VIRTUALSERVER_ENDMARKER_RARE = 83
1052 1053
1054 -class Visibility(object):
1055 ENTER_VISIBILITY = 0 1056 RETAIN_VISIBILITY = 1 1057 LEAVE_VISIBILITY = 2
1058