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.

276 lines
11 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: network_connection.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "network_connection.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace {
  16. const ::google::protobuf::EnumDescriptor* ENetworkDisconnectionReason_descriptor_ = NULL;
  17. } // namespace
  18. void protobuf_AssignDesc_network_5fconnection_2eproto() {
  19. protobuf_AddDesc_network_5fconnection_2eproto();
  20. const ::google::protobuf::FileDescriptor* file =
  21. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  22. "network_connection.proto");
  23. GOOGLE_CHECK(file != NULL);
  24. ENetworkDisconnectionReason_descriptor_ = file->enum_type(0);
  25. }
  26. namespace {
  27. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  28. inline void protobuf_AssignDescriptorsOnce() {
  29. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  30. &protobuf_AssignDesc_network_5fconnection_2eproto);
  31. }
  32. void protobuf_RegisterTypes(const ::std::string&) {
  33. protobuf_AssignDescriptorsOnce();
  34. }
  35. } // namespace
  36. void protobuf_ShutdownFile_network_5fconnection_2eproto() {
  37. }
  38. void protobuf_AddDesc_network_5fconnection_2eproto() {
  39. static bool already_here = false;
  40. if (already_here) return;
  41. already_here = true;
  42. GOOGLE_PROTOBUF_VERIFY_VERSION;
  43. ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  44. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  45. "\n\030network_connection.proto\032 google/proto"
  46. "buf/descriptor.proto*\214%\n\033ENetworkDisconn"
  47. "ectionReason\022\036\n\032NETWORK_DISCONNECT_INVAL"
  48. "ID\020\000\022\037\n\033NETWORK_DISCONNECT_SHUTDOWN\020\001\022F\n"
  49. "%NETWORK_DISCONNECT_DISCONNECT_BY_USER\020\002"
  50. "\032\033\242\324\030\027#GameUI_Disconnect_User\022J\n\'NETWORK"
  51. "_DISCONNECT_DISCONNECT_BY_SERVER\020\003\032\035\242\324\030\031"
  52. "#GameUI_Disconnect_Server\022B\n\027NETWORK_DIS"
  53. "CONNECT_LOST\020\004\032%\242\324\030!#GameUI_Disconnect_C"
  54. "onnectionLost\022J\n\033NETWORK_DISCONNECT_OVER"
  55. "FLOW\020\005\032)\242\324\030%#GameUI_Disconnect_Connectio"
  56. "nOverflow\022I\n\037NETWORK_DISCONNECT_STEAM_BA"
  57. "NNED\020\006\032$\242\324\030 #GameUI_Disconnect_SteamIDBa"
  58. "nned\022G\n\036NETWORK_DISCONNECT_STEAM_INUSE\020\007"
  59. "\032#\242\324\030\037#GameUI_Disconnect_SteamIDInUse\022G\n"
  60. "\037NETWORK_DISCONNECT_STEAM_TICKET\020\010\032\"\242\324\030\036"
  61. "#GameUI_Disconnect_SteamTicket\022E\n\036NETWOR"
  62. "K_DISCONNECT_STEAM_LOGON\020\t\032!\242\324\030\035#GameUI_"
  63. "Disconnect_SteamLogon\022M\n&NETWORK_DISCONN"
  64. "ECT_STEAM_AUTHCANCELLED\020\n\032!\242\324\030\035#GameUI_D"
  65. "isconnect_SteamLogon\022O\n(NETWORK_DISCONNE"
  66. "CT_STEAM_AUTHALREADYUSED\020\013\032!\242\324\030\035#GameUI_"
  67. "Disconnect_SteamLogon\022K\n$NETWORK_DISCONN"
  68. "ECT_STEAM_AUTHINVALID\020\014\032!\242\324\030\035#GameUI_Dis"
  69. "connect_SteamLogon\022I\n$NETWORK_DISCONNECT"
  70. "_STEAM_VACBANSTATE\020\r\032\037\242\324\030\033#GameUI_Discon"
  71. "nect_SteamVAC\022S\n,NETWORK_DISCONNECT_STEA"
  72. "M_LOGGED_IN_ELSEWHERE\020\016\032!\242\324\030\035#GameUI_Dis"
  73. "connect_SteamInUse\022T\n+NETWORK_DISCONNECT"
  74. "_STEAM_VAC_CHECK_TIMEDOUT\020\017\032#\242\324\030\037#GameUI"
  75. "_Disconnect_SteamTimeOut\022I\n NETWORK_DISC"
  76. "ONNECT_STEAM_DROPPED\020\020\032#\242\324\030\037#GameUI_Disc"
  77. "onnect_SteamDropped\022M\n\"NETWORK_DISCONNEC"
  78. "T_STEAM_OWNERSHIP\020\021\032%\242\324\030!#GameUI_Disconn"
  79. "ect_SteamOwnership\022U\n&NETWORK_DISCONNECT"
  80. "_SERVERINFO_OVERFLOW\020\022\032)\242\324\030%#GameUI_Disc"
  81. "onnect_ServerInfoOverflow\022K\n#NETWORK_DIS"
  82. "CONNECT_TICKMSG_OVERFLOW\020\023\032\"\242\324\030\036#GameUI_"
  83. "Disconnect_TickMessage\022Y\n*NETWORK_DISCON"
  84. "NECT_STRINGTABLEMSG_OVERFLOW\020\024\032)\242\324\030%#Gam"
  85. "eUI_Disconnect_StringTableMessage\022S\n\'NET"
  86. "WORK_DISCONNECT_DELTAENTMSG_OVERFLOW\020\025\032&"
  87. "\242\324\030\"#GameUI_Disconnect_DeltaEntMessage\022Q"
  88. "\n&NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW"
  89. "\020\026\032%\242\324\030!#GameUI_Disconnect_TempEntMessag"
  90. "e\022O\n%NETWORK_DISCONNECT_SOUNDSMSG_OVERFL"
  91. "OW\020\027\032$\242\324\030 #GameUI_Disconnect_SoundsMessa"
  92. "ge\022P\n#NETWORK_DISCONNECT_SNAPSHOTOVERFLO"
  93. "W\020\030\032\'\242\324\030##GameUI_Disconnect_SnapshotOver"
  94. "flow\022J\n NETWORK_DISCONNECT_SNAPSHOTERROR"
  95. "\020\031\032$\242\324\030 #GameUI_Disconnect_SnapshotError"
  96. "\022P\n#NETWORK_DISCONNECT_RELIABLEOVERFLOW\020"
  97. "\032\032\'\242\324\030##GameUI_Disconnect_ReliableOverfl"
  98. "ow\022N\n\037NETWORK_DISCONNECT_BADDELTATICK\020\033\032"
  99. ")\242\324\030%#GameUI_Disconnect_BadClientDeltaTi"
  100. "ck\022H\n\037NETWORK_DISCONNECT_NOMORESPLITS\020\034\032"
  101. "#\242\324\030\037#GameUI_Disconnect_NoMoreSplits\022@\n\033"
  102. "NETWORK_DISCONNECT_TIMEDOUT\020\035\032\037\242\324\030\033#Game"
  103. "UI_Disconnect_TimedOut\022H\n\037NETWORK_DISCON"
  104. "NECT_DISCONNECTED\020\036\032#\242\324\030\037#GameUI_Disconn"
  105. "ect_Disconnected\022H\n\037NETWORK_DISCONNECT_L"
  106. "EAVINGSPLIT\020\037\032#\242\324\030\037#GameUI_Disconnect_Le"
  107. "avingSplit\022X\n\'NETWORK_DISCONNECT_DIFFERE"
  108. "NTCLASSTABLES\020 \032+\242\324\030\'#GameUI_Disconnect_"
  109. "DifferentClassTables\022P\n#NETWORK_DISCONNE"
  110. "CT_BADRELAYPASSWORD\020!\032\'\242\324\030##GameUI_Disco"
  111. "nnect_BadRelayPassword\022X\n\'NETWORK_DISCON"
  112. "NECT_BADSPECTATORPASSWORD\020\"\032+\242\324\030\'#GameUI"
  113. "_Disconnect_BadSpectatorPassword\022L\n!NETW"
  114. "ORK_DISCONNECT_HLTVRESTRICTED\020#\032%\242\324\030!#Ga"
  115. "meUI_Disconnect_HLTVRestricted\022H\n\037NETWOR"
  116. "K_DISCONNECT_NOSPECTATORS\020$\032#\242\324\030\037#GameUI"
  117. "_Disconnect_NoSpectators\022N\n\"NETWORK_DISC"
  118. "ONNECT_HLTVUNAVAILABLE\020%\032&\242\324\030\"#GameUI_Di"
  119. "sconnect_HLTVUnavailable\022@\n\033NETWORK_DISC"
  120. "ONNECT_HLTVSTOP\020&\032\037\242\324\030\033#GameUI_Disconnec"
  121. "t_HLTVStop\022<\n\031NETWORK_DISCONNECT_KICKED\020"
  122. "\'\032\035\242\324\030\031#GameUI_Disconnect_Kicked\022@\n\033NETW"
  123. "ORK_DISCONNECT_BANADDED\020(\032\037\242\324\030\033#GameUI_D"
  124. "isconnect_BanAdded\022H\n\037NETWORK_DISCONNECT"
  125. "_KICKBANADDED\020)\032#\242\324\030\037#GameUI_Disconnect_"
  126. "KickBanAdded\022D\n\035NETWORK_DISCONNECT_HLTVD"
  127. "IRECT\020*\032!\242\324\030\035#GameUI_Disconnect_HLTVDire"
  128. "ct\022\\\n)NETWORK_DISCONNECT_PURESERVER_CLIE"
  129. "NTEXTRA\020+\032-\242\324\030)#GameUI_Disconnect_PureSe"
  130. "rver_ClientExtra\022V\n&NETWORK_DISCONNECT_P"
  131. "URESERVER_MISMATCH\020,\032*\242\324\030&#GameUI_Discon"
  132. "nect_PureServer_Mismatch\022>\n\032NETWORK_DISC"
  133. "ONNECT_USERCMD\020-\032\036\242\324\030\032#GameUI_Disconnect"
  134. "_UserCmd\022N\n#NETWORK_DISCONNECT_REJECTED_"
  135. "BY_GAME\020.\032%\242\324\030!#GameUI_Disconnect_Reject"
  136. "edByGame\022T\n&NETWORK_DISCONNECT_MESSAGE_P"
  137. "ARSE_ERROR\020/\032(\242\324\030$#GameUI_Disconnect_Mes"
  138. "sageParseError\022X\n(NETWORK_DISCONNECT_INV"
  139. "ALID_MESSAGE_ERROR\0200\032*\242\324\030&#GameUI_Discon"
  140. "nect_InvalidMessageError\022T\n&NETWORK_DISC"
  141. "ONNECT_BAD_SERVER_PASSWORD\0201\032(\242\324\030$#GameU"
  142. "I_Disconnect_BadServerPassword\022b\n-NETWOR"
  143. "K_DISCONNECT_DIRECT_CONNECT_RESERVATION\020"
  144. "2\032/\242\324\030+#GameUI_Disconnect_DirectConnectR"
  145. "eservation\022S\n%NETWORK_DISCONNECT_CONNECT"
  146. "ION_FAILURE\0203\032(\242\324\030$#GameUI_Disconnect_Co"
  147. "nnectionFailure\022Y\n)NETWORK_DISCONNECT_NO"
  148. "_PEER_GROUP_HANDLERS\0204\032*\242\324\030&#GameUI_Disc"
  149. "onnect_NoPeerGroupHandlers\022H\n\037NETWORK_DI"
  150. "SCONNECT_RECONNECTION\0205\032#\242\324\030\037#GameUI_Dis"
  151. "connect_Reconnection\022S\n%NETWORK_DISCONNE"
  152. "CT_CONNECTION_CLOSING\0206\032(\242\324\030$#GameUI_Dis"
  153. "connect_ConnectionClosing\022]\n+NETWORK_DIS"
  154. "CONNECT_NO_GOTV_RELAYS_AVAILABLE\0207\032,\242\324\030("
  155. "#GameUI_Disconnect_NoGOTVRelaysAvailable"
  156. "\022O\n#NETWORK_DISCONNECT_SESSION_MIGRATED\020"
  157. "8\032&\242\324\030\"#GameUI_Disconnect_SessionMigrate"
  158. "d\022b\n,NETWORK_DISCONNECT_VERYLARGETRANSFE"
  159. "ROVERFLOW\0209\0320\242\324\030,#GameUI_Disconnect_Very"
  160. "LargeTransferOverflow\022N\n\"NETWORK_DISCONN"
  161. "ECT_SENDNETOVERFLOW\020:\032&\242\324\030\"#GameUI_Disco"
  162. "nnect_SendNetOverflow\022l\n3NETWORK_DISCONN"
  163. "ECT_PLAYER_REMOVED_FROM_HOST_SESSION\020;\0323"
  164. "\242\324\030/#GameUI_Disconnect_PlayerRemovedFrom"
  165. "HostSession:E\n\030network_connection_token\022"
  166. "!.google.protobuf.EnumValueOptions\030\304\212\003 \001"
  167. "(\tB\003\200\001\000", 4887);
  168. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  169. "network_connection.proto", &protobuf_RegisterTypes);
  170. ::google::protobuf::internal::ExtensionSet::RegisterExtension(
  171. &::google::protobuf::EnumValueOptions::default_instance(),
  172. 50500, 9, false, false);
  173. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_network_5fconnection_2eproto);
  174. }
  175. // Force AddDescriptors() to be called at static initialization time.
  176. struct StaticDescriptorInitializer_network_5fconnection_2eproto {
  177. StaticDescriptorInitializer_network_5fconnection_2eproto() {
  178. protobuf_AddDesc_network_5fconnection_2eproto();
  179. }
  180. } static_descriptor_initializer_network_5fconnection_2eproto_;
  181. const ::google::protobuf::EnumDescriptor* ENetworkDisconnectionReason_descriptor() {
  182. protobuf_AssignDescriptorsOnce();
  183. return ENetworkDisconnectionReason_descriptor_;
  184. }
  185. bool ENetworkDisconnectionReason_IsValid(int value) {
  186. switch(value) {
  187. case 0:
  188. case 1:
  189. case 2:
  190. case 3:
  191. case 4:
  192. case 5:
  193. case 6:
  194. case 7:
  195. case 8:
  196. case 9:
  197. case 10:
  198. case 11:
  199. case 12:
  200. case 13:
  201. case 14:
  202. case 15:
  203. case 16:
  204. case 17:
  205. case 18:
  206. case 19:
  207. case 20:
  208. case 21:
  209. case 22:
  210. case 23:
  211. case 24:
  212. case 25:
  213. case 26:
  214. case 27:
  215. case 28:
  216. case 29:
  217. case 30:
  218. case 31:
  219. case 32:
  220. case 33:
  221. case 34:
  222. case 35:
  223. case 36:
  224. case 37:
  225. case 38:
  226. case 39:
  227. case 40:
  228. case 41:
  229. case 42:
  230. case 43:
  231. case 44:
  232. case 45:
  233. case 46:
  234. case 47:
  235. case 48:
  236. case 49:
  237. case 50:
  238. case 51:
  239. case 52:
  240. case 53:
  241. case 54:
  242. case 55:
  243. case 56:
  244. case 57:
  245. case 58:
  246. case 59:
  247. return true;
  248. default:
  249. return false;
  250. }
  251. }
  252. const ::std::string network_connection_token_default("");
  253. ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::EnumValueOptions,
  254. ::google::protobuf::internal::StringTypeTraits, 9, false >
  255. network_connection_token(kNetworkConnectionTokenFieldNumber, network_connection_token_default);
  256. // @@protoc_insertion_point(namespace_scope)
  257. // @@protoc_insertion_point(global_scope)