Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

161 lines
6.5 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: network_connection.proto
  3. #if _MSC_VER >= 1300
  4. #ifndef _PS3
  5. #pragma warning(push)
  6. #pragma warning(disable : 4530) // warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (disabled due to std headers having exception syntax)
  7. #pragma warning(disable : 4512) // warning C4512: assignment operator could not be generated
  8. #pragma warning(disable : 4244) // warning C4244: warning C4244: '=' : conversion from '__w64 int' to 'int', possible loss of data
  9. #pragma warning(disable : 4267) // warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
  10. #pragma warning(disable : 4125) // warning C4125: decimal digit terminates octal escape sequence
  11. #pragma warning(disable : 4127) // warning C4127: conditional expression is constant
  12. #pragma warning(disable : 4100) // warning C4100: 'op' : unreferenced formal parameter
  13. #endif // _PS3
  14. #endif // _MSC_VER
  15. #if _GNUC
  16. #ifndef _PS3
  17. #pragma GCC diagnostic push
  18. #pragma GCC diagnostic ignored "-Wshadow"
  19. #endif // _PS3
  20. #endif // _GNUC
  21. #ifndef PROTOBUF_network_5fconnection_2eproto__INCLUDED
  22. #define PROTOBUF_network_5fconnection_2eproto__INCLUDED
  23. #include <string>
  24. #include <google/protobuf/stubs/common.h>
  25. #if GOOGLE_PROTOBUF_VERSION < 2005000
  26. #error This file was generated by a newer version of protoc which is
  27. #error incompatible with your Protocol Buffer headers. Please update
  28. #error your headers.
  29. #endif
  30. #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  31. #error This file was generated by an older version of protoc which is
  32. #error incompatible with your Protocol Buffer headers. Please
  33. #error regenerate this file with a newer version of protoc.
  34. #endif
  35. #include <google/protobuf/generated_message_util.h>
  36. #include <google/protobuf/repeated_field.h>
  37. #include <google/protobuf/extension_set.h>
  38. #include <google/protobuf/generated_enum_reflection.h>
  39. #include "google/protobuf/descriptor.pb.h"
  40. // @@protoc_insertion_point(includes)
  41. // Internal implementation detail -- do not call these.
  42. void protobuf_AddDesc_network_5fconnection_2eproto();
  43. void protobuf_AssignDesc_network_5fconnection_2eproto();
  44. void protobuf_ShutdownFile_network_5fconnection_2eproto();
  45. enum ENetworkDisconnectionReason {
  46. NETWORK_DISCONNECT_INVALID = 0,
  47. NETWORK_DISCONNECT_SHUTDOWN = 1,
  48. NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2,
  49. NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3,
  50. NETWORK_DISCONNECT_LOST = 4,
  51. NETWORK_DISCONNECT_OVERFLOW = 5,
  52. NETWORK_DISCONNECT_STEAM_BANNED = 6,
  53. NETWORK_DISCONNECT_STEAM_INUSE = 7,
  54. NETWORK_DISCONNECT_STEAM_TICKET = 8,
  55. NETWORK_DISCONNECT_STEAM_LOGON = 9,
  56. NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10,
  57. NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11,
  58. NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12,
  59. NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13,
  60. NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14,
  61. NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15,
  62. NETWORK_DISCONNECT_STEAM_DROPPED = 16,
  63. NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17,
  64. NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18,
  65. NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19,
  66. NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20,
  67. NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21,
  68. NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22,
  69. NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23,
  70. NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24,
  71. NETWORK_DISCONNECT_SNAPSHOTERROR = 25,
  72. NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26,
  73. NETWORK_DISCONNECT_BADDELTATICK = 27,
  74. NETWORK_DISCONNECT_NOMORESPLITS = 28,
  75. NETWORK_DISCONNECT_TIMEDOUT = 29,
  76. NETWORK_DISCONNECT_DISCONNECTED = 30,
  77. NETWORK_DISCONNECT_LEAVINGSPLIT = 31,
  78. NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32,
  79. NETWORK_DISCONNECT_BADRELAYPASSWORD = 33,
  80. NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34,
  81. NETWORK_DISCONNECT_HLTVRESTRICTED = 35,
  82. NETWORK_DISCONNECT_NOSPECTATORS = 36,
  83. NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37,
  84. NETWORK_DISCONNECT_HLTVSTOP = 38,
  85. NETWORK_DISCONNECT_KICKED = 39,
  86. NETWORK_DISCONNECT_BANADDED = 40,
  87. NETWORK_DISCONNECT_KICKBANADDED = 41,
  88. NETWORK_DISCONNECT_HLTVDIRECT = 42,
  89. NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43,
  90. NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44,
  91. NETWORK_DISCONNECT_USERCMD = 45,
  92. NETWORK_DISCONNECT_REJECTED_BY_GAME = 46,
  93. NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47,
  94. NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48,
  95. NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49,
  96. NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50,
  97. NETWORK_DISCONNECT_CONNECTION_FAILURE = 51,
  98. NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52,
  99. NETWORK_DISCONNECT_RECONNECTION = 53,
  100. NETWORK_DISCONNECT_CONNECTION_CLOSING = 54,
  101. NETWORK_DISCONNECT_NO_GOTV_RELAYS_AVAILABLE = 55,
  102. NETWORK_DISCONNECT_SESSION_MIGRATED = 56,
  103. NETWORK_DISCONNECT_VERYLARGETRANSFEROVERFLOW = 57,
  104. NETWORK_DISCONNECT_SENDNETOVERFLOW = 58,
  105. NETWORK_DISCONNECT_PLAYER_REMOVED_FROM_HOST_SESSION = 59
  106. };
  107. bool ENetworkDisconnectionReason_IsValid(int value);
  108. const ENetworkDisconnectionReason ENetworkDisconnectionReason_MIN = NETWORK_DISCONNECT_INVALID;
  109. const ENetworkDisconnectionReason ENetworkDisconnectionReason_MAX = NETWORK_DISCONNECT_PLAYER_REMOVED_FROM_HOST_SESSION;
  110. const int ENetworkDisconnectionReason_ARRAYSIZE = ENetworkDisconnectionReason_MAX + 1;
  111. const ::google::protobuf::EnumDescriptor* ENetworkDisconnectionReason_descriptor();
  112. inline const ::std::string& ENetworkDisconnectionReason_Name(ENetworkDisconnectionReason value) {
  113. return ::google::protobuf::internal::NameOfEnum(
  114. ENetworkDisconnectionReason_descriptor(), value);
  115. }
  116. inline bool ENetworkDisconnectionReason_Parse(
  117. const ::std::string& name, ENetworkDisconnectionReason* value) {
  118. return ::google::protobuf::internal::ParseNamedEnum<ENetworkDisconnectionReason>(
  119. ENetworkDisconnectionReason_descriptor(), name, value);
  120. }
  121. // ===================================================================
  122. // ===================================================================
  123. static const int kNetworkConnectionTokenFieldNumber = 50500;
  124. extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::EnumValueOptions,
  125. ::google::protobuf::internal::StringTypeTraits, 9, false >
  126. network_connection_token;
  127. // ===================================================================
  128. // @@protoc_insertion_point(namespace_scope)
  129. #ifndef SWIG
  130. namespace google {
  131. namespace protobuf {
  132. template <>
  133. inline const EnumDescriptor* GetEnumDescriptor< ::ENetworkDisconnectionReason>() {
  134. return ::ENetworkDisconnectionReason_descriptor();
  135. }
  136. } // namespace google
  137. } // namespace protobuf
  138. #endif // SWIG
  139. // @@protoc_insertion_point(global_scope)
  140. #endif // PROTOBUF_network_5fconnection_2eproto__INCLUDED