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.

20520 lines
681 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: cstrike15_usermessages.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "cstrike15_usermessages.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::Descriptor* CCSUsrMsg_VGUIMenu_descriptor_ = NULL;
  17. const ::google::protobuf::internal::GeneratedMessageReflection*
  18. CCSUsrMsg_VGUIMenu_reflection_ = NULL;
  19. const ::google::protobuf::Descriptor* CCSUsrMsg_VGUIMenu_Subkey_descriptor_ = NULL;
  20. const ::google::protobuf::internal::GeneratedMessageReflection*
  21. CCSUsrMsg_VGUIMenu_Subkey_reflection_ = NULL;
  22. const ::google::protobuf::Descriptor* CCSUsrMsg_Geiger_descriptor_ = NULL;
  23. const ::google::protobuf::internal::GeneratedMessageReflection*
  24. CCSUsrMsg_Geiger_reflection_ = NULL;
  25. const ::google::protobuf::Descriptor* CCSUsrMsg_Train_descriptor_ = NULL;
  26. const ::google::protobuf::internal::GeneratedMessageReflection*
  27. CCSUsrMsg_Train_reflection_ = NULL;
  28. const ::google::protobuf::Descriptor* CCSUsrMsg_HudText_descriptor_ = NULL;
  29. const ::google::protobuf::internal::GeneratedMessageReflection*
  30. CCSUsrMsg_HudText_reflection_ = NULL;
  31. const ::google::protobuf::Descriptor* CCSUsrMsg_SayText_descriptor_ = NULL;
  32. const ::google::protobuf::internal::GeneratedMessageReflection*
  33. CCSUsrMsg_SayText_reflection_ = NULL;
  34. const ::google::protobuf::Descriptor* CCSUsrMsg_SayText2_descriptor_ = NULL;
  35. const ::google::protobuf::internal::GeneratedMessageReflection*
  36. CCSUsrMsg_SayText2_reflection_ = NULL;
  37. const ::google::protobuf::Descriptor* CCSUsrMsg_TextMsg_descriptor_ = NULL;
  38. const ::google::protobuf::internal::GeneratedMessageReflection*
  39. CCSUsrMsg_TextMsg_reflection_ = NULL;
  40. const ::google::protobuf::Descriptor* CCSUsrMsg_HudMsg_descriptor_ = NULL;
  41. const ::google::protobuf::internal::GeneratedMessageReflection*
  42. CCSUsrMsg_HudMsg_reflection_ = NULL;
  43. const ::google::protobuf::Descriptor* CCSUsrMsg_Shake_descriptor_ = NULL;
  44. const ::google::protobuf::internal::GeneratedMessageReflection*
  45. CCSUsrMsg_Shake_reflection_ = NULL;
  46. const ::google::protobuf::Descriptor* CCSUsrMsg_Fade_descriptor_ = NULL;
  47. const ::google::protobuf::internal::GeneratedMessageReflection*
  48. CCSUsrMsg_Fade_reflection_ = NULL;
  49. const ::google::protobuf::Descriptor* CCSUsrMsg_Rumble_descriptor_ = NULL;
  50. const ::google::protobuf::internal::GeneratedMessageReflection*
  51. CCSUsrMsg_Rumble_reflection_ = NULL;
  52. const ::google::protobuf::Descriptor* CCSUsrMsg_CloseCaption_descriptor_ = NULL;
  53. const ::google::protobuf::internal::GeneratedMessageReflection*
  54. CCSUsrMsg_CloseCaption_reflection_ = NULL;
  55. const ::google::protobuf::Descriptor* CCSUsrMsg_CloseCaptionDirect_descriptor_ = NULL;
  56. const ::google::protobuf::internal::GeneratedMessageReflection*
  57. CCSUsrMsg_CloseCaptionDirect_reflection_ = NULL;
  58. const ::google::protobuf::Descriptor* CCSUsrMsg_SendAudio_descriptor_ = NULL;
  59. const ::google::protobuf::internal::GeneratedMessageReflection*
  60. CCSUsrMsg_SendAudio_reflection_ = NULL;
  61. const ::google::protobuf::Descriptor* CCSUsrMsg_RawAudio_descriptor_ = NULL;
  62. const ::google::protobuf::internal::GeneratedMessageReflection*
  63. CCSUsrMsg_RawAudio_reflection_ = NULL;
  64. const ::google::protobuf::Descriptor* CCSUsrMsg_VoiceMask_descriptor_ = NULL;
  65. const ::google::protobuf::internal::GeneratedMessageReflection*
  66. CCSUsrMsg_VoiceMask_reflection_ = NULL;
  67. const ::google::protobuf::Descriptor* CCSUsrMsg_VoiceMask_PlayerMask_descriptor_ = NULL;
  68. const ::google::protobuf::internal::GeneratedMessageReflection*
  69. CCSUsrMsg_VoiceMask_PlayerMask_reflection_ = NULL;
  70. const ::google::protobuf::Descriptor* CCSUsrMsg_Damage_descriptor_ = NULL;
  71. const ::google::protobuf::internal::GeneratedMessageReflection*
  72. CCSUsrMsg_Damage_reflection_ = NULL;
  73. const ::google::protobuf::Descriptor* CCSUsrMsg_RadioText_descriptor_ = NULL;
  74. const ::google::protobuf::internal::GeneratedMessageReflection*
  75. CCSUsrMsg_RadioText_reflection_ = NULL;
  76. const ::google::protobuf::Descriptor* CCSUsrMsg_HintText_descriptor_ = NULL;
  77. const ::google::protobuf::internal::GeneratedMessageReflection*
  78. CCSUsrMsg_HintText_reflection_ = NULL;
  79. const ::google::protobuf::Descriptor* CCSUsrMsg_KeyHintText_descriptor_ = NULL;
  80. const ::google::protobuf::internal::GeneratedMessageReflection*
  81. CCSUsrMsg_KeyHintText_reflection_ = NULL;
  82. const ::google::protobuf::Descriptor* CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_ = NULL;
  83. const ::google::protobuf::internal::GeneratedMessageReflection*
  84. CCSUsrMsg_ProcessSpottedEntityUpdate_reflection_ = NULL;
  85. const ::google::protobuf::Descriptor* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_descriptor_ = NULL;
  86. const ::google::protobuf::internal::GeneratedMessageReflection*
  87. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_reflection_ = NULL;
  88. const ::google::protobuf::Descriptor* CCSUsrMsg_SendPlayerItemDrops_descriptor_ = NULL;
  89. const ::google::protobuf::internal::GeneratedMessageReflection*
  90. CCSUsrMsg_SendPlayerItemDrops_reflection_ = NULL;
  91. const ::google::protobuf::Descriptor* CCSUsrMsg_SendPlayerItemFound_descriptor_ = NULL;
  92. const ::google::protobuf::internal::GeneratedMessageReflection*
  93. CCSUsrMsg_SendPlayerItemFound_reflection_ = NULL;
  94. const ::google::protobuf::Descriptor* CCSUsrMsg_ReloadEffect_descriptor_ = NULL;
  95. const ::google::protobuf::internal::GeneratedMessageReflection*
  96. CCSUsrMsg_ReloadEffect_reflection_ = NULL;
  97. const ::google::protobuf::Descriptor* CCSUsrMsg_AdjustMoney_descriptor_ = NULL;
  98. const ::google::protobuf::internal::GeneratedMessageReflection*
  99. CCSUsrMsg_AdjustMoney_reflection_ = NULL;
  100. const ::google::protobuf::Descriptor* CCSUsrMsg_ReportHit_descriptor_ = NULL;
  101. const ::google::protobuf::internal::GeneratedMessageReflection*
  102. CCSUsrMsg_ReportHit_reflection_ = NULL;
  103. const ::google::protobuf::Descriptor* CCSUsrMsg_KillCam_descriptor_ = NULL;
  104. const ::google::protobuf::internal::GeneratedMessageReflection*
  105. CCSUsrMsg_KillCam_reflection_ = NULL;
  106. const ::google::protobuf::Descriptor* CCSUsrMsg_DesiredTimescale_descriptor_ = NULL;
  107. const ::google::protobuf::internal::GeneratedMessageReflection*
  108. CCSUsrMsg_DesiredTimescale_reflection_ = NULL;
  109. const ::google::protobuf::Descriptor* CCSUsrMsg_CurrentTimescale_descriptor_ = NULL;
  110. const ::google::protobuf::internal::GeneratedMessageReflection*
  111. CCSUsrMsg_CurrentTimescale_reflection_ = NULL;
  112. const ::google::protobuf::Descriptor* CCSUsrMsg_AchievementEvent_descriptor_ = NULL;
  113. const ::google::protobuf::internal::GeneratedMessageReflection*
  114. CCSUsrMsg_AchievementEvent_reflection_ = NULL;
  115. const ::google::protobuf::Descriptor* CCSUsrMsg_MatchEndConditions_descriptor_ = NULL;
  116. const ::google::protobuf::internal::GeneratedMessageReflection*
  117. CCSUsrMsg_MatchEndConditions_reflection_ = NULL;
  118. const ::google::protobuf::Descriptor* CCSUsrMsg_PlayerStatsUpdate_descriptor_ = NULL;
  119. const ::google::protobuf::internal::GeneratedMessageReflection*
  120. CCSUsrMsg_PlayerStatsUpdate_reflection_ = NULL;
  121. const ::google::protobuf::Descriptor* CCSUsrMsg_PlayerStatsUpdate_Stat_descriptor_ = NULL;
  122. const ::google::protobuf::internal::GeneratedMessageReflection*
  123. CCSUsrMsg_PlayerStatsUpdate_Stat_reflection_ = NULL;
  124. const ::google::protobuf::Descriptor* CCSUsrMsg_DisplayInventory_descriptor_ = NULL;
  125. const ::google::protobuf::internal::GeneratedMessageReflection*
  126. CCSUsrMsg_DisplayInventory_reflection_ = NULL;
  127. const ::google::protobuf::Descriptor* CCSUsrMsg_QuestProgress_descriptor_ = NULL;
  128. const ::google::protobuf::internal::GeneratedMessageReflection*
  129. CCSUsrMsg_QuestProgress_reflection_ = NULL;
  130. const ::google::protobuf::Descriptor* CCSUsrMsg_ScoreLeaderboardData_descriptor_ = NULL;
  131. const ::google::protobuf::internal::GeneratedMessageReflection*
  132. CCSUsrMsg_ScoreLeaderboardData_reflection_ = NULL;
  133. const ::google::protobuf::Descriptor* CCSUsrMsg_XRankGet_descriptor_ = NULL;
  134. const ::google::protobuf::internal::GeneratedMessageReflection*
  135. CCSUsrMsg_XRankGet_reflection_ = NULL;
  136. const ::google::protobuf::Descriptor* CCSUsrMsg_XRankUpd_descriptor_ = NULL;
  137. const ::google::protobuf::internal::GeneratedMessageReflection*
  138. CCSUsrMsg_XRankUpd_reflection_ = NULL;
  139. const ::google::protobuf::Descriptor* CCSUsrMsg_CallVoteFailed_descriptor_ = NULL;
  140. const ::google::protobuf::internal::GeneratedMessageReflection*
  141. CCSUsrMsg_CallVoteFailed_reflection_ = NULL;
  142. const ::google::protobuf::Descriptor* CCSUsrMsg_VoteStart_descriptor_ = NULL;
  143. const ::google::protobuf::internal::GeneratedMessageReflection*
  144. CCSUsrMsg_VoteStart_reflection_ = NULL;
  145. const ::google::protobuf::Descriptor* CCSUsrMsg_VotePass_descriptor_ = NULL;
  146. const ::google::protobuf::internal::GeneratedMessageReflection*
  147. CCSUsrMsg_VotePass_reflection_ = NULL;
  148. const ::google::protobuf::Descriptor* CCSUsrMsg_VoteFailed_descriptor_ = NULL;
  149. const ::google::protobuf::internal::GeneratedMessageReflection*
  150. CCSUsrMsg_VoteFailed_reflection_ = NULL;
  151. const ::google::protobuf::Descriptor* CCSUsrMsg_VoteSetup_descriptor_ = NULL;
  152. const ::google::protobuf::internal::GeneratedMessageReflection*
  153. CCSUsrMsg_VoteSetup_reflection_ = NULL;
  154. const ::google::protobuf::Descriptor* CCSUsrMsg_SendLastKillerDamageToClient_descriptor_ = NULL;
  155. const ::google::protobuf::internal::GeneratedMessageReflection*
  156. CCSUsrMsg_SendLastKillerDamageToClient_reflection_ = NULL;
  157. const ::google::protobuf::Descriptor* CCSUsrMsg_ServerRankUpdate_descriptor_ = NULL;
  158. const ::google::protobuf::internal::GeneratedMessageReflection*
  159. CCSUsrMsg_ServerRankUpdate_reflection_ = NULL;
  160. const ::google::protobuf::Descriptor* CCSUsrMsg_ServerRankUpdate_RankUpdate_descriptor_ = NULL;
  161. const ::google::protobuf::internal::GeneratedMessageReflection*
  162. CCSUsrMsg_ServerRankUpdate_RankUpdate_reflection_ = NULL;
  163. const ::google::protobuf::Descriptor* CCSUsrMsg_XpUpdate_descriptor_ = NULL;
  164. const ::google::protobuf::internal::GeneratedMessageReflection*
  165. CCSUsrMsg_XpUpdate_reflection_ = NULL;
  166. const ::google::protobuf::Descriptor* CCSUsrMsg_ItemPickup_descriptor_ = NULL;
  167. const ::google::protobuf::internal::GeneratedMessageReflection*
  168. CCSUsrMsg_ItemPickup_reflection_ = NULL;
  169. const ::google::protobuf::Descriptor* CCSUsrMsg_ShowMenu_descriptor_ = NULL;
  170. const ::google::protobuf::internal::GeneratedMessageReflection*
  171. CCSUsrMsg_ShowMenu_reflection_ = NULL;
  172. const ::google::protobuf::Descriptor* CCSUsrMsg_BarTime_descriptor_ = NULL;
  173. const ::google::protobuf::internal::GeneratedMessageReflection*
  174. CCSUsrMsg_BarTime_reflection_ = NULL;
  175. const ::google::protobuf::Descriptor* CCSUsrMsg_AmmoDenied_descriptor_ = NULL;
  176. const ::google::protobuf::internal::GeneratedMessageReflection*
  177. CCSUsrMsg_AmmoDenied_reflection_ = NULL;
  178. const ::google::protobuf::Descriptor* CCSUsrMsg_MarkAchievement_descriptor_ = NULL;
  179. const ::google::protobuf::internal::GeneratedMessageReflection*
  180. CCSUsrMsg_MarkAchievement_reflection_ = NULL;
  181. const ::google::protobuf::Descriptor* CCSUsrMsg_MatchStatsUpdate_descriptor_ = NULL;
  182. const ::google::protobuf::internal::GeneratedMessageReflection*
  183. CCSUsrMsg_MatchStatsUpdate_reflection_ = NULL;
  184. const ::google::protobuf::Descriptor* CCSUsrMsg_ItemDrop_descriptor_ = NULL;
  185. const ::google::protobuf::internal::GeneratedMessageReflection*
  186. CCSUsrMsg_ItemDrop_reflection_ = NULL;
  187. const ::google::protobuf::Descriptor* CCSUsrMsg_GlowPropTurnOff_descriptor_ = NULL;
  188. const ::google::protobuf::internal::GeneratedMessageReflection*
  189. CCSUsrMsg_GlowPropTurnOff_reflection_ = NULL;
  190. const ::google::protobuf::Descriptor* CCSUsrMsg_RoundBackupFilenames_descriptor_ = NULL;
  191. const ::google::protobuf::internal::GeneratedMessageReflection*
  192. CCSUsrMsg_RoundBackupFilenames_reflection_ = NULL;
  193. const ::google::protobuf::Descriptor* CCSUsrMsg_ResetHud_descriptor_ = NULL;
  194. const ::google::protobuf::internal::GeneratedMessageReflection*
  195. CCSUsrMsg_ResetHud_reflection_ = NULL;
  196. const ::google::protobuf::Descriptor* CCSUsrMsg_GameTitle_descriptor_ = NULL;
  197. const ::google::protobuf::internal::GeneratedMessageReflection*
  198. CCSUsrMsg_GameTitle_reflection_ = NULL;
  199. const ::google::protobuf::Descriptor* CCSUsrMsg_RequestState_descriptor_ = NULL;
  200. const ::google::protobuf::internal::GeneratedMessageReflection*
  201. CCSUsrMsg_RequestState_reflection_ = NULL;
  202. const ::google::protobuf::Descriptor* CCSUsrMsg_StopSpectatorMode_descriptor_ = NULL;
  203. const ::google::protobuf::internal::GeneratedMessageReflection*
  204. CCSUsrMsg_StopSpectatorMode_reflection_ = NULL;
  205. const ::google::protobuf::Descriptor* CCSUsrMsg_DisconnectToLobby_descriptor_ = NULL;
  206. const ::google::protobuf::internal::GeneratedMessageReflection*
  207. CCSUsrMsg_DisconnectToLobby_reflection_ = NULL;
  208. const ::google::protobuf::Descriptor* CCSUsrMsg_WarmupHasEnded_descriptor_ = NULL;
  209. const ::google::protobuf::internal::GeneratedMessageReflection*
  210. CCSUsrMsg_WarmupHasEnded_reflection_ = NULL;
  211. const ::google::protobuf::Descriptor* CCSUsrMsg_ClientInfo_descriptor_ = NULL;
  212. const ::google::protobuf::internal::GeneratedMessageReflection*
  213. CCSUsrMsg_ClientInfo_reflection_ = NULL;
  214. const ::google::protobuf::Descriptor* CCSUsrMsg_ServerRankRevealAll_descriptor_ = NULL;
  215. const ::google::protobuf::internal::GeneratedMessageReflection*
  216. CCSUsrMsg_ServerRankRevealAll_reflection_ = NULL;
  217. const ::google::protobuf::EnumDescriptor* ECstrike15UserMessages_descriptor_ = NULL;
  218. } // namespace
  219. void protobuf_AssignDesc_cstrike15_5fusermessages_2eproto() {
  220. protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  221. const ::google::protobuf::FileDescriptor* file =
  222. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  223. "cstrike15_usermessages.proto");
  224. GOOGLE_CHECK(file != NULL);
  225. CCSUsrMsg_VGUIMenu_descriptor_ = file->message_type(0);
  226. static const int CCSUsrMsg_VGUIMenu_offsets_[3] = {
  227. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu, name_),
  228. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu, show_),
  229. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu, subkeys_),
  230. };
  231. CCSUsrMsg_VGUIMenu_reflection_ =
  232. new ::google::protobuf::internal::GeneratedMessageReflection(
  233. CCSUsrMsg_VGUIMenu_descriptor_,
  234. CCSUsrMsg_VGUIMenu::default_instance_,
  235. CCSUsrMsg_VGUIMenu_offsets_,
  236. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu, _has_bits_[0]),
  237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu, _unknown_fields_),
  238. -1,
  239. ::google::protobuf::DescriptorPool::generated_pool(),
  240. ::google::protobuf::MessageFactory::generated_factory(),
  241. sizeof(CCSUsrMsg_VGUIMenu));
  242. CCSUsrMsg_VGUIMenu_Subkey_descriptor_ = CCSUsrMsg_VGUIMenu_descriptor_->nested_type(0);
  243. static const int CCSUsrMsg_VGUIMenu_Subkey_offsets_[2] = {
  244. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu_Subkey, name_),
  245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu_Subkey, str_),
  246. };
  247. CCSUsrMsg_VGUIMenu_Subkey_reflection_ =
  248. new ::google::protobuf::internal::GeneratedMessageReflection(
  249. CCSUsrMsg_VGUIMenu_Subkey_descriptor_,
  250. CCSUsrMsg_VGUIMenu_Subkey::default_instance_,
  251. CCSUsrMsg_VGUIMenu_Subkey_offsets_,
  252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu_Subkey, _has_bits_[0]),
  253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VGUIMenu_Subkey, _unknown_fields_),
  254. -1,
  255. ::google::protobuf::DescriptorPool::generated_pool(),
  256. ::google::protobuf::MessageFactory::generated_factory(),
  257. sizeof(CCSUsrMsg_VGUIMenu_Subkey));
  258. CCSUsrMsg_Geiger_descriptor_ = file->message_type(1);
  259. static const int CCSUsrMsg_Geiger_offsets_[1] = {
  260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Geiger, range_),
  261. };
  262. CCSUsrMsg_Geiger_reflection_ =
  263. new ::google::protobuf::internal::GeneratedMessageReflection(
  264. CCSUsrMsg_Geiger_descriptor_,
  265. CCSUsrMsg_Geiger::default_instance_,
  266. CCSUsrMsg_Geiger_offsets_,
  267. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Geiger, _has_bits_[0]),
  268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Geiger, _unknown_fields_),
  269. -1,
  270. ::google::protobuf::DescriptorPool::generated_pool(),
  271. ::google::protobuf::MessageFactory::generated_factory(),
  272. sizeof(CCSUsrMsg_Geiger));
  273. CCSUsrMsg_Train_descriptor_ = file->message_type(2);
  274. static const int CCSUsrMsg_Train_offsets_[1] = {
  275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Train, train_),
  276. };
  277. CCSUsrMsg_Train_reflection_ =
  278. new ::google::protobuf::internal::GeneratedMessageReflection(
  279. CCSUsrMsg_Train_descriptor_,
  280. CCSUsrMsg_Train::default_instance_,
  281. CCSUsrMsg_Train_offsets_,
  282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Train, _has_bits_[0]),
  283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Train, _unknown_fields_),
  284. -1,
  285. ::google::protobuf::DescriptorPool::generated_pool(),
  286. ::google::protobuf::MessageFactory::generated_factory(),
  287. sizeof(CCSUsrMsg_Train));
  288. CCSUsrMsg_HudText_descriptor_ = file->message_type(3);
  289. static const int CCSUsrMsg_HudText_offsets_[1] = {
  290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudText, text_),
  291. };
  292. CCSUsrMsg_HudText_reflection_ =
  293. new ::google::protobuf::internal::GeneratedMessageReflection(
  294. CCSUsrMsg_HudText_descriptor_,
  295. CCSUsrMsg_HudText::default_instance_,
  296. CCSUsrMsg_HudText_offsets_,
  297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudText, _has_bits_[0]),
  298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudText, _unknown_fields_),
  299. -1,
  300. ::google::protobuf::DescriptorPool::generated_pool(),
  301. ::google::protobuf::MessageFactory::generated_factory(),
  302. sizeof(CCSUsrMsg_HudText));
  303. CCSUsrMsg_SayText_descriptor_ = file->message_type(4);
  304. static const int CCSUsrMsg_SayText_offsets_[4] = {
  305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, ent_idx_),
  306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, text_),
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, chat_),
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, textallchat_),
  309. };
  310. CCSUsrMsg_SayText_reflection_ =
  311. new ::google::protobuf::internal::GeneratedMessageReflection(
  312. CCSUsrMsg_SayText_descriptor_,
  313. CCSUsrMsg_SayText::default_instance_,
  314. CCSUsrMsg_SayText_offsets_,
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, _has_bits_[0]),
  316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText, _unknown_fields_),
  317. -1,
  318. ::google::protobuf::DescriptorPool::generated_pool(),
  319. ::google::protobuf::MessageFactory::generated_factory(),
  320. sizeof(CCSUsrMsg_SayText));
  321. CCSUsrMsg_SayText2_descriptor_ = file->message_type(5);
  322. static const int CCSUsrMsg_SayText2_offsets_[5] = {
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, ent_idx_),
  324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, chat_),
  325. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, msg_name_),
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, params_),
  327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, textallchat_),
  328. };
  329. CCSUsrMsg_SayText2_reflection_ =
  330. new ::google::protobuf::internal::GeneratedMessageReflection(
  331. CCSUsrMsg_SayText2_descriptor_,
  332. CCSUsrMsg_SayText2::default_instance_,
  333. CCSUsrMsg_SayText2_offsets_,
  334. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, _has_bits_[0]),
  335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SayText2, _unknown_fields_),
  336. -1,
  337. ::google::protobuf::DescriptorPool::generated_pool(),
  338. ::google::protobuf::MessageFactory::generated_factory(),
  339. sizeof(CCSUsrMsg_SayText2));
  340. CCSUsrMsg_TextMsg_descriptor_ = file->message_type(6);
  341. static const int CCSUsrMsg_TextMsg_offsets_[2] = {
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_TextMsg, msg_dst_),
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_TextMsg, params_),
  344. };
  345. CCSUsrMsg_TextMsg_reflection_ =
  346. new ::google::protobuf::internal::GeneratedMessageReflection(
  347. CCSUsrMsg_TextMsg_descriptor_,
  348. CCSUsrMsg_TextMsg::default_instance_,
  349. CCSUsrMsg_TextMsg_offsets_,
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_TextMsg, _has_bits_[0]),
  351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_TextMsg, _unknown_fields_),
  352. -1,
  353. ::google::protobuf::DescriptorPool::generated_pool(),
  354. ::google::protobuf::MessageFactory::generated_factory(),
  355. sizeof(CCSUsrMsg_TextMsg));
  356. CCSUsrMsg_HudMsg_descriptor_ = file->message_type(7);
  357. static const int CCSUsrMsg_HudMsg_offsets_[10] = {
  358. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, channel_),
  359. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, pos_),
  360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, clr1_),
  361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, clr2_),
  362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, effect_),
  363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, fade_in_time_),
  364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, fade_out_time_),
  365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, hold_time_),
  366. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, fx_time_),
  367. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, text_),
  368. };
  369. CCSUsrMsg_HudMsg_reflection_ =
  370. new ::google::protobuf::internal::GeneratedMessageReflection(
  371. CCSUsrMsg_HudMsg_descriptor_,
  372. CCSUsrMsg_HudMsg::default_instance_,
  373. CCSUsrMsg_HudMsg_offsets_,
  374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, _has_bits_[0]),
  375. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HudMsg, _unknown_fields_),
  376. -1,
  377. ::google::protobuf::DescriptorPool::generated_pool(),
  378. ::google::protobuf::MessageFactory::generated_factory(),
  379. sizeof(CCSUsrMsg_HudMsg));
  380. CCSUsrMsg_Shake_descriptor_ = file->message_type(8);
  381. static const int CCSUsrMsg_Shake_offsets_[4] = {
  382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Shake, command_),
  383. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Shake, local_amplitude_),
  384. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Shake, frequency_),
  385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Shake, duration_),
  386. };
  387. CCSUsrMsg_Shake_reflection_ =
  388. new ::google::protobuf::internal::GeneratedMessageReflection(
  389. CCSUsrMsg_Shake_descriptor_,
  390. CCSUsrMsg_Shake::default_instance_,
  391. CCSUsrMsg_Shake_offsets_,
  392. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Shake, _has_bits_[0]),
  393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Shake, _unknown_fields_),
  394. -1,
  395. ::google::protobuf::DescriptorPool::generated_pool(),
  396. ::google::protobuf::MessageFactory::generated_factory(),
  397. sizeof(CCSUsrMsg_Shake));
  398. CCSUsrMsg_Fade_descriptor_ = file->message_type(9);
  399. static const int CCSUsrMsg_Fade_offsets_[4] = {
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Fade, duration_),
  401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Fade, hold_time_),
  402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Fade, flags_),
  403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Fade, clr_),
  404. };
  405. CCSUsrMsg_Fade_reflection_ =
  406. new ::google::protobuf::internal::GeneratedMessageReflection(
  407. CCSUsrMsg_Fade_descriptor_,
  408. CCSUsrMsg_Fade::default_instance_,
  409. CCSUsrMsg_Fade_offsets_,
  410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Fade, _has_bits_[0]),
  411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Fade, _unknown_fields_),
  412. -1,
  413. ::google::protobuf::DescriptorPool::generated_pool(),
  414. ::google::protobuf::MessageFactory::generated_factory(),
  415. sizeof(CCSUsrMsg_Fade));
  416. CCSUsrMsg_Rumble_descriptor_ = file->message_type(10);
  417. static const int CCSUsrMsg_Rumble_offsets_[3] = {
  418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Rumble, index_),
  419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Rumble, data_),
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Rumble, flags_),
  421. };
  422. CCSUsrMsg_Rumble_reflection_ =
  423. new ::google::protobuf::internal::GeneratedMessageReflection(
  424. CCSUsrMsg_Rumble_descriptor_,
  425. CCSUsrMsg_Rumble::default_instance_,
  426. CCSUsrMsg_Rumble_offsets_,
  427. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Rumble, _has_bits_[0]),
  428. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Rumble, _unknown_fields_),
  429. -1,
  430. ::google::protobuf::DescriptorPool::generated_pool(),
  431. ::google::protobuf::MessageFactory::generated_factory(),
  432. sizeof(CCSUsrMsg_Rumble));
  433. CCSUsrMsg_CloseCaption_descriptor_ = file->message_type(11);
  434. static const int CCSUsrMsg_CloseCaption_offsets_[3] = {
  435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaption, hash_),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaption, duration_),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaption, from_player_),
  438. };
  439. CCSUsrMsg_CloseCaption_reflection_ =
  440. new ::google::protobuf::internal::GeneratedMessageReflection(
  441. CCSUsrMsg_CloseCaption_descriptor_,
  442. CCSUsrMsg_CloseCaption::default_instance_,
  443. CCSUsrMsg_CloseCaption_offsets_,
  444. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaption, _has_bits_[0]),
  445. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaption, _unknown_fields_),
  446. -1,
  447. ::google::protobuf::DescriptorPool::generated_pool(),
  448. ::google::protobuf::MessageFactory::generated_factory(),
  449. sizeof(CCSUsrMsg_CloseCaption));
  450. CCSUsrMsg_CloseCaptionDirect_descriptor_ = file->message_type(12);
  451. static const int CCSUsrMsg_CloseCaptionDirect_offsets_[3] = {
  452. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, hash_),
  453. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, duration_),
  454. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, from_player_),
  455. };
  456. CCSUsrMsg_CloseCaptionDirect_reflection_ =
  457. new ::google::protobuf::internal::GeneratedMessageReflection(
  458. CCSUsrMsg_CloseCaptionDirect_descriptor_,
  459. CCSUsrMsg_CloseCaptionDirect::default_instance_,
  460. CCSUsrMsg_CloseCaptionDirect_offsets_,
  461. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, _has_bits_[0]),
  462. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, _unknown_fields_),
  463. -1,
  464. ::google::protobuf::DescriptorPool::generated_pool(),
  465. ::google::protobuf::MessageFactory::generated_factory(),
  466. sizeof(CCSUsrMsg_CloseCaptionDirect));
  467. CCSUsrMsg_SendAudio_descriptor_ = file->message_type(13);
  468. static const int CCSUsrMsg_SendAudio_offsets_[1] = {
  469. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendAudio, radio_sound_),
  470. };
  471. CCSUsrMsg_SendAudio_reflection_ =
  472. new ::google::protobuf::internal::GeneratedMessageReflection(
  473. CCSUsrMsg_SendAudio_descriptor_,
  474. CCSUsrMsg_SendAudio::default_instance_,
  475. CCSUsrMsg_SendAudio_offsets_,
  476. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendAudio, _has_bits_[0]),
  477. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendAudio, _unknown_fields_),
  478. -1,
  479. ::google::protobuf::DescriptorPool::generated_pool(),
  480. ::google::protobuf::MessageFactory::generated_factory(),
  481. sizeof(CCSUsrMsg_SendAudio));
  482. CCSUsrMsg_RawAudio_descriptor_ = file->message_type(14);
  483. static const int CCSUsrMsg_RawAudio_offsets_[4] = {
  484. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RawAudio, pitch_),
  485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RawAudio, entidx_),
  486. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RawAudio, duration_),
  487. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RawAudio, voice_filename_),
  488. };
  489. CCSUsrMsg_RawAudio_reflection_ =
  490. new ::google::protobuf::internal::GeneratedMessageReflection(
  491. CCSUsrMsg_RawAudio_descriptor_,
  492. CCSUsrMsg_RawAudio::default_instance_,
  493. CCSUsrMsg_RawAudio_offsets_,
  494. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RawAudio, _has_bits_[0]),
  495. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RawAudio, _unknown_fields_),
  496. -1,
  497. ::google::protobuf::DescriptorPool::generated_pool(),
  498. ::google::protobuf::MessageFactory::generated_factory(),
  499. sizeof(CCSUsrMsg_RawAudio));
  500. CCSUsrMsg_VoiceMask_descriptor_ = file->message_type(15);
  501. static const int CCSUsrMsg_VoiceMask_offsets_[2] = {
  502. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask, player_masks_),
  503. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask, player_mod_enable_),
  504. };
  505. CCSUsrMsg_VoiceMask_reflection_ =
  506. new ::google::protobuf::internal::GeneratedMessageReflection(
  507. CCSUsrMsg_VoiceMask_descriptor_,
  508. CCSUsrMsg_VoiceMask::default_instance_,
  509. CCSUsrMsg_VoiceMask_offsets_,
  510. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask, _has_bits_[0]),
  511. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask, _unknown_fields_),
  512. -1,
  513. ::google::protobuf::DescriptorPool::generated_pool(),
  514. ::google::protobuf::MessageFactory::generated_factory(),
  515. sizeof(CCSUsrMsg_VoiceMask));
  516. CCSUsrMsg_VoiceMask_PlayerMask_descriptor_ = CCSUsrMsg_VoiceMask_descriptor_->nested_type(0);
  517. static const int CCSUsrMsg_VoiceMask_PlayerMask_offsets_[2] = {
  518. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, game_rules_mask_),
  519. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, ban_masks_),
  520. };
  521. CCSUsrMsg_VoiceMask_PlayerMask_reflection_ =
  522. new ::google::protobuf::internal::GeneratedMessageReflection(
  523. CCSUsrMsg_VoiceMask_PlayerMask_descriptor_,
  524. CCSUsrMsg_VoiceMask_PlayerMask::default_instance_,
  525. CCSUsrMsg_VoiceMask_PlayerMask_offsets_,
  526. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, _has_bits_[0]),
  527. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, _unknown_fields_),
  528. -1,
  529. ::google::protobuf::DescriptorPool::generated_pool(),
  530. ::google::protobuf::MessageFactory::generated_factory(),
  531. sizeof(CCSUsrMsg_VoiceMask_PlayerMask));
  532. CCSUsrMsg_Damage_descriptor_ = file->message_type(16);
  533. static const int CCSUsrMsg_Damage_offsets_[3] = {
  534. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Damage, amount_),
  535. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Damage, inflictor_world_pos_),
  536. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Damage, victim_entindex_),
  537. };
  538. CCSUsrMsg_Damage_reflection_ =
  539. new ::google::protobuf::internal::GeneratedMessageReflection(
  540. CCSUsrMsg_Damage_descriptor_,
  541. CCSUsrMsg_Damage::default_instance_,
  542. CCSUsrMsg_Damage_offsets_,
  543. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Damage, _has_bits_[0]),
  544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_Damage, _unknown_fields_),
  545. -1,
  546. ::google::protobuf::DescriptorPool::generated_pool(),
  547. ::google::protobuf::MessageFactory::generated_factory(),
  548. sizeof(CCSUsrMsg_Damage));
  549. CCSUsrMsg_RadioText_descriptor_ = file->message_type(17);
  550. static const int CCSUsrMsg_RadioText_offsets_[4] = {
  551. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RadioText, msg_dst_),
  552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RadioText, client_),
  553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RadioText, msg_name_),
  554. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RadioText, params_),
  555. };
  556. CCSUsrMsg_RadioText_reflection_ =
  557. new ::google::protobuf::internal::GeneratedMessageReflection(
  558. CCSUsrMsg_RadioText_descriptor_,
  559. CCSUsrMsg_RadioText::default_instance_,
  560. CCSUsrMsg_RadioText_offsets_,
  561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RadioText, _has_bits_[0]),
  562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RadioText, _unknown_fields_),
  563. -1,
  564. ::google::protobuf::DescriptorPool::generated_pool(),
  565. ::google::protobuf::MessageFactory::generated_factory(),
  566. sizeof(CCSUsrMsg_RadioText));
  567. CCSUsrMsg_HintText_descriptor_ = file->message_type(18);
  568. static const int CCSUsrMsg_HintText_offsets_[1] = {
  569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HintText, text_),
  570. };
  571. CCSUsrMsg_HintText_reflection_ =
  572. new ::google::protobuf::internal::GeneratedMessageReflection(
  573. CCSUsrMsg_HintText_descriptor_,
  574. CCSUsrMsg_HintText::default_instance_,
  575. CCSUsrMsg_HintText_offsets_,
  576. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HintText, _has_bits_[0]),
  577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_HintText, _unknown_fields_),
  578. -1,
  579. ::google::protobuf::DescriptorPool::generated_pool(),
  580. ::google::protobuf::MessageFactory::generated_factory(),
  581. sizeof(CCSUsrMsg_HintText));
  582. CCSUsrMsg_KeyHintText_descriptor_ = file->message_type(19);
  583. static const int CCSUsrMsg_KeyHintText_offsets_[1] = {
  584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KeyHintText, hints_),
  585. };
  586. CCSUsrMsg_KeyHintText_reflection_ =
  587. new ::google::protobuf::internal::GeneratedMessageReflection(
  588. CCSUsrMsg_KeyHintText_descriptor_,
  589. CCSUsrMsg_KeyHintText::default_instance_,
  590. CCSUsrMsg_KeyHintText_offsets_,
  591. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KeyHintText, _has_bits_[0]),
  592. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KeyHintText, _unknown_fields_),
  593. -1,
  594. ::google::protobuf::DescriptorPool::generated_pool(),
  595. ::google::protobuf::MessageFactory::generated_factory(),
  596. sizeof(CCSUsrMsg_KeyHintText));
  597. CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_ = file->message_type(20);
  598. static const int CCSUsrMsg_ProcessSpottedEntityUpdate_offsets_[2] = {
  599. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate, new_update_),
  600. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate, entity_updates_),
  601. };
  602. CCSUsrMsg_ProcessSpottedEntityUpdate_reflection_ =
  603. new ::google::protobuf::internal::GeneratedMessageReflection(
  604. CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_,
  605. CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance_,
  606. CCSUsrMsg_ProcessSpottedEntityUpdate_offsets_,
  607. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate, _has_bits_[0]),
  608. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate, _unknown_fields_),
  609. -1,
  610. ::google::protobuf::DescriptorPool::generated_pool(),
  611. ::google::protobuf::MessageFactory::generated_factory(),
  612. sizeof(CCSUsrMsg_ProcessSpottedEntityUpdate));
  613. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_descriptor_ = CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_->nested_type(0);
  614. static const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_offsets_[9] = {
  615. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, entity_idx_),
  616. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, class_id_),
  617. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, origin_x_),
  618. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, origin_y_),
  619. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, origin_z_),
  620. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, angle_y_),
  621. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, defuser_),
  622. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, player_has_defuser_),
  623. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, player_has_c4_),
  624. };
  625. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_reflection_ =
  626. new ::google::protobuf::internal::GeneratedMessageReflection(
  627. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_descriptor_,
  628. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance_,
  629. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_offsets_,
  630. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _has_bits_[0]),
  631. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _unknown_fields_),
  632. -1,
  633. ::google::protobuf::DescriptorPool::generated_pool(),
  634. ::google::protobuf::MessageFactory::generated_factory(),
  635. sizeof(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate));
  636. CCSUsrMsg_SendPlayerItemDrops_descriptor_ = file->message_type(21);
  637. static const int CCSUsrMsg_SendPlayerItemDrops_offsets_[1] = {
  638. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemDrops, entity_updates_),
  639. };
  640. CCSUsrMsg_SendPlayerItemDrops_reflection_ =
  641. new ::google::protobuf::internal::GeneratedMessageReflection(
  642. CCSUsrMsg_SendPlayerItemDrops_descriptor_,
  643. CCSUsrMsg_SendPlayerItemDrops::default_instance_,
  644. CCSUsrMsg_SendPlayerItemDrops_offsets_,
  645. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemDrops, _has_bits_[0]),
  646. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemDrops, _unknown_fields_),
  647. -1,
  648. ::google::protobuf::DescriptorPool::generated_pool(),
  649. ::google::protobuf::MessageFactory::generated_factory(),
  650. sizeof(CCSUsrMsg_SendPlayerItemDrops));
  651. CCSUsrMsg_SendPlayerItemFound_descriptor_ = file->message_type(22);
  652. static const int CCSUsrMsg_SendPlayerItemFound_offsets_[2] = {
  653. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemFound, iteminfo_),
  654. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemFound, entindex_),
  655. };
  656. CCSUsrMsg_SendPlayerItemFound_reflection_ =
  657. new ::google::protobuf::internal::GeneratedMessageReflection(
  658. CCSUsrMsg_SendPlayerItemFound_descriptor_,
  659. CCSUsrMsg_SendPlayerItemFound::default_instance_,
  660. CCSUsrMsg_SendPlayerItemFound_offsets_,
  661. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemFound, _has_bits_[0]),
  662. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendPlayerItemFound, _unknown_fields_),
  663. -1,
  664. ::google::protobuf::DescriptorPool::generated_pool(),
  665. ::google::protobuf::MessageFactory::generated_factory(),
  666. sizeof(CCSUsrMsg_SendPlayerItemFound));
  667. CCSUsrMsg_ReloadEffect_descriptor_ = file->message_type(23);
  668. static const int CCSUsrMsg_ReloadEffect_offsets_[5] = {
  669. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, entidx_),
  670. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, actanim_),
  671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, origin_x_),
  672. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, origin_y_),
  673. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, origin_z_),
  674. };
  675. CCSUsrMsg_ReloadEffect_reflection_ =
  676. new ::google::protobuf::internal::GeneratedMessageReflection(
  677. CCSUsrMsg_ReloadEffect_descriptor_,
  678. CCSUsrMsg_ReloadEffect::default_instance_,
  679. CCSUsrMsg_ReloadEffect_offsets_,
  680. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, _has_bits_[0]),
  681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, _unknown_fields_),
  682. -1,
  683. ::google::protobuf::DescriptorPool::generated_pool(),
  684. ::google::protobuf::MessageFactory::generated_factory(),
  685. sizeof(CCSUsrMsg_ReloadEffect));
  686. CCSUsrMsg_AdjustMoney_descriptor_ = file->message_type(24);
  687. static const int CCSUsrMsg_AdjustMoney_offsets_[1] = {
  688. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AdjustMoney, amount_),
  689. };
  690. CCSUsrMsg_AdjustMoney_reflection_ =
  691. new ::google::protobuf::internal::GeneratedMessageReflection(
  692. CCSUsrMsg_AdjustMoney_descriptor_,
  693. CCSUsrMsg_AdjustMoney::default_instance_,
  694. CCSUsrMsg_AdjustMoney_offsets_,
  695. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AdjustMoney, _has_bits_[0]),
  696. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AdjustMoney, _unknown_fields_),
  697. -1,
  698. ::google::protobuf::DescriptorPool::generated_pool(),
  699. ::google::protobuf::MessageFactory::generated_factory(),
  700. sizeof(CCSUsrMsg_AdjustMoney));
  701. CCSUsrMsg_ReportHit_descriptor_ = file->message_type(25);
  702. static const int CCSUsrMsg_ReportHit_offsets_[4] = {
  703. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReportHit, pos_x_),
  704. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReportHit, pos_y_),
  705. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReportHit, timestamp_),
  706. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReportHit, pos_z_),
  707. };
  708. CCSUsrMsg_ReportHit_reflection_ =
  709. new ::google::protobuf::internal::GeneratedMessageReflection(
  710. CCSUsrMsg_ReportHit_descriptor_,
  711. CCSUsrMsg_ReportHit::default_instance_,
  712. CCSUsrMsg_ReportHit_offsets_,
  713. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReportHit, _has_bits_[0]),
  714. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ReportHit, _unknown_fields_),
  715. -1,
  716. ::google::protobuf::DescriptorPool::generated_pool(),
  717. ::google::protobuf::MessageFactory::generated_factory(),
  718. sizeof(CCSUsrMsg_ReportHit));
  719. CCSUsrMsg_KillCam_descriptor_ = file->message_type(26);
  720. static const int CCSUsrMsg_KillCam_offsets_[3] = {
  721. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KillCam, obs_mode_),
  722. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KillCam, first_target_),
  723. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KillCam, second_target_),
  724. };
  725. CCSUsrMsg_KillCam_reflection_ =
  726. new ::google::protobuf::internal::GeneratedMessageReflection(
  727. CCSUsrMsg_KillCam_descriptor_,
  728. CCSUsrMsg_KillCam::default_instance_,
  729. CCSUsrMsg_KillCam_offsets_,
  730. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KillCam, _has_bits_[0]),
  731. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_KillCam, _unknown_fields_),
  732. -1,
  733. ::google::protobuf::DescriptorPool::generated_pool(),
  734. ::google::protobuf::MessageFactory::generated_factory(),
  735. sizeof(CCSUsrMsg_KillCam));
  736. CCSUsrMsg_DesiredTimescale_descriptor_ = file->message_type(27);
  737. static const int CCSUsrMsg_DesiredTimescale_offsets_[4] = {
  738. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, desired_timescale_),
  739. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, duration_realtime_sec_),
  740. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, interpolator_type_),
  741. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, start_blend_time_),
  742. };
  743. CCSUsrMsg_DesiredTimescale_reflection_ =
  744. new ::google::protobuf::internal::GeneratedMessageReflection(
  745. CCSUsrMsg_DesiredTimescale_descriptor_,
  746. CCSUsrMsg_DesiredTimescale::default_instance_,
  747. CCSUsrMsg_DesiredTimescale_offsets_,
  748. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, _has_bits_[0]),
  749. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, _unknown_fields_),
  750. -1,
  751. ::google::protobuf::DescriptorPool::generated_pool(),
  752. ::google::protobuf::MessageFactory::generated_factory(),
  753. sizeof(CCSUsrMsg_DesiredTimescale));
  754. CCSUsrMsg_CurrentTimescale_descriptor_ = file->message_type(28);
  755. static const int CCSUsrMsg_CurrentTimescale_offsets_[1] = {
  756. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CurrentTimescale, cur_timescale_),
  757. };
  758. CCSUsrMsg_CurrentTimescale_reflection_ =
  759. new ::google::protobuf::internal::GeneratedMessageReflection(
  760. CCSUsrMsg_CurrentTimescale_descriptor_,
  761. CCSUsrMsg_CurrentTimescale::default_instance_,
  762. CCSUsrMsg_CurrentTimescale_offsets_,
  763. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CurrentTimescale, _has_bits_[0]),
  764. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CurrentTimescale, _unknown_fields_),
  765. -1,
  766. ::google::protobuf::DescriptorPool::generated_pool(),
  767. ::google::protobuf::MessageFactory::generated_factory(),
  768. sizeof(CCSUsrMsg_CurrentTimescale));
  769. CCSUsrMsg_AchievementEvent_descriptor_ = file->message_type(29);
  770. static const int CCSUsrMsg_AchievementEvent_offsets_[3] = {
  771. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, achievement_),
  772. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, count_),
  773. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, user_id_),
  774. };
  775. CCSUsrMsg_AchievementEvent_reflection_ =
  776. new ::google::protobuf::internal::GeneratedMessageReflection(
  777. CCSUsrMsg_AchievementEvent_descriptor_,
  778. CCSUsrMsg_AchievementEvent::default_instance_,
  779. CCSUsrMsg_AchievementEvent_offsets_,
  780. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, _has_bits_[0]),
  781. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, _unknown_fields_),
  782. -1,
  783. ::google::protobuf::DescriptorPool::generated_pool(),
  784. ::google::protobuf::MessageFactory::generated_factory(),
  785. sizeof(CCSUsrMsg_AchievementEvent));
  786. CCSUsrMsg_MatchEndConditions_descriptor_ = file->message_type(30);
  787. static const int CCSUsrMsg_MatchEndConditions_offsets_[4] = {
  788. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, fraglimit_),
  789. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, mp_maxrounds_),
  790. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, mp_winlimit_),
  791. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, mp_timelimit_),
  792. };
  793. CCSUsrMsg_MatchEndConditions_reflection_ =
  794. new ::google::protobuf::internal::GeneratedMessageReflection(
  795. CCSUsrMsg_MatchEndConditions_descriptor_,
  796. CCSUsrMsg_MatchEndConditions::default_instance_,
  797. CCSUsrMsg_MatchEndConditions_offsets_,
  798. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, _has_bits_[0]),
  799. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, _unknown_fields_),
  800. -1,
  801. ::google::protobuf::DescriptorPool::generated_pool(),
  802. ::google::protobuf::MessageFactory::generated_factory(),
  803. sizeof(CCSUsrMsg_MatchEndConditions));
  804. CCSUsrMsg_PlayerStatsUpdate_descriptor_ = file->message_type(31);
  805. static const int CCSUsrMsg_PlayerStatsUpdate_offsets_[4] = {
  806. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, version_),
  807. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, stats_),
  808. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, user_id_),
  809. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, crc_),
  810. };
  811. CCSUsrMsg_PlayerStatsUpdate_reflection_ =
  812. new ::google::protobuf::internal::GeneratedMessageReflection(
  813. CCSUsrMsg_PlayerStatsUpdate_descriptor_,
  814. CCSUsrMsg_PlayerStatsUpdate::default_instance_,
  815. CCSUsrMsg_PlayerStatsUpdate_offsets_,
  816. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, _has_bits_[0]),
  817. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, _unknown_fields_),
  818. -1,
  819. ::google::protobuf::DescriptorPool::generated_pool(),
  820. ::google::protobuf::MessageFactory::generated_factory(),
  821. sizeof(CCSUsrMsg_PlayerStatsUpdate));
  822. CCSUsrMsg_PlayerStatsUpdate_Stat_descriptor_ = CCSUsrMsg_PlayerStatsUpdate_descriptor_->nested_type(0);
  823. static const int CCSUsrMsg_PlayerStatsUpdate_Stat_offsets_[2] = {
  824. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, idx_),
  825. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, delta_),
  826. };
  827. CCSUsrMsg_PlayerStatsUpdate_Stat_reflection_ =
  828. new ::google::protobuf::internal::GeneratedMessageReflection(
  829. CCSUsrMsg_PlayerStatsUpdate_Stat_descriptor_,
  830. CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance_,
  831. CCSUsrMsg_PlayerStatsUpdate_Stat_offsets_,
  832. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, _has_bits_[0]),
  833. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, _unknown_fields_),
  834. -1,
  835. ::google::protobuf::DescriptorPool::generated_pool(),
  836. ::google::protobuf::MessageFactory::generated_factory(),
  837. sizeof(CCSUsrMsg_PlayerStatsUpdate_Stat));
  838. CCSUsrMsg_DisplayInventory_descriptor_ = file->message_type(32);
  839. static const int CCSUsrMsg_DisplayInventory_offsets_[2] = {
  840. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisplayInventory, display_),
  841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisplayInventory, user_id_),
  842. };
  843. CCSUsrMsg_DisplayInventory_reflection_ =
  844. new ::google::protobuf::internal::GeneratedMessageReflection(
  845. CCSUsrMsg_DisplayInventory_descriptor_,
  846. CCSUsrMsg_DisplayInventory::default_instance_,
  847. CCSUsrMsg_DisplayInventory_offsets_,
  848. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisplayInventory, _has_bits_[0]),
  849. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisplayInventory, _unknown_fields_),
  850. -1,
  851. ::google::protobuf::DescriptorPool::generated_pool(),
  852. ::google::protobuf::MessageFactory::generated_factory(),
  853. sizeof(CCSUsrMsg_DisplayInventory));
  854. CCSUsrMsg_QuestProgress_descriptor_ = file->message_type(33);
  855. static const int CCSUsrMsg_QuestProgress_offsets_[4] = {
  856. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_QuestProgress, quest_id_),
  857. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_QuestProgress, normal_points_),
  858. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_QuestProgress, bonus_points_),
  859. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_QuestProgress, is_event_quest_),
  860. };
  861. CCSUsrMsg_QuestProgress_reflection_ =
  862. new ::google::protobuf::internal::GeneratedMessageReflection(
  863. CCSUsrMsg_QuestProgress_descriptor_,
  864. CCSUsrMsg_QuestProgress::default_instance_,
  865. CCSUsrMsg_QuestProgress_offsets_,
  866. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_QuestProgress, _has_bits_[0]),
  867. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_QuestProgress, _unknown_fields_),
  868. -1,
  869. ::google::protobuf::DescriptorPool::generated_pool(),
  870. ::google::protobuf::MessageFactory::generated_factory(),
  871. sizeof(CCSUsrMsg_QuestProgress));
  872. CCSUsrMsg_ScoreLeaderboardData_descriptor_ = file->message_type(34);
  873. static const int CCSUsrMsg_ScoreLeaderboardData_offsets_[1] = {
  874. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ScoreLeaderboardData, data_),
  875. };
  876. CCSUsrMsg_ScoreLeaderboardData_reflection_ =
  877. new ::google::protobuf::internal::GeneratedMessageReflection(
  878. CCSUsrMsg_ScoreLeaderboardData_descriptor_,
  879. CCSUsrMsg_ScoreLeaderboardData::default_instance_,
  880. CCSUsrMsg_ScoreLeaderboardData_offsets_,
  881. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ScoreLeaderboardData, _has_bits_[0]),
  882. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ScoreLeaderboardData, _unknown_fields_),
  883. -1,
  884. ::google::protobuf::DescriptorPool::generated_pool(),
  885. ::google::protobuf::MessageFactory::generated_factory(),
  886. sizeof(CCSUsrMsg_ScoreLeaderboardData));
  887. CCSUsrMsg_XRankGet_descriptor_ = file->message_type(35);
  888. static const int CCSUsrMsg_XRankGet_offsets_[2] = {
  889. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankGet, mode_idx_),
  890. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankGet, controller_),
  891. };
  892. CCSUsrMsg_XRankGet_reflection_ =
  893. new ::google::protobuf::internal::GeneratedMessageReflection(
  894. CCSUsrMsg_XRankGet_descriptor_,
  895. CCSUsrMsg_XRankGet::default_instance_,
  896. CCSUsrMsg_XRankGet_offsets_,
  897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankGet, _has_bits_[0]),
  898. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankGet, _unknown_fields_),
  899. -1,
  900. ::google::protobuf::DescriptorPool::generated_pool(),
  901. ::google::protobuf::MessageFactory::generated_factory(),
  902. sizeof(CCSUsrMsg_XRankGet));
  903. CCSUsrMsg_XRankUpd_descriptor_ = file->message_type(36);
  904. static const int CCSUsrMsg_XRankUpd_offsets_[3] = {
  905. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankUpd, mode_idx_),
  906. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankUpd, controller_),
  907. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankUpd, ranking_),
  908. };
  909. CCSUsrMsg_XRankUpd_reflection_ =
  910. new ::google::protobuf::internal::GeneratedMessageReflection(
  911. CCSUsrMsg_XRankUpd_descriptor_,
  912. CCSUsrMsg_XRankUpd::default_instance_,
  913. CCSUsrMsg_XRankUpd_offsets_,
  914. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankUpd, _has_bits_[0]),
  915. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XRankUpd, _unknown_fields_),
  916. -1,
  917. ::google::protobuf::DescriptorPool::generated_pool(),
  918. ::google::protobuf::MessageFactory::generated_factory(),
  919. sizeof(CCSUsrMsg_XRankUpd));
  920. CCSUsrMsg_CallVoteFailed_descriptor_ = file->message_type(37);
  921. static const int CCSUsrMsg_CallVoteFailed_offsets_[2] = {
  922. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, reason_),
  923. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, time_),
  924. };
  925. CCSUsrMsg_CallVoteFailed_reflection_ =
  926. new ::google::protobuf::internal::GeneratedMessageReflection(
  927. CCSUsrMsg_CallVoteFailed_descriptor_,
  928. CCSUsrMsg_CallVoteFailed::default_instance_,
  929. CCSUsrMsg_CallVoteFailed_offsets_,
  930. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, _has_bits_[0]),
  931. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, _unknown_fields_),
  932. -1,
  933. ::google::protobuf::DescriptorPool::generated_pool(),
  934. ::google::protobuf::MessageFactory::generated_factory(),
  935. sizeof(CCSUsrMsg_CallVoteFailed));
  936. CCSUsrMsg_VoteStart_descriptor_ = file->message_type(38);
  937. static const int CCSUsrMsg_VoteStart_offsets_[7] = {
  938. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, team_),
  939. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, ent_idx_),
  940. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, vote_type_),
  941. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, disp_str_),
  942. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, details_str_),
  943. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, other_team_str_),
  944. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, is_yes_no_vote_),
  945. };
  946. CCSUsrMsg_VoteStart_reflection_ =
  947. new ::google::protobuf::internal::GeneratedMessageReflection(
  948. CCSUsrMsg_VoteStart_descriptor_,
  949. CCSUsrMsg_VoteStart::default_instance_,
  950. CCSUsrMsg_VoteStart_offsets_,
  951. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, _has_bits_[0]),
  952. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteStart, _unknown_fields_),
  953. -1,
  954. ::google::protobuf::DescriptorPool::generated_pool(),
  955. ::google::protobuf::MessageFactory::generated_factory(),
  956. sizeof(CCSUsrMsg_VoteStart));
  957. CCSUsrMsg_VotePass_descriptor_ = file->message_type(39);
  958. static const int CCSUsrMsg_VotePass_offsets_[4] = {
  959. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VotePass, team_),
  960. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VotePass, vote_type_),
  961. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VotePass, disp_str_),
  962. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VotePass, details_str_),
  963. };
  964. CCSUsrMsg_VotePass_reflection_ =
  965. new ::google::protobuf::internal::GeneratedMessageReflection(
  966. CCSUsrMsg_VotePass_descriptor_,
  967. CCSUsrMsg_VotePass::default_instance_,
  968. CCSUsrMsg_VotePass_offsets_,
  969. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VotePass, _has_bits_[0]),
  970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VotePass, _unknown_fields_),
  971. -1,
  972. ::google::protobuf::DescriptorPool::generated_pool(),
  973. ::google::protobuf::MessageFactory::generated_factory(),
  974. sizeof(CCSUsrMsg_VotePass));
  975. CCSUsrMsg_VoteFailed_descriptor_ = file->message_type(40);
  976. static const int CCSUsrMsg_VoteFailed_offsets_[2] = {
  977. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteFailed, team_),
  978. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteFailed, reason_),
  979. };
  980. CCSUsrMsg_VoteFailed_reflection_ =
  981. new ::google::protobuf::internal::GeneratedMessageReflection(
  982. CCSUsrMsg_VoteFailed_descriptor_,
  983. CCSUsrMsg_VoteFailed::default_instance_,
  984. CCSUsrMsg_VoteFailed_offsets_,
  985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteFailed, _has_bits_[0]),
  986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteFailed, _unknown_fields_),
  987. -1,
  988. ::google::protobuf::DescriptorPool::generated_pool(),
  989. ::google::protobuf::MessageFactory::generated_factory(),
  990. sizeof(CCSUsrMsg_VoteFailed));
  991. CCSUsrMsg_VoteSetup_descriptor_ = file->message_type(41);
  992. static const int CCSUsrMsg_VoteSetup_offsets_[1] = {
  993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteSetup, potential_issues_),
  994. };
  995. CCSUsrMsg_VoteSetup_reflection_ =
  996. new ::google::protobuf::internal::GeneratedMessageReflection(
  997. CCSUsrMsg_VoteSetup_descriptor_,
  998. CCSUsrMsg_VoteSetup::default_instance_,
  999. CCSUsrMsg_VoteSetup_offsets_,
  1000. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteSetup, _has_bits_[0]),
  1001. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_VoteSetup, _unknown_fields_),
  1002. -1,
  1003. ::google::protobuf::DescriptorPool::generated_pool(),
  1004. ::google::protobuf::MessageFactory::generated_factory(),
  1005. sizeof(CCSUsrMsg_VoteSetup));
  1006. CCSUsrMsg_SendLastKillerDamageToClient_descriptor_ = file->message_type(42);
  1007. static const int CCSUsrMsg_SendLastKillerDamageToClient_offsets_[4] = {
  1008. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, num_hits_given_),
  1009. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, damage_given_),
  1010. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, num_hits_taken_),
  1011. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, damage_taken_),
  1012. };
  1013. CCSUsrMsg_SendLastKillerDamageToClient_reflection_ =
  1014. new ::google::protobuf::internal::GeneratedMessageReflection(
  1015. CCSUsrMsg_SendLastKillerDamageToClient_descriptor_,
  1016. CCSUsrMsg_SendLastKillerDamageToClient::default_instance_,
  1017. CCSUsrMsg_SendLastKillerDamageToClient_offsets_,
  1018. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, _has_bits_[0]),
  1019. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, _unknown_fields_),
  1020. -1,
  1021. ::google::protobuf::DescriptorPool::generated_pool(),
  1022. ::google::protobuf::MessageFactory::generated_factory(),
  1023. sizeof(CCSUsrMsg_SendLastKillerDamageToClient));
  1024. CCSUsrMsg_ServerRankUpdate_descriptor_ = file->message_type(43);
  1025. static const int CCSUsrMsg_ServerRankUpdate_offsets_[1] = {
  1026. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate, rank_update_),
  1027. };
  1028. CCSUsrMsg_ServerRankUpdate_reflection_ =
  1029. new ::google::protobuf::internal::GeneratedMessageReflection(
  1030. CCSUsrMsg_ServerRankUpdate_descriptor_,
  1031. CCSUsrMsg_ServerRankUpdate::default_instance_,
  1032. CCSUsrMsg_ServerRankUpdate_offsets_,
  1033. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate, _has_bits_[0]),
  1034. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate, _unknown_fields_),
  1035. -1,
  1036. ::google::protobuf::DescriptorPool::generated_pool(),
  1037. ::google::protobuf::MessageFactory::generated_factory(),
  1038. sizeof(CCSUsrMsg_ServerRankUpdate));
  1039. CCSUsrMsg_ServerRankUpdate_RankUpdate_descriptor_ = CCSUsrMsg_ServerRankUpdate_descriptor_->nested_type(0);
  1040. static const int CCSUsrMsg_ServerRankUpdate_RankUpdate_offsets_[5] = {
  1041. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, account_id_),
  1042. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, rank_old_),
  1043. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, rank_new_),
  1044. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, num_wins_),
  1045. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, rank_change_),
  1046. };
  1047. CCSUsrMsg_ServerRankUpdate_RankUpdate_reflection_ =
  1048. new ::google::protobuf::internal::GeneratedMessageReflection(
  1049. CCSUsrMsg_ServerRankUpdate_RankUpdate_descriptor_,
  1050. CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance_,
  1051. CCSUsrMsg_ServerRankUpdate_RankUpdate_offsets_,
  1052. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, _has_bits_[0]),
  1053. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, _unknown_fields_),
  1054. -1,
  1055. ::google::protobuf::DescriptorPool::generated_pool(),
  1056. ::google::protobuf::MessageFactory::generated_factory(),
  1057. sizeof(CCSUsrMsg_ServerRankUpdate_RankUpdate));
  1058. CCSUsrMsg_XpUpdate_descriptor_ = file->message_type(44);
  1059. static const int CCSUsrMsg_XpUpdate_offsets_[1] = {
  1060. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XpUpdate, data_),
  1061. };
  1062. CCSUsrMsg_XpUpdate_reflection_ =
  1063. new ::google::protobuf::internal::GeneratedMessageReflection(
  1064. CCSUsrMsg_XpUpdate_descriptor_,
  1065. CCSUsrMsg_XpUpdate::default_instance_,
  1066. CCSUsrMsg_XpUpdate_offsets_,
  1067. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XpUpdate, _has_bits_[0]),
  1068. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_XpUpdate, _unknown_fields_),
  1069. -1,
  1070. ::google::protobuf::DescriptorPool::generated_pool(),
  1071. ::google::protobuf::MessageFactory::generated_factory(),
  1072. sizeof(CCSUsrMsg_XpUpdate));
  1073. CCSUsrMsg_ItemPickup_descriptor_ = file->message_type(45);
  1074. static const int CCSUsrMsg_ItemPickup_offsets_[1] = {
  1075. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemPickup, item_),
  1076. };
  1077. CCSUsrMsg_ItemPickup_reflection_ =
  1078. new ::google::protobuf::internal::GeneratedMessageReflection(
  1079. CCSUsrMsg_ItemPickup_descriptor_,
  1080. CCSUsrMsg_ItemPickup::default_instance_,
  1081. CCSUsrMsg_ItemPickup_offsets_,
  1082. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemPickup, _has_bits_[0]),
  1083. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemPickup, _unknown_fields_),
  1084. -1,
  1085. ::google::protobuf::DescriptorPool::generated_pool(),
  1086. ::google::protobuf::MessageFactory::generated_factory(),
  1087. sizeof(CCSUsrMsg_ItemPickup));
  1088. CCSUsrMsg_ShowMenu_descriptor_ = file->message_type(46);
  1089. static const int CCSUsrMsg_ShowMenu_offsets_[3] = {
  1090. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ShowMenu, bits_valid_slots_),
  1091. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ShowMenu, display_time_),
  1092. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ShowMenu, menu_string_),
  1093. };
  1094. CCSUsrMsg_ShowMenu_reflection_ =
  1095. new ::google::protobuf::internal::GeneratedMessageReflection(
  1096. CCSUsrMsg_ShowMenu_descriptor_,
  1097. CCSUsrMsg_ShowMenu::default_instance_,
  1098. CCSUsrMsg_ShowMenu_offsets_,
  1099. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ShowMenu, _has_bits_[0]),
  1100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ShowMenu, _unknown_fields_),
  1101. -1,
  1102. ::google::protobuf::DescriptorPool::generated_pool(),
  1103. ::google::protobuf::MessageFactory::generated_factory(),
  1104. sizeof(CCSUsrMsg_ShowMenu));
  1105. CCSUsrMsg_BarTime_descriptor_ = file->message_type(47);
  1106. static const int CCSUsrMsg_BarTime_offsets_[1] = {
  1107. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_BarTime, time_),
  1108. };
  1109. CCSUsrMsg_BarTime_reflection_ =
  1110. new ::google::protobuf::internal::GeneratedMessageReflection(
  1111. CCSUsrMsg_BarTime_descriptor_,
  1112. CCSUsrMsg_BarTime::default_instance_,
  1113. CCSUsrMsg_BarTime_offsets_,
  1114. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_BarTime, _has_bits_[0]),
  1115. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_BarTime, _unknown_fields_),
  1116. -1,
  1117. ::google::protobuf::DescriptorPool::generated_pool(),
  1118. ::google::protobuf::MessageFactory::generated_factory(),
  1119. sizeof(CCSUsrMsg_BarTime));
  1120. CCSUsrMsg_AmmoDenied_descriptor_ = file->message_type(48);
  1121. static const int CCSUsrMsg_AmmoDenied_offsets_[1] = {
  1122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AmmoDenied, ammoidx_),
  1123. };
  1124. CCSUsrMsg_AmmoDenied_reflection_ =
  1125. new ::google::protobuf::internal::GeneratedMessageReflection(
  1126. CCSUsrMsg_AmmoDenied_descriptor_,
  1127. CCSUsrMsg_AmmoDenied::default_instance_,
  1128. CCSUsrMsg_AmmoDenied_offsets_,
  1129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AmmoDenied, _has_bits_[0]),
  1130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_AmmoDenied, _unknown_fields_),
  1131. -1,
  1132. ::google::protobuf::DescriptorPool::generated_pool(),
  1133. ::google::protobuf::MessageFactory::generated_factory(),
  1134. sizeof(CCSUsrMsg_AmmoDenied));
  1135. CCSUsrMsg_MarkAchievement_descriptor_ = file->message_type(49);
  1136. static const int CCSUsrMsg_MarkAchievement_offsets_[1] = {
  1137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MarkAchievement, achievement_),
  1138. };
  1139. CCSUsrMsg_MarkAchievement_reflection_ =
  1140. new ::google::protobuf::internal::GeneratedMessageReflection(
  1141. CCSUsrMsg_MarkAchievement_descriptor_,
  1142. CCSUsrMsg_MarkAchievement::default_instance_,
  1143. CCSUsrMsg_MarkAchievement_offsets_,
  1144. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MarkAchievement, _has_bits_[0]),
  1145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MarkAchievement, _unknown_fields_),
  1146. -1,
  1147. ::google::protobuf::DescriptorPool::generated_pool(),
  1148. ::google::protobuf::MessageFactory::generated_factory(),
  1149. sizeof(CCSUsrMsg_MarkAchievement));
  1150. CCSUsrMsg_MatchStatsUpdate_descriptor_ = file->message_type(50);
  1151. static const int CCSUsrMsg_MatchStatsUpdate_offsets_[1] = {
  1152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchStatsUpdate, update_),
  1153. };
  1154. CCSUsrMsg_MatchStatsUpdate_reflection_ =
  1155. new ::google::protobuf::internal::GeneratedMessageReflection(
  1156. CCSUsrMsg_MatchStatsUpdate_descriptor_,
  1157. CCSUsrMsg_MatchStatsUpdate::default_instance_,
  1158. CCSUsrMsg_MatchStatsUpdate_offsets_,
  1159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchStatsUpdate, _has_bits_[0]),
  1160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_MatchStatsUpdate, _unknown_fields_),
  1161. -1,
  1162. ::google::protobuf::DescriptorPool::generated_pool(),
  1163. ::google::protobuf::MessageFactory::generated_factory(),
  1164. sizeof(CCSUsrMsg_MatchStatsUpdate));
  1165. CCSUsrMsg_ItemDrop_descriptor_ = file->message_type(51);
  1166. static const int CCSUsrMsg_ItemDrop_offsets_[2] = {
  1167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemDrop, itemid_),
  1168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemDrop, death_),
  1169. };
  1170. CCSUsrMsg_ItemDrop_reflection_ =
  1171. new ::google::protobuf::internal::GeneratedMessageReflection(
  1172. CCSUsrMsg_ItemDrop_descriptor_,
  1173. CCSUsrMsg_ItemDrop::default_instance_,
  1174. CCSUsrMsg_ItemDrop_offsets_,
  1175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemDrop, _has_bits_[0]),
  1176. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ItemDrop, _unknown_fields_),
  1177. -1,
  1178. ::google::protobuf::DescriptorPool::generated_pool(),
  1179. ::google::protobuf::MessageFactory::generated_factory(),
  1180. sizeof(CCSUsrMsg_ItemDrop));
  1181. CCSUsrMsg_GlowPropTurnOff_descriptor_ = file->message_type(52);
  1182. static const int CCSUsrMsg_GlowPropTurnOff_offsets_[1] = {
  1183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_GlowPropTurnOff, entidx_),
  1184. };
  1185. CCSUsrMsg_GlowPropTurnOff_reflection_ =
  1186. new ::google::protobuf::internal::GeneratedMessageReflection(
  1187. CCSUsrMsg_GlowPropTurnOff_descriptor_,
  1188. CCSUsrMsg_GlowPropTurnOff::default_instance_,
  1189. CCSUsrMsg_GlowPropTurnOff_offsets_,
  1190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_GlowPropTurnOff, _has_bits_[0]),
  1191. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_GlowPropTurnOff, _unknown_fields_),
  1192. -1,
  1193. ::google::protobuf::DescriptorPool::generated_pool(),
  1194. ::google::protobuf::MessageFactory::generated_factory(),
  1195. sizeof(CCSUsrMsg_GlowPropTurnOff));
  1196. CCSUsrMsg_RoundBackupFilenames_descriptor_ = file->message_type(53);
  1197. static const int CCSUsrMsg_RoundBackupFilenames_offsets_[4] = {
  1198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, count_),
  1199. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, index_),
  1200. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, filename_),
  1201. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, nicename_),
  1202. };
  1203. CCSUsrMsg_RoundBackupFilenames_reflection_ =
  1204. new ::google::protobuf::internal::GeneratedMessageReflection(
  1205. CCSUsrMsg_RoundBackupFilenames_descriptor_,
  1206. CCSUsrMsg_RoundBackupFilenames::default_instance_,
  1207. CCSUsrMsg_RoundBackupFilenames_offsets_,
  1208. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, _has_bits_[0]),
  1209. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, _unknown_fields_),
  1210. -1,
  1211. ::google::protobuf::DescriptorPool::generated_pool(),
  1212. ::google::protobuf::MessageFactory::generated_factory(),
  1213. sizeof(CCSUsrMsg_RoundBackupFilenames));
  1214. CCSUsrMsg_ResetHud_descriptor_ = file->message_type(54);
  1215. static const int CCSUsrMsg_ResetHud_offsets_[1] = {
  1216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ResetHud, reset_),
  1217. };
  1218. CCSUsrMsg_ResetHud_reflection_ =
  1219. new ::google::protobuf::internal::GeneratedMessageReflection(
  1220. CCSUsrMsg_ResetHud_descriptor_,
  1221. CCSUsrMsg_ResetHud::default_instance_,
  1222. CCSUsrMsg_ResetHud_offsets_,
  1223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ResetHud, _has_bits_[0]),
  1224. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ResetHud, _unknown_fields_),
  1225. -1,
  1226. ::google::protobuf::DescriptorPool::generated_pool(),
  1227. ::google::protobuf::MessageFactory::generated_factory(),
  1228. sizeof(CCSUsrMsg_ResetHud));
  1229. CCSUsrMsg_GameTitle_descriptor_ = file->message_type(55);
  1230. static const int CCSUsrMsg_GameTitle_offsets_[1] = {
  1231. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_GameTitle, dummy_),
  1232. };
  1233. CCSUsrMsg_GameTitle_reflection_ =
  1234. new ::google::protobuf::internal::GeneratedMessageReflection(
  1235. CCSUsrMsg_GameTitle_descriptor_,
  1236. CCSUsrMsg_GameTitle::default_instance_,
  1237. CCSUsrMsg_GameTitle_offsets_,
  1238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_GameTitle, _has_bits_[0]),
  1239. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_GameTitle, _unknown_fields_),
  1240. -1,
  1241. ::google::protobuf::DescriptorPool::generated_pool(),
  1242. ::google::protobuf::MessageFactory::generated_factory(),
  1243. sizeof(CCSUsrMsg_GameTitle));
  1244. CCSUsrMsg_RequestState_descriptor_ = file->message_type(56);
  1245. static const int CCSUsrMsg_RequestState_offsets_[1] = {
  1246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RequestState, dummy_),
  1247. };
  1248. CCSUsrMsg_RequestState_reflection_ =
  1249. new ::google::protobuf::internal::GeneratedMessageReflection(
  1250. CCSUsrMsg_RequestState_descriptor_,
  1251. CCSUsrMsg_RequestState::default_instance_,
  1252. CCSUsrMsg_RequestState_offsets_,
  1253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RequestState, _has_bits_[0]),
  1254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_RequestState, _unknown_fields_),
  1255. -1,
  1256. ::google::protobuf::DescriptorPool::generated_pool(),
  1257. ::google::protobuf::MessageFactory::generated_factory(),
  1258. sizeof(CCSUsrMsg_RequestState));
  1259. CCSUsrMsg_StopSpectatorMode_descriptor_ = file->message_type(57);
  1260. static const int CCSUsrMsg_StopSpectatorMode_offsets_[1] = {
  1261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_StopSpectatorMode, dummy_),
  1262. };
  1263. CCSUsrMsg_StopSpectatorMode_reflection_ =
  1264. new ::google::protobuf::internal::GeneratedMessageReflection(
  1265. CCSUsrMsg_StopSpectatorMode_descriptor_,
  1266. CCSUsrMsg_StopSpectatorMode::default_instance_,
  1267. CCSUsrMsg_StopSpectatorMode_offsets_,
  1268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_StopSpectatorMode, _has_bits_[0]),
  1269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_StopSpectatorMode, _unknown_fields_),
  1270. -1,
  1271. ::google::protobuf::DescriptorPool::generated_pool(),
  1272. ::google::protobuf::MessageFactory::generated_factory(),
  1273. sizeof(CCSUsrMsg_StopSpectatorMode));
  1274. CCSUsrMsg_DisconnectToLobby_descriptor_ = file->message_type(58);
  1275. static const int CCSUsrMsg_DisconnectToLobby_offsets_[1] = {
  1276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisconnectToLobby, dummy_),
  1277. };
  1278. CCSUsrMsg_DisconnectToLobby_reflection_ =
  1279. new ::google::protobuf::internal::GeneratedMessageReflection(
  1280. CCSUsrMsg_DisconnectToLobby_descriptor_,
  1281. CCSUsrMsg_DisconnectToLobby::default_instance_,
  1282. CCSUsrMsg_DisconnectToLobby_offsets_,
  1283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisconnectToLobby, _has_bits_[0]),
  1284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_DisconnectToLobby, _unknown_fields_),
  1285. -1,
  1286. ::google::protobuf::DescriptorPool::generated_pool(),
  1287. ::google::protobuf::MessageFactory::generated_factory(),
  1288. sizeof(CCSUsrMsg_DisconnectToLobby));
  1289. CCSUsrMsg_WarmupHasEnded_descriptor_ = file->message_type(59);
  1290. static const int CCSUsrMsg_WarmupHasEnded_offsets_[1] = {
  1291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_WarmupHasEnded, dummy_),
  1292. };
  1293. CCSUsrMsg_WarmupHasEnded_reflection_ =
  1294. new ::google::protobuf::internal::GeneratedMessageReflection(
  1295. CCSUsrMsg_WarmupHasEnded_descriptor_,
  1296. CCSUsrMsg_WarmupHasEnded::default_instance_,
  1297. CCSUsrMsg_WarmupHasEnded_offsets_,
  1298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_WarmupHasEnded, _has_bits_[0]),
  1299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_WarmupHasEnded, _unknown_fields_),
  1300. -1,
  1301. ::google::protobuf::DescriptorPool::generated_pool(),
  1302. ::google::protobuf::MessageFactory::generated_factory(),
  1303. sizeof(CCSUsrMsg_WarmupHasEnded));
  1304. CCSUsrMsg_ClientInfo_descriptor_ = file->message_type(60);
  1305. static const int CCSUsrMsg_ClientInfo_offsets_[1] = {
  1306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ClientInfo, dummy_),
  1307. };
  1308. CCSUsrMsg_ClientInfo_reflection_ =
  1309. new ::google::protobuf::internal::GeneratedMessageReflection(
  1310. CCSUsrMsg_ClientInfo_descriptor_,
  1311. CCSUsrMsg_ClientInfo::default_instance_,
  1312. CCSUsrMsg_ClientInfo_offsets_,
  1313. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ClientInfo, _has_bits_[0]),
  1314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ClientInfo, _unknown_fields_),
  1315. -1,
  1316. ::google::protobuf::DescriptorPool::generated_pool(),
  1317. ::google::protobuf::MessageFactory::generated_factory(),
  1318. sizeof(CCSUsrMsg_ClientInfo));
  1319. CCSUsrMsg_ServerRankRevealAll_descriptor_ = file->message_type(61);
  1320. static const int CCSUsrMsg_ServerRankRevealAll_offsets_[1] = {
  1321. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, seconds_till_shutdown_),
  1322. };
  1323. CCSUsrMsg_ServerRankRevealAll_reflection_ =
  1324. new ::google::protobuf::internal::GeneratedMessageReflection(
  1325. CCSUsrMsg_ServerRankRevealAll_descriptor_,
  1326. CCSUsrMsg_ServerRankRevealAll::default_instance_,
  1327. CCSUsrMsg_ServerRankRevealAll_offsets_,
  1328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, _has_bits_[0]),
  1329. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, _unknown_fields_),
  1330. -1,
  1331. ::google::protobuf::DescriptorPool::generated_pool(),
  1332. ::google::protobuf::MessageFactory::generated_factory(),
  1333. sizeof(CCSUsrMsg_ServerRankRevealAll));
  1334. ECstrike15UserMessages_descriptor_ = file->enum_type(0);
  1335. }
  1336. namespace {
  1337. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1338. inline void protobuf_AssignDescriptorsOnce() {
  1339. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1340. &protobuf_AssignDesc_cstrike15_5fusermessages_2eproto);
  1341. }
  1342. void protobuf_RegisterTypes(const ::std::string&) {
  1343. protobuf_AssignDescriptorsOnce();
  1344. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1345. CCSUsrMsg_VGUIMenu_descriptor_, &CCSUsrMsg_VGUIMenu::default_instance());
  1346. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1347. CCSUsrMsg_VGUIMenu_Subkey_descriptor_, &CCSUsrMsg_VGUIMenu_Subkey::default_instance());
  1348. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1349. CCSUsrMsg_Geiger_descriptor_, &CCSUsrMsg_Geiger::default_instance());
  1350. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1351. CCSUsrMsg_Train_descriptor_, &CCSUsrMsg_Train::default_instance());
  1352. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1353. CCSUsrMsg_HudText_descriptor_, &CCSUsrMsg_HudText::default_instance());
  1354. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1355. CCSUsrMsg_SayText_descriptor_, &CCSUsrMsg_SayText::default_instance());
  1356. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1357. CCSUsrMsg_SayText2_descriptor_, &CCSUsrMsg_SayText2::default_instance());
  1358. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1359. CCSUsrMsg_TextMsg_descriptor_, &CCSUsrMsg_TextMsg::default_instance());
  1360. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1361. CCSUsrMsg_HudMsg_descriptor_, &CCSUsrMsg_HudMsg::default_instance());
  1362. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1363. CCSUsrMsg_Shake_descriptor_, &CCSUsrMsg_Shake::default_instance());
  1364. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1365. CCSUsrMsg_Fade_descriptor_, &CCSUsrMsg_Fade::default_instance());
  1366. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1367. CCSUsrMsg_Rumble_descriptor_, &CCSUsrMsg_Rumble::default_instance());
  1368. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1369. CCSUsrMsg_CloseCaption_descriptor_, &CCSUsrMsg_CloseCaption::default_instance());
  1370. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1371. CCSUsrMsg_CloseCaptionDirect_descriptor_, &CCSUsrMsg_CloseCaptionDirect::default_instance());
  1372. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1373. CCSUsrMsg_SendAudio_descriptor_, &CCSUsrMsg_SendAudio::default_instance());
  1374. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1375. CCSUsrMsg_RawAudio_descriptor_, &CCSUsrMsg_RawAudio::default_instance());
  1376. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1377. CCSUsrMsg_VoiceMask_descriptor_, &CCSUsrMsg_VoiceMask::default_instance());
  1378. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1379. CCSUsrMsg_VoiceMask_PlayerMask_descriptor_, &CCSUsrMsg_VoiceMask_PlayerMask::default_instance());
  1380. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1381. CCSUsrMsg_Damage_descriptor_, &CCSUsrMsg_Damage::default_instance());
  1382. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1383. CCSUsrMsg_RadioText_descriptor_, &CCSUsrMsg_RadioText::default_instance());
  1384. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1385. CCSUsrMsg_HintText_descriptor_, &CCSUsrMsg_HintText::default_instance());
  1386. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1387. CCSUsrMsg_KeyHintText_descriptor_, &CCSUsrMsg_KeyHintText::default_instance());
  1388. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1389. CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_, &CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance());
  1390. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1391. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_descriptor_, &CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance());
  1392. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1393. CCSUsrMsg_SendPlayerItemDrops_descriptor_, &CCSUsrMsg_SendPlayerItemDrops::default_instance());
  1394. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1395. CCSUsrMsg_SendPlayerItemFound_descriptor_, &CCSUsrMsg_SendPlayerItemFound::default_instance());
  1396. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1397. CCSUsrMsg_ReloadEffect_descriptor_, &CCSUsrMsg_ReloadEffect::default_instance());
  1398. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1399. CCSUsrMsg_AdjustMoney_descriptor_, &CCSUsrMsg_AdjustMoney::default_instance());
  1400. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1401. CCSUsrMsg_ReportHit_descriptor_, &CCSUsrMsg_ReportHit::default_instance());
  1402. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1403. CCSUsrMsg_KillCam_descriptor_, &CCSUsrMsg_KillCam::default_instance());
  1404. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1405. CCSUsrMsg_DesiredTimescale_descriptor_, &CCSUsrMsg_DesiredTimescale::default_instance());
  1406. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1407. CCSUsrMsg_CurrentTimescale_descriptor_, &CCSUsrMsg_CurrentTimescale::default_instance());
  1408. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1409. CCSUsrMsg_AchievementEvent_descriptor_, &CCSUsrMsg_AchievementEvent::default_instance());
  1410. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1411. CCSUsrMsg_MatchEndConditions_descriptor_, &CCSUsrMsg_MatchEndConditions::default_instance());
  1412. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1413. CCSUsrMsg_PlayerStatsUpdate_descriptor_, &CCSUsrMsg_PlayerStatsUpdate::default_instance());
  1414. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1415. CCSUsrMsg_PlayerStatsUpdate_Stat_descriptor_, &CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance());
  1416. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1417. CCSUsrMsg_DisplayInventory_descriptor_, &CCSUsrMsg_DisplayInventory::default_instance());
  1418. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1419. CCSUsrMsg_QuestProgress_descriptor_, &CCSUsrMsg_QuestProgress::default_instance());
  1420. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1421. CCSUsrMsg_ScoreLeaderboardData_descriptor_, &CCSUsrMsg_ScoreLeaderboardData::default_instance());
  1422. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1423. CCSUsrMsg_XRankGet_descriptor_, &CCSUsrMsg_XRankGet::default_instance());
  1424. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1425. CCSUsrMsg_XRankUpd_descriptor_, &CCSUsrMsg_XRankUpd::default_instance());
  1426. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1427. CCSUsrMsg_CallVoteFailed_descriptor_, &CCSUsrMsg_CallVoteFailed::default_instance());
  1428. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1429. CCSUsrMsg_VoteStart_descriptor_, &CCSUsrMsg_VoteStart::default_instance());
  1430. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1431. CCSUsrMsg_VotePass_descriptor_, &CCSUsrMsg_VotePass::default_instance());
  1432. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1433. CCSUsrMsg_VoteFailed_descriptor_, &CCSUsrMsg_VoteFailed::default_instance());
  1434. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1435. CCSUsrMsg_VoteSetup_descriptor_, &CCSUsrMsg_VoteSetup::default_instance());
  1436. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1437. CCSUsrMsg_SendLastKillerDamageToClient_descriptor_, &CCSUsrMsg_SendLastKillerDamageToClient::default_instance());
  1438. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1439. CCSUsrMsg_ServerRankUpdate_descriptor_, &CCSUsrMsg_ServerRankUpdate::default_instance());
  1440. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1441. CCSUsrMsg_ServerRankUpdate_RankUpdate_descriptor_, &CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance());
  1442. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1443. CCSUsrMsg_XpUpdate_descriptor_, &CCSUsrMsg_XpUpdate::default_instance());
  1444. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1445. CCSUsrMsg_ItemPickup_descriptor_, &CCSUsrMsg_ItemPickup::default_instance());
  1446. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1447. CCSUsrMsg_ShowMenu_descriptor_, &CCSUsrMsg_ShowMenu::default_instance());
  1448. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1449. CCSUsrMsg_BarTime_descriptor_, &CCSUsrMsg_BarTime::default_instance());
  1450. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1451. CCSUsrMsg_AmmoDenied_descriptor_, &CCSUsrMsg_AmmoDenied::default_instance());
  1452. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1453. CCSUsrMsg_MarkAchievement_descriptor_, &CCSUsrMsg_MarkAchievement::default_instance());
  1454. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1455. CCSUsrMsg_MatchStatsUpdate_descriptor_, &CCSUsrMsg_MatchStatsUpdate::default_instance());
  1456. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1457. CCSUsrMsg_ItemDrop_descriptor_, &CCSUsrMsg_ItemDrop::default_instance());
  1458. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1459. CCSUsrMsg_GlowPropTurnOff_descriptor_, &CCSUsrMsg_GlowPropTurnOff::default_instance());
  1460. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1461. CCSUsrMsg_RoundBackupFilenames_descriptor_, &CCSUsrMsg_RoundBackupFilenames::default_instance());
  1462. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1463. CCSUsrMsg_ResetHud_descriptor_, &CCSUsrMsg_ResetHud::default_instance());
  1464. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1465. CCSUsrMsg_GameTitle_descriptor_, &CCSUsrMsg_GameTitle::default_instance());
  1466. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1467. CCSUsrMsg_RequestState_descriptor_, &CCSUsrMsg_RequestState::default_instance());
  1468. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1469. CCSUsrMsg_StopSpectatorMode_descriptor_, &CCSUsrMsg_StopSpectatorMode::default_instance());
  1470. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1471. CCSUsrMsg_DisconnectToLobby_descriptor_, &CCSUsrMsg_DisconnectToLobby::default_instance());
  1472. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1473. CCSUsrMsg_WarmupHasEnded_descriptor_, &CCSUsrMsg_WarmupHasEnded::default_instance());
  1474. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1475. CCSUsrMsg_ClientInfo_descriptor_, &CCSUsrMsg_ClientInfo::default_instance());
  1476. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1477. CCSUsrMsg_ServerRankRevealAll_descriptor_, &CCSUsrMsg_ServerRankRevealAll::default_instance());
  1478. }
  1479. } // namespace
  1480. void protobuf_ShutdownFile_cstrike15_5fusermessages_2eproto() {
  1481. delete CCSUsrMsg_VGUIMenu::default_instance_;
  1482. delete CCSUsrMsg_VGUIMenu_reflection_;
  1483. delete CCSUsrMsg_VGUIMenu_Subkey::default_instance_;
  1484. delete CCSUsrMsg_VGUIMenu_Subkey_reflection_;
  1485. delete CCSUsrMsg_Geiger::default_instance_;
  1486. delete CCSUsrMsg_Geiger_reflection_;
  1487. delete CCSUsrMsg_Train::default_instance_;
  1488. delete CCSUsrMsg_Train_reflection_;
  1489. delete CCSUsrMsg_HudText::default_instance_;
  1490. delete CCSUsrMsg_HudText_reflection_;
  1491. delete CCSUsrMsg_SayText::default_instance_;
  1492. delete CCSUsrMsg_SayText_reflection_;
  1493. delete CCSUsrMsg_SayText2::default_instance_;
  1494. delete CCSUsrMsg_SayText2_reflection_;
  1495. delete CCSUsrMsg_TextMsg::default_instance_;
  1496. delete CCSUsrMsg_TextMsg_reflection_;
  1497. delete CCSUsrMsg_HudMsg::default_instance_;
  1498. delete CCSUsrMsg_HudMsg_reflection_;
  1499. delete CCSUsrMsg_Shake::default_instance_;
  1500. delete CCSUsrMsg_Shake_reflection_;
  1501. delete CCSUsrMsg_Fade::default_instance_;
  1502. delete CCSUsrMsg_Fade_reflection_;
  1503. delete CCSUsrMsg_Rumble::default_instance_;
  1504. delete CCSUsrMsg_Rumble_reflection_;
  1505. delete CCSUsrMsg_CloseCaption::default_instance_;
  1506. delete CCSUsrMsg_CloseCaption_reflection_;
  1507. delete CCSUsrMsg_CloseCaptionDirect::default_instance_;
  1508. delete CCSUsrMsg_CloseCaptionDirect_reflection_;
  1509. delete CCSUsrMsg_SendAudio::default_instance_;
  1510. delete CCSUsrMsg_SendAudio_reflection_;
  1511. delete CCSUsrMsg_RawAudio::default_instance_;
  1512. delete CCSUsrMsg_RawAudio_reflection_;
  1513. delete CCSUsrMsg_VoiceMask::default_instance_;
  1514. delete CCSUsrMsg_VoiceMask_reflection_;
  1515. delete CCSUsrMsg_VoiceMask_PlayerMask::default_instance_;
  1516. delete CCSUsrMsg_VoiceMask_PlayerMask_reflection_;
  1517. delete CCSUsrMsg_Damage::default_instance_;
  1518. delete CCSUsrMsg_Damage_reflection_;
  1519. delete CCSUsrMsg_RadioText::default_instance_;
  1520. delete CCSUsrMsg_RadioText_reflection_;
  1521. delete CCSUsrMsg_HintText::default_instance_;
  1522. delete CCSUsrMsg_HintText_reflection_;
  1523. delete CCSUsrMsg_KeyHintText::default_instance_;
  1524. delete CCSUsrMsg_KeyHintText_reflection_;
  1525. delete CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance_;
  1526. delete CCSUsrMsg_ProcessSpottedEntityUpdate_reflection_;
  1527. delete CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance_;
  1528. delete CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_reflection_;
  1529. delete CCSUsrMsg_SendPlayerItemDrops::default_instance_;
  1530. delete CCSUsrMsg_SendPlayerItemDrops_reflection_;
  1531. delete CCSUsrMsg_SendPlayerItemFound::default_instance_;
  1532. delete CCSUsrMsg_SendPlayerItemFound_reflection_;
  1533. delete CCSUsrMsg_ReloadEffect::default_instance_;
  1534. delete CCSUsrMsg_ReloadEffect_reflection_;
  1535. delete CCSUsrMsg_AdjustMoney::default_instance_;
  1536. delete CCSUsrMsg_AdjustMoney_reflection_;
  1537. delete CCSUsrMsg_ReportHit::default_instance_;
  1538. delete CCSUsrMsg_ReportHit_reflection_;
  1539. delete CCSUsrMsg_KillCam::default_instance_;
  1540. delete CCSUsrMsg_KillCam_reflection_;
  1541. delete CCSUsrMsg_DesiredTimescale::default_instance_;
  1542. delete CCSUsrMsg_DesiredTimescale_reflection_;
  1543. delete CCSUsrMsg_CurrentTimescale::default_instance_;
  1544. delete CCSUsrMsg_CurrentTimescale_reflection_;
  1545. delete CCSUsrMsg_AchievementEvent::default_instance_;
  1546. delete CCSUsrMsg_AchievementEvent_reflection_;
  1547. delete CCSUsrMsg_MatchEndConditions::default_instance_;
  1548. delete CCSUsrMsg_MatchEndConditions_reflection_;
  1549. delete CCSUsrMsg_PlayerStatsUpdate::default_instance_;
  1550. delete CCSUsrMsg_PlayerStatsUpdate_reflection_;
  1551. delete CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance_;
  1552. delete CCSUsrMsg_PlayerStatsUpdate_Stat_reflection_;
  1553. delete CCSUsrMsg_DisplayInventory::default_instance_;
  1554. delete CCSUsrMsg_DisplayInventory_reflection_;
  1555. delete CCSUsrMsg_QuestProgress::default_instance_;
  1556. delete CCSUsrMsg_QuestProgress_reflection_;
  1557. delete CCSUsrMsg_ScoreLeaderboardData::default_instance_;
  1558. delete CCSUsrMsg_ScoreLeaderboardData_reflection_;
  1559. delete CCSUsrMsg_XRankGet::default_instance_;
  1560. delete CCSUsrMsg_XRankGet_reflection_;
  1561. delete CCSUsrMsg_XRankUpd::default_instance_;
  1562. delete CCSUsrMsg_XRankUpd_reflection_;
  1563. delete CCSUsrMsg_CallVoteFailed::default_instance_;
  1564. delete CCSUsrMsg_CallVoteFailed_reflection_;
  1565. delete CCSUsrMsg_VoteStart::default_instance_;
  1566. delete CCSUsrMsg_VoteStart_reflection_;
  1567. delete CCSUsrMsg_VotePass::default_instance_;
  1568. delete CCSUsrMsg_VotePass_reflection_;
  1569. delete CCSUsrMsg_VoteFailed::default_instance_;
  1570. delete CCSUsrMsg_VoteFailed_reflection_;
  1571. delete CCSUsrMsg_VoteSetup::default_instance_;
  1572. delete CCSUsrMsg_VoteSetup_reflection_;
  1573. delete CCSUsrMsg_SendLastKillerDamageToClient::default_instance_;
  1574. delete CCSUsrMsg_SendLastKillerDamageToClient_reflection_;
  1575. delete CCSUsrMsg_ServerRankUpdate::default_instance_;
  1576. delete CCSUsrMsg_ServerRankUpdate_reflection_;
  1577. delete CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance_;
  1578. delete CCSUsrMsg_ServerRankUpdate_RankUpdate_reflection_;
  1579. delete CCSUsrMsg_XpUpdate::default_instance_;
  1580. delete CCSUsrMsg_XpUpdate_reflection_;
  1581. delete CCSUsrMsg_ItemPickup::default_instance_;
  1582. delete CCSUsrMsg_ItemPickup_reflection_;
  1583. delete CCSUsrMsg_ShowMenu::default_instance_;
  1584. delete CCSUsrMsg_ShowMenu_reflection_;
  1585. delete CCSUsrMsg_BarTime::default_instance_;
  1586. delete CCSUsrMsg_BarTime_reflection_;
  1587. delete CCSUsrMsg_AmmoDenied::default_instance_;
  1588. delete CCSUsrMsg_AmmoDenied_reflection_;
  1589. delete CCSUsrMsg_MarkAchievement::default_instance_;
  1590. delete CCSUsrMsg_MarkAchievement_reflection_;
  1591. delete CCSUsrMsg_MatchStatsUpdate::default_instance_;
  1592. delete CCSUsrMsg_MatchStatsUpdate_reflection_;
  1593. delete CCSUsrMsg_ItemDrop::default_instance_;
  1594. delete CCSUsrMsg_ItemDrop_reflection_;
  1595. delete CCSUsrMsg_GlowPropTurnOff::default_instance_;
  1596. delete CCSUsrMsg_GlowPropTurnOff_reflection_;
  1597. delete CCSUsrMsg_RoundBackupFilenames::default_instance_;
  1598. delete CCSUsrMsg_RoundBackupFilenames_reflection_;
  1599. delete CCSUsrMsg_ResetHud::default_instance_;
  1600. delete CCSUsrMsg_ResetHud_reflection_;
  1601. delete CCSUsrMsg_GameTitle::default_instance_;
  1602. delete CCSUsrMsg_GameTitle_reflection_;
  1603. delete CCSUsrMsg_RequestState::default_instance_;
  1604. delete CCSUsrMsg_RequestState_reflection_;
  1605. delete CCSUsrMsg_StopSpectatorMode::default_instance_;
  1606. delete CCSUsrMsg_StopSpectatorMode_reflection_;
  1607. delete CCSUsrMsg_DisconnectToLobby::default_instance_;
  1608. delete CCSUsrMsg_DisconnectToLobby_reflection_;
  1609. delete CCSUsrMsg_WarmupHasEnded::default_instance_;
  1610. delete CCSUsrMsg_WarmupHasEnded_reflection_;
  1611. delete CCSUsrMsg_ClientInfo::default_instance_;
  1612. delete CCSUsrMsg_ClientInfo_reflection_;
  1613. delete CCSUsrMsg_ServerRankRevealAll::default_instance_;
  1614. delete CCSUsrMsg_ServerRankRevealAll_reflection_;
  1615. }
  1616. void protobuf_AddDesc_cstrike15_5fusermessages_2eproto() {
  1617. static bool already_here = false;
  1618. if (already_here) return;
  1619. already_here = true;
  1620. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1621. ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1622. ::protobuf_AddDesc_netmessages_2eproto();
  1623. ::protobuf_AddDesc_cstrike15_5fgcmessages_2eproto();
  1624. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1625. "\n\034cstrike15_usermessages.proto\032 google/p"
  1626. "rotobuf/descriptor.proto\032\021netmessages.pr"
  1627. "oto\032\032cstrike15_gcmessages.proto\"\202\001\n\022CCSU"
  1628. "srMsg_VGUIMenu\022\014\n\004name\030\001 \001(\t\022\014\n\004show\030\002 \001"
  1629. "(\010\022+\n\007subkeys\030\003 \003(\0132\032.CCSUsrMsg_VGUIMenu"
  1630. ".Subkey\032#\n\006Subkey\022\014\n\004name\030\001 \001(\t\022\013\n\003str\030\002"
  1631. " \001(\t\"!\n\020CCSUsrMsg_Geiger\022\r\n\005range\030\001 \001(\005\""
  1632. " \n\017CCSUsrMsg_Train\022\r\n\005train\030\001 \001(\005\"!\n\021CCS"
  1633. "UsrMsg_HudText\022\014\n\004text\030\001 \001(\t\"U\n\021CCSUsrMs"
  1634. "g_SayText\022\017\n\007ent_idx\030\001 \001(\005\022\014\n\004text\030\002 \001(\t"
  1635. "\022\014\n\004chat\030\003 \001(\010\022\023\n\013textallchat\030\004 \001(\010\"j\n\022C"
  1636. "CSUsrMsg_SayText2\022\017\n\007ent_idx\030\001 \001(\005\022\014\n\004ch"
  1637. "at\030\002 \001(\010\022\020\n\010msg_name\030\003 \001(\t\022\016\n\006params\030\004 \003"
  1638. "(\t\022\023\n\013textallchat\030\005 \001(\010\"4\n\021CCSUsrMsg_Tex"
  1639. "tMsg\022\017\n\007msg_dst\030\001 \001(\005\022\016\n\006params\030\003 \003(\t\"\340\001"
  1640. "\n\020CCSUsrMsg_HudMsg\022\017\n\007channel\030\001 \001(\005\022\032\n\003p"
  1641. "os\030\002 \001(\0132\r.CMsgVector2D\022\027\n\004clr1\030\003 \001(\0132\t."
  1642. "CMsgRGBA\022\027\n\004clr2\030\004 \001(\0132\t.CMsgRGBA\022\016\n\006eff"
  1643. "ect\030\005 \001(\005\022\024\n\014fade_in_time\030\006 \001(\002\022\025\n\rfade_"
  1644. "out_time\030\007 \001(\002\022\021\n\thold_time\030\t \001(\002\022\017\n\007fx_"
  1645. "time\030\n \001(\002\022\014\n\004text\030\013 \001(\t\"`\n\017CCSUsrMsg_Sh"
  1646. "ake\022\017\n\007command\030\001 \001(\005\022\027\n\017local_amplitude\030"
  1647. "\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010duration\030\004 \001"
  1648. "(\002\"\\\n\016CCSUsrMsg_Fade\022\020\n\010duration\030\001 \001(\005\022\021"
  1649. "\n\thold_time\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\022\026\n\003clr\030"
  1650. "\004 \001(\0132\t.CMsgRGBA\">\n\020CCSUsrMsg_Rumble\022\r\n\005"
  1651. "index\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005"
  1652. "\"M\n\026CCSUsrMsg_CloseCaption\022\014\n\004hash\030\001 \001(\r"
  1653. "\022\020\n\010duration\030\002 \001(\005\022\023\n\013from_player\030\003 \001(\010\""
  1654. "S\n\034CCSUsrMsg_CloseCaptionDirect\022\014\n\004hash\030"
  1655. "\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013from_player\030\003"
  1656. " \001(\010\"*\n\023CCSUsrMsg_SendAudio\022\023\n\013radio_sou"
  1657. "nd\030\001 \001(\t\"]\n\022CCSUsrMsg_RawAudio\022\r\n\005pitch\030"
  1658. "\001 \001(\005\022\016\n\006entidx\030\002 \001(\005\022\020\n\010duration\030\003 \001(\002\022"
  1659. "\026\n\016voice_filename\030\004 \001(\t\"\241\001\n\023CCSUsrMsg_Vo"
  1660. "iceMask\0225\n\014player_masks\030\001 \003(\0132\037.CCSUsrMs"
  1661. "g_VoiceMask.PlayerMask\022\031\n\021player_mod_ena"
  1662. "ble\030\002 \001(\010\0328\n\nPlayerMask\022\027\n\017game_rules_ma"
  1663. "sk\030\001 \001(\005\022\021\n\tban_masks\030\002 \001(\005\"e\n\020CCSUsrMsg"
  1664. "_Damage\022\016\n\006amount\030\001 \001(\005\022(\n\023inflictor_wor"
  1665. "ld_pos\030\002 \001(\0132\013.CMsgVector\022\027\n\017victim_enti"
  1666. "ndex\030\003 \001(\005\"X\n\023CCSUsrMsg_RadioText\022\017\n\007msg"
  1667. "_dst\030\001 \001(\005\022\016\n\006client\030\002 \001(\005\022\020\n\010msg_name\030\003"
  1668. " \001(\t\022\016\n\006params\030\004 \003(\t\"\"\n\022CCSUsrMsg_HintTe"
  1669. "xt\022\014\n\004text\030\001 \001(\t\"&\n\025CCSUsrMsg_KeyHintTex"
  1670. "t\022\r\n\005hints\030\001 \003(\t\"\326\002\n$CCSUsrMsg_ProcessSp"
  1671. "ottedEntityUpdate\022\022\n\nnew_update\030\001 \001(\010\022Q\n"
  1672. "\016entity_updates\030\002 \003(\01329.CCSUsrMsg_Proces"
  1673. "sSpottedEntityUpdate.SpottedEntityUpdate"
  1674. "\032\306\001\n\023SpottedEntityUpdate\022\022\n\nentity_idx\030\001"
  1675. " \001(\005\022\020\n\010class_id\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\005"
  1676. "\022\020\n\010origin_y\030\004 \001(\005\022\020\n\010origin_z\030\005 \001(\005\022\017\n\007"
  1677. "angle_y\030\006 \001(\005\022\017\n\007defuser\030\007 \001(\010\022\032\n\022player"
  1678. "_has_defuser\030\010 \001(\010\022\025\n\rplayer_has_c4\030\t \001("
  1679. "\010\"S\n\035CCSUsrMsg_SendPlayerItemDrops\0222\n\016en"
  1680. "tity_updates\030\001 \003(\0132\032.CEconItemPreviewDat"
  1681. "aBlock\"_\n\035CCSUsrMsg_SendPlayerItemFound\022"
  1682. ",\n\010iteminfo\030\001 \001(\0132\032.CEconItemPreviewData"
  1683. "Block\022\020\n\010entindex\030\002 \001(\005\"o\n\026CCSUsrMsg_Rel"
  1684. "oadEffect\022\016\n\006entidx\030\001 \001(\005\022\017\n\007actanim\030\002 \001"
  1685. "(\005\022\020\n\010origin_x\030\003 \001(\002\022\020\n\010origin_y\030\004 \001(\002\022\020"
  1686. "\n\010origin_z\030\005 \001(\002\"\'\n\025CCSUsrMsg_AdjustMone"
  1687. "y\022\016\n\006amount\030\001 \001(\005\"U\n\023CCSUsrMsg_ReportHit"
  1688. "\022\r\n\005pos_x\030\001 \001(\002\022\r\n\005pos_y\030\002 \001(\002\022\021\n\ttimest"
  1689. "amp\030\004 \001(\002\022\r\n\005pos_z\030\003 \001(\002\"R\n\021CCSUsrMsg_Ki"
  1690. "llCam\022\020\n\010obs_mode\030\001 \001(\005\022\024\n\014first_target\030"
  1691. "\002 \001(\005\022\025\n\rsecond_target\030\003 \001(\005\"\213\001\n\032CCSUsrM"
  1692. "sg_DesiredTimescale\022\031\n\021desired_timescale"
  1693. "\030\001 \001(\002\022\035\n\025duration_realtime_sec\030\002 \001(\002\022\031\n"
  1694. "\021interpolator_type\030\003 \001(\005\022\030\n\020start_blend_"
  1695. "time\030\004 \001(\002\"3\n\032CCSUsrMsg_CurrentTimescale"
  1696. "\022\025\n\rcur_timescale\030\001 \001(\002\"Q\n\032CCSUsrMsg_Ach"
  1697. "ievementEvent\022\023\n\013achievement\030\001 \001(\005\022\r\n\005co"
  1698. "unt\030\002 \001(\005\022\017\n\007user_id\030\003 \001(\005\"r\n\034CCSUsrMsg_"
  1699. "MatchEndConditions\022\021\n\tfraglimit\030\001 \001(\005\022\024\n"
  1700. "\014mp_maxrounds\030\002 \001(\005\022\023\n\013mp_winlimit\030\003 \001(\005"
  1701. "\022\024\n\014mp_timelimit\030\004 \001(\005\"\242\001\n\033CCSUsrMsg_Pla"
  1702. "yerStatsUpdate\022\017\n\007version\030\001 \001(\005\0220\n\005stats"
  1703. "\030\004 \003(\0132!.CCSUsrMsg_PlayerStatsUpdate.Sta"
  1704. "t\022\017\n\007user_id\030\005 \001(\005\022\013\n\003crc\030\006 \001(\005\032\"\n\004Stat\022"
  1705. "\013\n\003idx\030\001 \001(\005\022\r\n\005delta\030\002 \001(\005\">\n\032CCSUsrMsg"
  1706. "_DisplayInventory\022\017\n\007display\030\001 \001(\010\022\017\n\007us"
  1707. "er_id\030\002 \001(\005\"p\n\027CCSUsrMsg_QuestProgress\022\020"
  1708. "\n\010quest_id\030\001 \001(\r\022\025\n\rnormal_points\030\002 \001(\r\022"
  1709. "\024\n\014bonus_points\030\003 \001(\r\022\026\n\016is_event_quest\030"
  1710. "\004 \001(\010\"E\n\036CCSUsrMsg_ScoreLeaderboardData\022"
  1711. "#\n\004data\030\001 \001(\0132\025.ScoreLeaderboardData\":\n\022"
  1712. "CCSUsrMsg_XRankGet\022\020\n\010mode_idx\030\001 \001(\005\022\022\n\n"
  1713. "controller\030\002 \001(\005\"K\n\022CCSUsrMsg_XRankUpd\022\020"
  1714. "\n\010mode_idx\030\001 \001(\005\022\022\n\ncontroller\030\002 \001(\005\022\017\n\007"
  1715. "ranking\030\003 \001(\005\"8\n\030CCSUsrMsg_CallVoteFaile"
  1716. "d\022\016\n\006reason\030\001 \001(\005\022\014\n\004time\030\002 \001(\005\"\236\001\n\023CCSU"
  1717. "srMsg_VoteStart\022\014\n\004team\030\001 \001(\005\022\017\n\007ent_idx"
  1718. "\030\002 \001(\005\022\021\n\tvote_type\030\003 \001(\005\022\020\n\010disp_str\030\004 "
  1719. "\001(\t\022\023\n\013details_str\030\005 \001(\t\022\026\n\016other_team_s"
  1720. "tr\030\006 \001(\t\022\026\n\016is_yes_no_vote\030\007 \001(\010\"\\\n\022CCSU"
  1721. "srMsg_VotePass\022\014\n\004team\030\001 \001(\005\022\021\n\tvote_typ"
  1722. "e\030\002 \001(\005\022\020\n\010disp_str\030\003 \001(\t\022\023\n\013details_str"
  1723. "\030\004 \001(\t\"4\n\024CCSUsrMsg_VoteFailed\022\014\n\004team\030\001"
  1724. " \001(\005\022\016\n\006reason\030\002 \001(\005\"/\n\023CCSUsrMsg_VoteSe"
  1725. "tup\022\030\n\020potential_issues\030\001 \003(\t\"\204\001\n&CCSUsr"
  1726. "Msg_SendLastKillerDamageToClient\022\026\n\016num_"
  1727. "hits_given\030\001 \001(\005\022\024\n\014damage_given\030\002 \001(\005\022\026"
  1728. "\n\016num_hits_taken\030\003 \001(\005\022\024\n\014damage_taken\030\004"
  1729. " \001(\005\"\306\001\n\032CCSUsrMsg_ServerRankUpdate\022;\n\013r"
  1730. "ank_update\030\001 \003(\0132&.CCSUsrMsg_ServerRankU"
  1731. "pdate.RankUpdate\032k\n\nRankUpdate\022\022\n\naccoun"
  1732. "t_id\030\001 \001(\005\022\020\n\010rank_old\030\002 \001(\005\022\020\n\010rank_new"
  1733. "\030\003 \001(\005\022\020\n\010num_wins\030\004 \001(\005\022\023\n\013rank_change\030"
  1734. "\005 \001(\002\"Q\n\022CCSUsrMsg_XpUpdate\022;\n\004data\030\001 \001("
  1735. "\0132-.CMsgGCCstrike15_v2_GC2ServerNotifyXP"
  1736. "Rewarded\"$\n\024CCSUsrMsg_ItemPickup\022\014\n\004item"
  1737. "\030\001 \001(\t\"Y\n\022CCSUsrMsg_ShowMenu\022\030\n\020bits_val"
  1738. "id_slots\030\001 \001(\005\022\024\n\014display_time\030\002 \001(\005\022\023\n\013"
  1739. "menu_string\030\003 \001(\t\"!\n\021CCSUsrMsg_BarTime\022\014"
  1740. "\n\004time\030\001 \001(\t\"\'\n\024CCSUsrMsg_AmmoDenied\022\017\n\007"
  1741. "ammoIdx\030\001 \001(\005\"0\n\031CCSUsrMsg_MarkAchieveme"
  1742. "nt\022\023\n\013achievement\030\001 \001(\t\",\n\032CCSUsrMsg_Mat"
  1743. "chStatsUpdate\022\016\n\006update\030\001 \001(\t\"3\n\022CCSUsrM"
  1744. "sg_ItemDrop\022\016\n\006itemid\030\001 \001(\003\022\r\n\005death\030\002 \001"
  1745. "(\010\"+\n\031CCSUsrMsg_GlowPropTurnOff\022\016\n\006entid"
  1746. "x\030\001 \001(\005\"b\n\036CCSUsrMsg_RoundBackupFilename"
  1747. "s\022\r\n\005count\030\001 \001(\005\022\r\n\005index\030\002 \001(\005\022\020\n\010filen"
  1748. "ame\030\003 \001(\t\022\020\n\010nicename\030\004 \001(\t\"#\n\022CCSUsrMsg"
  1749. "_ResetHud\022\r\n\005reset\030\001 \001(\010\"$\n\023CCSUsrMsg_Ga"
  1750. "meTitle\022\r\n\005dummy\030\001 \001(\005\"\'\n\026CCSUsrMsg_Requ"
  1751. "estState\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg_Sto"
  1752. "pSpectatorMode\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrM"
  1753. "sg_DisconnectToLobby\022\r\n\005dummy\030\001 \001(\005\")\n\030C"
  1754. "CSUsrMsg_WarmupHasEnded\022\r\n\005dummy\030\001 \001(\005\"%"
  1755. "\n\024CCSUsrMsg_ClientInfo\022\r\n\005dummy\030\001 \001(\005\">\n"
  1756. "\035CCSUsrMsg_ServerRankRevealAll\022\035\n\025second"
  1757. "s_till_shutdown\030\001 \001(\005*\362\013\n\026ECstrike15User"
  1758. "Messages\022\022\n\016CS_UM_VGUIMenu\020\001\022\020\n\014CS_UM_Ge"
  1759. "iger\020\002\022\017\n\013CS_UM_Train\020\003\022\021\n\rCS_UM_HudText"
  1760. "\020\004\022\021\n\rCS_UM_SayText\020\005\022\022\n\016CS_UM_SayText2\020"
  1761. "\006\022\021\n\rCS_UM_TextMsg\020\007\022\020\n\014CS_UM_HudMsg\020\010\022\022"
  1762. "\n\016CS_UM_ResetHud\020\t\022\023\n\017CS_UM_GameTitle\020\n\022"
  1763. "\017\n\013CS_UM_Shake\020\014\022\016\n\nCS_UM_Fade\020\r\022\020\n\014CS_U"
  1764. "M_Rumble\020\016\022\026\n\022CS_UM_CloseCaption\020\017\022\034\n\030CS"
  1765. "_UM_CloseCaptionDirect\020\020\022\023\n\017CS_UM_SendAu"
  1766. "dio\020\021\022\022\n\016CS_UM_RawAudio\020\022\022\023\n\017CS_UM_Voice"
  1767. "Mask\020\023\022\026\n\022CS_UM_RequestState\020\024\022\020\n\014CS_UM_"
  1768. "Damage\020\025\022\023\n\017CS_UM_RadioText\020\026\022\022\n\016CS_UM_H"
  1769. "intText\020\027\022\025\n\021CS_UM_KeyHintText\020\030\022$\n CS_U"
  1770. "M_ProcessSpottedEntityUpdate\020\031\022\026\n\022CS_UM_"
  1771. "ReloadEffect\020\032\022\025\n\021CS_UM_AdjustMoney\020\033\022\031\n"
  1772. "\025CS_UM_UpdateTeamMoney\020\034\022\033\n\027CS_UM_StopSp"
  1773. "ectatorMode\020\035\022\021\n\rCS_UM_KillCam\020\036\022\032\n\026CS_U"
  1774. "M_DesiredTimescale\020\037\022\032\n\026CS_UM_CurrentTim"
  1775. "escale\020 \022\032\n\026CS_UM_AchievementEvent\020!\022\034\n\030"
  1776. "CS_UM_MatchEndConditions\020\"\022\033\n\027CS_UM_Disc"
  1777. "onnectToLobby\020#\022\033\n\027CS_UM_PlayerStatsUpda"
  1778. "te\020$\022\032\n\026CS_UM_DisplayInventory\020%\022\030\n\024CS_U"
  1779. "M_WarmupHasEnded\020&\022\024\n\020CS_UM_ClientInfo\020\'"
  1780. "\022\022\n\016CS_UM_XRankGet\020(\022\022\n\016CS_UM_XRankUpd\020)"
  1781. "\022\030\n\024CS_UM_CallVoteFailed\020-\022\023\n\017CS_UM_Vote"
  1782. "Start\020.\022\022\n\016CS_UM_VotePass\020/\022\024\n\020CS_UM_Vot"
  1783. "eFailed\0200\022\023\n\017CS_UM_VoteSetup\0201\022\035\n\031CS_UM_"
  1784. "ServerRankRevealAll\0202\022&\n\"CS_UM_SendLastK"
  1785. "illerDamageToClient\0203\022\032\n\026CS_UM_ServerRan"
  1786. "kUpdate\0204\022\024\n\020CS_UM_ItemPickup\0205\022\022\n\016CS_UM"
  1787. "_ShowMenu\0206\022\021\n\rCS_UM_BarTime\0207\022\024\n\020CS_UM_"
  1788. "AmmoDenied\0208\022\031\n\025CS_UM_MarkAchievement\0209\022"
  1789. "\032\n\026CS_UM_MatchStatsUpdate\020:\022\022\n\016CS_UM_Ite"
  1790. "mDrop\020;\022\031\n\025CS_UM_GlowPropTurnOff\020<\022\035\n\031CS"
  1791. "_UM_SendPlayerItemDrops\020=\022\036\n\032CS_UM_Round"
  1792. "BackupFilenames\020>\022\035\n\031CS_UM_SendPlayerIte"
  1793. "mFound\020\?\022\023\n\017CS_UM_ReportHit\020@\022\022\n\016CS_UM_X"
  1794. "pUpdate\020A\022\027\n\023CS_UM_QuestProgress\020B\022\036\n\032CS"
  1795. "_UM_ScoreLeaderboardData\020CB\005H\001\200\001\000", 6833);
  1796. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  1797. "cstrike15_usermessages.proto", &protobuf_RegisterTypes);
  1798. CCSUsrMsg_VGUIMenu::default_instance_ = new CCSUsrMsg_VGUIMenu();
  1799. CCSUsrMsg_VGUIMenu_Subkey::default_instance_ = new CCSUsrMsg_VGUIMenu_Subkey();
  1800. CCSUsrMsg_Geiger::default_instance_ = new CCSUsrMsg_Geiger();
  1801. CCSUsrMsg_Train::default_instance_ = new CCSUsrMsg_Train();
  1802. CCSUsrMsg_HudText::default_instance_ = new CCSUsrMsg_HudText();
  1803. CCSUsrMsg_SayText::default_instance_ = new CCSUsrMsg_SayText();
  1804. CCSUsrMsg_SayText2::default_instance_ = new CCSUsrMsg_SayText2();
  1805. CCSUsrMsg_TextMsg::default_instance_ = new CCSUsrMsg_TextMsg();
  1806. CCSUsrMsg_HudMsg::default_instance_ = new CCSUsrMsg_HudMsg();
  1807. CCSUsrMsg_Shake::default_instance_ = new CCSUsrMsg_Shake();
  1808. CCSUsrMsg_Fade::default_instance_ = new CCSUsrMsg_Fade();
  1809. CCSUsrMsg_Rumble::default_instance_ = new CCSUsrMsg_Rumble();
  1810. CCSUsrMsg_CloseCaption::default_instance_ = new CCSUsrMsg_CloseCaption();
  1811. CCSUsrMsg_CloseCaptionDirect::default_instance_ = new CCSUsrMsg_CloseCaptionDirect();
  1812. CCSUsrMsg_SendAudio::default_instance_ = new CCSUsrMsg_SendAudio();
  1813. CCSUsrMsg_RawAudio::default_instance_ = new CCSUsrMsg_RawAudio();
  1814. CCSUsrMsg_VoiceMask::default_instance_ = new CCSUsrMsg_VoiceMask();
  1815. CCSUsrMsg_VoiceMask_PlayerMask::default_instance_ = new CCSUsrMsg_VoiceMask_PlayerMask();
  1816. CCSUsrMsg_Damage::default_instance_ = new CCSUsrMsg_Damage();
  1817. CCSUsrMsg_RadioText::default_instance_ = new CCSUsrMsg_RadioText();
  1818. CCSUsrMsg_HintText::default_instance_ = new CCSUsrMsg_HintText();
  1819. CCSUsrMsg_KeyHintText::default_instance_ = new CCSUsrMsg_KeyHintText();
  1820. CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance_ = new CCSUsrMsg_ProcessSpottedEntityUpdate();
  1821. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance_ = new CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate();
  1822. CCSUsrMsg_SendPlayerItemDrops::default_instance_ = new CCSUsrMsg_SendPlayerItemDrops();
  1823. CCSUsrMsg_SendPlayerItemFound::default_instance_ = new CCSUsrMsg_SendPlayerItemFound();
  1824. CCSUsrMsg_ReloadEffect::default_instance_ = new CCSUsrMsg_ReloadEffect();
  1825. CCSUsrMsg_AdjustMoney::default_instance_ = new CCSUsrMsg_AdjustMoney();
  1826. CCSUsrMsg_ReportHit::default_instance_ = new CCSUsrMsg_ReportHit();
  1827. CCSUsrMsg_KillCam::default_instance_ = new CCSUsrMsg_KillCam();
  1828. CCSUsrMsg_DesiredTimescale::default_instance_ = new CCSUsrMsg_DesiredTimescale();
  1829. CCSUsrMsg_CurrentTimescale::default_instance_ = new CCSUsrMsg_CurrentTimescale();
  1830. CCSUsrMsg_AchievementEvent::default_instance_ = new CCSUsrMsg_AchievementEvent();
  1831. CCSUsrMsg_MatchEndConditions::default_instance_ = new CCSUsrMsg_MatchEndConditions();
  1832. CCSUsrMsg_PlayerStatsUpdate::default_instance_ = new CCSUsrMsg_PlayerStatsUpdate();
  1833. CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance_ = new CCSUsrMsg_PlayerStatsUpdate_Stat();
  1834. CCSUsrMsg_DisplayInventory::default_instance_ = new CCSUsrMsg_DisplayInventory();
  1835. CCSUsrMsg_QuestProgress::default_instance_ = new CCSUsrMsg_QuestProgress();
  1836. CCSUsrMsg_ScoreLeaderboardData::default_instance_ = new CCSUsrMsg_ScoreLeaderboardData();
  1837. CCSUsrMsg_XRankGet::default_instance_ = new CCSUsrMsg_XRankGet();
  1838. CCSUsrMsg_XRankUpd::default_instance_ = new CCSUsrMsg_XRankUpd();
  1839. CCSUsrMsg_CallVoteFailed::default_instance_ = new CCSUsrMsg_CallVoteFailed();
  1840. CCSUsrMsg_VoteStart::default_instance_ = new CCSUsrMsg_VoteStart();
  1841. CCSUsrMsg_VotePass::default_instance_ = new CCSUsrMsg_VotePass();
  1842. CCSUsrMsg_VoteFailed::default_instance_ = new CCSUsrMsg_VoteFailed();
  1843. CCSUsrMsg_VoteSetup::default_instance_ = new CCSUsrMsg_VoteSetup();
  1844. CCSUsrMsg_SendLastKillerDamageToClient::default_instance_ = new CCSUsrMsg_SendLastKillerDamageToClient();
  1845. CCSUsrMsg_ServerRankUpdate::default_instance_ = new CCSUsrMsg_ServerRankUpdate();
  1846. CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance_ = new CCSUsrMsg_ServerRankUpdate_RankUpdate();
  1847. CCSUsrMsg_XpUpdate::default_instance_ = new CCSUsrMsg_XpUpdate();
  1848. CCSUsrMsg_ItemPickup::default_instance_ = new CCSUsrMsg_ItemPickup();
  1849. CCSUsrMsg_ShowMenu::default_instance_ = new CCSUsrMsg_ShowMenu();
  1850. CCSUsrMsg_BarTime::default_instance_ = new CCSUsrMsg_BarTime();
  1851. CCSUsrMsg_AmmoDenied::default_instance_ = new CCSUsrMsg_AmmoDenied();
  1852. CCSUsrMsg_MarkAchievement::default_instance_ = new CCSUsrMsg_MarkAchievement();
  1853. CCSUsrMsg_MatchStatsUpdate::default_instance_ = new CCSUsrMsg_MatchStatsUpdate();
  1854. CCSUsrMsg_ItemDrop::default_instance_ = new CCSUsrMsg_ItemDrop();
  1855. CCSUsrMsg_GlowPropTurnOff::default_instance_ = new CCSUsrMsg_GlowPropTurnOff();
  1856. CCSUsrMsg_RoundBackupFilenames::default_instance_ = new CCSUsrMsg_RoundBackupFilenames();
  1857. CCSUsrMsg_ResetHud::default_instance_ = new CCSUsrMsg_ResetHud();
  1858. CCSUsrMsg_GameTitle::default_instance_ = new CCSUsrMsg_GameTitle();
  1859. CCSUsrMsg_RequestState::default_instance_ = new CCSUsrMsg_RequestState();
  1860. CCSUsrMsg_StopSpectatorMode::default_instance_ = new CCSUsrMsg_StopSpectatorMode();
  1861. CCSUsrMsg_DisconnectToLobby::default_instance_ = new CCSUsrMsg_DisconnectToLobby();
  1862. CCSUsrMsg_WarmupHasEnded::default_instance_ = new CCSUsrMsg_WarmupHasEnded();
  1863. CCSUsrMsg_ClientInfo::default_instance_ = new CCSUsrMsg_ClientInfo();
  1864. CCSUsrMsg_ServerRankRevealAll::default_instance_ = new CCSUsrMsg_ServerRankRevealAll();
  1865. CCSUsrMsg_VGUIMenu::default_instance_->InitAsDefaultInstance();
  1866. CCSUsrMsg_VGUIMenu_Subkey::default_instance_->InitAsDefaultInstance();
  1867. CCSUsrMsg_Geiger::default_instance_->InitAsDefaultInstance();
  1868. CCSUsrMsg_Train::default_instance_->InitAsDefaultInstance();
  1869. CCSUsrMsg_HudText::default_instance_->InitAsDefaultInstance();
  1870. CCSUsrMsg_SayText::default_instance_->InitAsDefaultInstance();
  1871. CCSUsrMsg_SayText2::default_instance_->InitAsDefaultInstance();
  1872. CCSUsrMsg_TextMsg::default_instance_->InitAsDefaultInstance();
  1873. CCSUsrMsg_HudMsg::default_instance_->InitAsDefaultInstance();
  1874. CCSUsrMsg_Shake::default_instance_->InitAsDefaultInstance();
  1875. CCSUsrMsg_Fade::default_instance_->InitAsDefaultInstance();
  1876. CCSUsrMsg_Rumble::default_instance_->InitAsDefaultInstance();
  1877. CCSUsrMsg_CloseCaption::default_instance_->InitAsDefaultInstance();
  1878. CCSUsrMsg_CloseCaptionDirect::default_instance_->InitAsDefaultInstance();
  1879. CCSUsrMsg_SendAudio::default_instance_->InitAsDefaultInstance();
  1880. CCSUsrMsg_RawAudio::default_instance_->InitAsDefaultInstance();
  1881. CCSUsrMsg_VoiceMask::default_instance_->InitAsDefaultInstance();
  1882. CCSUsrMsg_VoiceMask_PlayerMask::default_instance_->InitAsDefaultInstance();
  1883. CCSUsrMsg_Damage::default_instance_->InitAsDefaultInstance();
  1884. CCSUsrMsg_RadioText::default_instance_->InitAsDefaultInstance();
  1885. CCSUsrMsg_HintText::default_instance_->InitAsDefaultInstance();
  1886. CCSUsrMsg_KeyHintText::default_instance_->InitAsDefaultInstance();
  1887. CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance_->InitAsDefaultInstance();
  1888. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance_->InitAsDefaultInstance();
  1889. CCSUsrMsg_SendPlayerItemDrops::default_instance_->InitAsDefaultInstance();
  1890. CCSUsrMsg_SendPlayerItemFound::default_instance_->InitAsDefaultInstance();
  1891. CCSUsrMsg_ReloadEffect::default_instance_->InitAsDefaultInstance();
  1892. CCSUsrMsg_AdjustMoney::default_instance_->InitAsDefaultInstance();
  1893. CCSUsrMsg_ReportHit::default_instance_->InitAsDefaultInstance();
  1894. CCSUsrMsg_KillCam::default_instance_->InitAsDefaultInstance();
  1895. CCSUsrMsg_DesiredTimescale::default_instance_->InitAsDefaultInstance();
  1896. CCSUsrMsg_CurrentTimescale::default_instance_->InitAsDefaultInstance();
  1897. CCSUsrMsg_AchievementEvent::default_instance_->InitAsDefaultInstance();
  1898. CCSUsrMsg_MatchEndConditions::default_instance_->InitAsDefaultInstance();
  1899. CCSUsrMsg_PlayerStatsUpdate::default_instance_->InitAsDefaultInstance();
  1900. CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance_->InitAsDefaultInstance();
  1901. CCSUsrMsg_DisplayInventory::default_instance_->InitAsDefaultInstance();
  1902. CCSUsrMsg_QuestProgress::default_instance_->InitAsDefaultInstance();
  1903. CCSUsrMsg_ScoreLeaderboardData::default_instance_->InitAsDefaultInstance();
  1904. CCSUsrMsg_XRankGet::default_instance_->InitAsDefaultInstance();
  1905. CCSUsrMsg_XRankUpd::default_instance_->InitAsDefaultInstance();
  1906. CCSUsrMsg_CallVoteFailed::default_instance_->InitAsDefaultInstance();
  1907. CCSUsrMsg_VoteStart::default_instance_->InitAsDefaultInstance();
  1908. CCSUsrMsg_VotePass::default_instance_->InitAsDefaultInstance();
  1909. CCSUsrMsg_VoteFailed::default_instance_->InitAsDefaultInstance();
  1910. CCSUsrMsg_VoteSetup::default_instance_->InitAsDefaultInstance();
  1911. CCSUsrMsg_SendLastKillerDamageToClient::default_instance_->InitAsDefaultInstance();
  1912. CCSUsrMsg_ServerRankUpdate::default_instance_->InitAsDefaultInstance();
  1913. CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance_->InitAsDefaultInstance();
  1914. CCSUsrMsg_XpUpdate::default_instance_->InitAsDefaultInstance();
  1915. CCSUsrMsg_ItemPickup::default_instance_->InitAsDefaultInstance();
  1916. CCSUsrMsg_ShowMenu::default_instance_->InitAsDefaultInstance();
  1917. CCSUsrMsg_BarTime::default_instance_->InitAsDefaultInstance();
  1918. CCSUsrMsg_AmmoDenied::default_instance_->InitAsDefaultInstance();
  1919. CCSUsrMsg_MarkAchievement::default_instance_->InitAsDefaultInstance();
  1920. CCSUsrMsg_MatchStatsUpdate::default_instance_->InitAsDefaultInstance();
  1921. CCSUsrMsg_ItemDrop::default_instance_->InitAsDefaultInstance();
  1922. CCSUsrMsg_GlowPropTurnOff::default_instance_->InitAsDefaultInstance();
  1923. CCSUsrMsg_RoundBackupFilenames::default_instance_->InitAsDefaultInstance();
  1924. CCSUsrMsg_ResetHud::default_instance_->InitAsDefaultInstance();
  1925. CCSUsrMsg_GameTitle::default_instance_->InitAsDefaultInstance();
  1926. CCSUsrMsg_RequestState::default_instance_->InitAsDefaultInstance();
  1927. CCSUsrMsg_StopSpectatorMode::default_instance_->InitAsDefaultInstance();
  1928. CCSUsrMsg_DisconnectToLobby::default_instance_->InitAsDefaultInstance();
  1929. CCSUsrMsg_WarmupHasEnded::default_instance_->InitAsDefaultInstance();
  1930. CCSUsrMsg_ClientInfo::default_instance_->InitAsDefaultInstance();
  1931. CCSUsrMsg_ServerRankRevealAll::default_instance_->InitAsDefaultInstance();
  1932. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_cstrike15_5fusermessages_2eproto);
  1933. }
  1934. // Force AddDescriptors() to be called at static initialization time.
  1935. struct StaticDescriptorInitializer_cstrike15_5fusermessages_2eproto {
  1936. StaticDescriptorInitializer_cstrike15_5fusermessages_2eproto() {
  1937. protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  1938. }
  1939. } static_descriptor_initializer_cstrike15_5fusermessages_2eproto_;
  1940. const ::google::protobuf::EnumDescriptor* ECstrike15UserMessages_descriptor() {
  1941. protobuf_AssignDescriptorsOnce();
  1942. return ECstrike15UserMessages_descriptor_;
  1943. }
  1944. bool ECstrike15UserMessages_IsValid(int value) {
  1945. switch(value) {
  1946. case 1:
  1947. case 2:
  1948. case 3:
  1949. case 4:
  1950. case 5:
  1951. case 6:
  1952. case 7:
  1953. case 8:
  1954. case 9:
  1955. case 10:
  1956. case 12:
  1957. case 13:
  1958. case 14:
  1959. case 15:
  1960. case 16:
  1961. case 17:
  1962. case 18:
  1963. case 19:
  1964. case 20:
  1965. case 21:
  1966. case 22:
  1967. case 23:
  1968. case 24:
  1969. case 25:
  1970. case 26:
  1971. case 27:
  1972. case 28:
  1973. case 29:
  1974. case 30:
  1975. case 31:
  1976. case 32:
  1977. case 33:
  1978. case 34:
  1979. case 35:
  1980. case 36:
  1981. case 37:
  1982. case 38:
  1983. case 39:
  1984. case 40:
  1985. case 41:
  1986. case 45:
  1987. case 46:
  1988. case 47:
  1989. case 48:
  1990. case 49:
  1991. case 50:
  1992. case 51:
  1993. case 52:
  1994. case 53:
  1995. case 54:
  1996. case 55:
  1997. case 56:
  1998. case 57:
  1999. case 58:
  2000. case 59:
  2001. case 60:
  2002. case 61:
  2003. case 62:
  2004. case 63:
  2005. case 64:
  2006. case 65:
  2007. case 66:
  2008. case 67:
  2009. return true;
  2010. default:
  2011. return false;
  2012. }
  2013. }
  2014. // ===================================================================
  2015. #ifndef _MSC_VER
  2016. const int CCSUsrMsg_VGUIMenu_Subkey::kNameFieldNumber;
  2017. const int CCSUsrMsg_VGUIMenu_Subkey::kStrFieldNumber;
  2018. #endif // !_MSC_VER
  2019. CCSUsrMsg_VGUIMenu_Subkey::CCSUsrMsg_VGUIMenu_Subkey()
  2020. : ::google::protobuf::Message() {
  2021. SharedCtor();
  2022. }
  2023. void CCSUsrMsg_VGUIMenu_Subkey::InitAsDefaultInstance() {
  2024. }
  2025. CCSUsrMsg_VGUIMenu_Subkey::CCSUsrMsg_VGUIMenu_Subkey(const CCSUsrMsg_VGUIMenu_Subkey& from)
  2026. : ::google::protobuf::Message() {
  2027. SharedCtor();
  2028. MergeFrom(from);
  2029. }
  2030. void CCSUsrMsg_VGUIMenu_Subkey::SharedCtor() {
  2031. _cached_size_ = 0;
  2032. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2033. str_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2034. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2035. }
  2036. CCSUsrMsg_VGUIMenu_Subkey::~CCSUsrMsg_VGUIMenu_Subkey() {
  2037. SharedDtor();
  2038. }
  2039. void CCSUsrMsg_VGUIMenu_Subkey::SharedDtor() {
  2040. if (name_ != &::google::protobuf::internal::kEmptyString) {
  2041. delete name_;
  2042. }
  2043. if (str_ != &::google::protobuf::internal::kEmptyString) {
  2044. delete str_;
  2045. }
  2046. if (this != default_instance_) {
  2047. }
  2048. }
  2049. void CCSUsrMsg_VGUIMenu_Subkey::SetCachedSize(int size) const {
  2050. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2051. _cached_size_ = size;
  2052. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2053. }
  2054. const ::google::protobuf::Descriptor* CCSUsrMsg_VGUIMenu_Subkey::descriptor() {
  2055. protobuf_AssignDescriptorsOnce();
  2056. return CCSUsrMsg_VGUIMenu_Subkey_descriptor_;
  2057. }
  2058. const CCSUsrMsg_VGUIMenu_Subkey& CCSUsrMsg_VGUIMenu_Subkey::default_instance() {
  2059. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  2060. return *default_instance_;
  2061. }
  2062. CCSUsrMsg_VGUIMenu_Subkey* CCSUsrMsg_VGUIMenu_Subkey::default_instance_ = NULL;
  2063. CCSUsrMsg_VGUIMenu_Subkey* CCSUsrMsg_VGUIMenu_Subkey::New() const {
  2064. return new CCSUsrMsg_VGUIMenu_Subkey;
  2065. }
  2066. void CCSUsrMsg_VGUIMenu_Subkey::Clear() {
  2067. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2068. if (has_name()) {
  2069. if (name_ != &::google::protobuf::internal::kEmptyString) {
  2070. name_->clear();
  2071. }
  2072. }
  2073. if (has_str()) {
  2074. if (str_ != &::google::protobuf::internal::kEmptyString) {
  2075. str_->clear();
  2076. }
  2077. }
  2078. }
  2079. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2080. mutable_unknown_fields()->Clear();
  2081. }
  2082. bool CCSUsrMsg_VGUIMenu_Subkey::MergePartialFromCodedStream(
  2083. ::google::protobuf::io::CodedInputStream* input) {
  2084. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2085. ::google::protobuf::uint32 tag;
  2086. while ((tag = input->ReadTag()) != 0) {
  2087. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2088. // optional string name = 1;
  2089. case 1: {
  2090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2092. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2093. input, this->mutable_name()));
  2094. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2095. this->name().data(), this->name().length(),
  2096. ::google::protobuf::internal::WireFormat::PARSE);
  2097. } else {
  2098. goto handle_uninterpreted;
  2099. }
  2100. if (input->ExpectTag(18)) goto parse_str;
  2101. break;
  2102. }
  2103. // optional string str = 2;
  2104. case 2: {
  2105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2107. parse_str:
  2108. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2109. input, this->mutable_str()));
  2110. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2111. this->str().data(), this->str().length(),
  2112. ::google::protobuf::internal::WireFormat::PARSE);
  2113. } else {
  2114. goto handle_uninterpreted;
  2115. }
  2116. if (input->ExpectAtEnd()) return true;
  2117. break;
  2118. }
  2119. default: {
  2120. handle_uninterpreted:
  2121. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2122. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2123. return true;
  2124. }
  2125. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2126. input, tag, mutable_unknown_fields()));
  2127. break;
  2128. }
  2129. }
  2130. }
  2131. return true;
  2132. #undef DO_
  2133. }
  2134. void CCSUsrMsg_VGUIMenu_Subkey::SerializeWithCachedSizes(
  2135. ::google::protobuf::io::CodedOutputStream* output) const {
  2136. // optional string name = 1;
  2137. if (has_name()) {
  2138. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2139. this->name().data(), this->name().length(),
  2140. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2141. ::google::protobuf::internal::WireFormatLite::WriteString(
  2142. 1, this->name(), output);
  2143. }
  2144. // optional string str = 2;
  2145. if (has_str()) {
  2146. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2147. this->str().data(), this->str().length(),
  2148. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2149. ::google::protobuf::internal::WireFormatLite::WriteString(
  2150. 2, this->str(), output);
  2151. }
  2152. if (!unknown_fields().empty()) {
  2153. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2154. unknown_fields(), output);
  2155. }
  2156. }
  2157. ::google::protobuf::uint8* CCSUsrMsg_VGUIMenu_Subkey::SerializeWithCachedSizesToArray(
  2158. ::google::protobuf::uint8* target) const {
  2159. // optional string name = 1;
  2160. if (has_name()) {
  2161. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2162. this->name().data(), this->name().length(),
  2163. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2164. target =
  2165. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2166. 1, this->name(), target);
  2167. }
  2168. // optional string str = 2;
  2169. if (has_str()) {
  2170. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2171. this->str().data(), this->str().length(),
  2172. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2173. target =
  2174. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2175. 2, this->str(), target);
  2176. }
  2177. if (!unknown_fields().empty()) {
  2178. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2179. unknown_fields(), target);
  2180. }
  2181. return target;
  2182. }
  2183. int CCSUsrMsg_VGUIMenu_Subkey::ByteSize() const {
  2184. int total_size = 0;
  2185. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2186. // optional string name = 1;
  2187. if (has_name()) {
  2188. total_size += 1 +
  2189. ::google::protobuf::internal::WireFormatLite::StringSize(
  2190. this->name());
  2191. }
  2192. // optional string str = 2;
  2193. if (has_str()) {
  2194. total_size += 1 +
  2195. ::google::protobuf::internal::WireFormatLite::StringSize(
  2196. this->str());
  2197. }
  2198. }
  2199. if (!unknown_fields().empty()) {
  2200. total_size +=
  2201. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2202. unknown_fields());
  2203. }
  2204. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2205. _cached_size_ = total_size;
  2206. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2207. return total_size;
  2208. }
  2209. void CCSUsrMsg_VGUIMenu_Subkey::MergeFrom(const ::google::protobuf::Message& from) {
  2210. GOOGLE_CHECK_NE(&from, this);
  2211. const CCSUsrMsg_VGUIMenu_Subkey* source =
  2212. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VGUIMenu_Subkey*>(
  2213. &from);
  2214. if (source == NULL) {
  2215. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2216. } else {
  2217. MergeFrom(*source);
  2218. }
  2219. }
  2220. void CCSUsrMsg_VGUIMenu_Subkey::MergeFrom(const CCSUsrMsg_VGUIMenu_Subkey& from) {
  2221. GOOGLE_CHECK_NE(&from, this);
  2222. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2223. if (from.has_name()) {
  2224. set_name(from.name());
  2225. }
  2226. if (from.has_str()) {
  2227. set_str(from.str());
  2228. }
  2229. }
  2230. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2231. }
  2232. void CCSUsrMsg_VGUIMenu_Subkey::CopyFrom(const ::google::protobuf::Message& from) {
  2233. if (&from == this) return;
  2234. Clear();
  2235. MergeFrom(from);
  2236. }
  2237. void CCSUsrMsg_VGUIMenu_Subkey::CopyFrom(const CCSUsrMsg_VGUIMenu_Subkey& from) {
  2238. if (&from == this) return;
  2239. Clear();
  2240. MergeFrom(from);
  2241. }
  2242. bool CCSUsrMsg_VGUIMenu_Subkey::IsInitialized() const {
  2243. return true;
  2244. }
  2245. void CCSUsrMsg_VGUIMenu_Subkey::Swap(CCSUsrMsg_VGUIMenu_Subkey* other) {
  2246. if (other != this) {
  2247. std::swap(name_, other->name_);
  2248. std::swap(str_, other->str_);
  2249. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2250. _unknown_fields_.Swap(&other->_unknown_fields_);
  2251. std::swap(_cached_size_, other->_cached_size_);
  2252. }
  2253. }
  2254. ::google::protobuf::Metadata CCSUsrMsg_VGUIMenu_Subkey::GetMetadata() const {
  2255. protobuf_AssignDescriptorsOnce();
  2256. ::google::protobuf::Metadata metadata;
  2257. metadata.descriptor = CCSUsrMsg_VGUIMenu_Subkey_descriptor_;
  2258. metadata.reflection = CCSUsrMsg_VGUIMenu_Subkey_reflection_;
  2259. return metadata;
  2260. }
  2261. // -------------------------------------------------------------------
  2262. #ifndef _MSC_VER
  2263. const int CCSUsrMsg_VGUIMenu::kNameFieldNumber;
  2264. const int CCSUsrMsg_VGUIMenu::kShowFieldNumber;
  2265. const int CCSUsrMsg_VGUIMenu::kSubkeysFieldNumber;
  2266. #endif // !_MSC_VER
  2267. CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu()
  2268. : ::google::protobuf::Message() {
  2269. SharedCtor();
  2270. }
  2271. void CCSUsrMsg_VGUIMenu::InitAsDefaultInstance() {
  2272. }
  2273. CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu(const CCSUsrMsg_VGUIMenu& from)
  2274. : ::google::protobuf::Message() {
  2275. SharedCtor();
  2276. MergeFrom(from);
  2277. }
  2278. void CCSUsrMsg_VGUIMenu::SharedCtor() {
  2279. _cached_size_ = 0;
  2280. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2281. show_ = false;
  2282. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2283. }
  2284. CCSUsrMsg_VGUIMenu::~CCSUsrMsg_VGUIMenu() {
  2285. SharedDtor();
  2286. }
  2287. void CCSUsrMsg_VGUIMenu::SharedDtor() {
  2288. if (name_ != &::google::protobuf::internal::kEmptyString) {
  2289. delete name_;
  2290. }
  2291. if (this != default_instance_) {
  2292. }
  2293. }
  2294. void CCSUsrMsg_VGUIMenu::SetCachedSize(int size) const {
  2295. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2296. _cached_size_ = size;
  2297. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2298. }
  2299. const ::google::protobuf::Descriptor* CCSUsrMsg_VGUIMenu::descriptor() {
  2300. protobuf_AssignDescriptorsOnce();
  2301. return CCSUsrMsg_VGUIMenu_descriptor_;
  2302. }
  2303. const CCSUsrMsg_VGUIMenu& CCSUsrMsg_VGUIMenu::default_instance() {
  2304. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  2305. return *default_instance_;
  2306. }
  2307. CCSUsrMsg_VGUIMenu* CCSUsrMsg_VGUIMenu::default_instance_ = NULL;
  2308. CCSUsrMsg_VGUIMenu* CCSUsrMsg_VGUIMenu::New() const {
  2309. return new CCSUsrMsg_VGUIMenu;
  2310. }
  2311. void CCSUsrMsg_VGUIMenu::Clear() {
  2312. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2313. if (has_name()) {
  2314. if (name_ != &::google::protobuf::internal::kEmptyString) {
  2315. name_->clear();
  2316. }
  2317. }
  2318. show_ = false;
  2319. }
  2320. subkeys_.Clear();
  2321. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2322. mutable_unknown_fields()->Clear();
  2323. }
  2324. bool CCSUsrMsg_VGUIMenu::MergePartialFromCodedStream(
  2325. ::google::protobuf::io::CodedInputStream* input) {
  2326. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2327. ::google::protobuf::uint32 tag;
  2328. while ((tag = input->ReadTag()) != 0) {
  2329. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2330. // optional string name = 1;
  2331. case 1: {
  2332. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2333. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2334. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2335. input, this->mutable_name()));
  2336. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2337. this->name().data(), this->name().length(),
  2338. ::google::protobuf::internal::WireFormat::PARSE);
  2339. } else {
  2340. goto handle_uninterpreted;
  2341. }
  2342. if (input->ExpectTag(16)) goto parse_show;
  2343. break;
  2344. }
  2345. // optional bool show = 2;
  2346. case 2: {
  2347. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2348. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2349. parse_show:
  2350. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2351. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  2352. input, &show_)));
  2353. set_has_show();
  2354. } else {
  2355. goto handle_uninterpreted;
  2356. }
  2357. if (input->ExpectTag(26)) goto parse_subkeys;
  2358. break;
  2359. }
  2360. // repeated .CCSUsrMsg_VGUIMenu.Subkey subkeys = 3;
  2361. case 3: {
  2362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2364. parse_subkeys:
  2365. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2366. input, add_subkeys()));
  2367. } else {
  2368. goto handle_uninterpreted;
  2369. }
  2370. if (input->ExpectTag(26)) goto parse_subkeys;
  2371. if (input->ExpectAtEnd()) return true;
  2372. break;
  2373. }
  2374. default: {
  2375. handle_uninterpreted:
  2376. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2377. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2378. return true;
  2379. }
  2380. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2381. input, tag, mutable_unknown_fields()));
  2382. break;
  2383. }
  2384. }
  2385. }
  2386. return true;
  2387. #undef DO_
  2388. }
  2389. void CCSUsrMsg_VGUIMenu::SerializeWithCachedSizes(
  2390. ::google::protobuf::io::CodedOutputStream* output) const {
  2391. // optional string name = 1;
  2392. if (has_name()) {
  2393. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2394. this->name().data(), this->name().length(),
  2395. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2396. ::google::protobuf::internal::WireFormatLite::WriteString(
  2397. 1, this->name(), output);
  2398. }
  2399. // optional bool show = 2;
  2400. if (has_show()) {
  2401. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->show(), output);
  2402. }
  2403. // repeated .CCSUsrMsg_VGUIMenu.Subkey subkeys = 3;
  2404. for (int i = 0; i < this->subkeys_size(); i++) {
  2405. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2406. 3, this->subkeys(i), output);
  2407. }
  2408. if (!unknown_fields().empty()) {
  2409. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2410. unknown_fields(), output);
  2411. }
  2412. }
  2413. ::google::protobuf::uint8* CCSUsrMsg_VGUIMenu::SerializeWithCachedSizesToArray(
  2414. ::google::protobuf::uint8* target) const {
  2415. // optional string name = 1;
  2416. if (has_name()) {
  2417. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2418. this->name().data(), this->name().length(),
  2419. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2420. target =
  2421. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2422. 1, this->name(), target);
  2423. }
  2424. // optional bool show = 2;
  2425. if (has_show()) {
  2426. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->show(), target);
  2427. }
  2428. // repeated .CCSUsrMsg_VGUIMenu.Subkey subkeys = 3;
  2429. for (int i = 0; i < this->subkeys_size(); i++) {
  2430. target = ::google::protobuf::internal::WireFormatLite::
  2431. WriteMessageNoVirtualToArray(
  2432. 3, this->subkeys(i), target);
  2433. }
  2434. if (!unknown_fields().empty()) {
  2435. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2436. unknown_fields(), target);
  2437. }
  2438. return target;
  2439. }
  2440. int CCSUsrMsg_VGUIMenu::ByteSize() const {
  2441. int total_size = 0;
  2442. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2443. // optional string name = 1;
  2444. if (has_name()) {
  2445. total_size += 1 +
  2446. ::google::protobuf::internal::WireFormatLite::StringSize(
  2447. this->name());
  2448. }
  2449. // optional bool show = 2;
  2450. if (has_show()) {
  2451. total_size += 1 + 1;
  2452. }
  2453. }
  2454. // repeated .CCSUsrMsg_VGUIMenu.Subkey subkeys = 3;
  2455. total_size += 1 * this->subkeys_size();
  2456. for (int i = 0; i < this->subkeys_size(); i++) {
  2457. total_size +=
  2458. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2459. this->subkeys(i));
  2460. }
  2461. if (!unknown_fields().empty()) {
  2462. total_size +=
  2463. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2464. unknown_fields());
  2465. }
  2466. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2467. _cached_size_ = total_size;
  2468. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2469. return total_size;
  2470. }
  2471. void CCSUsrMsg_VGUIMenu::MergeFrom(const ::google::protobuf::Message& from) {
  2472. GOOGLE_CHECK_NE(&from, this);
  2473. const CCSUsrMsg_VGUIMenu* source =
  2474. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VGUIMenu*>(
  2475. &from);
  2476. if (source == NULL) {
  2477. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2478. } else {
  2479. MergeFrom(*source);
  2480. }
  2481. }
  2482. void CCSUsrMsg_VGUIMenu::MergeFrom(const CCSUsrMsg_VGUIMenu& from) {
  2483. GOOGLE_CHECK_NE(&from, this);
  2484. subkeys_.MergeFrom(from.subkeys_);
  2485. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2486. if (from.has_name()) {
  2487. set_name(from.name());
  2488. }
  2489. if (from.has_show()) {
  2490. set_show(from.show());
  2491. }
  2492. }
  2493. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2494. }
  2495. void CCSUsrMsg_VGUIMenu::CopyFrom(const ::google::protobuf::Message& from) {
  2496. if (&from == this) return;
  2497. Clear();
  2498. MergeFrom(from);
  2499. }
  2500. void CCSUsrMsg_VGUIMenu::CopyFrom(const CCSUsrMsg_VGUIMenu& from) {
  2501. if (&from == this) return;
  2502. Clear();
  2503. MergeFrom(from);
  2504. }
  2505. bool CCSUsrMsg_VGUIMenu::IsInitialized() const {
  2506. return true;
  2507. }
  2508. void CCSUsrMsg_VGUIMenu::Swap(CCSUsrMsg_VGUIMenu* other) {
  2509. if (other != this) {
  2510. std::swap(name_, other->name_);
  2511. std::swap(show_, other->show_);
  2512. subkeys_.Swap(&other->subkeys_);
  2513. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2514. _unknown_fields_.Swap(&other->_unknown_fields_);
  2515. std::swap(_cached_size_, other->_cached_size_);
  2516. }
  2517. }
  2518. ::google::protobuf::Metadata CCSUsrMsg_VGUIMenu::GetMetadata() const {
  2519. protobuf_AssignDescriptorsOnce();
  2520. ::google::protobuf::Metadata metadata;
  2521. metadata.descriptor = CCSUsrMsg_VGUIMenu_descriptor_;
  2522. metadata.reflection = CCSUsrMsg_VGUIMenu_reflection_;
  2523. return metadata;
  2524. }
  2525. // ===================================================================
  2526. #ifndef _MSC_VER
  2527. const int CCSUsrMsg_Geiger::kRangeFieldNumber;
  2528. #endif // !_MSC_VER
  2529. CCSUsrMsg_Geiger::CCSUsrMsg_Geiger()
  2530. : ::google::protobuf::Message() {
  2531. SharedCtor();
  2532. }
  2533. void CCSUsrMsg_Geiger::InitAsDefaultInstance() {
  2534. }
  2535. CCSUsrMsg_Geiger::CCSUsrMsg_Geiger(const CCSUsrMsg_Geiger& from)
  2536. : ::google::protobuf::Message() {
  2537. SharedCtor();
  2538. MergeFrom(from);
  2539. }
  2540. void CCSUsrMsg_Geiger::SharedCtor() {
  2541. _cached_size_ = 0;
  2542. range_ = 0;
  2543. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2544. }
  2545. CCSUsrMsg_Geiger::~CCSUsrMsg_Geiger() {
  2546. SharedDtor();
  2547. }
  2548. void CCSUsrMsg_Geiger::SharedDtor() {
  2549. if (this != default_instance_) {
  2550. }
  2551. }
  2552. void CCSUsrMsg_Geiger::SetCachedSize(int size) const {
  2553. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2554. _cached_size_ = size;
  2555. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2556. }
  2557. const ::google::protobuf::Descriptor* CCSUsrMsg_Geiger::descriptor() {
  2558. protobuf_AssignDescriptorsOnce();
  2559. return CCSUsrMsg_Geiger_descriptor_;
  2560. }
  2561. const CCSUsrMsg_Geiger& CCSUsrMsg_Geiger::default_instance() {
  2562. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  2563. return *default_instance_;
  2564. }
  2565. CCSUsrMsg_Geiger* CCSUsrMsg_Geiger::default_instance_ = NULL;
  2566. CCSUsrMsg_Geiger* CCSUsrMsg_Geiger::New() const {
  2567. return new CCSUsrMsg_Geiger;
  2568. }
  2569. void CCSUsrMsg_Geiger::Clear() {
  2570. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2571. range_ = 0;
  2572. }
  2573. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2574. mutable_unknown_fields()->Clear();
  2575. }
  2576. bool CCSUsrMsg_Geiger::MergePartialFromCodedStream(
  2577. ::google::protobuf::io::CodedInputStream* input) {
  2578. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2579. ::google::protobuf::uint32 tag;
  2580. while ((tag = input->ReadTag()) != 0) {
  2581. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2582. // optional int32 range = 1;
  2583. case 1: {
  2584. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2585. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2586. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2587. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2588. input, &range_)));
  2589. set_has_range();
  2590. } else {
  2591. goto handle_uninterpreted;
  2592. }
  2593. if (input->ExpectAtEnd()) return true;
  2594. break;
  2595. }
  2596. default: {
  2597. handle_uninterpreted:
  2598. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2599. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2600. return true;
  2601. }
  2602. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2603. input, tag, mutable_unknown_fields()));
  2604. break;
  2605. }
  2606. }
  2607. }
  2608. return true;
  2609. #undef DO_
  2610. }
  2611. void CCSUsrMsg_Geiger::SerializeWithCachedSizes(
  2612. ::google::protobuf::io::CodedOutputStream* output) const {
  2613. // optional int32 range = 1;
  2614. if (has_range()) {
  2615. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->range(), output);
  2616. }
  2617. if (!unknown_fields().empty()) {
  2618. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2619. unknown_fields(), output);
  2620. }
  2621. }
  2622. ::google::protobuf::uint8* CCSUsrMsg_Geiger::SerializeWithCachedSizesToArray(
  2623. ::google::protobuf::uint8* target) const {
  2624. // optional int32 range = 1;
  2625. if (has_range()) {
  2626. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->range(), target);
  2627. }
  2628. if (!unknown_fields().empty()) {
  2629. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2630. unknown_fields(), target);
  2631. }
  2632. return target;
  2633. }
  2634. int CCSUsrMsg_Geiger::ByteSize() const {
  2635. int total_size = 0;
  2636. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2637. // optional int32 range = 1;
  2638. if (has_range()) {
  2639. total_size += 1 +
  2640. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2641. this->range());
  2642. }
  2643. }
  2644. if (!unknown_fields().empty()) {
  2645. total_size +=
  2646. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2647. unknown_fields());
  2648. }
  2649. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2650. _cached_size_ = total_size;
  2651. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2652. return total_size;
  2653. }
  2654. void CCSUsrMsg_Geiger::MergeFrom(const ::google::protobuf::Message& from) {
  2655. GOOGLE_CHECK_NE(&from, this);
  2656. const CCSUsrMsg_Geiger* source =
  2657. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_Geiger*>(
  2658. &from);
  2659. if (source == NULL) {
  2660. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2661. } else {
  2662. MergeFrom(*source);
  2663. }
  2664. }
  2665. void CCSUsrMsg_Geiger::MergeFrom(const CCSUsrMsg_Geiger& from) {
  2666. GOOGLE_CHECK_NE(&from, this);
  2667. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2668. if (from.has_range()) {
  2669. set_range(from.range());
  2670. }
  2671. }
  2672. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2673. }
  2674. void CCSUsrMsg_Geiger::CopyFrom(const ::google::protobuf::Message& from) {
  2675. if (&from == this) return;
  2676. Clear();
  2677. MergeFrom(from);
  2678. }
  2679. void CCSUsrMsg_Geiger::CopyFrom(const CCSUsrMsg_Geiger& from) {
  2680. if (&from == this) return;
  2681. Clear();
  2682. MergeFrom(from);
  2683. }
  2684. bool CCSUsrMsg_Geiger::IsInitialized() const {
  2685. return true;
  2686. }
  2687. void CCSUsrMsg_Geiger::Swap(CCSUsrMsg_Geiger* other) {
  2688. if (other != this) {
  2689. std::swap(range_, other->range_);
  2690. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2691. _unknown_fields_.Swap(&other->_unknown_fields_);
  2692. std::swap(_cached_size_, other->_cached_size_);
  2693. }
  2694. }
  2695. ::google::protobuf::Metadata CCSUsrMsg_Geiger::GetMetadata() const {
  2696. protobuf_AssignDescriptorsOnce();
  2697. ::google::protobuf::Metadata metadata;
  2698. metadata.descriptor = CCSUsrMsg_Geiger_descriptor_;
  2699. metadata.reflection = CCSUsrMsg_Geiger_reflection_;
  2700. return metadata;
  2701. }
  2702. // ===================================================================
  2703. #ifndef _MSC_VER
  2704. const int CCSUsrMsg_Train::kTrainFieldNumber;
  2705. #endif // !_MSC_VER
  2706. CCSUsrMsg_Train::CCSUsrMsg_Train()
  2707. : ::google::protobuf::Message() {
  2708. SharedCtor();
  2709. }
  2710. void CCSUsrMsg_Train::InitAsDefaultInstance() {
  2711. }
  2712. CCSUsrMsg_Train::CCSUsrMsg_Train(const CCSUsrMsg_Train& from)
  2713. : ::google::protobuf::Message() {
  2714. SharedCtor();
  2715. MergeFrom(from);
  2716. }
  2717. void CCSUsrMsg_Train::SharedCtor() {
  2718. _cached_size_ = 0;
  2719. train_ = 0;
  2720. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2721. }
  2722. CCSUsrMsg_Train::~CCSUsrMsg_Train() {
  2723. SharedDtor();
  2724. }
  2725. void CCSUsrMsg_Train::SharedDtor() {
  2726. if (this != default_instance_) {
  2727. }
  2728. }
  2729. void CCSUsrMsg_Train::SetCachedSize(int size) const {
  2730. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2731. _cached_size_ = size;
  2732. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2733. }
  2734. const ::google::protobuf::Descriptor* CCSUsrMsg_Train::descriptor() {
  2735. protobuf_AssignDescriptorsOnce();
  2736. return CCSUsrMsg_Train_descriptor_;
  2737. }
  2738. const CCSUsrMsg_Train& CCSUsrMsg_Train::default_instance() {
  2739. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  2740. return *default_instance_;
  2741. }
  2742. CCSUsrMsg_Train* CCSUsrMsg_Train::default_instance_ = NULL;
  2743. CCSUsrMsg_Train* CCSUsrMsg_Train::New() const {
  2744. return new CCSUsrMsg_Train;
  2745. }
  2746. void CCSUsrMsg_Train::Clear() {
  2747. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2748. train_ = 0;
  2749. }
  2750. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2751. mutable_unknown_fields()->Clear();
  2752. }
  2753. bool CCSUsrMsg_Train::MergePartialFromCodedStream(
  2754. ::google::protobuf::io::CodedInputStream* input) {
  2755. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2756. ::google::protobuf::uint32 tag;
  2757. while ((tag = input->ReadTag()) != 0) {
  2758. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2759. // optional int32 train = 1;
  2760. case 1: {
  2761. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2762. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2763. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2764. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2765. input, &train_)));
  2766. set_has_train();
  2767. } else {
  2768. goto handle_uninterpreted;
  2769. }
  2770. if (input->ExpectAtEnd()) return true;
  2771. break;
  2772. }
  2773. default: {
  2774. handle_uninterpreted:
  2775. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2776. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2777. return true;
  2778. }
  2779. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2780. input, tag, mutable_unknown_fields()));
  2781. break;
  2782. }
  2783. }
  2784. }
  2785. return true;
  2786. #undef DO_
  2787. }
  2788. void CCSUsrMsg_Train::SerializeWithCachedSizes(
  2789. ::google::protobuf::io::CodedOutputStream* output) const {
  2790. // optional int32 train = 1;
  2791. if (has_train()) {
  2792. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->train(), output);
  2793. }
  2794. if (!unknown_fields().empty()) {
  2795. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2796. unknown_fields(), output);
  2797. }
  2798. }
  2799. ::google::protobuf::uint8* CCSUsrMsg_Train::SerializeWithCachedSizesToArray(
  2800. ::google::protobuf::uint8* target) const {
  2801. // optional int32 train = 1;
  2802. if (has_train()) {
  2803. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->train(), target);
  2804. }
  2805. if (!unknown_fields().empty()) {
  2806. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2807. unknown_fields(), target);
  2808. }
  2809. return target;
  2810. }
  2811. int CCSUsrMsg_Train::ByteSize() const {
  2812. int total_size = 0;
  2813. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2814. // optional int32 train = 1;
  2815. if (has_train()) {
  2816. total_size += 1 +
  2817. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2818. this->train());
  2819. }
  2820. }
  2821. if (!unknown_fields().empty()) {
  2822. total_size +=
  2823. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2824. unknown_fields());
  2825. }
  2826. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2827. _cached_size_ = total_size;
  2828. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2829. return total_size;
  2830. }
  2831. void CCSUsrMsg_Train::MergeFrom(const ::google::protobuf::Message& from) {
  2832. GOOGLE_CHECK_NE(&from, this);
  2833. const CCSUsrMsg_Train* source =
  2834. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_Train*>(
  2835. &from);
  2836. if (source == NULL) {
  2837. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2838. } else {
  2839. MergeFrom(*source);
  2840. }
  2841. }
  2842. void CCSUsrMsg_Train::MergeFrom(const CCSUsrMsg_Train& from) {
  2843. GOOGLE_CHECK_NE(&from, this);
  2844. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2845. if (from.has_train()) {
  2846. set_train(from.train());
  2847. }
  2848. }
  2849. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2850. }
  2851. void CCSUsrMsg_Train::CopyFrom(const ::google::protobuf::Message& from) {
  2852. if (&from == this) return;
  2853. Clear();
  2854. MergeFrom(from);
  2855. }
  2856. void CCSUsrMsg_Train::CopyFrom(const CCSUsrMsg_Train& from) {
  2857. if (&from == this) return;
  2858. Clear();
  2859. MergeFrom(from);
  2860. }
  2861. bool CCSUsrMsg_Train::IsInitialized() const {
  2862. return true;
  2863. }
  2864. void CCSUsrMsg_Train::Swap(CCSUsrMsg_Train* other) {
  2865. if (other != this) {
  2866. std::swap(train_, other->train_);
  2867. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2868. _unknown_fields_.Swap(&other->_unknown_fields_);
  2869. std::swap(_cached_size_, other->_cached_size_);
  2870. }
  2871. }
  2872. ::google::protobuf::Metadata CCSUsrMsg_Train::GetMetadata() const {
  2873. protobuf_AssignDescriptorsOnce();
  2874. ::google::protobuf::Metadata metadata;
  2875. metadata.descriptor = CCSUsrMsg_Train_descriptor_;
  2876. metadata.reflection = CCSUsrMsg_Train_reflection_;
  2877. return metadata;
  2878. }
  2879. // ===================================================================
  2880. #ifndef _MSC_VER
  2881. const int CCSUsrMsg_HudText::kTextFieldNumber;
  2882. #endif // !_MSC_VER
  2883. CCSUsrMsg_HudText::CCSUsrMsg_HudText()
  2884. : ::google::protobuf::Message() {
  2885. SharedCtor();
  2886. }
  2887. void CCSUsrMsg_HudText::InitAsDefaultInstance() {
  2888. }
  2889. CCSUsrMsg_HudText::CCSUsrMsg_HudText(const CCSUsrMsg_HudText& from)
  2890. : ::google::protobuf::Message() {
  2891. SharedCtor();
  2892. MergeFrom(from);
  2893. }
  2894. void CCSUsrMsg_HudText::SharedCtor() {
  2895. _cached_size_ = 0;
  2896. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2897. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2898. }
  2899. CCSUsrMsg_HudText::~CCSUsrMsg_HudText() {
  2900. SharedDtor();
  2901. }
  2902. void CCSUsrMsg_HudText::SharedDtor() {
  2903. if (text_ != &::google::protobuf::internal::kEmptyString) {
  2904. delete text_;
  2905. }
  2906. if (this != default_instance_) {
  2907. }
  2908. }
  2909. void CCSUsrMsg_HudText::SetCachedSize(int size) const {
  2910. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2911. _cached_size_ = size;
  2912. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2913. }
  2914. const ::google::protobuf::Descriptor* CCSUsrMsg_HudText::descriptor() {
  2915. protobuf_AssignDescriptorsOnce();
  2916. return CCSUsrMsg_HudText_descriptor_;
  2917. }
  2918. const CCSUsrMsg_HudText& CCSUsrMsg_HudText::default_instance() {
  2919. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  2920. return *default_instance_;
  2921. }
  2922. CCSUsrMsg_HudText* CCSUsrMsg_HudText::default_instance_ = NULL;
  2923. CCSUsrMsg_HudText* CCSUsrMsg_HudText::New() const {
  2924. return new CCSUsrMsg_HudText;
  2925. }
  2926. void CCSUsrMsg_HudText::Clear() {
  2927. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2928. if (has_text()) {
  2929. if (text_ != &::google::protobuf::internal::kEmptyString) {
  2930. text_->clear();
  2931. }
  2932. }
  2933. }
  2934. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2935. mutable_unknown_fields()->Clear();
  2936. }
  2937. bool CCSUsrMsg_HudText::MergePartialFromCodedStream(
  2938. ::google::protobuf::io::CodedInputStream* input) {
  2939. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2940. ::google::protobuf::uint32 tag;
  2941. while ((tag = input->ReadTag()) != 0) {
  2942. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2943. // optional string text = 1;
  2944. case 1: {
  2945. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2946. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2947. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2948. input, this->mutable_text()));
  2949. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2950. this->text().data(), this->text().length(),
  2951. ::google::protobuf::internal::WireFormat::PARSE);
  2952. } else {
  2953. goto handle_uninterpreted;
  2954. }
  2955. if (input->ExpectAtEnd()) return true;
  2956. break;
  2957. }
  2958. default: {
  2959. handle_uninterpreted:
  2960. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2961. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2962. return true;
  2963. }
  2964. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2965. input, tag, mutable_unknown_fields()));
  2966. break;
  2967. }
  2968. }
  2969. }
  2970. return true;
  2971. #undef DO_
  2972. }
  2973. void CCSUsrMsg_HudText::SerializeWithCachedSizes(
  2974. ::google::protobuf::io::CodedOutputStream* output) const {
  2975. // optional string text = 1;
  2976. if (has_text()) {
  2977. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2978. this->text().data(), this->text().length(),
  2979. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2980. ::google::protobuf::internal::WireFormatLite::WriteString(
  2981. 1, this->text(), output);
  2982. }
  2983. if (!unknown_fields().empty()) {
  2984. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2985. unknown_fields(), output);
  2986. }
  2987. }
  2988. ::google::protobuf::uint8* CCSUsrMsg_HudText::SerializeWithCachedSizesToArray(
  2989. ::google::protobuf::uint8* target) const {
  2990. // optional string text = 1;
  2991. if (has_text()) {
  2992. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2993. this->text().data(), this->text().length(),
  2994. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2995. target =
  2996. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2997. 1, this->text(), target);
  2998. }
  2999. if (!unknown_fields().empty()) {
  3000. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3001. unknown_fields(), target);
  3002. }
  3003. return target;
  3004. }
  3005. int CCSUsrMsg_HudText::ByteSize() const {
  3006. int total_size = 0;
  3007. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3008. // optional string text = 1;
  3009. if (has_text()) {
  3010. total_size += 1 +
  3011. ::google::protobuf::internal::WireFormatLite::StringSize(
  3012. this->text());
  3013. }
  3014. }
  3015. if (!unknown_fields().empty()) {
  3016. total_size +=
  3017. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3018. unknown_fields());
  3019. }
  3020. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3021. _cached_size_ = total_size;
  3022. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3023. return total_size;
  3024. }
  3025. void CCSUsrMsg_HudText::MergeFrom(const ::google::protobuf::Message& from) {
  3026. GOOGLE_CHECK_NE(&from, this);
  3027. const CCSUsrMsg_HudText* source =
  3028. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_HudText*>(
  3029. &from);
  3030. if (source == NULL) {
  3031. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3032. } else {
  3033. MergeFrom(*source);
  3034. }
  3035. }
  3036. void CCSUsrMsg_HudText::MergeFrom(const CCSUsrMsg_HudText& from) {
  3037. GOOGLE_CHECK_NE(&from, this);
  3038. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3039. if (from.has_text()) {
  3040. set_text(from.text());
  3041. }
  3042. }
  3043. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3044. }
  3045. void CCSUsrMsg_HudText::CopyFrom(const ::google::protobuf::Message& from) {
  3046. if (&from == this) return;
  3047. Clear();
  3048. MergeFrom(from);
  3049. }
  3050. void CCSUsrMsg_HudText::CopyFrom(const CCSUsrMsg_HudText& from) {
  3051. if (&from == this) return;
  3052. Clear();
  3053. MergeFrom(from);
  3054. }
  3055. bool CCSUsrMsg_HudText::IsInitialized() const {
  3056. return true;
  3057. }
  3058. void CCSUsrMsg_HudText::Swap(CCSUsrMsg_HudText* other) {
  3059. if (other != this) {
  3060. std::swap(text_, other->text_);
  3061. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3062. _unknown_fields_.Swap(&other->_unknown_fields_);
  3063. std::swap(_cached_size_, other->_cached_size_);
  3064. }
  3065. }
  3066. ::google::protobuf::Metadata CCSUsrMsg_HudText::GetMetadata() const {
  3067. protobuf_AssignDescriptorsOnce();
  3068. ::google::protobuf::Metadata metadata;
  3069. metadata.descriptor = CCSUsrMsg_HudText_descriptor_;
  3070. metadata.reflection = CCSUsrMsg_HudText_reflection_;
  3071. return metadata;
  3072. }
  3073. // ===================================================================
  3074. #ifndef _MSC_VER
  3075. const int CCSUsrMsg_SayText::kEntIdxFieldNumber;
  3076. const int CCSUsrMsg_SayText::kTextFieldNumber;
  3077. const int CCSUsrMsg_SayText::kChatFieldNumber;
  3078. const int CCSUsrMsg_SayText::kTextallchatFieldNumber;
  3079. #endif // !_MSC_VER
  3080. CCSUsrMsg_SayText::CCSUsrMsg_SayText()
  3081. : ::google::protobuf::Message() {
  3082. SharedCtor();
  3083. }
  3084. void CCSUsrMsg_SayText::InitAsDefaultInstance() {
  3085. }
  3086. CCSUsrMsg_SayText::CCSUsrMsg_SayText(const CCSUsrMsg_SayText& from)
  3087. : ::google::protobuf::Message() {
  3088. SharedCtor();
  3089. MergeFrom(from);
  3090. }
  3091. void CCSUsrMsg_SayText::SharedCtor() {
  3092. _cached_size_ = 0;
  3093. ent_idx_ = 0;
  3094. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3095. chat_ = false;
  3096. textallchat_ = false;
  3097. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3098. }
  3099. CCSUsrMsg_SayText::~CCSUsrMsg_SayText() {
  3100. SharedDtor();
  3101. }
  3102. void CCSUsrMsg_SayText::SharedDtor() {
  3103. if (text_ != &::google::protobuf::internal::kEmptyString) {
  3104. delete text_;
  3105. }
  3106. if (this != default_instance_) {
  3107. }
  3108. }
  3109. void CCSUsrMsg_SayText::SetCachedSize(int size) const {
  3110. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3111. _cached_size_ = size;
  3112. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3113. }
  3114. const ::google::protobuf::Descriptor* CCSUsrMsg_SayText::descriptor() {
  3115. protobuf_AssignDescriptorsOnce();
  3116. return CCSUsrMsg_SayText_descriptor_;
  3117. }
  3118. const CCSUsrMsg_SayText& CCSUsrMsg_SayText::default_instance() {
  3119. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  3120. return *default_instance_;
  3121. }
  3122. CCSUsrMsg_SayText* CCSUsrMsg_SayText::default_instance_ = NULL;
  3123. CCSUsrMsg_SayText* CCSUsrMsg_SayText::New() const {
  3124. return new CCSUsrMsg_SayText;
  3125. }
  3126. void CCSUsrMsg_SayText::Clear() {
  3127. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3128. ent_idx_ = 0;
  3129. if (has_text()) {
  3130. if (text_ != &::google::protobuf::internal::kEmptyString) {
  3131. text_->clear();
  3132. }
  3133. }
  3134. chat_ = false;
  3135. textallchat_ = false;
  3136. }
  3137. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3138. mutable_unknown_fields()->Clear();
  3139. }
  3140. bool CCSUsrMsg_SayText::MergePartialFromCodedStream(
  3141. ::google::protobuf::io::CodedInputStream* input) {
  3142. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3143. ::google::protobuf::uint32 tag;
  3144. while ((tag = input->ReadTag()) != 0) {
  3145. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3146. // optional int32 ent_idx = 1;
  3147. case 1: {
  3148. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3149. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3150. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3151. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3152. input, &ent_idx_)));
  3153. set_has_ent_idx();
  3154. } else {
  3155. goto handle_uninterpreted;
  3156. }
  3157. if (input->ExpectTag(18)) goto parse_text;
  3158. break;
  3159. }
  3160. // optional string text = 2;
  3161. case 2: {
  3162. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3163. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3164. parse_text:
  3165. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3166. input, this->mutable_text()));
  3167. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3168. this->text().data(), this->text().length(),
  3169. ::google::protobuf::internal::WireFormat::PARSE);
  3170. } else {
  3171. goto handle_uninterpreted;
  3172. }
  3173. if (input->ExpectTag(24)) goto parse_chat;
  3174. break;
  3175. }
  3176. // optional bool chat = 3;
  3177. case 3: {
  3178. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3179. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3180. parse_chat:
  3181. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3182. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  3183. input, &chat_)));
  3184. set_has_chat();
  3185. } else {
  3186. goto handle_uninterpreted;
  3187. }
  3188. if (input->ExpectTag(32)) goto parse_textallchat;
  3189. break;
  3190. }
  3191. // optional bool textallchat = 4;
  3192. case 4: {
  3193. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3194. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3195. parse_textallchat:
  3196. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3197. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  3198. input, &textallchat_)));
  3199. set_has_textallchat();
  3200. } else {
  3201. goto handle_uninterpreted;
  3202. }
  3203. if (input->ExpectAtEnd()) return true;
  3204. break;
  3205. }
  3206. default: {
  3207. handle_uninterpreted:
  3208. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3209. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3210. return true;
  3211. }
  3212. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3213. input, tag, mutable_unknown_fields()));
  3214. break;
  3215. }
  3216. }
  3217. }
  3218. return true;
  3219. #undef DO_
  3220. }
  3221. void CCSUsrMsg_SayText::SerializeWithCachedSizes(
  3222. ::google::protobuf::io::CodedOutputStream* output) const {
  3223. // optional int32 ent_idx = 1;
  3224. if (has_ent_idx()) {
  3225. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ent_idx(), output);
  3226. }
  3227. // optional string text = 2;
  3228. if (has_text()) {
  3229. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3230. this->text().data(), this->text().length(),
  3231. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3232. ::google::protobuf::internal::WireFormatLite::WriteString(
  3233. 2, this->text(), output);
  3234. }
  3235. // optional bool chat = 3;
  3236. if (has_chat()) {
  3237. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->chat(), output);
  3238. }
  3239. // optional bool textallchat = 4;
  3240. if (has_textallchat()) {
  3241. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->textallchat(), output);
  3242. }
  3243. if (!unknown_fields().empty()) {
  3244. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3245. unknown_fields(), output);
  3246. }
  3247. }
  3248. ::google::protobuf::uint8* CCSUsrMsg_SayText::SerializeWithCachedSizesToArray(
  3249. ::google::protobuf::uint8* target) const {
  3250. // optional int32 ent_idx = 1;
  3251. if (has_ent_idx()) {
  3252. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ent_idx(), target);
  3253. }
  3254. // optional string text = 2;
  3255. if (has_text()) {
  3256. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3257. this->text().data(), this->text().length(),
  3258. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3259. target =
  3260. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3261. 2, this->text(), target);
  3262. }
  3263. // optional bool chat = 3;
  3264. if (has_chat()) {
  3265. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->chat(), target);
  3266. }
  3267. // optional bool textallchat = 4;
  3268. if (has_textallchat()) {
  3269. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->textallchat(), target);
  3270. }
  3271. if (!unknown_fields().empty()) {
  3272. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3273. unknown_fields(), target);
  3274. }
  3275. return target;
  3276. }
  3277. int CCSUsrMsg_SayText::ByteSize() const {
  3278. int total_size = 0;
  3279. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3280. // optional int32 ent_idx = 1;
  3281. if (has_ent_idx()) {
  3282. total_size += 1 +
  3283. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3284. this->ent_idx());
  3285. }
  3286. // optional string text = 2;
  3287. if (has_text()) {
  3288. total_size += 1 +
  3289. ::google::protobuf::internal::WireFormatLite::StringSize(
  3290. this->text());
  3291. }
  3292. // optional bool chat = 3;
  3293. if (has_chat()) {
  3294. total_size += 1 + 1;
  3295. }
  3296. // optional bool textallchat = 4;
  3297. if (has_textallchat()) {
  3298. total_size += 1 + 1;
  3299. }
  3300. }
  3301. if (!unknown_fields().empty()) {
  3302. total_size +=
  3303. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3304. unknown_fields());
  3305. }
  3306. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3307. _cached_size_ = total_size;
  3308. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3309. return total_size;
  3310. }
  3311. void CCSUsrMsg_SayText::MergeFrom(const ::google::protobuf::Message& from) {
  3312. GOOGLE_CHECK_NE(&from, this);
  3313. const CCSUsrMsg_SayText* source =
  3314. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_SayText*>(
  3315. &from);
  3316. if (source == NULL) {
  3317. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3318. } else {
  3319. MergeFrom(*source);
  3320. }
  3321. }
  3322. void CCSUsrMsg_SayText::MergeFrom(const CCSUsrMsg_SayText& from) {
  3323. GOOGLE_CHECK_NE(&from, this);
  3324. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3325. if (from.has_ent_idx()) {
  3326. set_ent_idx(from.ent_idx());
  3327. }
  3328. if (from.has_text()) {
  3329. set_text(from.text());
  3330. }
  3331. if (from.has_chat()) {
  3332. set_chat(from.chat());
  3333. }
  3334. if (from.has_textallchat()) {
  3335. set_textallchat(from.textallchat());
  3336. }
  3337. }
  3338. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3339. }
  3340. void CCSUsrMsg_SayText::CopyFrom(const ::google::protobuf::Message& from) {
  3341. if (&from == this) return;
  3342. Clear();
  3343. MergeFrom(from);
  3344. }
  3345. void CCSUsrMsg_SayText::CopyFrom(const CCSUsrMsg_SayText& from) {
  3346. if (&from == this) return;
  3347. Clear();
  3348. MergeFrom(from);
  3349. }
  3350. bool CCSUsrMsg_SayText::IsInitialized() const {
  3351. return true;
  3352. }
  3353. void CCSUsrMsg_SayText::Swap(CCSUsrMsg_SayText* other) {
  3354. if (other != this) {
  3355. std::swap(ent_idx_, other->ent_idx_);
  3356. std::swap(text_, other->text_);
  3357. std::swap(chat_, other->chat_);
  3358. std::swap(textallchat_, other->textallchat_);
  3359. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3360. _unknown_fields_.Swap(&other->_unknown_fields_);
  3361. std::swap(_cached_size_, other->_cached_size_);
  3362. }
  3363. }
  3364. ::google::protobuf::Metadata CCSUsrMsg_SayText::GetMetadata() const {
  3365. protobuf_AssignDescriptorsOnce();
  3366. ::google::protobuf::Metadata metadata;
  3367. metadata.descriptor = CCSUsrMsg_SayText_descriptor_;
  3368. metadata.reflection = CCSUsrMsg_SayText_reflection_;
  3369. return metadata;
  3370. }
  3371. // ===================================================================
  3372. #ifndef _MSC_VER
  3373. const int CCSUsrMsg_SayText2::kEntIdxFieldNumber;
  3374. const int CCSUsrMsg_SayText2::kChatFieldNumber;
  3375. const int CCSUsrMsg_SayText2::kMsgNameFieldNumber;
  3376. const int CCSUsrMsg_SayText2::kParamsFieldNumber;
  3377. const int CCSUsrMsg_SayText2::kTextallchatFieldNumber;
  3378. #endif // !_MSC_VER
  3379. CCSUsrMsg_SayText2::CCSUsrMsg_SayText2()
  3380. : ::google::protobuf::Message() {
  3381. SharedCtor();
  3382. }
  3383. void CCSUsrMsg_SayText2::InitAsDefaultInstance() {
  3384. }
  3385. CCSUsrMsg_SayText2::CCSUsrMsg_SayText2(const CCSUsrMsg_SayText2& from)
  3386. : ::google::protobuf::Message() {
  3387. SharedCtor();
  3388. MergeFrom(from);
  3389. }
  3390. void CCSUsrMsg_SayText2::SharedCtor() {
  3391. _cached_size_ = 0;
  3392. ent_idx_ = 0;
  3393. chat_ = false;
  3394. msg_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3395. textallchat_ = false;
  3396. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3397. }
  3398. CCSUsrMsg_SayText2::~CCSUsrMsg_SayText2() {
  3399. SharedDtor();
  3400. }
  3401. void CCSUsrMsg_SayText2::SharedDtor() {
  3402. if (msg_name_ != &::google::protobuf::internal::kEmptyString) {
  3403. delete msg_name_;
  3404. }
  3405. if (this != default_instance_) {
  3406. }
  3407. }
  3408. void CCSUsrMsg_SayText2::SetCachedSize(int size) const {
  3409. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3410. _cached_size_ = size;
  3411. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3412. }
  3413. const ::google::protobuf::Descriptor* CCSUsrMsg_SayText2::descriptor() {
  3414. protobuf_AssignDescriptorsOnce();
  3415. return CCSUsrMsg_SayText2_descriptor_;
  3416. }
  3417. const CCSUsrMsg_SayText2& CCSUsrMsg_SayText2::default_instance() {
  3418. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  3419. return *default_instance_;
  3420. }
  3421. CCSUsrMsg_SayText2* CCSUsrMsg_SayText2::default_instance_ = NULL;
  3422. CCSUsrMsg_SayText2* CCSUsrMsg_SayText2::New() const {
  3423. return new CCSUsrMsg_SayText2;
  3424. }
  3425. void CCSUsrMsg_SayText2::Clear() {
  3426. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3427. ent_idx_ = 0;
  3428. chat_ = false;
  3429. if (has_msg_name()) {
  3430. if (msg_name_ != &::google::protobuf::internal::kEmptyString) {
  3431. msg_name_->clear();
  3432. }
  3433. }
  3434. textallchat_ = false;
  3435. }
  3436. params_.Clear();
  3437. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3438. mutable_unknown_fields()->Clear();
  3439. }
  3440. bool CCSUsrMsg_SayText2::MergePartialFromCodedStream(
  3441. ::google::protobuf::io::CodedInputStream* input) {
  3442. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3443. ::google::protobuf::uint32 tag;
  3444. while ((tag = input->ReadTag()) != 0) {
  3445. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3446. // optional int32 ent_idx = 1;
  3447. case 1: {
  3448. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3449. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3450. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3451. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3452. input, &ent_idx_)));
  3453. set_has_ent_idx();
  3454. } else {
  3455. goto handle_uninterpreted;
  3456. }
  3457. if (input->ExpectTag(16)) goto parse_chat;
  3458. break;
  3459. }
  3460. // optional bool chat = 2;
  3461. case 2: {
  3462. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3463. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3464. parse_chat:
  3465. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3466. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  3467. input, &chat_)));
  3468. set_has_chat();
  3469. } else {
  3470. goto handle_uninterpreted;
  3471. }
  3472. if (input->ExpectTag(26)) goto parse_msg_name;
  3473. break;
  3474. }
  3475. // optional string msg_name = 3;
  3476. case 3: {
  3477. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3478. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3479. parse_msg_name:
  3480. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3481. input, this->mutable_msg_name()));
  3482. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3483. this->msg_name().data(), this->msg_name().length(),
  3484. ::google::protobuf::internal::WireFormat::PARSE);
  3485. } else {
  3486. goto handle_uninterpreted;
  3487. }
  3488. if (input->ExpectTag(34)) goto parse_params;
  3489. break;
  3490. }
  3491. // repeated string params = 4;
  3492. case 4: {
  3493. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3494. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3495. parse_params:
  3496. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3497. input, this->add_params()));
  3498. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3499. this->params(this->params_size() - 1).data(),
  3500. this->params(this->params_size() - 1).length(),
  3501. ::google::protobuf::internal::WireFormat::PARSE);
  3502. } else {
  3503. goto handle_uninterpreted;
  3504. }
  3505. if (input->ExpectTag(34)) goto parse_params;
  3506. if (input->ExpectTag(40)) goto parse_textallchat;
  3507. break;
  3508. }
  3509. // optional bool textallchat = 5;
  3510. case 5: {
  3511. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3512. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3513. parse_textallchat:
  3514. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3515. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  3516. input, &textallchat_)));
  3517. set_has_textallchat();
  3518. } else {
  3519. goto handle_uninterpreted;
  3520. }
  3521. if (input->ExpectAtEnd()) return true;
  3522. break;
  3523. }
  3524. default: {
  3525. handle_uninterpreted:
  3526. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3527. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3528. return true;
  3529. }
  3530. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3531. input, tag, mutable_unknown_fields()));
  3532. break;
  3533. }
  3534. }
  3535. }
  3536. return true;
  3537. #undef DO_
  3538. }
  3539. void CCSUsrMsg_SayText2::SerializeWithCachedSizes(
  3540. ::google::protobuf::io::CodedOutputStream* output) const {
  3541. // optional int32 ent_idx = 1;
  3542. if (has_ent_idx()) {
  3543. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ent_idx(), output);
  3544. }
  3545. // optional bool chat = 2;
  3546. if (has_chat()) {
  3547. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->chat(), output);
  3548. }
  3549. // optional string msg_name = 3;
  3550. if (has_msg_name()) {
  3551. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3552. this->msg_name().data(), this->msg_name().length(),
  3553. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3554. ::google::protobuf::internal::WireFormatLite::WriteString(
  3555. 3, this->msg_name(), output);
  3556. }
  3557. // repeated string params = 4;
  3558. for (int i = 0; i < this->params_size(); i++) {
  3559. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3560. this->params(i).data(), this->params(i).length(),
  3561. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3562. ::google::protobuf::internal::WireFormatLite::WriteString(
  3563. 4, this->params(i), output);
  3564. }
  3565. // optional bool textallchat = 5;
  3566. if (has_textallchat()) {
  3567. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->textallchat(), output);
  3568. }
  3569. if (!unknown_fields().empty()) {
  3570. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3571. unknown_fields(), output);
  3572. }
  3573. }
  3574. ::google::protobuf::uint8* CCSUsrMsg_SayText2::SerializeWithCachedSizesToArray(
  3575. ::google::protobuf::uint8* target) const {
  3576. // optional int32 ent_idx = 1;
  3577. if (has_ent_idx()) {
  3578. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ent_idx(), target);
  3579. }
  3580. // optional bool chat = 2;
  3581. if (has_chat()) {
  3582. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->chat(), target);
  3583. }
  3584. // optional string msg_name = 3;
  3585. if (has_msg_name()) {
  3586. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3587. this->msg_name().data(), this->msg_name().length(),
  3588. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3589. target =
  3590. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3591. 3, this->msg_name(), target);
  3592. }
  3593. // repeated string params = 4;
  3594. for (int i = 0; i < this->params_size(); i++) {
  3595. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3596. this->params(i).data(), this->params(i).length(),
  3597. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3598. target = ::google::protobuf::internal::WireFormatLite::
  3599. WriteStringToArray(4, this->params(i), target);
  3600. }
  3601. // optional bool textallchat = 5;
  3602. if (has_textallchat()) {
  3603. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->textallchat(), target);
  3604. }
  3605. if (!unknown_fields().empty()) {
  3606. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3607. unknown_fields(), target);
  3608. }
  3609. return target;
  3610. }
  3611. int CCSUsrMsg_SayText2::ByteSize() const {
  3612. int total_size = 0;
  3613. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3614. // optional int32 ent_idx = 1;
  3615. if (has_ent_idx()) {
  3616. total_size += 1 +
  3617. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3618. this->ent_idx());
  3619. }
  3620. // optional bool chat = 2;
  3621. if (has_chat()) {
  3622. total_size += 1 + 1;
  3623. }
  3624. // optional string msg_name = 3;
  3625. if (has_msg_name()) {
  3626. total_size += 1 +
  3627. ::google::protobuf::internal::WireFormatLite::StringSize(
  3628. this->msg_name());
  3629. }
  3630. // optional bool textallchat = 5;
  3631. if (has_textallchat()) {
  3632. total_size += 1 + 1;
  3633. }
  3634. }
  3635. // repeated string params = 4;
  3636. total_size += 1 * this->params_size();
  3637. for (int i = 0; i < this->params_size(); i++) {
  3638. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  3639. this->params(i));
  3640. }
  3641. if (!unknown_fields().empty()) {
  3642. total_size +=
  3643. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3644. unknown_fields());
  3645. }
  3646. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3647. _cached_size_ = total_size;
  3648. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3649. return total_size;
  3650. }
  3651. void CCSUsrMsg_SayText2::MergeFrom(const ::google::protobuf::Message& from) {
  3652. GOOGLE_CHECK_NE(&from, this);
  3653. const CCSUsrMsg_SayText2* source =
  3654. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_SayText2*>(
  3655. &from);
  3656. if (source == NULL) {
  3657. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3658. } else {
  3659. MergeFrom(*source);
  3660. }
  3661. }
  3662. void CCSUsrMsg_SayText2::MergeFrom(const CCSUsrMsg_SayText2& from) {
  3663. GOOGLE_CHECK_NE(&from, this);
  3664. params_.MergeFrom(from.params_);
  3665. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3666. if (from.has_ent_idx()) {
  3667. set_ent_idx(from.ent_idx());
  3668. }
  3669. if (from.has_chat()) {
  3670. set_chat(from.chat());
  3671. }
  3672. if (from.has_msg_name()) {
  3673. set_msg_name(from.msg_name());
  3674. }
  3675. if (from.has_textallchat()) {
  3676. set_textallchat(from.textallchat());
  3677. }
  3678. }
  3679. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3680. }
  3681. void CCSUsrMsg_SayText2::CopyFrom(const ::google::protobuf::Message& from) {
  3682. if (&from == this) return;
  3683. Clear();
  3684. MergeFrom(from);
  3685. }
  3686. void CCSUsrMsg_SayText2::CopyFrom(const CCSUsrMsg_SayText2& from) {
  3687. if (&from == this) return;
  3688. Clear();
  3689. MergeFrom(from);
  3690. }
  3691. bool CCSUsrMsg_SayText2::IsInitialized() const {
  3692. return true;
  3693. }
  3694. void CCSUsrMsg_SayText2::Swap(CCSUsrMsg_SayText2* other) {
  3695. if (other != this) {
  3696. std::swap(ent_idx_, other->ent_idx_);
  3697. std::swap(chat_, other->chat_);
  3698. std::swap(msg_name_, other->msg_name_);
  3699. params_.Swap(&other->params_);
  3700. std::swap(textallchat_, other->textallchat_);
  3701. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3702. _unknown_fields_.Swap(&other->_unknown_fields_);
  3703. std::swap(_cached_size_, other->_cached_size_);
  3704. }
  3705. }
  3706. ::google::protobuf::Metadata CCSUsrMsg_SayText2::GetMetadata() const {
  3707. protobuf_AssignDescriptorsOnce();
  3708. ::google::protobuf::Metadata metadata;
  3709. metadata.descriptor = CCSUsrMsg_SayText2_descriptor_;
  3710. metadata.reflection = CCSUsrMsg_SayText2_reflection_;
  3711. return metadata;
  3712. }
  3713. // ===================================================================
  3714. #ifndef _MSC_VER
  3715. const int CCSUsrMsg_TextMsg::kMsgDstFieldNumber;
  3716. const int CCSUsrMsg_TextMsg::kParamsFieldNumber;
  3717. #endif // !_MSC_VER
  3718. CCSUsrMsg_TextMsg::CCSUsrMsg_TextMsg()
  3719. : ::google::protobuf::Message() {
  3720. SharedCtor();
  3721. }
  3722. void CCSUsrMsg_TextMsg::InitAsDefaultInstance() {
  3723. }
  3724. CCSUsrMsg_TextMsg::CCSUsrMsg_TextMsg(const CCSUsrMsg_TextMsg& from)
  3725. : ::google::protobuf::Message() {
  3726. SharedCtor();
  3727. MergeFrom(from);
  3728. }
  3729. void CCSUsrMsg_TextMsg::SharedCtor() {
  3730. _cached_size_ = 0;
  3731. msg_dst_ = 0;
  3732. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3733. }
  3734. CCSUsrMsg_TextMsg::~CCSUsrMsg_TextMsg() {
  3735. SharedDtor();
  3736. }
  3737. void CCSUsrMsg_TextMsg::SharedDtor() {
  3738. if (this != default_instance_) {
  3739. }
  3740. }
  3741. void CCSUsrMsg_TextMsg::SetCachedSize(int size) const {
  3742. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3743. _cached_size_ = size;
  3744. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3745. }
  3746. const ::google::protobuf::Descriptor* CCSUsrMsg_TextMsg::descriptor() {
  3747. protobuf_AssignDescriptorsOnce();
  3748. return CCSUsrMsg_TextMsg_descriptor_;
  3749. }
  3750. const CCSUsrMsg_TextMsg& CCSUsrMsg_TextMsg::default_instance() {
  3751. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  3752. return *default_instance_;
  3753. }
  3754. CCSUsrMsg_TextMsg* CCSUsrMsg_TextMsg::default_instance_ = NULL;
  3755. CCSUsrMsg_TextMsg* CCSUsrMsg_TextMsg::New() const {
  3756. return new CCSUsrMsg_TextMsg;
  3757. }
  3758. void CCSUsrMsg_TextMsg::Clear() {
  3759. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3760. msg_dst_ = 0;
  3761. }
  3762. params_.Clear();
  3763. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3764. mutable_unknown_fields()->Clear();
  3765. }
  3766. bool CCSUsrMsg_TextMsg::MergePartialFromCodedStream(
  3767. ::google::protobuf::io::CodedInputStream* input) {
  3768. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3769. ::google::protobuf::uint32 tag;
  3770. while ((tag = input->ReadTag()) != 0) {
  3771. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3772. // optional int32 msg_dst = 1;
  3773. case 1: {
  3774. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3775. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3776. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3777. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3778. input, &msg_dst_)));
  3779. set_has_msg_dst();
  3780. } else {
  3781. goto handle_uninterpreted;
  3782. }
  3783. if (input->ExpectTag(26)) goto parse_params;
  3784. break;
  3785. }
  3786. // repeated string params = 3;
  3787. case 3: {
  3788. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3789. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3790. parse_params:
  3791. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3792. input, this->add_params()));
  3793. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3794. this->params(this->params_size() - 1).data(),
  3795. this->params(this->params_size() - 1).length(),
  3796. ::google::protobuf::internal::WireFormat::PARSE);
  3797. } else {
  3798. goto handle_uninterpreted;
  3799. }
  3800. if (input->ExpectTag(26)) goto parse_params;
  3801. if (input->ExpectAtEnd()) return true;
  3802. break;
  3803. }
  3804. default: {
  3805. handle_uninterpreted:
  3806. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3807. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3808. return true;
  3809. }
  3810. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3811. input, tag, mutable_unknown_fields()));
  3812. break;
  3813. }
  3814. }
  3815. }
  3816. return true;
  3817. #undef DO_
  3818. }
  3819. void CCSUsrMsg_TextMsg::SerializeWithCachedSizes(
  3820. ::google::protobuf::io::CodedOutputStream* output) const {
  3821. // optional int32 msg_dst = 1;
  3822. if (has_msg_dst()) {
  3823. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->msg_dst(), output);
  3824. }
  3825. // repeated string params = 3;
  3826. for (int i = 0; i < this->params_size(); i++) {
  3827. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3828. this->params(i).data(), this->params(i).length(),
  3829. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3830. ::google::protobuf::internal::WireFormatLite::WriteString(
  3831. 3, this->params(i), output);
  3832. }
  3833. if (!unknown_fields().empty()) {
  3834. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3835. unknown_fields(), output);
  3836. }
  3837. }
  3838. ::google::protobuf::uint8* CCSUsrMsg_TextMsg::SerializeWithCachedSizesToArray(
  3839. ::google::protobuf::uint8* target) const {
  3840. // optional int32 msg_dst = 1;
  3841. if (has_msg_dst()) {
  3842. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->msg_dst(), target);
  3843. }
  3844. // repeated string params = 3;
  3845. for (int i = 0; i < this->params_size(); i++) {
  3846. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3847. this->params(i).data(), this->params(i).length(),
  3848. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3849. target = ::google::protobuf::internal::WireFormatLite::
  3850. WriteStringToArray(3, this->params(i), target);
  3851. }
  3852. if (!unknown_fields().empty()) {
  3853. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3854. unknown_fields(), target);
  3855. }
  3856. return target;
  3857. }
  3858. int CCSUsrMsg_TextMsg::ByteSize() const {
  3859. int total_size = 0;
  3860. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3861. // optional int32 msg_dst = 1;
  3862. if (has_msg_dst()) {
  3863. total_size += 1 +
  3864. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3865. this->msg_dst());
  3866. }
  3867. }
  3868. // repeated string params = 3;
  3869. total_size += 1 * this->params_size();
  3870. for (int i = 0; i < this->params_size(); i++) {
  3871. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  3872. this->params(i));
  3873. }
  3874. if (!unknown_fields().empty()) {
  3875. total_size +=
  3876. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3877. unknown_fields());
  3878. }
  3879. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3880. _cached_size_ = total_size;
  3881. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3882. return total_size;
  3883. }
  3884. void CCSUsrMsg_TextMsg::MergeFrom(const ::google::protobuf::Message& from) {
  3885. GOOGLE_CHECK_NE(&from, this);
  3886. const CCSUsrMsg_TextMsg* source =
  3887. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_TextMsg*>(
  3888. &from);
  3889. if (source == NULL) {
  3890. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3891. } else {
  3892. MergeFrom(*source);
  3893. }
  3894. }
  3895. void CCSUsrMsg_TextMsg::MergeFrom(const CCSUsrMsg_TextMsg& from) {
  3896. GOOGLE_CHECK_NE(&from, this);
  3897. params_.MergeFrom(from.params_);
  3898. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3899. if (from.has_msg_dst()) {
  3900. set_msg_dst(from.msg_dst());
  3901. }
  3902. }
  3903. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3904. }
  3905. void CCSUsrMsg_TextMsg::CopyFrom(const ::google::protobuf::Message& from) {
  3906. if (&from == this) return;
  3907. Clear();
  3908. MergeFrom(from);
  3909. }
  3910. void CCSUsrMsg_TextMsg::CopyFrom(const CCSUsrMsg_TextMsg& from) {
  3911. if (&from == this) return;
  3912. Clear();
  3913. MergeFrom(from);
  3914. }
  3915. bool CCSUsrMsg_TextMsg::IsInitialized() const {
  3916. return true;
  3917. }
  3918. void CCSUsrMsg_TextMsg::Swap(CCSUsrMsg_TextMsg* other) {
  3919. if (other != this) {
  3920. std::swap(msg_dst_, other->msg_dst_);
  3921. params_.Swap(&other->params_);
  3922. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3923. _unknown_fields_.Swap(&other->_unknown_fields_);
  3924. std::swap(_cached_size_, other->_cached_size_);
  3925. }
  3926. }
  3927. ::google::protobuf::Metadata CCSUsrMsg_TextMsg::GetMetadata() const {
  3928. protobuf_AssignDescriptorsOnce();
  3929. ::google::protobuf::Metadata metadata;
  3930. metadata.descriptor = CCSUsrMsg_TextMsg_descriptor_;
  3931. metadata.reflection = CCSUsrMsg_TextMsg_reflection_;
  3932. return metadata;
  3933. }
  3934. // ===================================================================
  3935. #ifndef _MSC_VER
  3936. const int CCSUsrMsg_HudMsg::kChannelFieldNumber;
  3937. const int CCSUsrMsg_HudMsg::kPosFieldNumber;
  3938. const int CCSUsrMsg_HudMsg::kClr1FieldNumber;
  3939. const int CCSUsrMsg_HudMsg::kClr2FieldNumber;
  3940. const int CCSUsrMsg_HudMsg::kEffectFieldNumber;
  3941. const int CCSUsrMsg_HudMsg::kFadeInTimeFieldNumber;
  3942. const int CCSUsrMsg_HudMsg::kFadeOutTimeFieldNumber;
  3943. const int CCSUsrMsg_HudMsg::kHoldTimeFieldNumber;
  3944. const int CCSUsrMsg_HudMsg::kFxTimeFieldNumber;
  3945. const int CCSUsrMsg_HudMsg::kTextFieldNumber;
  3946. #endif // !_MSC_VER
  3947. CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg()
  3948. : ::google::protobuf::Message() {
  3949. SharedCtor();
  3950. }
  3951. void CCSUsrMsg_HudMsg::InitAsDefaultInstance() {
  3952. pos_ = const_cast< ::CMsgVector2D*>(&::CMsgVector2D::default_instance());
  3953. clr1_ = const_cast< ::CMsgRGBA*>(&::CMsgRGBA::default_instance());
  3954. clr2_ = const_cast< ::CMsgRGBA*>(&::CMsgRGBA::default_instance());
  3955. }
  3956. CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg(const CCSUsrMsg_HudMsg& from)
  3957. : ::google::protobuf::Message() {
  3958. SharedCtor();
  3959. MergeFrom(from);
  3960. }
  3961. void CCSUsrMsg_HudMsg::SharedCtor() {
  3962. _cached_size_ = 0;
  3963. channel_ = 0;
  3964. pos_ = NULL;
  3965. clr1_ = NULL;
  3966. clr2_ = NULL;
  3967. effect_ = 0;
  3968. fade_in_time_ = 0;
  3969. fade_out_time_ = 0;
  3970. hold_time_ = 0;
  3971. fx_time_ = 0;
  3972. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3973. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3974. }
  3975. CCSUsrMsg_HudMsg::~CCSUsrMsg_HudMsg() {
  3976. SharedDtor();
  3977. }
  3978. void CCSUsrMsg_HudMsg::SharedDtor() {
  3979. if (text_ != &::google::protobuf::internal::kEmptyString) {
  3980. delete text_;
  3981. }
  3982. if (this != default_instance_) {
  3983. delete pos_;
  3984. delete clr1_;
  3985. delete clr2_;
  3986. }
  3987. }
  3988. void CCSUsrMsg_HudMsg::SetCachedSize(int size) const {
  3989. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3990. _cached_size_ = size;
  3991. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3992. }
  3993. const ::google::protobuf::Descriptor* CCSUsrMsg_HudMsg::descriptor() {
  3994. protobuf_AssignDescriptorsOnce();
  3995. return CCSUsrMsg_HudMsg_descriptor_;
  3996. }
  3997. const CCSUsrMsg_HudMsg& CCSUsrMsg_HudMsg::default_instance() {
  3998. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  3999. return *default_instance_;
  4000. }
  4001. CCSUsrMsg_HudMsg* CCSUsrMsg_HudMsg::default_instance_ = NULL;
  4002. CCSUsrMsg_HudMsg* CCSUsrMsg_HudMsg::New() const {
  4003. return new CCSUsrMsg_HudMsg;
  4004. }
  4005. void CCSUsrMsg_HudMsg::Clear() {
  4006. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4007. channel_ = 0;
  4008. if (has_pos()) {
  4009. if (pos_ != NULL) pos_->::CMsgVector2D::Clear();
  4010. }
  4011. if (has_clr1()) {
  4012. if (clr1_ != NULL) clr1_->::CMsgRGBA::Clear();
  4013. }
  4014. if (has_clr2()) {
  4015. if (clr2_ != NULL) clr2_->::CMsgRGBA::Clear();
  4016. }
  4017. effect_ = 0;
  4018. fade_in_time_ = 0;
  4019. fade_out_time_ = 0;
  4020. hold_time_ = 0;
  4021. }
  4022. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  4023. fx_time_ = 0;
  4024. if (has_text()) {
  4025. if (text_ != &::google::protobuf::internal::kEmptyString) {
  4026. text_->clear();
  4027. }
  4028. }
  4029. }
  4030. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4031. mutable_unknown_fields()->Clear();
  4032. }
  4033. bool CCSUsrMsg_HudMsg::MergePartialFromCodedStream(
  4034. ::google::protobuf::io::CodedInputStream* input) {
  4035. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4036. ::google::protobuf::uint32 tag;
  4037. while ((tag = input->ReadTag()) != 0) {
  4038. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4039. // optional int32 channel = 1;
  4040. case 1: {
  4041. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4042. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4043. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4044. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4045. input, &channel_)));
  4046. set_has_channel();
  4047. } else {
  4048. goto handle_uninterpreted;
  4049. }
  4050. if (input->ExpectTag(18)) goto parse_pos;
  4051. break;
  4052. }
  4053. // optional .CMsgVector2D pos = 2;
  4054. case 2: {
  4055. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4056. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4057. parse_pos:
  4058. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4059. input, mutable_pos()));
  4060. } else {
  4061. goto handle_uninterpreted;
  4062. }
  4063. if (input->ExpectTag(26)) goto parse_clr1;
  4064. break;
  4065. }
  4066. // optional .CMsgRGBA clr1 = 3;
  4067. case 3: {
  4068. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4069. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4070. parse_clr1:
  4071. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4072. input, mutable_clr1()));
  4073. } else {
  4074. goto handle_uninterpreted;
  4075. }
  4076. if (input->ExpectTag(34)) goto parse_clr2;
  4077. break;
  4078. }
  4079. // optional .CMsgRGBA clr2 = 4;
  4080. case 4: {
  4081. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4082. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4083. parse_clr2:
  4084. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4085. input, mutable_clr2()));
  4086. } else {
  4087. goto handle_uninterpreted;
  4088. }
  4089. if (input->ExpectTag(40)) goto parse_effect;
  4090. break;
  4091. }
  4092. // optional int32 effect = 5;
  4093. case 5: {
  4094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4096. parse_effect:
  4097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4098. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4099. input, &effect_)));
  4100. set_has_effect();
  4101. } else {
  4102. goto handle_uninterpreted;
  4103. }
  4104. if (input->ExpectTag(53)) goto parse_fade_in_time;
  4105. break;
  4106. }
  4107. // optional float fade_in_time = 6;
  4108. case 6: {
  4109. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4110. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4111. parse_fade_in_time:
  4112. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4113. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4114. input, &fade_in_time_)));
  4115. set_has_fade_in_time();
  4116. } else {
  4117. goto handle_uninterpreted;
  4118. }
  4119. if (input->ExpectTag(61)) goto parse_fade_out_time;
  4120. break;
  4121. }
  4122. // optional float fade_out_time = 7;
  4123. case 7: {
  4124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4126. parse_fade_out_time:
  4127. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4128. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4129. input, &fade_out_time_)));
  4130. set_has_fade_out_time();
  4131. } else {
  4132. goto handle_uninterpreted;
  4133. }
  4134. if (input->ExpectTag(77)) goto parse_hold_time;
  4135. break;
  4136. }
  4137. // optional float hold_time = 9;
  4138. case 9: {
  4139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4141. parse_hold_time:
  4142. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4143. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4144. input, &hold_time_)));
  4145. set_has_hold_time();
  4146. } else {
  4147. goto handle_uninterpreted;
  4148. }
  4149. if (input->ExpectTag(85)) goto parse_fx_time;
  4150. break;
  4151. }
  4152. // optional float fx_time = 10;
  4153. case 10: {
  4154. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4155. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4156. parse_fx_time:
  4157. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4158. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4159. input, &fx_time_)));
  4160. set_has_fx_time();
  4161. } else {
  4162. goto handle_uninterpreted;
  4163. }
  4164. if (input->ExpectTag(90)) goto parse_text;
  4165. break;
  4166. }
  4167. // optional string text = 11;
  4168. case 11: {
  4169. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4170. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4171. parse_text:
  4172. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4173. input, this->mutable_text()));
  4174. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4175. this->text().data(), this->text().length(),
  4176. ::google::protobuf::internal::WireFormat::PARSE);
  4177. } else {
  4178. goto handle_uninterpreted;
  4179. }
  4180. if (input->ExpectAtEnd()) return true;
  4181. break;
  4182. }
  4183. default: {
  4184. handle_uninterpreted:
  4185. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4186. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4187. return true;
  4188. }
  4189. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4190. input, tag, mutable_unknown_fields()));
  4191. break;
  4192. }
  4193. }
  4194. }
  4195. return true;
  4196. #undef DO_
  4197. }
  4198. void CCSUsrMsg_HudMsg::SerializeWithCachedSizes(
  4199. ::google::protobuf::io::CodedOutputStream* output) const {
  4200. // optional int32 channel = 1;
  4201. if (has_channel()) {
  4202. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->channel(), output);
  4203. }
  4204. // optional .CMsgVector2D pos = 2;
  4205. if (has_pos()) {
  4206. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4207. 2, this->pos(), output);
  4208. }
  4209. // optional .CMsgRGBA clr1 = 3;
  4210. if (has_clr1()) {
  4211. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4212. 3, this->clr1(), output);
  4213. }
  4214. // optional .CMsgRGBA clr2 = 4;
  4215. if (has_clr2()) {
  4216. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4217. 4, this->clr2(), output);
  4218. }
  4219. // optional int32 effect = 5;
  4220. if (has_effect()) {
  4221. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->effect(), output);
  4222. }
  4223. // optional float fade_in_time = 6;
  4224. if (has_fade_in_time()) {
  4225. ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->fade_in_time(), output);
  4226. }
  4227. // optional float fade_out_time = 7;
  4228. if (has_fade_out_time()) {
  4229. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->fade_out_time(), output);
  4230. }
  4231. // optional float hold_time = 9;
  4232. if (has_hold_time()) {
  4233. ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->hold_time(), output);
  4234. }
  4235. // optional float fx_time = 10;
  4236. if (has_fx_time()) {
  4237. ::google::protobuf::internal::WireFormatLite::WriteFloat(10, this->fx_time(), output);
  4238. }
  4239. // optional string text = 11;
  4240. if (has_text()) {
  4241. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4242. this->text().data(), this->text().length(),
  4243. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4244. ::google::protobuf::internal::WireFormatLite::WriteString(
  4245. 11, this->text(), output);
  4246. }
  4247. if (!unknown_fields().empty()) {
  4248. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4249. unknown_fields(), output);
  4250. }
  4251. }
  4252. ::google::protobuf::uint8* CCSUsrMsg_HudMsg::SerializeWithCachedSizesToArray(
  4253. ::google::protobuf::uint8* target) const {
  4254. // optional int32 channel = 1;
  4255. if (has_channel()) {
  4256. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->channel(), target);
  4257. }
  4258. // optional .CMsgVector2D pos = 2;
  4259. if (has_pos()) {
  4260. target = ::google::protobuf::internal::WireFormatLite::
  4261. WriteMessageNoVirtualToArray(
  4262. 2, this->pos(), target);
  4263. }
  4264. // optional .CMsgRGBA clr1 = 3;
  4265. if (has_clr1()) {
  4266. target = ::google::protobuf::internal::WireFormatLite::
  4267. WriteMessageNoVirtualToArray(
  4268. 3, this->clr1(), target);
  4269. }
  4270. // optional .CMsgRGBA clr2 = 4;
  4271. if (has_clr2()) {
  4272. target = ::google::protobuf::internal::WireFormatLite::
  4273. WriteMessageNoVirtualToArray(
  4274. 4, this->clr2(), target);
  4275. }
  4276. // optional int32 effect = 5;
  4277. if (has_effect()) {
  4278. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->effect(), target);
  4279. }
  4280. // optional float fade_in_time = 6;
  4281. if (has_fade_in_time()) {
  4282. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->fade_in_time(), target);
  4283. }
  4284. // optional float fade_out_time = 7;
  4285. if (has_fade_out_time()) {
  4286. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->fade_out_time(), target);
  4287. }
  4288. // optional float hold_time = 9;
  4289. if (has_hold_time()) {
  4290. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->hold_time(), target);
  4291. }
  4292. // optional float fx_time = 10;
  4293. if (has_fx_time()) {
  4294. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(10, this->fx_time(), target);
  4295. }
  4296. // optional string text = 11;
  4297. if (has_text()) {
  4298. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4299. this->text().data(), this->text().length(),
  4300. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4301. target =
  4302. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4303. 11, this->text(), target);
  4304. }
  4305. if (!unknown_fields().empty()) {
  4306. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4307. unknown_fields(), target);
  4308. }
  4309. return target;
  4310. }
  4311. int CCSUsrMsg_HudMsg::ByteSize() const {
  4312. int total_size = 0;
  4313. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4314. // optional int32 channel = 1;
  4315. if (has_channel()) {
  4316. total_size += 1 +
  4317. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4318. this->channel());
  4319. }
  4320. // optional .CMsgVector2D pos = 2;
  4321. if (has_pos()) {
  4322. total_size += 1 +
  4323. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4324. this->pos());
  4325. }
  4326. // optional .CMsgRGBA clr1 = 3;
  4327. if (has_clr1()) {
  4328. total_size += 1 +
  4329. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4330. this->clr1());
  4331. }
  4332. // optional .CMsgRGBA clr2 = 4;
  4333. if (has_clr2()) {
  4334. total_size += 1 +
  4335. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4336. this->clr2());
  4337. }
  4338. // optional int32 effect = 5;
  4339. if (has_effect()) {
  4340. total_size += 1 +
  4341. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4342. this->effect());
  4343. }
  4344. // optional float fade_in_time = 6;
  4345. if (has_fade_in_time()) {
  4346. total_size += 1 + 4;
  4347. }
  4348. // optional float fade_out_time = 7;
  4349. if (has_fade_out_time()) {
  4350. total_size += 1 + 4;
  4351. }
  4352. // optional float hold_time = 9;
  4353. if (has_hold_time()) {
  4354. total_size += 1 + 4;
  4355. }
  4356. }
  4357. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  4358. // optional float fx_time = 10;
  4359. if (has_fx_time()) {
  4360. total_size += 1 + 4;
  4361. }
  4362. // optional string text = 11;
  4363. if (has_text()) {
  4364. total_size += 1 +
  4365. ::google::protobuf::internal::WireFormatLite::StringSize(
  4366. this->text());
  4367. }
  4368. }
  4369. if (!unknown_fields().empty()) {
  4370. total_size +=
  4371. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4372. unknown_fields());
  4373. }
  4374. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4375. _cached_size_ = total_size;
  4376. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4377. return total_size;
  4378. }
  4379. void CCSUsrMsg_HudMsg::MergeFrom(const ::google::protobuf::Message& from) {
  4380. GOOGLE_CHECK_NE(&from, this);
  4381. const CCSUsrMsg_HudMsg* source =
  4382. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_HudMsg*>(
  4383. &from);
  4384. if (source == NULL) {
  4385. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4386. } else {
  4387. MergeFrom(*source);
  4388. }
  4389. }
  4390. void CCSUsrMsg_HudMsg::MergeFrom(const CCSUsrMsg_HudMsg& from) {
  4391. GOOGLE_CHECK_NE(&from, this);
  4392. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4393. if (from.has_channel()) {
  4394. set_channel(from.channel());
  4395. }
  4396. if (from.has_pos()) {
  4397. mutable_pos()->::CMsgVector2D::MergeFrom(from.pos());
  4398. }
  4399. if (from.has_clr1()) {
  4400. mutable_clr1()->::CMsgRGBA::MergeFrom(from.clr1());
  4401. }
  4402. if (from.has_clr2()) {
  4403. mutable_clr2()->::CMsgRGBA::MergeFrom(from.clr2());
  4404. }
  4405. if (from.has_effect()) {
  4406. set_effect(from.effect());
  4407. }
  4408. if (from.has_fade_in_time()) {
  4409. set_fade_in_time(from.fade_in_time());
  4410. }
  4411. if (from.has_fade_out_time()) {
  4412. set_fade_out_time(from.fade_out_time());
  4413. }
  4414. if (from.has_hold_time()) {
  4415. set_hold_time(from.hold_time());
  4416. }
  4417. }
  4418. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  4419. if (from.has_fx_time()) {
  4420. set_fx_time(from.fx_time());
  4421. }
  4422. if (from.has_text()) {
  4423. set_text(from.text());
  4424. }
  4425. }
  4426. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4427. }
  4428. void CCSUsrMsg_HudMsg::CopyFrom(const ::google::protobuf::Message& from) {
  4429. if (&from == this) return;
  4430. Clear();
  4431. MergeFrom(from);
  4432. }
  4433. void CCSUsrMsg_HudMsg::CopyFrom(const CCSUsrMsg_HudMsg& from) {
  4434. if (&from == this) return;
  4435. Clear();
  4436. MergeFrom(from);
  4437. }
  4438. bool CCSUsrMsg_HudMsg::IsInitialized() const {
  4439. return true;
  4440. }
  4441. void CCSUsrMsg_HudMsg::Swap(CCSUsrMsg_HudMsg* other) {
  4442. if (other != this) {
  4443. std::swap(channel_, other->channel_);
  4444. std::swap(pos_, other->pos_);
  4445. std::swap(clr1_, other->clr1_);
  4446. std::swap(clr2_, other->clr2_);
  4447. std::swap(effect_, other->effect_);
  4448. std::swap(fade_in_time_, other->fade_in_time_);
  4449. std::swap(fade_out_time_, other->fade_out_time_);
  4450. std::swap(hold_time_, other->hold_time_);
  4451. std::swap(fx_time_, other->fx_time_);
  4452. std::swap(text_, other->text_);
  4453. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4454. _unknown_fields_.Swap(&other->_unknown_fields_);
  4455. std::swap(_cached_size_, other->_cached_size_);
  4456. }
  4457. }
  4458. ::google::protobuf::Metadata CCSUsrMsg_HudMsg::GetMetadata() const {
  4459. protobuf_AssignDescriptorsOnce();
  4460. ::google::protobuf::Metadata metadata;
  4461. metadata.descriptor = CCSUsrMsg_HudMsg_descriptor_;
  4462. metadata.reflection = CCSUsrMsg_HudMsg_reflection_;
  4463. return metadata;
  4464. }
  4465. // ===================================================================
  4466. #ifndef _MSC_VER
  4467. const int CCSUsrMsg_Shake::kCommandFieldNumber;
  4468. const int CCSUsrMsg_Shake::kLocalAmplitudeFieldNumber;
  4469. const int CCSUsrMsg_Shake::kFrequencyFieldNumber;
  4470. const int CCSUsrMsg_Shake::kDurationFieldNumber;
  4471. #endif // !_MSC_VER
  4472. CCSUsrMsg_Shake::CCSUsrMsg_Shake()
  4473. : ::google::protobuf::Message() {
  4474. SharedCtor();
  4475. }
  4476. void CCSUsrMsg_Shake::InitAsDefaultInstance() {
  4477. }
  4478. CCSUsrMsg_Shake::CCSUsrMsg_Shake(const CCSUsrMsg_Shake& from)
  4479. : ::google::protobuf::Message() {
  4480. SharedCtor();
  4481. MergeFrom(from);
  4482. }
  4483. void CCSUsrMsg_Shake::SharedCtor() {
  4484. _cached_size_ = 0;
  4485. command_ = 0;
  4486. local_amplitude_ = 0;
  4487. frequency_ = 0;
  4488. duration_ = 0;
  4489. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4490. }
  4491. CCSUsrMsg_Shake::~CCSUsrMsg_Shake() {
  4492. SharedDtor();
  4493. }
  4494. void CCSUsrMsg_Shake::SharedDtor() {
  4495. if (this != default_instance_) {
  4496. }
  4497. }
  4498. void CCSUsrMsg_Shake::SetCachedSize(int size) const {
  4499. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4500. _cached_size_ = size;
  4501. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4502. }
  4503. const ::google::protobuf::Descriptor* CCSUsrMsg_Shake::descriptor() {
  4504. protobuf_AssignDescriptorsOnce();
  4505. return CCSUsrMsg_Shake_descriptor_;
  4506. }
  4507. const CCSUsrMsg_Shake& CCSUsrMsg_Shake::default_instance() {
  4508. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  4509. return *default_instance_;
  4510. }
  4511. CCSUsrMsg_Shake* CCSUsrMsg_Shake::default_instance_ = NULL;
  4512. CCSUsrMsg_Shake* CCSUsrMsg_Shake::New() const {
  4513. return new CCSUsrMsg_Shake;
  4514. }
  4515. void CCSUsrMsg_Shake::Clear() {
  4516. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4517. command_ = 0;
  4518. local_amplitude_ = 0;
  4519. frequency_ = 0;
  4520. duration_ = 0;
  4521. }
  4522. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4523. mutable_unknown_fields()->Clear();
  4524. }
  4525. bool CCSUsrMsg_Shake::MergePartialFromCodedStream(
  4526. ::google::protobuf::io::CodedInputStream* input) {
  4527. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4528. ::google::protobuf::uint32 tag;
  4529. while ((tag = input->ReadTag()) != 0) {
  4530. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4531. // optional int32 command = 1;
  4532. case 1: {
  4533. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4534. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4535. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4536. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4537. input, &command_)));
  4538. set_has_command();
  4539. } else {
  4540. goto handle_uninterpreted;
  4541. }
  4542. if (input->ExpectTag(21)) goto parse_local_amplitude;
  4543. break;
  4544. }
  4545. // optional float local_amplitude = 2;
  4546. case 2: {
  4547. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4548. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4549. parse_local_amplitude:
  4550. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4551. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4552. input, &local_amplitude_)));
  4553. set_has_local_amplitude();
  4554. } else {
  4555. goto handle_uninterpreted;
  4556. }
  4557. if (input->ExpectTag(29)) goto parse_frequency;
  4558. break;
  4559. }
  4560. // optional float frequency = 3;
  4561. case 3: {
  4562. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4563. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4564. parse_frequency:
  4565. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4566. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4567. input, &frequency_)));
  4568. set_has_frequency();
  4569. } else {
  4570. goto handle_uninterpreted;
  4571. }
  4572. if (input->ExpectTag(37)) goto parse_duration;
  4573. break;
  4574. }
  4575. // optional float duration = 4;
  4576. case 4: {
  4577. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4578. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  4579. parse_duration:
  4580. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4581. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  4582. input, &duration_)));
  4583. set_has_duration();
  4584. } else {
  4585. goto handle_uninterpreted;
  4586. }
  4587. if (input->ExpectAtEnd()) return true;
  4588. break;
  4589. }
  4590. default: {
  4591. handle_uninterpreted:
  4592. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4593. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4594. return true;
  4595. }
  4596. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4597. input, tag, mutable_unknown_fields()));
  4598. break;
  4599. }
  4600. }
  4601. }
  4602. return true;
  4603. #undef DO_
  4604. }
  4605. void CCSUsrMsg_Shake::SerializeWithCachedSizes(
  4606. ::google::protobuf::io::CodedOutputStream* output) const {
  4607. // optional int32 command = 1;
  4608. if (has_command()) {
  4609. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->command(), output);
  4610. }
  4611. // optional float local_amplitude = 2;
  4612. if (has_local_amplitude()) {
  4613. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->local_amplitude(), output);
  4614. }
  4615. // optional float frequency = 3;
  4616. if (has_frequency()) {
  4617. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->frequency(), output);
  4618. }
  4619. // optional float duration = 4;
  4620. if (has_duration()) {
  4621. ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->duration(), output);
  4622. }
  4623. if (!unknown_fields().empty()) {
  4624. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4625. unknown_fields(), output);
  4626. }
  4627. }
  4628. ::google::protobuf::uint8* CCSUsrMsg_Shake::SerializeWithCachedSizesToArray(
  4629. ::google::protobuf::uint8* target) const {
  4630. // optional int32 command = 1;
  4631. if (has_command()) {
  4632. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->command(), target);
  4633. }
  4634. // optional float local_amplitude = 2;
  4635. if (has_local_amplitude()) {
  4636. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->local_amplitude(), target);
  4637. }
  4638. // optional float frequency = 3;
  4639. if (has_frequency()) {
  4640. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->frequency(), target);
  4641. }
  4642. // optional float duration = 4;
  4643. if (has_duration()) {
  4644. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->duration(), target);
  4645. }
  4646. if (!unknown_fields().empty()) {
  4647. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4648. unknown_fields(), target);
  4649. }
  4650. return target;
  4651. }
  4652. int CCSUsrMsg_Shake::ByteSize() const {
  4653. int total_size = 0;
  4654. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4655. // optional int32 command = 1;
  4656. if (has_command()) {
  4657. total_size += 1 +
  4658. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4659. this->command());
  4660. }
  4661. // optional float local_amplitude = 2;
  4662. if (has_local_amplitude()) {
  4663. total_size += 1 + 4;
  4664. }
  4665. // optional float frequency = 3;
  4666. if (has_frequency()) {
  4667. total_size += 1 + 4;
  4668. }
  4669. // optional float duration = 4;
  4670. if (has_duration()) {
  4671. total_size += 1 + 4;
  4672. }
  4673. }
  4674. if (!unknown_fields().empty()) {
  4675. total_size +=
  4676. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4677. unknown_fields());
  4678. }
  4679. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4680. _cached_size_ = total_size;
  4681. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4682. return total_size;
  4683. }
  4684. void CCSUsrMsg_Shake::MergeFrom(const ::google::protobuf::Message& from) {
  4685. GOOGLE_CHECK_NE(&from, this);
  4686. const CCSUsrMsg_Shake* source =
  4687. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_Shake*>(
  4688. &from);
  4689. if (source == NULL) {
  4690. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4691. } else {
  4692. MergeFrom(*source);
  4693. }
  4694. }
  4695. void CCSUsrMsg_Shake::MergeFrom(const CCSUsrMsg_Shake& from) {
  4696. GOOGLE_CHECK_NE(&from, this);
  4697. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4698. if (from.has_command()) {
  4699. set_command(from.command());
  4700. }
  4701. if (from.has_local_amplitude()) {
  4702. set_local_amplitude(from.local_amplitude());
  4703. }
  4704. if (from.has_frequency()) {
  4705. set_frequency(from.frequency());
  4706. }
  4707. if (from.has_duration()) {
  4708. set_duration(from.duration());
  4709. }
  4710. }
  4711. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4712. }
  4713. void CCSUsrMsg_Shake::CopyFrom(const ::google::protobuf::Message& from) {
  4714. if (&from == this) return;
  4715. Clear();
  4716. MergeFrom(from);
  4717. }
  4718. void CCSUsrMsg_Shake::CopyFrom(const CCSUsrMsg_Shake& from) {
  4719. if (&from == this) return;
  4720. Clear();
  4721. MergeFrom(from);
  4722. }
  4723. bool CCSUsrMsg_Shake::IsInitialized() const {
  4724. return true;
  4725. }
  4726. void CCSUsrMsg_Shake::Swap(CCSUsrMsg_Shake* other) {
  4727. if (other != this) {
  4728. std::swap(command_, other->command_);
  4729. std::swap(local_amplitude_, other->local_amplitude_);
  4730. std::swap(frequency_, other->frequency_);
  4731. std::swap(duration_, other->duration_);
  4732. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4733. _unknown_fields_.Swap(&other->_unknown_fields_);
  4734. std::swap(_cached_size_, other->_cached_size_);
  4735. }
  4736. }
  4737. ::google::protobuf::Metadata CCSUsrMsg_Shake::GetMetadata() const {
  4738. protobuf_AssignDescriptorsOnce();
  4739. ::google::protobuf::Metadata metadata;
  4740. metadata.descriptor = CCSUsrMsg_Shake_descriptor_;
  4741. metadata.reflection = CCSUsrMsg_Shake_reflection_;
  4742. return metadata;
  4743. }
  4744. // ===================================================================
  4745. #ifndef _MSC_VER
  4746. const int CCSUsrMsg_Fade::kDurationFieldNumber;
  4747. const int CCSUsrMsg_Fade::kHoldTimeFieldNumber;
  4748. const int CCSUsrMsg_Fade::kFlagsFieldNumber;
  4749. const int CCSUsrMsg_Fade::kClrFieldNumber;
  4750. #endif // !_MSC_VER
  4751. CCSUsrMsg_Fade::CCSUsrMsg_Fade()
  4752. : ::google::protobuf::Message() {
  4753. SharedCtor();
  4754. }
  4755. void CCSUsrMsg_Fade::InitAsDefaultInstance() {
  4756. clr_ = const_cast< ::CMsgRGBA*>(&::CMsgRGBA::default_instance());
  4757. }
  4758. CCSUsrMsg_Fade::CCSUsrMsg_Fade(const CCSUsrMsg_Fade& from)
  4759. : ::google::protobuf::Message() {
  4760. SharedCtor();
  4761. MergeFrom(from);
  4762. }
  4763. void CCSUsrMsg_Fade::SharedCtor() {
  4764. _cached_size_ = 0;
  4765. duration_ = 0;
  4766. hold_time_ = 0;
  4767. flags_ = 0;
  4768. clr_ = NULL;
  4769. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4770. }
  4771. CCSUsrMsg_Fade::~CCSUsrMsg_Fade() {
  4772. SharedDtor();
  4773. }
  4774. void CCSUsrMsg_Fade::SharedDtor() {
  4775. if (this != default_instance_) {
  4776. delete clr_;
  4777. }
  4778. }
  4779. void CCSUsrMsg_Fade::SetCachedSize(int size) const {
  4780. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4781. _cached_size_ = size;
  4782. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4783. }
  4784. const ::google::protobuf::Descriptor* CCSUsrMsg_Fade::descriptor() {
  4785. protobuf_AssignDescriptorsOnce();
  4786. return CCSUsrMsg_Fade_descriptor_;
  4787. }
  4788. const CCSUsrMsg_Fade& CCSUsrMsg_Fade::default_instance() {
  4789. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  4790. return *default_instance_;
  4791. }
  4792. CCSUsrMsg_Fade* CCSUsrMsg_Fade::default_instance_ = NULL;
  4793. CCSUsrMsg_Fade* CCSUsrMsg_Fade::New() const {
  4794. return new CCSUsrMsg_Fade;
  4795. }
  4796. void CCSUsrMsg_Fade::Clear() {
  4797. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4798. duration_ = 0;
  4799. hold_time_ = 0;
  4800. flags_ = 0;
  4801. if (has_clr()) {
  4802. if (clr_ != NULL) clr_->::CMsgRGBA::Clear();
  4803. }
  4804. }
  4805. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4806. mutable_unknown_fields()->Clear();
  4807. }
  4808. bool CCSUsrMsg_Fade::MergePartialFromCodedStream(
  4809. ::google::protobuf::io::CodedInputStream* input) {
  4810. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4811. ::google::protobuf::uint32 tag;
  4812. while ((tag = input->ReadTag()) != 0) {
  4813. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4814. // optional int32 duration = 1;
  4815. case 1: {
  4816. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4817. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4818. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4819. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4820. input, &duration_)));
  4821. set_has_duration();
  4822. } else {
  4823. goto handle_uninterpreted;
  4824. }
  4825. if (input->ExpectTag(16)) goto parse_hold_time;
  4826. break;
  4827. }
  4828. // optional int32 hold_time = 2;
  4829. case 2: {
  4830. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4831. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4832. parse_hold_time:
  4833. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4834. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4835. input, &hold_time_)));
  4836. set_has_hold_time();
  4837. } else {
  4838. goto handle_uninterpreted;
  4839. }
  4840. if (input->ExpectTag(24)) goto parse_flags;
  4841. break;
  4842. }
  4843. // optional int32 flags = 3;
  4844. case 3: {
  4845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4847. parse_flags:
  4848. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4849. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4850. input, &flags_)));
  4851. set_has_flags();
  4852. } else {
  4853. goto handle_uninterpreted;
  4854. }
  4855. if (input->ExpectTag(34)) goto parse_clr;
  4856. break;
  4857. }
  4858. // optional .CMsgRGBA clr = 4;
  4859. case 4: {
  4860. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4861. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4862. parse_clr:
  4863. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4864. input, mutable_clr()));
  4865. } else {
  4866. goto handle_uninterpreted;
  4867. }
  4868. if (input->ExpectAtEnd()) return true;
  4869. break;
  4870. }
  4871. default: {
  4872. handle_uninterpreted:
  4873. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4874. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4875. return true;
  4876. }
  4877. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4878. input, tag, mutable_unknown_fields()));
  4879. break;
  4880. }
  4881. }
  4882. }
  4883. return true;
  4884. #undef DO_
  4885. }
  4886. void CCSUsrMsg_Fade::SerializeWithCachedSizes(
  4887. ::google::protobuf::io::CodedOutputStream* output) const {
  4888. // optional int32 duration = 1;
  4889. if (has_duration()) {
  4890. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->duration(), output);
  4891. }
  4892. // optional int32 hold_time = 2;
  4893. if (has_hold_time()) {
  4894. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->hold_time(), output);
  4895. }
  4896. // optional int32 flags = 3;
  4897. if (has_flags()) {
  4898. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->flags(), output);
  4899. }
  4900. // optional .CMsgRGBA clr = 4;
  4901. if (has_clr()) {
  4902. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4903. 4, this->clr(), output);
  4904. }
  4905. if (!unknown_fields().empty()) {
  4906. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4907. unknown_fields(), output);
  4908. }
  4909. }
  4910. ::google::protobuf::uint8* CCSUsrMsg_Fade::SerializeWithCachedSizesToArray(
  4911. ::google::protobuf::uint8* target) const {
  4912. // optional int32 duration = 1;
  4913. if (has_duration()) {
  4914. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->duration(), target);
  4915. }
  4916. // optional int32 hold_time = 2;
  4917. if (has_hold_time()) {
  4918. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->hold_time(), target);
  4919. }
  4920. // optional int32 flags = 3;
  4921. if (has_flags()) {
  4922. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->flags(), target);
  4923. }
  4924. // optional .CMsgRGBA clr = 4;
  4925. if (has_clr()) {
  4926. target = ::google::protobuf::internal::WireFormatLite::
  4927. WriteMessageNoVirtualToArray(
  4928. 4, this->clr(), target);
  4929. }
  4930. if (!unknown_fields().empty()) {
  4931. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4932. unknown_fields(), target);
  4933. }
  4934. return target;
  4935. }
  4936. int CCSUsrMsg_Fade::ByteSize() const {
  4937. int total_size = 0;
  4938. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4939. // optional int32 duration = 1;
  4940. if (has_duration()) {
  4941. total_size += 1 +
  4942. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4943. this->duration());
  4944. }
  4945. // optional int32 hold_time = 2;
  4946. if (has_hold_time()) {
  4947. total_size += 1 +
  4948. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4949. this->hold_time());
  4950. }
  4951. // optional int32 flags = 3;
  4952. if (has_flags()) {
  4953. total_size += 1 +
  4954. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4955. this->flags());
  4956. }
  4957. // optional .CMsgRGBA clr = 4;
  4958. if (has_clr()) {
  4959. total_size += 1 +
  4960. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4961. this->clr());
  4962. }
  4963. }
  4964. if (!unknown_fields().empty()) {
  4965. total_size +=
  4966. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4967. unknown_fields());
  4968. }
  4969. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4970. _cached_size_ = total_size;
  4971. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4972. return total_size;
  4973. }
  4974. void CCSUsrMsg_Fade::MergeFrom(const ::google::protobuf::Message& from) {
  4975. GOOGLE_CHECK_NE(&from, this);
  4976. const CCSUsrMsg_Fade* source =
  4977. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_Fade*>(
  4978. &from);
  4979. if (source == NULL) {
  4980. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4981. } else {
  4982. MergeFrom(*source);
  4983. }
  4984. }
  4985. void CCSUsrMsg_Fade::MergeFrom(const CCSUsrMsg_Fade& from) {
  4986. GOOGLE_CHECK_NE(&from, this);
  4987. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4988. if (from.has_duration()) {
  4989. set_duration(from.duration());
  4990. }
  4991. if (from.has_hold_time()) {
  4992. set_hold_time(from.hold_time());
  4993. }
  4994. if (from.has_flags()) {
  4995. set_flags(from.flags());
  4996. }
  4997. if (from.has_clr()) {
  4998. mutable_clr()->::CMsgRGBA::MergeFrom(from.clr());
  4999. }
  5000. }
  5001. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5002. }
  5003. void CCSUsrMsg_Fade::CopyFrom(const ::google::protobuf::Message& from) {
  5004. if (&from == this) return;
  5005. Clear();
  5006. MergeFrom(from);
  5007. }
  5008. void CCSUsrMsg_Fade::CopyFrom(const CCSUsrMsg_Fade& from) {
  5009. if (&from == this) return;
  5010. Clear();
  5011. MergeFrom(from);
  5012. }
  5013. bool CCSUsrMsg_Fade::IsInitialized() const {
  5014. return true;
  5015. }
  5016. void CCSUsrMsg_Fade::Swap(CCSUsrMsg_Fade* other) {
  5017. if (other != this) {
  5018. std::swap(duration_, other->duration_);
  5019. std::swap(hold_time_, other->hold_time_);
  5020. std::swap(flags_, other->flags_);
  5021. std::swap(clr_, other->clr_);
  5022. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5023. _unknown_fields_.Swap(&other->_unknown_fields_);
  5024. std::swap(_cached_size_, other->_cached_size_);
  5025. }
  5026. }
  5027. ::google::protobuf::Metadata CCSUsrMsg_Fade::GetMetadata() const {
  5028. protobuf_AssignDescriptorsOnce();
  5029. ::google::protobuf::Metadata metadata;
  5030. metadata.descriptor = CCSUsrMsg_Fade_descriptor_;
  5031. metadata.reflection = CCSUsrMsg_Fade_reflection_;
  5032. return metadata;
  5033. }
  5034. // ===================================================================
  5035. #ifndef _MSC_VER
  5036. const int CCSUsrMsg_Rumble::kIndexFieldNumber;
  5037. const int CCSUsrMsg_Rumble::kDataFieldNumber;
  5038. const int CCSUsrMsg_Rumble::kFlagsFieldNumber;
  5039. #endif // !_MSC_VER
  5040. CCSUsrMsg_Rumble::CCSUsrMsg_Rumble()
  5041. : ::google::protobuf::Message() {
  5042. SharedCtor();
  5043. }
  5044. void CCSUsrMsg_Rumble::InitAsDefaultInstance() {
  5045. }
  5046. CCSUsrMsg_Rumble::CCSUsrMsg_Rumble(const CCSUsrMsg_Rumble& from)
  5047. : ::google::protobuf::Message() {
  5048. SharedCtor();
  5049. MergeFrom(from);
  5050. }
  5051. void CCSUsrMsg_Rumble::SharedCtor() {
  5052. _cached_size_ = 0;
  5053. index_ = 0;
  5054. data_ = 0;
  5055. flags_ = 0;
  5056. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5057. }
  5058. CCSUsrMsg_Rumble::~CCSUsrMsg_Rumble() {
  5059. SharedDtor();
  5060. }
  5061. void CCSUsrMsg_Rumble::SharedDtor() {
  5062. if (this != default_instance_) {
  5063. }
  5064. }
  5065. void CCSUsrMsg_Rumble::SetCachedSize(int size) const {
  5066. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5067. _cached_size_ = size;
  5068. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5069. }
  5070. const ::google::protobuf::Descriptor* CCSUsrMsg_Rumble::descriptor() {
  5071. protobuf_AssignDescriptorsOnce();
  5072. return CCSUsrMsg_Rumble_descriptor_;
  5073. }
  5074. const CCSUsrMsg_Rumble& CCSUsrMsg_Rumble::default_instance() {
  5075. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  5076. return *default_instance_;
  5077. }
  5078. CCSUsrMsg_Rumble* CCSUsrMsg_Rumble::default_instance_ = NULL;
  5079. CCSUsrMsg_Rumble* CCSUsrMsg_Rumble::New() const {
  5080. return new CCSUsrMsg_Rumble;
  5081. }
  5082. void CCSUsrMsg_Rumble::Clear() {
  5083. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5084. index_ = 0;
  5085. data_ = 0;
  5086. flags_ = 0;
  5087. }
  5088. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5089. mutable_unknown_fields()->Clear();
  5090. }
  5091. bool CCSUsrMsg_Rumble::MergePartialFromCodedStream(
  5092. ::google::protobuf::io::CodedInputStream* input) {
  5093. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5094. ::google::protobuf::uint32 tag;
  5095. while ((tag = input->ReadTag()) != 0) {
  5096. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5097. // optional int32 index = 1;
  5098. case 1: {
  5099. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5100. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5101. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5102. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5103. input, &index_)));
  5104. set_has_index();
  5105. } else {
  5106. goto handle_uninterpreted;
  5107. }
  5108. if (input->ExpectTag(16)) goto parse_data;
  5109. break;
  5110. }
  5111. // optional int32 data = 2;
  5112. case 2: {
  5113. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5114. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5115. parse_data:
  5116. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5117. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5118. input, &data_)));
  5119. set_has_data();
  5120. } else {
  5121. goto handle_uninterpreted;
  5122. }
  5123. if (input->ExpectTag(24)) goto parse_flags;
  5124. break;
  5125. }
  5126. // optional int32 flags = 3;
  5127. case 3: {
  5128. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5129. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5130. parse_flags:
  5131. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5132. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5133. input, &flags_)));
  5134. set_has_flags();
  5135. } else {
  5136. goto handle_uninterpreted;
  5137. }
  5138. if (input->ExpectAtEnd()) return true;
  5139. break;
  5140. }
  5141. default: {
  5142. handle_uninterpreted:
  5143. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5144. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5145. return true;
  5146. }
  5147. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5148. input, tag, mutable_unknown_fields()));
  5149. break;
  5150. }
  5151. }
  5152. }
  5153. return true;
  5154. #undef DO_
  5155. }
  5156. void CCSUsrMsg_Rumble::SerializeWithCachedSizes(
  5157. ::google::protobuf::io::CodedOutputStream* output) const {
  5158. // optional int32 index = 1;
  5159. if (has_index()) {
  5160. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output);
  5161. }
  5162. // optional int32 data = 2;
  5163. if (has_data()) {
  5164. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->data(), output);
  5165. }
  5166. // optional int32 flags = 3;
  5167. if (has_flags()) {
  5168. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->flags(), output);
  5169. }
  5170. if (!unknown_fields().empty()) {
  5171. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5172. unknown_fields(), output);
  5173. }
  5174. }
  5175. ::google::protobuf::uint8* CCSUsrMsg_Rumble::SerializeWithCachedSizesToArray(
  5176. ::google::protobuf::uint8* target) const {
  5177. // optional int32 index = 1;
  5178. if (has_index()) {
  5179. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->index(), target);
  5180. }
  5181. // optional int32 data = 2;
  5182. if (has_data()) {
  5183. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->data(), target);
  5184. }
  5185. // optional int32 flags = 3;
  5186. if (has_flags()) {
  5187. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->flags(), target);
  5188. }
  5189. if (!unknown_fields().empty()) {
  5190. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5191. unknown_fields(), target);
  5192. }
  5193. return target;
  5194. }
  5195. int CCSUsrMsg_Rumble::ByteSize() const {
  5196. int total_size = 0;
  5197. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5198. // optional int32 index = 1;
  5199. if (has_index()) {
  5200. total_size += 1 +
  5201. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5202. this->index());
  5203. }
  5204. // optional int32 data = 2;
  5205. if (has_data()) {
  5206. total_size += 1 +
  5207. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5208. this->data());
  5209. }
  5210. // optional int32 flags = 3;
  5211. if (has_flags()) {
  5212. total_size += 1 +
  5213. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5214. this->flags());
  5215. }
  5216. }
  5217. if (!unknown_fields().empty()) {
  5218. total_size +=
  5219. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5220. unknown_fields());
  5221. }
  5222. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5223. _cached_size_ = total_size;
  5224. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5225. return total_size;
  5226. }
  5227. void CCSUsrMsg_Rumble::MergeFrom(const ::google::protobuf::Message& from) {
  5228. GOOGLE_CHECK_NE(&from, this);
  5229. const CCSUsrMsg_Rumble* source =
  5230. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_Rumble*>(
  5231. &from);
  5232. if (source == NULL) {
  5233. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5234. } else {
  5235. MergeFrom(*source);
  5236. }
  5237. }
  5238. void CCSUsrMsg_Rumble::MergeFrom(const CCSUsrMsg_Rumble& from) {
  5239. GOOGLE_CHECK_NE(&from, this);
  5240. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5241. if (from.has_index()) {
  5242. set_index(from.index());
  5243. }
  5244. if (from.has_data()) {
  5245. set_data(from.data());
  5246. }
  5247. if (from.has_flags()) {
  5248. set_flags(from.flags());
  5249. }
  5250. }
  5251. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5252. }
  5253. void CCSUsrMsg_Rumble::CopyFrom(const ::google::protobuf::Message& from) {
  5254. if (&from == this) return;
  5255. Clear();
  5256. MergeFrom(from);
  5257. }
  5258. void CCSUsrMsg_Rumble::CopyFrom(const CCSUsrMsg_Rumble& from) {
  5259. if (&from == this) return;
  5260. Clear();
  5261. MergeFrom(from);
  5262. }
  5263. bool CCSUsrMsg_Rumble::IsInitialized() const {
  5264. return true;
  5265. }
  5266. void CCSUsrMsg_Rumble::Swap(CCSUsrMsg_Rumble* other) {
  5267. if (other != this) {
  5268. std::swap(index_, other->index_);
  5269. std::swap(data_, other->data_);
  5270. std::swap(flags_, other->flags_);
  5271. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5272. _unknown_fields_.Swap(&other->_unknown_fields_);
  5273. std::swap(_cached_size_, other->_cached_size_);
  5274. }
  5275. }
  5276. ::google::protobuf::Metadata CCSUsrMsg_Rumble::GetMetadata() const {
  5277. protobuf_AssignDescriptorsOnce();
  5278. ::google::protobuf::Metadata metadata;
  5279. metadata.descriptor = CCSUsrMsg_Rumble_descriptor_;
  5280. metadata.reflection = CCSUsrMsg_Rumble_reflection_;
  5281. return metadata;
  5282. }
  5283. // ===================================================================
  5284. #ifndef _MSC_VER
  5285. const int CCSUsrMsg_CloseCaption::kHashFieldNumber;
  5286. const int CCSUsrMsg_CloseCaption::kDurationFieldNumber;
  5287. const int CCSUsrMsg_CloseCaption::kFromPlayerFieldNumber;
  5288. #endif // !_MSC_VER
  5289. CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption()
  5290. : ::google::protobuf::Message() {
  5291. SharedCtor();
  5292. }
  5293. void CCSUsrMsg_CloseCaption::InitAsDefaultInstance() {
  5294. }
  5295. CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption(const CCSUsrMsg_CloseCaption& from)
  5296. : ::google::protobuf::Message() {
  5297. SharedCtor();
  5298. MergeFrom(from);
  5299. }
  5300. void CCSUsrMsg_CloseCaption::SharedCtor() {
  5301. _cached_size_ = 0;
  5302. hash_ = 0u;
  5303. duration_ = 0;
  5304. from_player_ = false;
  5305. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5306. }
  5307. CCSUsrMsg_CloseCaption::~CCSUsrMsg_CloseCaption() {
  5308. SharedDtor();
  5309. }
  5310. void CCSUsrMsg_CloseCaption::SharedDtor() {
  5311. if (this != default_instance_) {
  5312. }
  5313. }
  5314. void CCSUsrMsg_CloseCaption::SetCachedSize(int size) const {
  5315. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5316. _cached_size_ = size;
  5317. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5318. }
  5319. const ::google::protobuf::Descriptor* CCSUsrMsg_CloseCaption::descriptor() {
  5320. protobuf_AssignDescriptorsOnce();
  5321. return CCSUsrMsg_CloseCaption_descriptor_;
  5322. }
  5323. const CCSUsrMsg_CloseCaption& CCSUsrMsg_CloseCaption::default_instance() {
  5324. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  5325. return *default_instance_;
  5326. }
  5327. CCSUsrMsg_CloseCaption* CCSUsrMsg_CloseCaption::default_instance_ = NULL;
  5328. CCSUsrMsg_CloseCaption* CCSUsrMsg_CloseCaption::New() const {
  5329. return new CCSUsrMsg_CloseCaption;
  5330. }
  5331. void CCSUsrMsg_CloseCaption::Clear() {
  5332. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5333. hash_ = 0u;
  5334. duration_ = 0;
  5335. from_player_ = false;
  5336. }
  5337. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5338. mutable_unknown_fields()->Clear();
  5339. }
  5340. bool CCSUsrMsg_CloseCaption::MergePartialFromCodedStream(
  5341. ::google::protobuf::io::CodedInputStream* input) {
  5342. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5343. ::google::protobuf::uint32 tag;
  5344. while ((tag = input->ReadTag()) != 0) {
  5345. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5346. // optional uint32 hash = 1;
  5347. case 1: {
  5348. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5349. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5350. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5351. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5352. input, &hash_)));
  5353. set_has_hash();
  5354. } else {
  5355. goto handle_uninterpreted;
  5356. }
  5357. if (input->ExpectTag(16)) goto parse_duration;
  5358. break;
  5359. }
  5360. // optional int32 duration = 2;
  5361. case 2: {
  5362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5364. parse_duration:
  5365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5366. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5367. input, &duration_)));
  5368. set_has_duration();
  5369. } else {
  5370. goto handle_uninterpreted;
  5371. }
  5372. if (input->ExpectTag(24)) goto parse_from_player;
  5373. break;
  5374. }
  5375. // optional bool from_player = 3;
  5376. case 3: {
  5377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5379. parse_from_player:
  5380. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5381. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5382. input, &from_player_)));
  5383. set_has_from_player();
  5384. } else {
  5385. goto handle_uninterpreted;
  5386. }
  5387. if (input->ExpectAtEnd()) return true;
  5388. break;
  5389. }
  5390. default: {
  5391. handle_uninterpreted:
  5392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5394. return true;
  5395. }
  5396. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5397. input, tag, mutable_unknown_fields()));
  5398. break;
  5399. }
  5400. }
  5401. }
  5402. return true;
  5403. #undef DO_
  5404. }
  5405. void CCSUsrMsg_CloseCaption::SerializeWithCachedSizes(
  5406. ::google::protobuf::io::CodedOutputStream* output) const {
  5407. // optional uint32 hash = 1;
  5408. if (has_hash()) {
  5409. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->hash(), output);
  5410. }
  5411. // optional int32 duration = 2;
  5412. if (has_duration()) {
  5413. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->duration(), output);
  5414. }
  5415. // optional bool from_player = 3;
  5416. if (has_from_player()) {
  5417. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->from_player(), output);
  5418. }
  5419. if (!unknown_fields().empty()) {
  5420. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5421. unknown_fields(), output);
  5422. }
  5423. }
  5424. ::google::protobuf::uint8* CCSUsrMsg_CloseCaption::SerializeWithCachedSizesToArray(
  5425. ::google::protobuf::uint8* target) const {
  5426. // optional uint32 hash = 1;
  5427. if (has_hash()) {
  5428. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->hash(), target);
  5429. }
  5430. // optional int32 duration = 2;
  5431. if (has_duration()) {
  5432. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->duration(), target);
  5433. }
  5434. // optional bool from_player = 3;
  5435. if (has_from_player()) {
  5436. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->from_player(), target);
  5437. }
  5438. if (!unknown_fields().empty()) {
  5439. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5440. unknown_fields(), target);
  5441. }
  5442. return target;
  5443. }
  5444. int CCSUsrMsg_CloseCaption::ByteSize() const {
  5445. int total_size = 0;
  5446. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5447. // optional uint32 hash = 1;
  5448. if (has_hash()) {
  5449. total_size += 1 +
  5450. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5451. this->hash());
  5452. }
  5453. // optional int32 duration = 2;
  5454. if (has_duration()) {
  5455. total_size += 1 +
  5456. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5457. this->duration());
  5458. }
  5459. // optional bool from_player = 3;
  5460. if (has_from_player()) {
  5461. total_size += 1 + 1;
  5462. }
  5463. }
  5464. if (!unknown_fields().empty()) {
  5465. total_size +=
  5466. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5467. unknown_fields());
  5468. }
  5469. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5470. _cached_size_ = total_size;
  5471. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5472. return total_size;
  5473. }
  5474. void CCSUsrMsg_CloseCaption::MergeFrom(const ::google::protobuf::Message& from) {
  5475. GOOGLE_CHECK_NE(&from, this);
  5476. const CCSUsrMsg_CloseCaption* source =
  5477. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_CloseCaption*>(
  5478. &from);
  5479. if (source == NULL) {
  5480. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5481. } else {
  5482. MergeFrom(*source);
  5483. }
  5484. }
  5485. void CCSUsrMsg_CloseCaption::MergeFrom(const CCSUsrMsg_CloseCaption& from) {
  5486. GOOGLE_CHECK_NE(&from, this);
  5487. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5488. if (from.has_hash()) {
  5489. set_hash(from.hash());
  5490. }
  5491. if (from.has_duration()) {
  5492. set_duration(from.duration());
  5493. }
  5494. if (from.has_from_player()) {
  5495. set_from_player(from.from_player());
  5496. }
  5497. }
  5498. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5499. }
  5500. void CCSUsrMsg_CloseCaption::CopyFrom(const ::google::protobuf::Message& from) {
  5501. if (&from == this) return;
  5502. Clear();
  5503. MergeFrom(from);
  5504. }
  5505. void CCSUsrMsg_CloseCaption::CopyFrom(const CCSUsrMsg_CloseCaption& from) {
  5506. if (&from == this) return;
  5507. Clear();
  5508. MergeFrom(from);
  5509. }
  5510. bool CCSUsrMsg_CloseCaption::IsInitialized() const {
  5511. return true;
  5512. }
  5513. void CCSUsrMsg_CloseCaption::Swap(CCSUsrMsg_CloseCaption* other) {
  5514. if (other != this) {
  5515. std::swap(hash_, other->hash_);
  5516. std::swap(duration_, other->duration_);
  5517. std::swap(from_player_, other->from_player_);
  5518. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5519. _unknown_fields_.Swap(&other->_unknown_fields_);
  5520. std::swap(_cached_size_, other->_cached_size_);
  5521. }
  5522. }
  5523. ::google::protobuf::Metadata CCSUsrMsg_CloseCaption::GetMetadata() const {
  5524. protobuf_AssignDescriptorsOnce();
  5525. ::google::protobuf::Metadata metadata;
  5526. metadata.descriptor = CCSUsrMsg_CloseCaption_descriptor_;
  5527. metadata.reflection = CCSUsrMsg_CloseCaption_reflection_;
  5528. return metadata;
  5529. }
  5530. // ===================================================================
  5531. #ifndef _MSC_VER
  5532. const int CCSUsrMsg_CloseCaptionDirect::kHashFieldNumber;
  5533. const int CCSUsrMsg_CloseCaptionDirect::kDurationFieldNumber;
  5534. const int CCSUsrMsg_CloseCaptionDirect::kFromPlayerFieldNumber;
  5535. #endif // !_MSC_VER
  5536. CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect()
  5537. : ::google::protobuf::Message() {
  5538. SharedCtor();
  5539. }
  5540. void CCSUsrMsg_CloseCaptionDirect::InitAsDefaultInstance() {
  5541. }
  5542. CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect(const CCSUsrMsg_CloseCaptionDirect& from)
  5543. : ::google::protobuf::Message() {
  5544. SharedCtor();
  5545. MergeFrom(from);
  5546. }
  5547. void CCSUsrMsg_CloseCaptionDirect::SharedCtor() {
  5548. _cached_size_ = 0;
  5549. hash_ = 0u;
  5550. duration_ = 0;
  5551. from_player_ = false;
  5552. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5553. }
  5554. CCSUsrMsg_CloseCaptionDirect::~CCSUsrMsg_CloseCaptionDirect() {
  5555. SharedDtor();
  5556. }
  5557. void CCSUsrMsg_CloseCaptionDirect::SharedDtor() {
  5558. if (this != default_instance_) {
  5559. }
  5560. }
  5561. void CCSUsrMsg_CloseCaptionDirect::SetCachedSize(int size) const {
  5562. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5563. _cached_size_ = size;
  5564. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5565. }
  5566. const ::google::protobuf::Descriptor* CCSUsrMsg_CloseCaptionDirect::descriptor() {
  5567. protobuf_AssignDescriptorsOnce();
  5568. return CCSUsrMsg_CloseCaptionDirect_descriptor_;
  5569. }
  5570. const CCSUsrMsg_CloseCaptionDirect& CCSUsrMsg_CloseCaptionDirect::default_instance() {
  5571. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  5572. return *default_instance_;
  5573. }
  5574. CCSUsrMsg_CloseCaptionDirect* CCSUsrMsg_CloseCaptionDirect::default_instance_ = NULL;
  5575. CCSUsrMsg_CloseCaptionDirect* CCSUsrMsg_CloseCaptionDirect::New() const {
  5576. return new CCSUsrMsg_CloseCaptionDirect;
  5577. }
  5578. void CCSUsrMsg_CloseCaptionDirect::Clear() {
  5579. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5580. hash_ = 0u;
  5581. duration_ = 0;
  5582. from_player_ = false;
  5583. }
  5584. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5585. mutable_unknown_fields()->Clear();
  5586. }
  5587. bool CCSUsrMsg_CloseCaptionDirect::MergePartialFromCodedStream(
  5588. ::google::protobuf::io::CodedInputStream* input) {
  5589. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5590. ::google::protobuf::uint32 tag;
  5591. while ((tag = input->ReadTag()) != 0) {
  5592. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5593. // optional uint32 hash = 1;
  5594. case 1: {
  5595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5597. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5598. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5599. input, &hash_)));
  5600. set_has_hash();
  5601. } else {
  5602. goto handle_uninterpreted;
  5603. }
  5604. if (input->ExpectTag(16)) goto parse_duration;
  5605. break;
  5606. }
  5607. // optional int32 duration = 2;
  5608. case 2: {
  5609. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5610. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5611. parse_duration:
  5612. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5613. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5614. input, &duration_)));
  5615. set_has_duration();
  5616. } else {
  5617. goto handle_uninterpreted;
  5618. }
  5619. if (input->ExpectTag(24)) goto parse_from_player;
  5620. break;
  5621. }
  5622. // optional bool from_player = 3;
  5623. case 3: {
  5624. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5625. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5626. parse_from_player:
  5627. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5628. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5629. input, &from_player_)));
  5630. set_has_from_player();
  5631. } else {
  5632. goto handle_uninterpreted;
  5633. }
  5634. if (input->ExpectAtEnd()) return true;
  5635. break;
  5636. }
  5637. default: {
  5638. handle_uninterpreted:
  5639. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5640. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5641. return true;
  5642. }
  5643. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5644. input, tag, mutable_unknown_fields()));
  5645. break;
  5646. }
  5647. }
  5648. }
  5649. return true;
  5650. #undef DO_
  5651. }
  5652. void CCSUsrMsg_CloseCaptionDirect::SerializeWithCachedSizes(
  5653. ::google::protobuf::io::CodedOutputStream* output) const {
  5654. // optional uint32 hash = 1;
  5655. if (has_hash()) {
  5656. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->hash(), output);
  5657. }
  5658. // optional int32 duration = 2;
  5659. if (has_duration()) {
  5660. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->duration(), output);
  5661. }
  5662. // optional bool from_player = 3;
  5663. if (has_from_player()) {
  5664. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->from_player(), output);
  5665. }
  5666. if (!unknown_fields().empty()) {
  5667. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5668. unknown_fields(), output);
  5669. }
  5670. }
  5671. ::google::protobuf::uint8* CCSUsrMsg_CloseCaptionDirect::SerializeWithCachedSizesToArray(
  5672. ::google::protobuf::uint8* target) const {
  5673. // optional uint32 hash = 1;
  5674. if (has_hash()) {
  5675. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->hash(), target);
  5676. }
  5677. // optional int32 duration = 2;
  5678. if (has_duration()) {
  5679. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->duration(), target);
  5680. }
  5681. // optional bool from_player = 3;
  5682. if (has_from_player()) {
  5683. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->from_player(), target);
  5684. }
  5685. if (!unknown_fields().empty()) {
  5686. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5687. unknown_fields(), target);
  5688. }
  5689. return target;
  5690. }
  5691. int CCSUsrMsg_CloseCaptionDirect::ByteSize() const {
  5692. int total_size = 0;
  5693. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5694. // optional uint32 hash = 1;
  5695. if (has_hash()) {
  5696. total_size += 1 +
  5697. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5698. this->hash());
  5699. }
  5700. // optional int32 duration = 2;
  5701. if (has_duration()) {
  5702. total_size += 1 +
  5703. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5704. this->duration());
  5705. }
  5706. // optional bool from_player = 3;
  5707. if (has_from_player()) {
  5708. total_size += 1 + 1;
  5709. }
  5710. }
  5711. if (!unknown_fields().empty()) {
  5712. total_size +=
  5713. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5714. unknown_fields());
  5715. }
  5716. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5717. _cached_size_ = total_size;
  5718. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5719. return total_size;
  5720. }
  5721. void CCSUsrMsg_CloseCaptionDirect::MergeFrom(const ::google::protobuf::Message& from) {
  5722. GOOGLE_CHECK_NE(&from, this);
  5723. const CCSUsrMsg_CloseCaptionDirect* source =
  5724. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_CloseCaptionDirect*>(
  5725. &from);
  5726. if (source == NULL) {
  5727. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5728. } else {
  5729. MergeFrom(*source);
  5730. }
  5731. }
  5732. void CCSUsrMsg_CloseCaptionDirect::MergeFrom(const CCSUsrMsg_CloseCaptionDirect& from) {
  5733. GOOGLE_CHECK_NE(&from, this);
  5734. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5735. if (from.has_hash()) {
  5736. set_hash(from.hash());
  5737. }
  5738. if (from.has_duration()) {
  5739. set_duration(from.duration());
  5740. }
  5741. if (from.has_from_player()) {
  5742. set_from_player(from.from_player());
  5743. }
  5744. }
  5745. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5746. }
  5747. void CCSUsrMsg_CloseCaptionDirect::CopyFrom(const ::google::protobuf::Message& from) {
  5748. if (&from == this) return;
  5749. Clear();
  5750. MergeFrom(from);
  5751. }
  5752. void CCSUsrMsg_CloseCaptionDirect::CopyFrom(const CCSUsrMsg_CloseCaptionDirect& from) {
  5753. if (&from == this) return;
  5754. Clear();
  5755. MergeFrom(from);
  5756. }
  5757. bool CCSUsrMsg_CloseCaptionDirect::IsInitialized() const {
  5758. return true;
  5759. }
  5760. void CCSUsrMsg_CloseCaptionDirect::Swap(CCSUsrMsg_CloseCaptionDirect* other) {
  5761. if (other != this) {
  5762. std::swap(hash_, other->hash_);
  5763. std::swap(duration_, other->duration_);
  5764. std::swap(from_player_, other->from_player_);
  5765. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5766. _unknown_fields_.Swap(&other->_unknown_fields_);
  5767. std::swap(_cached_size_, other->_cached_size_);
  5768. }
  5769. }
  5770. ::google::protobuf::Metadata CCSUsrMsg_CloseCaptionDirect::GetMetadata() const {
  5771. protobuf_AssignDescriptorsOnce();
  5772. ::google::protobuf::Metadata metadata;
  5773. metadata.descriptor = CCSUsrMsg_CloseCaptionDirect_descriptor_;
  5774. metadata.reflection = CCSUsrMsg_CloseCaptionDirect_reflection_;
  5775. return metadata;
  5776. }
  5777. // ===================================================================
  5778. #ifndef _MSC_VER
  5779. const int CCSUsrMsg_SendAudio::kRadioSoundFieldNumber;
  5780. #endif // !_MSC_VER
  5781. CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio()
  5782. : ::google::protobuf::Message() {
  5783. SharedCtor();
  5784. }
  5785. void CCSUsrMsg_SendAudio::InitAsDefaultInstance() {
  5786. }
  5787. CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio(const CCSUsrMsg_SendAudio& from)
  5788. : ::google::protobuf::Message() {
  5789. SharedCtor();
  5790. MergeFrom(from);
  5791. }
  5792. void CCSUsrMsg_SendAudio::SharedCtor() {
  5793. _cached_size_ = 0;
  5794. radio_sound_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5795. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5796. }
  5797. CCSUsrMsg_SendAudio::~CCSUsrMsg_SendAudio() {
  5798. SharedDtor();
  5799. }
  5800. void CCSUsrMsg_SendAudio::SharedDtor() {
  5801. if (radio_sound_ != &::google::protobuf::internal::kEmptyString) {
  5802. delete radio_sound_;
  5803. }
  5804. if (this != default_instance_) {
  5805. }
  5806. }
  5807. void CCSUsrMsg_SendAudio::SetCachedSize(int size) const {
  5808. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5809. _cached_size_ = size;
  5810. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5811. }
  5812. const ::google::protobuf::Descriptor* CCSUsrMsg_SendAudio::descriptor() {
  5813. protobuf_AssignDescriptorsOnce();
  5814. return CCSUsrMsg_SendAudio_descriptor_;
  5815. }
  5816. const CCSUsrMsg_SendAudio& CCSUsrMsg_SendAudio::default_instance() {
  5817. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  5818. return *default_instance_;
  5819. }
  5820. CCSUsrMsg_SendAudio* CCSUsrMsg_SendAudio::default_instance_ = NULL;
  5821. CCSUsrMsg_SendAudio* CCSUsrMsg_SendAudio::New() const {
  5822. return new CCSUsrMsg_SendAudio;
  5823. }
  5824. void CCSUsrMsg_SendAudio::Clear() {
  5825. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5826. if (has_radio_sound()) {
  5827. if (radio_sound_ != &::google::protobuf::internal::kEmptyString) {
  5828. radio_sound_->clear();
  5829. }
  5830. }
  5831. }
  5832. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5833. mutable_unknown_fields()->Clear();
  5834. }
  5835. bool CCSUsrMsg_SendAudio::MergePartialFromCodedStream(
  5836. ::google::protobuf::io::CodedInputStream* input) {
  5837. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5838. ::google::protobuf::uint32 tag;
  5839. while ((tag = input->ReadTag()) != 0) {
  5840. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5841. // optional string radio_sound = 1;
  5842. case 1: {
  5843. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5844. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5845. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5846. input, this->mutable_radio_sound()));
  5847. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5848. this->radio_sound().data(), this->radio_sound().length(),
  5849. ::google::protobuf::internal::WireFormat::PARSE);
  5850. } else {
  5851. goto handle_uninterpreted;
  5852. }
  5853. if (input->ExpectAtEnd()) return true;
  5854. break;
  5855. }
  5856. default: {
  5857. handle_uninterpreted:
  5858. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5859. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5860. return true;
  5861. }
  5862. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5863. input, tag, mutable_unknown_fields()));
  5864. break;
  5865. }
  5866. }
  5867. }
  5868. return true;
  5869. #undef DO_
  5870. }
  5871. void CCSUsrMsg_SendAudio::SerializeWithCachedSizes(
  5872. ::google::protobuf::io::CodedOutputStream* output) const {
  5873. // optional string radio_sound = 1;
  5874. if (has_radio_sound()) {
  5875. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5876. this->radio_sound().data(), this->radio_sound().length(),
  5877. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5878. ::google::protobuf::internal::WireFormatLite::WriteString(
  5879. 1, this->radio_sound(), output);
  5880. }
  5881. if (!unknown_fields().empty()) {
  5882. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5883. unknown_fields(), output);
  5884. }
  5885. }
  5886. ::google::protobuf::uint8* CCSUsrMsg_SendAudio::SerializeWithCachedSizesToArray(
  5887. ::google::protobuf::uint8* target) const {
  5888. // optional string radio_sound = 1;
  5889. if (has_radio_sound()) {
  5890. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5891. this->radio_sound().data(), this->radio_sound().length(),
  5892. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5893. target =
  5894. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5895. 1, this->radio_sound(), target);
  5896. }
  5897. if (!unknown_fields().empty()) {
  5898. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5899. unknown_fields(), target);
  5900. }
  5901. return target;
  5902. }
  5903. int CCSUsrMsg_SendAudio::ByteSize() const {
  5904. int total_size = 0;
  5905. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5906. // optional string radio_sound = 1;
  5907. if (has_radio_sound()) {
  5908. total_size += 1 +
  5909. ::google::protobuf::internal::WireFormatLite::StringSize(
  5910. this->radio_sound());
  5911. }
  5912. }
  5913. if (!unknown_fields().empty()) {
  5914. total_size +=
  5915. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5916. unknown_fields());
  5917. }
  5918. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5919. _cached_size_ = total_size;
  5920. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5921. return total_size;
  5922. }
  5923. void CCSUsrMsg_SendAudio::MergeFrom(const ::google::protobuf::Message& from) {
  5924. GOOGLE_CHECK_NE(&from, this);
  5925. const CCSUsrMsg_SendAudio* source =
  5926. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_SendAudio*>(
  5927. &from);
  5928. if (source == NULL) {
  5929. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5930. } else {
  5931. MergeFrom(*source);
  5932. }
  5933. }
  5934. void CCSUsrMsg_SendAudio::MergeFrom(const CCSUsrMsg_SendAudio& from) {
  5935. GOOGLE_CHECK_NE(&from, this);
  5936. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5937. if (from.has_radio_sound()) {
  5938. set_radio_sound(from.radio_sound());
  5939. }
  5940. }
  5941. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5942. }
  5943. void CCSUsrMsg_SendAudio::CopyFrom(const ::google::protobuf::Message& from) {
  5944. if (&from == this) return;
  5945. Clear();
  5946. MergeFrom(from);
  5947. }
  5948. void CCSUsrMsg_SendAudio::CopyFrom(const CCSUsrMsg_SendAudio& from) {
  5949. if (&from == this) return;
  5950. Clear();
  5951. MergeFrom(from);
  5952. }
  5953. bool CCSUsrMsg_SendAudio::IsInitialized() const {
  5954. return true;
  5955. }
  5956. void CCSUsrMsg_SendAudio::Swap(CCSUsrMsg_SendAudio* other) {
  5957. if (other != this) {
  5958. std::swap(radio_sound_, other->radio_sound_);
  5959. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5960. _unknown_fields_.Swap(&other->_unknown_fields_);
  5961. std::swap(_cached_size_, other->_cached_size_);
  5962. }
  5963. }
  5964. ::google::protobuf::Metadata CCSUsrMsg_SendAudio::GetMetadata() const {
  5965. protobuf_AssignDescriptorsOnce();
  5966. ::google::protobuf::Metadata metadata;
  5967. metadata.descriptor = CCSUsrMsg_SendAudio_descriptor_;
  5968. metadata.reflection = CCSUsrMsg_SendAudio_reflection_;
  5969. return metadata;
  5970. }
  5971. // ===================================================================
  5972. #ifndef _MSC_VER
  5973. const int CCSUsrMsg_RawAudio::kPitchFieldNumber;
  5974. const int CCSUsrMsg_RawAudio::kEntidxFieldNumber;
  5975. const int CCSUsrMsg_RawAudio::kDurationFieldNumber;
  5976. const int CCSUsrMsg_RawAudio::kVoiceFilenameFieldNumber;
  5977. #endif // !_MSC_VER
  5978. CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio()
  5979. : ::google::protobuf::Message() {
  5980. SharedCtor();
  5981. }
  5982. void CCSUsrMsg_RawAudio::InitAsDefaultInstance() {
  5983. }
  5984. CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio(const CCSUsrMsg_RawAudio& from)
  5985. : ::google::protobuf::Message() {
  5986. SharedCtor();
  5987. MergeFrom(from);
  5988. }
  5989. void CCSUsrMsg_RawAudio::SharedCtor() {
  5990. _cached_size_ = 0;
  5991. pitch_ = 0;
  5992. entidx_ = 0;
  5993. duration_ = 0;
  5994. voice_filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5995. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5996. }
  5997. CCSUsrMsg_RawAudio::~CCSUsrMsg_RawAudio() {
  5998. SharedDtor();
  5999. }
  6000. void CCSUsrMsg_RawAudio::SharedDtor() {
  6001. if (voice_filename_ != &::google::protobuf::internal::kEmptyString) {
  6002. delete voice_filename_;
  6003. }
  6004. if (this != default_instance_) {
  6005. }
  6006. }
  6007. void CCSUsrMsg_RawAudio::SetCachedSize(int size) const {
  6008. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6009. _cached_size_ = size;
  6010. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6011. }
  6012. const ::google::protobuf::Descriptor* CCSUsrMsg_RawAudio::descriptor() {
  6013. protobuf_AssignDescriptorsOnce();
  6014. return CCSUsrMsg_RawAudio_descriptor_;
  6015. }
  6016. const CCSUsrMsg_RawAudio& CCSUsrMsg_RawAudio::default_instance() {
  6017. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  6018. return *default_instance_;
  6019. }
  6020. CCSUsrMsg_RawAudio* CCSUsrMsg_RawAudio::default_instance_ = NULL;
  6021. CCSUsrMsg_RawAudio* CCSUsrMsg_RawAudio::New() const {
  6022. return new CCSUsrMsg_RawAudio;
  6023. }
  6024. void CCSUsrMsg_RawAudio::Clear() {
  6025. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6026. pitch_ = 0;
  6027. entidx_ = 0;
  6028. duration_ = 0;
  6029. if (has_voice_filename()) {
  6030. if (voice_filename_ != &::google::protobuf::internal::kEmptyString) {
  6031. voice_filename_->clear();
  6032. }
  6033. }
  6034. }
  6035. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6036. mutable_unknown_fields()->Clear();
  6037. }
  6038. bool CCSUsrMsg_RawAudio::MergePartialFromCodedStream(
  6039. ::google::protobuf::io::CodedInputStream* input) {
  6040. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6041. ::google::protobuf::uint32 tag;
  6042. while ((tag = input->ReadTag()) != 0) {
  6043. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6044. // optional int32 pitch = 1;
  6045. case 1: {
  6046. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6047. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6048. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6049. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6050. input, &pitch_)));
  6051. set_has_pitch();
  6052. } else {
  6053. goto handle_uninterpreted;
  6054. }
  6055. if (input->ExpectTag(16)) goto parse_entidx;
  6056. break;
  6057. }
  6058. // optional int32 entidx = 2;
  6059. case 2: {
  6060. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6061. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6062. parse_entidx:
  6063. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6064. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6065. input, &entidx_)));
  6066. set_has_entidx();
  6067. } else {
  6068. goto handle_uninterpreted;
  6069. }
  6070. if (input->ExpectTag(29)) goto parse_duration;
  6071. break;
  6072. }
  6073. // optional float duration = 3;
  6074. case 3: {
  6075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  6077. parse_duration:
  6078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6079. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  6080. input, &duration_)));
  6081. set_has_duration();
  6082. } else {
  6083. goto handle_uninterpreted;
  6084. }
  6085. if (input->ExpectTag(34)) goto parse_voice_filename;
  6086. break;
  6087. }
  6088. // optional string voice_filename = 4;
  6089. case 4: {
  6090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6092. parse_voice_filename:
  6093. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6094. input, this->mutable_voice_filename()));
  6095. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6096. this->voice_filename().data(), this->voice_filename().length(),
  6097. ::google::protobuf::internal::WireFormat::PARSE);
  6098. } else {
  6099. goto handle_uninterpreted;
  6100. }
  6101. if (input->ExpectAtEnd()) return true;
  6102. break;
  6103. }
  6104. default: {
  6105. handle_uninterpreted:
  6106. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6107. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6108. return true;
  6109. }
  6110. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6111. input, tag, mutable_unknown_fields()));
  6112. break;
  6113. }
  6114. }
  6115. }
  6116. return true;
  6117. #undef DO_
  6118. }
  6119. void CCSUsrMsg_RawAudio::SerializeWithCachedSizes(
  6120. ::google::protobuf::io::CodedOutputStream* output) const {
  6121. // optional int32 pitch = 1;
  6122. if (has_pitch()) {
  6123. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->pitch(), output);
  6124. }
  6125. // optional int32 entidx = 2;
  6126. if (has_entidx()) {
  6127. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->entidx(), output);
  6128. }
  6129. // optional float duration = 3;
  6130. if (has_duration()) {
  6131. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->duration(), output);
  6132. }
  6133. // optional string voice_filename = 4;
  6134. if (has_voice_filename()) {
  6135. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6136. this->voice_filename().data(), this->voice_filename().length(),
  6137. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6138. ::google::protobuf::internal::WireFormatLite::WriteString(
  6139. 4, this->voice_filename(), output);
  6140. }
  6141. if (!unknown_fields().empty()) {
  6142. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6143. unknown_fields(), output);
  6144. }
  6145. }
  6146. ::google::protobuf::uint8* CCSUsrMsg_RawAudio::SerializeWithCachedSizesToArray(
  6147. ::google::protobuf::uint8* target) const {
  6148. // optional int32 pitch = 1;
  6149. if (has_pitch()) {
  6150. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->pitch(), target);
  6151. }
  6152. // optional int32 entidx = 2;
  6153. if (has_entidx()) {
  6154. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->entidx(), target);
  6155. }
  6156. // optional float duration = 3;
  6157. if (has_duration()) {
  6158. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->duration(), target);
  6159. }
  6160. // optional string voice_filename = 4;
  6161. if (has_voice_filename()) {
  6162. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6163. this->voice_filename().data(), this->voice_filename().length(),
  6164. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6165. target =
  6166. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  6167. 4, this->voice_filename(), target);
  6168. }
  6169. if (!unknown_fields().empty()) {
  6170. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6171. unknown_fields(), target);
  6172. }
  6173. return target;
  6174. }
  6175. int CCSUsrMsg_RawAudio::ByteSize() const {
  6176. int total_size = 0;
  6177. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6178. // optional int32 pitch = 1;
  6179. if (has_pitch()) {
  6180. total_size += 1 +
  6181. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6182. this->pitch());
  6183. }
  6184. // optional int32 entidx = 2;
  6185. if (has_entidx()) {
  6186. total_size += 1 +
  6187. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6188. this->entidx());
  6189. }
  6190. // optional float duration = 3;
  6191. if (has_duration()) {
  6192. total_size += 1 + 4;
  6193. }
  6194. // optional string voice_filename = 4;
  6195. if (has_voice_filename()) {
  6196. total_size += 1 +
  6197. ::google::protobuf::internal::WireFormatLite::StringSize(
  6198. this->voice_filename());
  6199. }
  6200. }
  6201. if (!unknown_fields().empty()) {
  6202. total_size +=
  6203. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6204. unknown_fields());
  6205. }
  6206. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6207. _cached_size_ = total_size;
  6208. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6209. return total_size;
  6210. }
  6211. void CCSUsrMsg_RawAudio::MergeFrom(const ::google::protobuf::Message& from) {
  6212. GOOGLE_CHECK_NE(&from, this);
  6213. const CCSUsrMsg_RawAudio* source =
  6214. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_RawAudio*>(
  6215. &from);
  6216. if (source == NULL) {
  6217. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6218. } else {
  6219. MergeFrom(*source);
  6220. }
  6221. }
  6222. void CCSUsrMsg_RawAudio::MergeFrom(const CCSUsrMsg_RawAudio& from) {
  6223. GOOGLE_CHECK_NE(&from, this);
  6224. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6225. if (from.has_pitch()) {
  6226. set_pitch(from.pitch());
  6227. }
  6228. if (from.has_entidx()) {
  6229. set_entidx(from.entidx());
  6230. }
  6231. if (from.has_duration()) {
  6232. set_duration(from.duration());
  6233. }
  6234. if (from.has_voice_filename()) {
  6235. set_voice_filename(from.voice_filename());
  6236. }
  6237. }
  6238. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6239. }
  6240. void CCSUsrMsg_RawAudio::CopyFrom(const ::google::protobuf::Message& from) {
  6241. if (&from == this) return;
  6242. Clear();
  6243. MergeFrom(from);
  6244. }
  6245. void CCSUsrMsg_RawAudio::CopyFrom(const CCSUsrMsg_RawAudio& from) {
  6246. if (&from == this) return;
  6247. Clear();
  6248. MergeFrom(from);
  6249. }
  6250. bool CCSUsrMsg_RawAudio::IsInitialized() const {
  6251. return true;
  6252. }
  6253. void CCSUsrMsg_RawAudio::Swap(CCSUsrMsg_RawAudio* other) {
  6254. if (other != this) {
  6255. std::swap(pitch_, other->pitch_);
  6256. std::swap(entidx_, other->entidx_);
  6257. std::swap(duration_, other->duration_);
  6258. std::swap(voice_filename_, other->voice_filename_);
  6259. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6260. _unknown_fields_.Swap(&other->_unknown_fields_);
  6261. std::swap(_cached_size_, other->_cached_size_);
  6262. }
  6263. }
  6264. ::google::protobuf::Metadata CCSUsrMsg_RawAudio::GetMetadata() const {
  6265. protobuf_AssignDescriptorsOnce();
  6266. ::google::protobuf::Metadata metadata;
  6267. metadata.descriptor = CCSUsrMsg_RawAudio_descriptor_;
  6268. metadata.reflection = CCSUsrMsg_RawAudio_reflection_;
  6269. return metadata;
  6270. }
  6271. // ===================================================================
  6272. #ifndef _MSC_VER
  6273. const int CCSUsrMsg_VoiceMask_PlayerMask::kGameRulesMaskFieldNumber;
  6274. const int CCSUsrMsg_VoiceMask_PlayerMask::kBanMasksFieldNumber;
  6275. #endif // !_MSC_VER
  6276. CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask()
  6277. : ::google::protobuf::Message() {
  6278. SharedCtor();
  6279. }
  6280. void CCSUsrMsg_VoiceMask_PlayerMask::InitAsDefaultInstance() {
  6281. }
  6282. CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask(const CCSUsrMsg_VoiceMask_PlayerMask& from)
  6283. : ::google::protobuf::Message() {
  6284. SharedCtor();
  6285. MergeFrom(from);
  6286. }
  6287. void CCSUsrMsg_VoiceMask_PlayerMask::SharedCtor() {
  6288. _cached_size_ = 0;
  6289. game_rules_mask_ = 0;
  6290. ban_masks_ = 0;
  6291. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6292. }
  6293. CCSUsrMsg_VoiceMask_PlayerMask::~CCSUsrMsg_VoiceMask_PlayerMask() {
  6294. SharedDtor();
  6295. }
  6296. void CCSUsrMsg_VoiceMask_PlayerMask::SharedDtor() {
  6297. if (this != default_instance_) {
  6298. }
  6299. }
  6300. void CCSUsrMsg_VoiceMask_PlayerMask::SetCachedSize(int size) const {
  6301. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6302. _cached_size_ = size;
  6303. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6304. }
  6305. const ::google::protobuf::Descriptor* CCSUsrMsg_VoiceMask_PlayerMask::descriptor() {
  6306. protobuf_AssignDescriptorsOnce();
  6307. return CCSUsrMsg_VoiceMask_PlayerMask_descriptor_;
  6308. }
  6309. const CCSUsrMsg_VoiceMask_PlayerMask& CCSUsrMsg_VoiceMask_PlayerMask::default_instance() {
  6310. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  6311. return *default_instance_;
  6312. }
  6313. CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask_PlayerMask::default_instance_ = NULL;
  6314. CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask_PlayerMask::New() const {
  6315. return new CCSUsrMsg_VoiceMask_PlayerMask;
  6316. }
  6317. void CCSUsrMsg_VoiceMask_PlayerMask::Clear() {
  6318. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6319. game_rules_mask_ = 0;
  6320. ban_masks_ = 0;
  6321. }
  6322. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6323. mutable_unknown_fields()->Clear();
  6324. }
  6325. bool CCSUsrMsg_VoiceMask_PlayerMask::MergePartialFromCodedStream(
  6326. ::google::protobuf::io::CodedInputStream* input) {
  6327. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6328. ::google::protobuf::uint32 tag;
  6329. while ((tag = input->ReadTag()) != 0) {
  6330. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6331. // optional int32 game_rules_mask = 1;
  6332. case 1: {
  6333. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6334. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6335. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6336. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6337. input, &game_rules_mask_)));
  6338. set_has_game_rules_mask();
  6339. } else {
  6340. goto handle_uninterpreted;
  6341. }
  6342. if (input->ExpectTag(16)) goto parse_ban_masks;
  6343. break;
  6344. }
  6345. // optional int32 ban_masks = 2;
  6346. case 2: {
  6347. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6348. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6349. parse_ban_masks:
  6350. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6351. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6352. input, &ban_masks_)));
  6353. set_has_ban_masks();
  6354. } else {
  6355. goto handle_uninterpreted;
  6356. }
  6357. if (input->ExpectAtEnd()) return true;
  6358. break;
  6359. }
  6360. default: {
  6361. handle_uninterpreted:
  6362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6364. return true;
  6365. }
  6366. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6367. input, tag, mutable_unknown_fields()));
  6368. break;
  6369. }
  6370. }
  6371. }
  6372. return true;
  6373. #undef DO_
  6374. }
  6375. void CCSUsrMsg_VoiceMask_PlayerMask::SerializeWithCachedSizes(
  6376. ::google::protobuf::io::CodedOutputStream* output) const {
  6377. // optional int32 game_rules_mask = 1;
  6378. if (has_game_rules_mask()) {
  6379. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->game_rules_mask(), output);
  6380. }
  6381. // optional int32 ban_masks = 2;
  6382. if (has_ban_masks()) {
  6383. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ban_masks(), output);
  6384. }
  6385. if (!unknown_fields().empty()) {
  6386. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6387. unknown_fields(), output);
  6388. }
  6389. }
  6390. ::google::protobuf::uint8* CCSUsrMsg_VoiceMask_PlayerMask::SerializeWithCachedSizesToArray(
  6391. ::google::protobuf::uint8* target) const {
  6392. // optional int32 game_rules_mask = 1;
  6393. if (has_game_rules_mask()) {
  6394. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->game_rules_mask(), target);
  6395. }
  6396. // optional int32 ban_masks = 2;
  6397. if (has_ban_masks()) {
  6398. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ban_masks(), target);
  6399. }
  6400. if (!unknown_fields().empty()) {
  6401. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6402. unknown_fields(), target);
  6403. }
  6404. return target;
  6405. }
  6406. int CCSUsrMsg_VoiceMask_PlayerMask::ByteSize() const {
  6407. int total_size = 0;
  6408. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6409. // optional int32 game_rules_mask = 1;
  6410. if (has_game_rules_mask()) {
  6411. total_size += 1 +
  6412. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6413. this->game_rules_mask());
  6414. }
  6415. // optional int32 ban_masks = 2;
  6416. if (has_ban_masks()) {
  6417. total_size += 1 +
  6418. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6419. this->ban_masks());
  6420. }
  6421. }
  6422. if (!unknown_fields().empty()) {
  6423. total_size +=
  6424. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6425. unknown_fields());
  6426. }
  6427. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6428. _cached_size_ = total_size;
  6429. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6430. return total_size;
  6431. }
  6432. void CCSUsrMsg_VoiceMask_PlayerMask::MergeFrom(const ::google::protobuf::Message& from) {
  6433. GOOGLE_CHECK_NE(&from, this);
  6434. const CCSUsrMsg_VoiceMask_PlayerMask* source =
  6435. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VoiceMask_PlayerMask*>(
  6436. &from);
  6437. if (source == NULL) {
  6438. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6439. } else {
  6440. MergeFrom(*source);
  6441. }
  6442. }
  6443. void CCSUsrMsg_VoiceMask_PlayerMask::MergeFrom(const CCSUsrMsg_VoiceMask_PlayerMask& from) {
  6444. GOOGLE_CHECK_NE(&from, this);
  6445. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6446. if (from.has_game_rules_mask()) {
  6447. set_game_rules_mask(from.game_rules_mask());
  6448. }
  6449. if (from.has_ban_masks()) {
  6450. set_ban_masks(from.ban_masks());
  6451. }
  6452. }
  6453. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6454. }
  6455. void CCSUsrMsg_VoiceMask_PlayerMask::CopyFrom(const ::google::protobuf::Message& from) {
  6456. if (&from == this) return;
  6457. Clear();
  6458. MergeFrom(from);
  6459. }
  6460. void CCSUsrMsg_VoiceMask_PlayerMask::CopyFrom(const CCSUsrMsg_VoiceMask_PlayerMask& from) {
  6461. if (&from == this) return;
  6462. Clear();
  6463. MergeFrom(from);
  6464. }
  6465. bool CCSUsrMsg_VoiceMask_PlayerMask::IsInitialized() const {
  6466. return true;
  6467. }
  6468. void CCSUsrMsg_VoiceMask_PlayerMask::Swap(CCSUsrMsg_VoiceMask_PlayerMask* other) {
  6469. if (other != this) {
  6470. std::swap(game_rules_mask_, other->game_rules_mask_);
  6471. std::swap(ban_masks_, other->ban_masks_);
  6472. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6473. _unknown_fields_.Swap(&other->_unknown_fields_);
  6474. std::swap(_cached_size_, other->_cached_size_);
  6475. }
  6476. }
  6477. ::google::protobuf::Metadata CCSUsrMsg_VoiceMask_PlayerMask::GetMetadata() const {
  6478. protobuf_AssignDescriptorsOnce();
  6479. ::google::protobuf::Metadata metadata;
  6480. metadata.descriptor = CCSUsrMsg_VoiceMask_PlayerMask_descriptor_;
  6481. metadata.reflection = CCSUsrMsg_VoiceMask_PlayerMask_reflection_;
  6482. return metadata;
  6483. }
  6484. // -------------------------------------------------------------------
  6485. #ifndef _MSC_VER
  6486. const int CCSUsrMsg_VoiceMask::kPlayerMasksFieldNumber;
  6487. const int CCSUsrMsg_VoiceMask::kPlayerModEnableFieldNumber;
  6488. #endif // !_MSC_VER
  6489. CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask()
  6490. : ::google::protobuf::Message() {
  6491. SharedCtor();
  6492. }
  6493. void CCSUsrMsg_VoiceMask::InitAsDefaultInstance() {
  6494. }
  6495. CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask(const CCSUsrMsg_VoiceMask& from)
  6496. : ::google::protobuf::Message() {
  6497. SharedCtor();
  6498. MergeFrom(from);
  6499. }
  6500. void CCSUsrMsg_VoiceMask::SharedCtor() {
  6501. _cached_size_ = 0;
  6502. player_mod_enable_ = false;
  6503. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6504. }
  6505. CCSUsrMsg_VoiceMask::~CCSUsrMsg_VoiceMask() {
  6506. SharedDtor();
  6507. }
  6508. void CCSUsrMsg_VoiceMask::SharedDtor() {
  6509. if (this != default_instance_) {
  6510. }
  6511. }
  6512. void CCSUsrMsg_VoiceMask::SetCachedSize(int size) const {
  6513. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6514. _cached_size_ = size;
  6515. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6516. }
  6517. const ::google::protobuf::Descriptor* CCSUsrMsg_VoiceMask::descriptor() {
  6518. protobuf_AssignDescriptorsOnce();
  6519. return CCSUsrMsg_VoiceMask_descriptor_;
  6520. }
  6521. const CCSUsrMsg_VoiceMask& CCSUsrMsg_VoiceMask::default_instance() {
  6522. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  6523. return *default_instance_;
  6524. }
  6525. CCSUsrMsg_VoiceMask* CCSUsrMsg_VoiceMask::default_instance_ = NULL;
  6526. CCSUsrMsg_VoiceMask* CCSUsrMsg_VoiceMask::New() const {
  6527. return new CCSUsrMsg_VoiceMask;
  6528. }
  6529. void CCSUsrMsg_VoiceMask::Clear() {
  6530. if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  6531. player_mod_enable_ = false;
  6532. }
  6533. player_masks_.Clear();
  6534. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6535. mutable_unknown_fields()->Clear();
  6536. }
  6537. bool CCSUsrMsg_VoiceMask::MergePartialFromCodedStream(
  6538. ::google::protobuf::io::CodedInputStream* input) {
  6539. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6540. ::google::protobuf::uint32 tag;
  6541. while ((tag = input->ReadTag()) != 0) {
  6542. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6543. // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1;
  6544. case 1: {
  6545. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6546. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6547. parse_player_masks:
  6548. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6549. input, add_player_masks()));
  6550. } else {
  6551. goto handle_uninterpreted;
  6552. }
  6553. if (input->ExpectTag(10)) goto parse_player_masks;
  6554. if (input->ExpectTag(16)) goto parse_player_mod_enable;
  6555. break;
  6556. }
  6557. // optional bool player_mod_enable = 2;
  6558. case 2: {
  6559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6561. parse_player_mod_enable:
  6562. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6563. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6564. input, &player_mod_enable_)));
  6565. set_has_player_mod_enable();
  6566. } else {
  6567. goto handle_uninterpreted;
  6568. }
  6569. if (input->ExpectAtEnd()) return true;
  6570. break;
  6571. }
  6572. default: {
  6573. handle_uninterpreted:
  6574. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6575. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6576. return true;
  6577. }
  6578. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6579. input, tag, mutable_unknown_fields()));
  6580. break;
  6581. }
  6582. }
  6583. }
  6584. return true;
  6585. #undef DO_
  6586. }
  6587. void CCSUsrMsg_VoiceMask::SerializeWithCachedSizes(
  6588. ::google::protobuf::io::CodedOutputStream* output) const {
  6589. // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1;
  6590. for (int i = 0; i < this->player_masks_size(); i++) {
  6591. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6592. 1, this->player_masks(i), output);
  6593. }
  6594. // optional bool player_mod_enable = 2;
  6595. if (has_player_mod_enable()) {
  6596. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->player_mod_enable(), output);
  6597. }
  6598. if (!unknown_fields().empty()) {
  6599. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6600. unknown_fields(), output);
  6601. }
  6602. }
  6603. ::google::protobuf::uint8* CCSUsrMsg_VoiceMask::SerializeWithCachedSizesToArray(
  6604. ::google::protobuf::uint8* target) const {
  6605. // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1;
  6606. for (int i = 0; i < this->player_masks_size(); i++) {
  6607. target = ::google::protobuf::internal::WireFormatLite::
  6608. WriteMessageNoVirtualToArray(
  6609. 1, this->player_masks(i), target);
  6610. }
  6611. // optional bool player_mod_enable = 2;
  6612. if (has_player_mod_enable()) {
  6613. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->player_mod_enable(), target);
  6614. }
  6615. if (!unknown_fields().empty()) {
  6616. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6617. unknown_fields(), target);
  6618. }
  6619. return target;
  6620. }
  6621. int CCSUsrMsg_VoiceMask::ByteSize() const {
  6622. int total_size = 0;
  6623. if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  6624. // optional bool player_mod_enable = 2;
  6625. if (has_player_mod_enable()) {
  6626. total_size += 1 + 1;
  6627. }
  6628. }
  6629. // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1;
  6630. total_size += 1 * this->player_masks_size();
  6631. for (int i = 0; i < this->player_masks_size(); i++) {
  6632. total_size +=
  6633. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6634. this->player_masks(i));
  6635. }
  6636. if (!unknown_fields().empty()) {
  6637. total_size +=
  6638. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6639. unknown_fields());
  6640. }
  6641. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6642. _cached_size_ = total_size;
  6643. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6644. return total_size;
  6645. }
  6646. void CCSUsrMsg_VoiceMask::MergeFrom(const ::google::protobuf::Message& from) {
  6647. GOOGLE_CHECK_NE(&from, this);
  6648. const CCSUsrMsg_VoiceMask* source =
  6649. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VoiceMask*>(
  6650. &from);
  6651. if (source == NULL) {
  6652. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6653. } else {
  6654. MergeFrom(*source);
  6655. }
  6656. }
  6657. void CCSUsrMsg_VoiceMask::MergeFrom(const CCSUsrMsg_VoiceMask& from) {
  6658. GOOGLE_CHECK_NE(&from, this);
  6659. player_masks_.MergeFrom(from.player_masks_);
  6660. if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  6661. if (from.has_player_mod_enable()) {
  6662. set_player_mod_enable(from.player_mod_enable());
  6663. }
  6664. }
  6665. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6666. }
  6667. void CCSUsrMsg_VoiceMask::CopyFrom(const ::google::protobuf::Message& from) {
  6668. if (&from == this) return;
  6669. Clear();
  6670. MergeFrom(from);
  6671. }
  6672. void CCSUsrMsg_VoiceMask::CopyFrom(const CCSUsrMsg_VoiceMask& from) {
  6673. if (&from == this) return;
  6674. Clear();
  6675. MergeFrom(from);
  6676. }
  6677. bool CCSUsrMsg_VoiceMask::IsInitialized() const {
  6678. return true;
  6679. }
  6680. void CCSUsrMsg_VoiceMask::Swap(CCSUsrMsg_VoiceMask* other) {
  6681. if (other != this) {
  6682. player_masks_.Swap(&other->player_masks_);
  6683. std::swap(player_mod_enable_, other->player_mod_enable_);
  6684. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6685. _unknown_fields_.Swap(&other->_unknown_fields_);
  6686. std::swap(_cached_size_, other->_cached_size_);
  6687. }
  6688. }
  6689. ::google::protobuf::Metadata CCSUsrMsg_VoiceMask::GetMetadata() const {
  6690. protobuf_AssignDescriptorsOnce();
  6691. ::google::protobuf::Metadata metadata;
  6692. metadata.descriptor = CCSUsrMsg_VoiceMask_descriptor_;
  6693. metadata.reflection = CCSUsrMsg_VoiceMask_reflection_;
  6694. return metadata;
  6695. }
  6696. // ===================================================================
  6697. #ifndef _MSC_VER
  6698. const int CCSUsrMsg_Damage::kAmountFieldNumber;
  6699. const int CCSUsrMsg_Damage::kInflictorWorldPosFieldNumber;
  6700. const int CCSUsrMsg_Damage::kVictimEntindexFieldNumber;
  6701. #endif // !_MSC_VER
  6702. CCSUsrMsg_Damage::CCSUsrMsg_Damage()
  6703. : ::google::protobuf::Message() {
  6704. SharedCtor();
  6705. }
  6706. void CCSUsrMsg_Damage::InitAsDefaultInstance() {
  6707. inflictor_world_pos_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance());
  6708. }
  6709. CCSUsrMsg_Damage::CCSUsrMsg_Damage(const CCSUsrMsg_Damage& from)
  6710. : ::google::protobuf::Message() {
  6711. SharedCtor();
  6712. MergeFrom(from);
  6713. }
  6714. void CCSUsrMsg_Damage::SharedCtor() {
  6715. _cached_size_ = 0;
  6716. amount_ = 0;
  6717. inflictor_world_pos_ = NULL;
  6718. victim_entindex_ = 0;
  6719. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6720. }
  6721. CCSUsrMsg_Damage::~CCSUsrMsg_Damage() {
  6722. SharedDtor();
  6723. }
  6724. void CCSUsrMsg_Damage::SharedDtor() {
  6725. if (this != default_instance_) {
  6726. delete inflictor_world_pos_;
  6727. }
  6728. }
  6729. void CCSUsrMsg_Damage::SetCachedSize(int size) const {
  6730. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6731. _cached_size_ = size;
  6732. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6733. }
  6734. const ::google::protobuf::Descriptor* CCSUsrMsg_Damage::descriptor() {
  6735. protobuf_AssignDescriptorsOnce();
  6736. return CCSUsrMsg_Damage_descriptor_;
  6737. }
  6738. const CCSUsrMsg_Damage& CCSUsrMsg_Damage::default_instance() {
  6739. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  6740. return *default_instance_;
  6741. }
  6742. CCSUsrMsg_Damage* CCSUsrMsg_Damage::default_instance_ = NULL;
  6743. CCSUsrMsg_Damage* CCSUsrMsg_Damage::New() const {
  6744. return new CCSUsrMsg_Damage;
  6745. }
  6746. void CCSUsrMsg_Damage::Clear() {
  6747. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6748. amount_ = 0;
  6749. if (has_inflictor_world_pos()) {
  6750. if (inflictor_world_pos_ != NULL) inflictor_world_pos_->::CMsgVector::Clear();
  6751. }
  6752. victim_entindex_ = 0;
  6753. }
  6754. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6755. mutable_unknown_fields()->Clear();
  6756. }
  6757. bool CCSUsrMsg_Damage::MergePartialFromCodedStream(
  6758. ::google::protobuf::io::CodedInputStream* input) {
  6759. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6760. ::google::protobuf::uint32 tag;
  6761. while ((tag = input->ReadTag()) != 0) {
  6762. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6763. // optional int32 amount = 1;
  6764. case 1: {
  6765. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6766. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6767. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6768. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6769. input, &amount_)));
  6770. set_has_amount();
  6771. } else {
  6772. goto handle_uninterpreted;
  6773. }
  6774. if (input->ExpectTag(18)) goto parse_inflictor_world_pos;
  6775. break;
  6776. }
  6777. // optional .CMsgVector inflictor_world_pos = 2;
  6778. case 2: {
  6779. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6780. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6781. parse_inflictor_world_pos:
  6782. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6783. input, mutable_inflictor_world_pos()));
  6784. } else {
  6785. goto handle_uninterpreted;
  6786. }
  6787. if (input->ExpectTag(24)) goto parse_victim_entindex;
  6788. break;
  6789. }
  6790. // optional int32 victim_entindex = 3;
  6791. case 3: {
  6792. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6793. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6794. parse_victim_entindex:
  6795. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6796. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6797. input, &victim_entindex_)));
  6798. set_has_victim_entindex();
  6799. } else {
  6800. goto handle_uninterpreted;
  6801. }
  6802. if (input->ExpectAtEnd()) return true;
  6803. break;
  6804. }
  6805. default: {
  6806. handle_uninterpreted:
  6807. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6808. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6809. return true;
  6810. }
  6811. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6812. input, tag, mutable_unknown_fields()));
  6813. break;
  6814. }
  6815. }
  6816. }
  6817. return true;
  6818. #undef DO_
  6819. }
  6820. void CCSUsrMsg_Damage::SerializeWithCachedSizes(
  6821. ::google::protobuf::io::CodedOutputStream* output) const {
  6822. // optional int32 amount = 1;
  6823. if (has_amount()) {
  6824. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->amount(), output);
  6825. }
  6826. // optional .CMsgVector inflictor_world_pos = 2;
  6827. if (has_inflictor_world_pos()) {
  6828. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6829. 2, this->inflictor_world_pos(), output);
  6830. }
  6831. // optional int32 victim_entindex = 3;
  6832. if (has_victim_entindex()) {
  6833. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->victim_entindex(), output);
  6834. }
  6835. if (!unknown_fields().empty()) {
  6836. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6837. unknown_fields(), output);
  6838. }
  6839. }
  6840. ::google::protobuf::uint8* CCSUsrMsg_Damage::SerializeWithCachedSizesToArray(
  6841. ::google::protobuf::uint8* target) const {
  6842. // optional int32 amount = 1;
  6843. if (has_amount()) {
  6844. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->amount(), target);
  6845. }
  6846. // optional .CMsgVector inflictor_world_pos = 2;
  6847. if (has_inflictor_world_pos()) {
  6848. target = ::google::protobuf::internal::WireFormatLite::
  6849. WriteMessageNoVirtualToArray(
  6850. 2, this->inflictor_world_pos(), target);
  6851. }
  6852. // optional int32 victim_entindex = 3;
  6853. if (has_victim_entindex()) {
  6854. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->victim_entindex(), target);
  6855. }
  6856. if (!unknown_fields().empty()) {
  6857. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6858. unknown_fields(), target);
  6859. }
  6860. return target;
  6861. }
  6862. int CCSUsrMsg_Damage::ByteSize() const {
  6863. int total_size = 0;
  6864. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6865. // optional int32 amount = 1;
  6866. if (has_amount()) {
  6867. total_size += 1 +
  6868. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6869. this->amount());
  6870. }
  6871. // optional .CMsgVector inflictor_world_pos = 2;
  6872. if (has_inflictor_world_pos()) {
  6873. total_size += 1 +
  6874. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6875. this->inflictor_world_pos());
  6876. }
  6877. // optional int32 victim_entindex = 3;
  6878. if (has_victim_entindex()) {
  6879. total_size += 1 +
  6880. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6881. this->victim_entindex());
  6882. }
  6883. }
  6884. if (!unknown_fields().empty()) {
  6885. total_size +=
  6886. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6887. unknown_fields());
  6888. }
  6889. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6890. _cached_size_ = total_size;
  6891. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6892. return total_size;
  6893. }
  6894. void CCSUsrMsg_Damage::MergeFrom(const ::google::protobuf::Message& from) {
  6895. GOOGLE_CHECK_NE(&from, this);
  6896. const CCSUsrMsg_Damage* source =
  6897. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_Damage*>(
  6898. &from);
  6899. if (source == NULL) {
  6900. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6901. } else {
  6902. MergeFrom(*source);
  6903. }
  6904. }
  6905. void CCSUsrMsg_Damage::MergeFrom(const CCSUsrMsg_Damage& from) {
  6906. GOOGLE_CHECK_NE(&from, this);
  6907. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6908. if (from.has_amount()) {
  6909. set_amount(from.amount());
  6910. }
  6911. if (from.has_inflictor_world_pos()) {
  6912. mutable_inflictor_world_pos()->::CMsgVector::MergeFrom(from.inflictor_world_pos());
  6913. }
  6914. if (from.has_victim_entindex()) {
  6915. set_victim_entindex(from.victim_entindex());
  6916. }
  6917. }
  6918. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6919. }
  6920. void CCSUsrMsg_Damage::CopyFrom(const ::google::protobuf::Message& from) {
  6921. if (&from == this) return;
  6922. Clear();
  6923. MergeFrom(from);
  6924. }
  6925. void CCSUsrMsg_Damage::CopyFrom(const CCSUsrMsg_Damage& from) {
  6926. if (&from == this) return;
  6927. Clear();
  6928. MergeFrom(from);
  6929. }
  6930. bool CCSUsrMsg_Damage::IsInitialized() const {
  6931. return true;
  6932. }
  6933. void CCSUsrMsg_Damage::Swap(CCSUsrMsg_Damage* other) {
  6934. if (other != this) {
  6935. std::swap(amount_, other->amount_);
  6936. std::swap(inflictor_world_pos_, other->inflictor_world_pos_);
  6937. std::swap(victim_entindex_, other->victim_entindex_);
  6938. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6939. _unknown_fields_.Swap(&other->_unknown_fields_);
  6940. std::swap(_cached_size_, other->_cached_size_);
  6941. }
  6942. }
  6943. ::google::protobuf::Metadata CCSUsrMsg_Damage::GetMetadata() const {
  6944. protobuf_AssignDescriptorsOnce();
  6945. ::google::protobuf::Metadata metadata;
  6946. metadata.descriptor = CCSUsrMsg_Damage_descriptor_;
  6947. metadata.reflection = CCSUsrMsg_Damage_reflection_;
  6948. return metadata;
  6949. }
  6950. // ===================================================================
  6951. #ifndef _MSC_VER
  6952. const int CCSUsrMsg_RadioText::kMsgDstFieldNumber;
  6953. const int CCSUsrMsg_RadioText::kClientFieldNumber;
  6954. const int CCSUsrMsg_RadioText::kMsgNameFieldNumber;
  6955. const int CCSUsrMsg_RadioText::kParamsFieldNumber;
  6956. #endif // !_MSC_VER
  6957. CCSUsrMsg_RadioText::CCSUsrMsg_RadioText()
  6958. : ::google::protobuf::Message() {
  6959. SharedCtor();
  6960. }
  6961. void CCSUsrMsg_RadioText::InitAsDefaultInstance() {
  6962. }
  6963. CCSUsrMsg_RadioText::CCSUsrMsg_RadioText(const CCSUsrMsg_RadioText& from)
  6964. : ::google::protobuf::Message() {
  6965. SharedCtor();
  6966. MergeFrom(from);
  6967. }
  6968. void CCSUsrMsg_RadioText::SharedCtor() {
  6969. _cached_size_ = 0;
  6970. msg_dst_ = 0;
  6971. client_ = 0;
  6972. msg_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6973. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6974. }
  6975. CCSUsrMsg_RadioText::~CCSUsrMsg_RadioText() {
  6976. SharedDtor();
  6977. }
  6978. void CCSUsrMsg_RadioText::SharedDtor() {
  6979. if (msg_name_ != &::google::protobuf::internal::kEmptyString) {
  6980. delete msg_name_;
  6981. }
  6982. if (this != default_instance_) {
  6983. }
  6984. }
  6985. void CCSUsrMsg_RadioText::SetCachedSize(int size) const {
  6986. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6987. _cached_size_ = size;
  6988. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6989. }
  6990. const ::google::protobuf::Descriptor* CCSUsrMsg_RadioText::descriptor() {
  6991. protobuf_AssignDescriptorsOnce();
  6992. return CCSUsrMsg_RadioText_descriptor_;
  6993. }
  6994. const CCSUsrMsg_RadioText& CCSUsrMsg_RadioText::default_instance() {
  6995. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  6996. return *default_instance_;
  6997. }
  6998. CCSUsrMsg_RadioText* CCSUsrMsg_RadioText::default_instance_ = NULL;
  6999. CCSUsrMsg_RadioText* CCSUsrMsg_RadioText::New() const {
  7000. return new CCSUsrMsg_RadioText;
  7001. }
  7002. void CCSUsrMsg_RadioText::Clear() {
  7003. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7004. msg_dst_ = 0;
  7005. client_ = 0;
  7006. if (has_msg_name()) {
  7007. if (msg_name_ != &::google::protobuf::internal::kEmptyString) {
  7008. msg_name_->clear();
  7009. }
  7010. }
  7011. }
  7012. params_.Clear();
  7013. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7014. mutable_unknown_fields()->Clear();
  7015. }
  7016. bool CCSUsrMsg_RadioText::MergePartialFromCodedStream(
  7017. ::google::protobuf::io::CodedInputStream* input) {
  7018. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7019. ::google::protobuf::uint32 tag;
  7020. while ((tag = input->ReadTag()) != 0) {
  7021. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7022. // optional int32 msg_dst = 1;
  7023. case 1: {
  7024. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7025. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7026. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7027. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7028. input, &msg_dst_)));
  7029. set_has_msg_dst();
  7030. } else {
  7031. goto handle_uninterpreted;
  7032. }
  7033. if (input->ExpectTag(16)) goto parse_client;
  7034. break;
  7035. }
  7036. // optional int32 client = 2;
  7037. case 2: {
  7038. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7039. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7040. parse_client:
  7041. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7042. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7043. input, &client_)));
  7044. set_has_client();
  7045. } else {
  7046. goto handle_uninterpreted;
  7047. }
  7048. if (input->ExpectTag(26)) goto parse_msg_name;
  7049. break;
  7050. }
  7051. // optional string msg_name = 3;
  7052. case 3: {
  7053. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7054. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7055. parse_msg_name:
  7056. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7057. input, this->mutable_msg_name()));
  7058. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7059. this->msg_name().data(), this->msg_name().length(),
  7060. ::google::protobuf::internal::WireFormat::PARSE);
  7061. } else {
  7062. goto handle_uninterpreted;
  7063. }
  7064. if (input->ExpectTag(34)) goto parse_params;
  7065. break;
  7066. }
  7067. // repeated string params = 4;
  7068. case 4: {
  7069. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7070. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7071. parse_params:
  7072. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7073. input, this->add_params()));
  7074. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7075. this->params(this->params_size() - 1).data(),
  7076. this->params(this->params_size() - 1).length(),
  7077. ::google::protobuf::internal::WireFormat::PARSE);
  7078. } else {
  7079. goto handle_uninterpreted;
  7080. }
  7081. if (input->ExpectTag(34)) goto parse_params;
  7082. if (input->ExpectAtEnd()) return true;
  7083. break;
  7084. }
  7085. default: {
  7086. handle_uninterpreted:
  7087. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7088. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7089. return true;
  7090. }
  7091. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7092. input, tag, mutable_unknown_fields()));
  7093. break;
  7094. }
  7095. }
  7096. }
  7097. return true;
  7098. #undef DO_
  7099. }
  7100. void CCSUsrMsg_RadioText::SerializeWithCachedSizes(
  7101. ::google::protobuf::io::CodedOutputStream* output) const {
  7102. // optional int32 msg_dst = 1;
  7103. if (has_msg_dst()) {
  7104. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->msg_dst(), output);
  7105. }
  7106. // optional int32 client = 2;
  7107. if (has_client()) {
  7108. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->client(), output);
  7109. }
  7110. // optional string msg_name = 3;
  7111. if (has_msg_name()) {
  7112. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7113. this->msg_name().data(), this->msg_name().length(),
  7114. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7115. ::google::protobuf::internal::WireFormatLite::WriteString(
  7116. 3, this->msg_name(), output);
  7117. }
  7118. // repeated string params = 4;
  7119. for (int i = 0; i < this->params_size(); i++) {
  7120. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7121. this->params(i).data(), this->params(i).length(),
  7122. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7123. ::google::protobuf::internal::WireFormatLite::WriteString(
  7124. 4, this->params(i), output);
  7125. }
  7126. if (!unknown_fields().empty()) {
  7127. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7128. unknown_fields(), output);
  7129. }
  7130. }
  7131. ::google::protobuf::uint8* CCSUsrMsg_RadioText::SerializeWithCachedSizesToArray(
  7132. ::google::protobuf::uint8* target) const {
  7133. // optional int32 msg_dst = 1;
  7134. if (has_msg_dst()) {
  7135. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->msg_dst(), target);
  7136. }
  7137. // optional int32 client = 2;
  7138. if (has_client()) {
  7139. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->client(), target);
  7140. }
  7141. // optional string msg_name = 3;
  7142. if (has_msg_name()) {
  7143. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7144. this->msg_name().data(), this->msg_name().length(),
  7145. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7146. target =
  7147. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7148. 3, this->msg_name(), target);
  7149. }
  7150. // repeated string params = 4;
  7151. for (int i = 0; i < this->params_size(); i++) {
  7152. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7153. this->params(i).data(), this->params(i).length(),
  7154. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7155. target = ::google::protobuf::internal::WireFormatLite::
  7156. WriteStringToArray(4, this->params(i), target);
  7157. }
  7158. if (!unknown_fields().empty()) {
  7159. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7160. unknown_fields(), target);
  7161. }
  7162. return target;
  7163. }
  7164. int CCSUsrMsg_RadioText::ByteSize() const {
  7165. int total_size = 0;
  7166. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7167. // optional int32 msg_dst = 1;
  7168. if (has_msg_dst()) {
  7169. total_size += 1 +
  7170. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7171. this->msg_dst());
  7172. }
  7173. // optional int32 client = 2;
  7174. if (has_client()) {
  7175. total_size += 1 +
  7176. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7177. this->client());
  7178. }
  7179. // optional string msg_name = 3;
  7180. if (has_msg_name()) {
  7181. total_size += 1 +
  7182. ::google::protobuf::internal::WireFormatLite::StringSize(
  7183. this->msg_name());
  7184. }
  7185. }
  7186. // repeated string params = 4;
  7187. total_size += 1 * this->params_size();
  7188. for (int i = 0; i < this->params_size(); i++) {
  7189. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  7190. this->params(i));
  7191. }
  7192. if (!unknown_fields().empty()) {
  7193. total_size +=
  7194. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7195. unknown_fields());
  7196. }
  7197. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7198. _cached_size_ = total_size;
  7199. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7200. return total_size;
  7201. }
  7202. void CCSUsrMsg_RadioText::MergeFrom(const ::google::protobuf::Message& from) {
  7203. GOOGLE_CHECK_NE(&from, this);
  7204. const CCSUsrMsg_RadioText* source =
  7205. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_RadioText*>(
  7206. &from);
  7207. if (source == NULL) {
  7208. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7209. } else {
  7210. MergeFrom(*source);
  7211. }
  7212. }
  7213. void CCSUsrMsg_RadioText::MergeFrom(const CCSUsrMsg_RadioText& from) {
  7214. GOOGLE_CHECK_NE(&from, this);
  7215. params_.MergeFrom(from.params_);
  7216. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7217. if (from.has_msg_dst()) {
  7218. set_msg_dst(from.msg_dst());
  7219. }
  7220. if (from.has_client()) {
  7221. set_client(from.client());
  7222. }
  7223. if (from.has_msg_name()) {
  7224. set_msg_name(from.msg_name());
  7225. }
  7226. }
  7227. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7228. }
  7229. void CCSUsrMsg_RadioText::CopyFrom(const ::google::protobuf::Message& from) {
  7230. if (&from == this) return;
  7231. Clear();
  7232. MergeFrom(from);
  7233. }
  7234. void CCSUsrMsg_RadioText::CopyFrom(const CCSUsrMsg_RadioText& from) {
  7235. if (&from == this) return;
  7236. Clear();
  7237. MergeFrom(from);
  7238. }
  7239. bool CCSUsrMsg_RadioText::IsInitialized() const {
  7240. return true;
  7241. }
  7242. void CCSUsrMsg_RadioText::Swap(CCSUsrMsg_RadioText* other) {
  7243. if (other != this) {
  7244. std::swap(msg_dst_, other->msg_dst_);
  7245. std::swap(client_, other->client_);
  7246. std::swap(msg_name_, other->msg_name_);
  7247. params_.Swap(&other->params_);
  7248. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7249. _unknown_fields_.Swap(&other->_unknown_fields_);
  7250. std::swap(_cached_size_, other->_cached_size_);
  7251. }
  7252. }
  7253. ::google::protobuf::Metadata CCSUsrMsg_RadioText::GetMetadata() const {
  7254. protobuf_AssignDescriptorsOnce();
  7255. ::google::protobuf::Metadata metadata;
  7256. metadata.descriptor = CCSUsrMsg_RadioText_descriptor_;
  7257. metadata.reflection = CCSUsrMsg_RadioText_reflection_;
  7258. return metadata;
  7259. }
  7260. // ===================================================================
  7261. #ifndef _MSC_VER
  7262. const int CCSUsrMsg_HintText::kTextFieldNumber;
  7263. #endif // !_MSC_VER
  7264. CCSUsrMsg_HintText::CCSUsrMsg_HintText()
  7265. : ::google::protobuf::Message() {
  7266. SharedCtor();
  7267. }
  7268. void CCSUsrMsg_HintText::InitAsDefaultInstance() {
  7269. }
  7270. CCSUsrMsg_HintText::CCSUsrMsg_HintText(const CCSUsrMsg_HintText& from)
  7271. : ::google::protobuf::Message() {
  7272. SharedCtor();
  7273. MergeFrom(from);
  7274. }
  7275. void CCSUsrMsg_HintText::SharedCtor() {
  7276. _cached_size_ = 0;
  7277. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7278. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7279. }
  7280. CCSUsrMsg_HintText::~CCSUsrMsg_HintText() {
  7281. SharedDtor();
  7282. }
  7283. void CCSUsrMsg_HintText::SharedDtor() {
  7284. if (text_ != &::google::protobuf::internal::kEmptyString) {
  7285. delete text_;
  7286. }
  7287. if (this != default_instance_) {
  7288. }
  7289. }
  7290. void CCSUsrMsg_HintText::SetCachedSize(int size) const {
  7291. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7292. _cached_size_ = size;
  7293. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7294. }
  7295. const ::google::protobuf::Descriptor* CCSUsrMsg_HintText::descriptor() {
  7296. protobuf_AssignDescriptorsOnce();
  7297. return CCSUsrMsg_HintText_descriptor_;
  7298. }
  7299. const CCSUsrMsg_HintText& CCSUsrMsg_HintText::default_instance() {
  7300. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  7301. return *default_instance_;
  7302. }
  7303. CCSUsrMsg_HintText* CCSUsrMsg_HintText::default_instance_ = NULL;
  7304. CCSUsrMsg_HintText* CCSUsrMsg_HintText::New() const {
  7305. return new CCSUsrMsg_HintText;
  7306. }
  7307. void CCSUsrMsg_HintText::Clear() {
  7308. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7309. if (has_text()) {
  7310. if (text_ != &::google::protobuf::internal::kEmptyString) {
  7311. text_->clear();
  7312. }
  7313. }
  7314. }
  7315. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7316. mutable_unknown_fields()->Clear();
  7317. }
  7318. bool CCSUsrMsg_HintText::MergePartialFromCodedStream(
  7319. ::google::protobuf::io::CodedInputStream* input) {
  7320. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7321. ::google::protobuf::uint32 tag;
  7322. while ((tag = input->ReadTag()) != 0) {
  7323. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7324. // optional string text = 1;
  7325. case 1: {
  7326. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7327. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7328. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7329. input, this->mutable_text()));
  7330. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7331. this->text().data(), this->text().length(),
  7332. ::google::protobuf::internal::WireFormat::PARSE);
  7333. } else {
  7334. goto handle_uninterpreted;
  7335. }
  7336. if (input->ExpectAtEnd()) return true;
  7337. break;
  7338. }
  7339. default: {
  7340. handle_uninterpreted:
  7341. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7342. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7343. return true;
  7344. }
  7345. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7346. input, tag, mutable_unknown_fields()));
  7347. break;
  7348. }
  7349. }
  7350. }
  7351. return true;
  7352. #undef DO_
  7353. }
  7354. void CCSUsrMsg_HintText::SerializeWithCachedSizes(
  7355. ::google::protobuf::io::CodedOutputStream* output) const {
  7356. // optional string text = 1;
  7357. if (has_text()) {
  7358. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7359. this->text().data(), this->text().length(),
  7360. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7361. ::google::protobuf::internal::WireFormatLite::WriteString(
  7362. 1, this->text(), output);
  7363. }
  7364. if (!unknown_fields().empty()) {
  7365. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7366. unknown_fields(), output);
  7367. }
  7368. }
  7369. ::google::protobuf::uint8* CCSUsrMsg_HintText::SerializeWithCachedSizesToArray(
  7370. ::google::protobuf::uint8* target) const {
  7371. // optional string text = 1;
  7372. if (has_text()) {
  7373. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7374. this->text().data(), this->text().length(),
  7375. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7376. target =
  7377. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7378. 1, this->text(), target);
  7379. }
  7380. if (!unknown_fields().empty()) {
  7381. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7382. unknown_fields(), target);
  7383. }
  7384. return target;
  7385. }
  7386. int CCSUsrMsg_HintText::ByteSize() const {
  7387. int total_size = 0;
  7388. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7389. // optional string text = 1;
  7390. if (has_text()) {
  7391. total_size += 1 +
  7392. ::google::protobuf::internal::WireFormatLite::StringSize(
  7393. this->text());
  7394. }
  7395. }
  7396. if (!unknown_fields().empty()) {
  7397. total_size +=
  7398. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7399. unknown_fields());
  7400. }
  7401. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7402. _cached_size_ = total_size;
  7403. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7404. return total_size;
  7405. }
  7406. void CCSUsrMsg_HintText::MergeFrom(const ::google::protobuf::Message& from) {
  7407. GOOGLE_CHECK_NE(&from, this);
  7408. const CCSUsrMsg_HintText* source =
  7409. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_HintText*>(
  7410. &from);
  7411. if (source == NULL) {
  7412. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7413. } else {
  7414. MergeFrom(*source);
  7415. }
  7416. }
  7417. void CCSUsrMsg_HintText::MergeFrom(const CCSUsrMsg_HintText& from) {
  7418. GOOGLE_CHECK_NE(&from, this);
  7419. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7420. if (from.has_text()) {
  7421. set_text(from.text());
  7422. }
  7423. }
  7424. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7425. }
  7426. void CCSUsrMsg_HintText::CopyFrom(const ::google::protobuf::Message& from) {
  7427. if (&from == this) return;
  7428. Clear();
  7429. MergeFrom(from);
  7430. }
  7431. void CCSUsrMsg_HintText::CopyFrom(const CCSUsrMsg_HintText& from) {
  7432. if (&from == this) return;
  7433. Clear();
  7434. MergeFrom(from);
  7435. }
  7436. bool CCSUsrMsg_HintText::IsInitialized() const {
  7437. return true;
  7438. }
  7439. void CCSUsrMsg_HintText::Swap(CCSUsrMsg_HintText* other) {
  7440. if (other != this) {
  7441. std::swap(text_, other->text_);
  7442. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7443. _unknown_fields_.Swap(&other->_unknown_fields_);
  7444. std::swap(_cached_size_, other->_cached_size_);
  7445. }
  7446. }
  7447. ::google::protobuf::Metadata CCSUsrMsg_HintText::GetMetadata() const {
  7448. protobuf_AssignDescriptorsOnce();
  7449. ::google::protobuf::Metadata metadata;
  7450. metadata.descriptor = CCSUsrMsg_HintText_descriptor_;
  7451. metadata.reflection = CCSUsrMsg_HintText_reflection_;
  7452. return metadata;
  7453. }
  7454. // ===================================================================
  7455. #ifndef _MSC_VER
  7456. const int CCSUsrMsg_KeyHintText::kHintsFieldNumber;
  7457. #endif // !_MSC_VER
  7458. CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText()
  7459. : ::google::protobuf::Message() {
  7460. SharedCtor();
  7461. }
  7462. void CCSUsrMsg_KeyHintText::InitAsDefaultInstance() {
  7463. }
  7464. CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText(const CCSUsrMsg_KeyHintText& from)
  7465. : ::google::protobuf::Message() {
  7466. SharedCtor();
  7467. MergeFrom(from);
  7468. }
  7469. void CCSUsrMsg_KeyHintText::SharedCtor() {
  7470. _cached_size_ = 0;
  7471. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7472. }
  7473. CCSUsrMsg_KeyHintText::~CCSUsrMsg_KeyHintText() {
  7474. SharedDtor();
  7475. }
  7476. void CCSUsrMsg_KeyHintText::SharedDtor() {
  7477. if (this != default_instance_) {
  7478. }
  7479. }
  7480. void CCSUsrMsg_KeyHintText::SetCachedSize(int size) const {
  7481. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7482. _cached_size_ = size;
  7483. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7484. }
  7485. const ::google::protobuf::Descriptor* CCSUsrMsg_KeyHintText::descriptor() {
  7486. protobuf_AssignDescriptorsOnce();
  7487. return CCSUsrMsg_KeyHintText_descriptor_;
  7488. }
  7489. const CCSUsrMsg_KeyHintText& CCSUsrMsg_KeyHintText::default_instance() {
  7490. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  7491. return *default_instance_;
  7492. }
  7493. CCSUsrMsg_KeyHintText* CCSUsrMsg_KeyHintText::default_instance_ = NULL;
  7494. CCSUsrMsg_KeyHintText* CCSUsrMsg_KeyHintText::New() const {
  7495. return new CCSUsrMsg_KeyHintText;
  7496. }
  7497. void CCSUsrMsg_KeyHintText::Clear() {
  7498. hints_.Clear();
  7499. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7500. mutable_unknown_fields()->Clear();
  7501. }
  7502. bool CCSUsrMsg_KeyHintText::MergePartialFromCodedStream(
  7503. ::google::protobuf::io::CodedInputStream* input) {
  7504. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7505. ::google::protobuf::uint32 tag;
  7506. while ((tag = input->ReadTag()) != 0) {
  7507. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7508. // repeated string hints = 1;
  7509. case 1: {
  7510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7512. parse_hints:
  7513. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7514. input, this->add_hints()));
  7515. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7516. this->hints(this->hints_size() - 1).data(),
  7517. this->hints(this->hints_size() - 1).length(),
  7518. ::google::protobuf::internal::WireFormat::PARSE);
  7519. } else {
  7520. goto handle_uninterpreted;
  7521. }
  7522. if (input->ExpectTag(10)) goto parse_hints;
  7523. if (input->ExpectAtEnd()) return true;
  7524. break;
  7525. }
  7526. default: {
  7527. handle_uninterpreted:
  7528. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7529. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7530. return true;
  7531. }
  7532. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7533. input, tag, mutable_unknown_fields()));
  7534. break;
  7535. }
  7536. }
  7537. }
  7538. return true;
  7539. #undef DO_
  7540. }
  7541. void CCSUsrMsg_KeyHintText::SerializeWithCachedSizes(
  7542. ::google::protobuf::io::CodedOutputStream* output) const {
  7543. // repeated string hints = 1;
  7544. for (int i = 0; i < this->hints_size(); i++) {
  7545. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7546. this->hints(i).data(), this->hints(i).length(),
  7547. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7548. ::google::protobuf::internal::WireFormatLite::WriteString(
  7549. 1, this->hints(i), output);
  7550. }
  7551. if (!unknown_fields().empty()) {
  7552. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7553. unknown_fields(), output);
  7554. }
  7555. }
  7556. ::google::protobuf::uint8* CCSUsrMsg_KeyHintText::SerializeWithCachedSizesToArray(
  7557. ::google::protobuf::uint8* target) const {
  7558. // repeated string hints = 1;
  7559. for (int i = 0; i < this->hints_size(); i++) {
  7560. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7561. this->hints(i).data(), this->hints(i).length(),
  7562. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7563. target = ::google::protobuf::internal::WireFormatLite::
  7564. WriteStringToArray(1, this->hints(i), target);
  7565. }
  7566. if (!unknown_fields().empty()) {
  7567. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7568. unknown_fields(), target);
  7569. }
  7570. return target;
  7571. }
  7572. int CCSUsrMsg_KeyHintText::ByteSize() const {
  7573. int total_size = 0;
  7574. // repeated string hints = 1;
  7575. total_size += 1 * this->hints_size();
  7576. for (int i = 0; i < this->hints_size(); i++) {
  7577. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  7578. this->hints(i));
  7579. }
  7580. if (!unknown_fields().empty()) {
  7581. total_size +=
  7582. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7583. unknown_fields());
  7584. }
  7585. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7586. _cached_size_ = total_size;
  7587. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7588. return total_size;
  7589. }
  7590. void CCSUsrMsg_KeyHintText::MergeFrom(const ::google::protobuf::Message& from) {
  7591. GOOGLE_CHECK_NE(&from, this);
  7592. const CCSUsrMsg_KeyHintText* source =
  7593. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_KeyHintText*>(
  7594. &from);
  7595. if (source == NULL) {
  7596. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7597. } else {
  7598. MergeFrom(*source);
  7599. }
  7600. }
  7601. void CCSUsrMsg_KeyHintText::MergeFrom(const CCSUsrMsg_KeyHintText& from) {
  7602. GOOGLE_CHECK_NE(&from, this);
  7603. hints_.MergeFrom(from.hints_);
  7604. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7605. }
  7606. void CCSUsrMsg_KeyHintText::CopyFrom(const ::google::protobuf::Message& from) {
  7607. if (&from == this) return;
  7608. Clear();
  7609. MergeFrom(from);
  7610. }
  7611. void CCSUsrMsg_KeyHintText::CopyFrom(const CCSUsrMsg_KeyHintText& from) {
  7612. if (&from == this) return;
  7613. Clear();
  7614. MergeFrom(from);
  7615. }
  7616. bool CCSUsrMsg_KeyHintText::IsInitialized() const {
  7617. return true;
  7618. }
  7619. void CCSUsrMsg_KeyHintText::Swap(CCSUsrMsg_KeyHintText* other) {
  7620. if (other != this) {
  7621. hints_.Swap(&other->hints_);
  7622. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7623. _unknown_fields_.Swap(&other->_unknown_fields_);
  7624. std::swap(_cached_size_, other->_cached_size_);
  7625. }
  7626. }
  7627. ::google::protobuf::Metadata CCSUsrMsg_KeyHintText::GetMetadata() const {
  7628. protobuf_AssignDescriptorsOnce();
  7629. ::google::protobuf::Metadata metadata;
  7630. metadata.descriptor = CCSUsrMsg_KeyHintText_descriptor_;
  7631. metadata.reflection = CCSUsrMsg_KeyHintText_reflection_;
  7632. return metadata;
  7633. }
  7634. // ===================================================================
  7635. #ifndef _MSC_VER
  7636. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kEntityIdxFieldNumber;
  7637. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kClassIdFieldNumber;
  7638. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kOriginXFieldNumber;
  7639. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kOriginYFieldNumber;
  7640. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kOriginZFieldNumber;
  7641. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kAngleYFieldNumber;
  7642. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kDefuserFieldNumber;
  7643. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kPlayerHasDefuserFieldNumber;
  7644. const int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::kPlayerHasC4FieldNumber;
  7645. #endif // !_MSC_VER
  7646. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate()
  7647. : ::google::protobuf::Message() {
  7648. SharedCtor();
  7649. }
  7650. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::InitAsDefaultInstance() {
  7651. }
  7652. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from)
  7653. : ::google::protobuf::Message() {
  7654. SharedCtor();
  7655. MergeFrom(from);
  7656. }
  7657. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SharedCtor() {
  7658. _cached_size_ = 0;
  7659. entity_idx_ = 0;
  7660. class_id_ = 0;
  7661. origin_x_ = 0;
  7662. origin_y_ = 0;
  7663. origin_z_ = 0;
  7664. angle_y_ = 0;
  7665. defuser_ = false;
  7666. player_has_defuser_ = false;
  7667. player_has_c4_ = false;
  7668. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7669. }
  7670. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() {
  7671. SharedDtor();
  7672. }
  7673. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SharedDtor() {
  7674. if (this != default_instance_) {
  7675. }
  7676. }
  7677. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SetCachedSize(int size) const {
  7678. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7679. _cached_size_ = size;
  7680. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7681. }
  7682. const ::google::protobuf::Descriptor* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::descriptor() {
  7683. protobuf_AssignDescriptorsOnce();
  7684. return CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_descriptor_;
  7685. }
  7686. const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance() {
  7687. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  7688. return *default_instance_;
  7689. }
  7690. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::default_instance_ = NULL;
  7691. CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::New() const {
  7692. return new CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate;
  7693. }
  7694. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::Clear() {
  7695. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7696. entity_idx_ = 0;
  7697. class_id_ = 0;
  7698. origin_x_ = 0;
  7699. origin_y_ = 0;
  7700. origin_z_ = 0;
  7701. angle_y_ = 0;
  7702. defuser_ = false;
  7703. player_has_defuser_ = false;
  7704. }
  7705. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7706. player_has_c4_ = false;
  7707. }
  7708. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7709. mutable_unknown_fields()->Clear();
  7710. }
  7711. bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergePartialFromCodedStream(
  7712. ::google::protobuf::io::CodedInputStream* input) {
  7713. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7714. ::google::protobuf::uint32 tag;
  7715. while ((tag = input->ReadTag()) != 0) {
  7716. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7717. // optional int32 entity_idx = 1;
  7718. case 1: {
  7719. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7720. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7721. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7722. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7723. input, &entity_idx_)));
  7724. set_has_entity_idx();
  7725. } else {
  7726. goto handle_uninterpreted;
  7727. }
  7728. if (input->ExpectTag(16)) goto parse_class_id;
  7729. break;
  7730. }
  7731. // optional int32 class_id = 2;
  7732. case 2: {
  7733. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7734. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7735. parse_class_id:
  7736. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7737. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7738. input, &class_id_)));
  7739. set_has_class_id();
  7740. } else {
  7741. goto handle_uninterpreted;
  7742. }
  7743. if (input->ExpectTag(24)) goto parse_origin_x;
  7744. break;
  7745. }
  7746. // optional int32 origin_x = 3;
  7747. case 3: {
  7748. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7749. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7750. parse_origin_x:
  7751. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7752. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7753. input, &origin_x_)));
  7754. set_has_origin_x();
  7755. } else {
  7756. goto handle_uninterpreted;
  7757. }
  7758. if (input->ExpectTag(32)) goto parse_origin_y;
  7759. break;
  7760. }
  7761. // optional int32 origin_y = 4;
  7762. case 4: {
  7763. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7764. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7765. parse_origin_y:
  7766. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7767. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7768. input, &origin_y_)));
  7769. set_has_origin_y();
  7770. } else {
  7771. goto handle_uninterpreted;
  7772. }
  7773. if (input->ExpectTag(40)) goto parse_origin_z;
  7774. break;
  7775. }
  7776. // optional int32 origin_z = 5;
  7777. case 5: {
  7778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7780. parse_origin_z:
  7781. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7782. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7783. input, &origin_z_)));
  7784. set_has_origin_z();
  7785. } else {
  7786. goto handle_uninterpreted;
  7787. }
  7788. if (input->ExpectTag(48)) goto parse_angle_y;
  7789. break;
  7790. }
  7791. // optional int32 angle_y = 6;
  7792. case 6: {
  7793. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7794. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7795. parse_angle_y:
  7796. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7797. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7798. input, &angle_y_)));
  7799. set_has_angle_y();
  7800. } else {
  7801. goto handle_uninterpreted;
  7802. }
  7803. if (input->ExpectTag(56)) goto parse_defuser;
  7804. break;
  7805. }
  7806. // optional bool defuser = 7;
  7807. case 7: {
  7808. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7809. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7810. parse_defuser:
  7811. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7812. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  7813. input, &defuser_)));
  7814. set_has_defuser();
  7815. } else {
  7816. goto handle_uninterpreted;
  7817. }
  7818. if (input->ExpectTag(64)) goto parse_player_has_defuser;
  7819. break;
  7820. }
  7821. // optional bool player_has_defuser = 8;
  7822. case 8: {
  7823. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7824. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7825. parse_player_has_defuser:
  7826. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7827. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  7828. input, &player_has_defuser_)));
  7829. set_has_player_has_defuser();
  7830. } else {
  7831. goto handle_uninterpreted;
  7832. }
  7833. if (input->ExpectTag(72)) goto parse_player_has_c4;
  7834. break;
  7835. }
  7836. // optional bool player_has_c4 = 9;
  7837. case 9: {
  7838. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7839. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7840. parse_player_has_c4:
  7841. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7842. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  7843. input, &player_has_c4_)));
  7844. set_has_player_has_c4();
  7845. } else {
  7846. goto handle_uninterpreted;
  7847. }
  7848. if (input->ExpectAtEnd()) return true;
  7849. break;
  7850. }
  7851. default: {
  7852. handle_uninterpreted:
  7853. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7854. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7855. return true;
  7856. }
  7857. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7858. input, tag, mutable_unknown_fields()));
  7859. break;
  7860. }
  7861. }
  7862. }
  7863. return true;
  7864. #undef DO_
  7865. }
  7866. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SerializeWithCachedSizes(
  7867. ::google::protobuf::io::CodedOutputStream* output) const {
  7868. // optional int32 entity_idx = 1;
  7869. if (has_entity_idx()) {
  7870. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entity_idx(), output);
  7871. }
  7872. // optional int32 class_id = 2;
  7873. if (has_class_id()) {
  7874. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->class_id(), output);
  7875. }
  7876. // optional int32 origin_x = 3;
  7877. if (has_origin_x()) {
  7878. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->origin_x(), output);
  7879. }
  7880. // optional int32 origin_y = 4;
  7881. if (has_origin_y()) {
  7882. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->origin_y(), output);
  7883. }
  7884. // optional int32 origin_z = 5;
  7885. if (has_origin_z()) {
  7886. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->origin_z(), output);
  7887. }
  7888. // optional int32 angle_y = 6;
  7889. if (has_angle_y()) {
  7890. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->angle_y(), output);
  7891. }
  7892. // optional bool defuser = 7;
  7893. if (has_defuser()) {
  7894. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->defuser(), output);
  7895. }
  7896. // optional bool player_has_defuser = 8;
  7897. if (has_player_has_defuser()) {
  7898. ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->player_has_defuser(), output);
  7899. }
  7900. // optional bool player_has_c4 = 9;
  7901. if (has_player_has_c4()) {
  7902. ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->player_has_c4(), output);
  7903. }
  7904. if (!unknown_fields().empty()) {
  7905. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7906. unknown_fields(), output);
  7907. }
  7908. }
  7909. ::google::protobuf::uint8* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SerializeWithCachedSizesToArray(
  7910. ::google::protobuf::uint8* target) const {
  7911. // optional int32 entity_idx = 1;
  7912. if (has_entity_idx()) {
  7913. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entity_idx(), target);
  7914. }
  7915. // optional int32 class_id = 2;
  7916. if (has_class_id()) {
  7917. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->class_id(), target);
  7918. }
  7919. // optional int32 origin_x = 3;
  7920. if (has_origin_x()) {
  7921. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->origin_x(), target);
  7922. }
  7923. // optional int32 origin_y = 4;
  7924. if (has_origin_y()) {
  7925. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->origin_y(), target);
  7926. }
  7927. // optional int32 origin_z = 5;
  7928. if (has_origin_z()) {
  7929. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->origin_z(), target);
  7930. }
  7931. // optional int32 angle_y = 6;
  7932. if (has_angle_y()) {
  7933. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->angle_y(), target);
  7934. }
  7935. // optional bool defuser = 7;
  7936. if (has_defuser()) {
  7937. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->defuser(), target);
  7938. }
  7939. // optional bool player_has_defuser = 8;
  7940. if (has_player_has_defuser()) {
  7941. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->player_has_defuser(), target);
  7942. }
  7943. // optional bool player_has_c4 = 9;
  7944. if (has_player_has_c4()) {
  7945. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->player_has_c4(), target);
  7946. }
  7947. if (!unknown_fields().empty()) {
  7948. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7949. unknown_fields(), target);
  7950. }
  7951. return target;
  7952. }
  7953. int CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::ByteSize() const {
  7954. int total_size = 0;
  7955. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7956. // optional int32 entity_idx = 1;
  7957. if (has_entity_idx()) {
  7958. total_size += 1 +
  7959. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7960. this->entity_idx());
  7961. }
  7962. // optional int32 class_id = 2;
  7963. if (has_class_id()) {
  7964. total_size += 1 +
  7965. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7966. this->class_id());
  7967. }
  7968. // optional int32 origin_x = 3;
  7969. if (has_origin_x()) {
  7970. total_size += 1 +
  7971. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7972. this->origin_x());
  7973. }
  7974. // optional int32 origin_y = 4;
  7975. if (has_origin_y()) {
  7976. total_size += 1 +
  7977. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7978. this->origin_y());
  7979. }
  7980. // optional int32 origin_z = 5;
  7981. if (has_origin_z()) {
  7982. total_size += 1 +
  7983. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7984. this->origin_z());
  7985. }
  7986. // optional int32 angle_y = 6;
  7987. if (has_angle_y()) {
  7988. total_size += 1 +
  7989. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7990. this->angle_y());
  7991. }
  7992. // optional bool defuser = 7;
  7993. if (has_defuser()) {
  7994. total_size += 1 + 1;
  7995. }
  7996. // optional bool player_has_defuser = 8;
  7997. if (has_player_has_defuser()) {
  7998. total_size += 1 + 1;
  7999. }
  8000. }
  8001. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8002. // optional bool player_has_c4 = 9;
  8003. if (has_player_has_c4()) {
  8004. total_size += 1 + 1;
  8005. }
  8006. }
  8007. if (!unknown_fields().empty()) {
  8008. total_size +=
  8009. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8010. unknown_fields());
  8011. }
  8012. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8013. _cached_size_ = total_size;
  8014. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8015. return total_size;
  8016. }
  8017. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  8018. GOOGLE_CHECK_NE(&from, this);
  8019. const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* source =
  8020. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate*>(
  8021. &from);
  8022. if (source == NULL) {
  8023. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8024. } else {
  8025. MergeFrom(*source);
  8026. }
  8027. }
  8028. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergeFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) {
  8029. GOOGLE_CHECK_NE(&from, this);
  8030. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8031. if (from.has_entity_idx()) {
  8032. set_entity_idx(from.entity_idx());
  8033. }
  8034. if (from.has_class_id()) {
  8035. set_class_id(from.class_id());
  8036. }
  8037. if (from.has_origin_x()) {
  8038. set_origin_x(from.origin_x());
  8039. }
  8040. if (from.has_origin_y()) {
  8041. set_origin_y(from.origin_y());
  8042. }
  8043. if (from.has_origin_z()) {
  8044. set_origin_z(from.origin_z());
  8045. }
  8046. if (from.has_angle_y()) {
  8047. set_angle_y(from.angle_y());
  8048. }
  8049. if (from.has_defuser()) {
  8050. set_defuser(from.defuser());
  8051. }
  8052. if (from.has_player_has_defuser()) {
  8053. set_player_has_defuser(from.player_has_defuser());
  8054. }
  8055. }
  8056. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8057. if (from.has_player_has_c4()) {
  8058. set_player_has_c4(from.player_has_c4());
  8059. }
  8060. }
  8061. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8062. }
  8063. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  8064. if (&from == this) return;
  8065. Clear();
  8066. MergeFrom(from);
  8067. }
  8068. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) {
  8069. if (&from == this) return;
  8070. Clear();
  8071. MergeFrom(from);
  8072. }
  8073. bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::IsInitialized() const {
  8074. return true;
  8075. }
  8076. void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::Swap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other) {
  8077. if (other != this) {
  8078. std::swap(entity_idx_, other->entity_idx_);
  8079. std::swap(class_id_, other->class_id_);
  8080. std::swap(origin_x_, other->origin_x_);
  8081. std::swap(origin_y_, other->origin_y_);
  8082. std::swap(origin_z_, other->origin_z_);
  8083. std::swap(angle_y_, other->angle_y_);
  8084. std::swap(defuser_, other->defuser_);
  8085. std::swap(player_has_defuser_, other->player_has_defuser_);
  8086. std::swap(player_has_c4_, other->player_has_c4_);
  8087. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8088. _unknown_fields_.Swap(&other->_unknown_fields_);
  8089. std::swap(_cached_size_, other->_cached_size_);
  8090. }
  8091. }
  8092. ::google::protobuf::Metadata CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::GetMetadata() const {
  8093. protobuf_AssignDescriptorsOnce();
  8094. ::google::protobuf::Metadata metadata;
  8095. metadata.descriptor = CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_descriptor_;
  8096. metadata.reflection = CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_reflection_;
  8097. return metadata;
  8098. }
  8099. // -------------------------------------------------------------------
  8100. #ifndef _MSC_VER
  8101. const int CCSUsrMsg_ProcessSpottedEntityUpdate::kNewUpdateFieldNumber;
  8102. const int CCSUsrMsg_ProcessSpottedEntityUpdate::kEntityUpdatesFieldNumber;
  8103. #endif // !_MSC_VER
  8104. CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate()
  8105. : ::google::protobuf::Message() {
  8106. SharedCtor();
  8107. }
  8108. void CCSUsrMsg_ProcessSpottedEntityUpdate::InitAsDefaultInstance() {
  8109. }
  8110. CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate& from)
  8111. : ::google::protobuf::Message() {
  8112. SharedCtor();
  8113. MergeFrom(from);
  8114. }
  8115. void CCSUsrMsg_ProcessSpottedEntityUpdate::SharedCtor() {
  8116. _cached_size_ = 0;
  8117. new_update_ = false;
  8118. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8119. }
  8120. CCSUsrMsg_ProcessSpottedEntityUpdate::~CCSUsrMsg_ProcessSpottedEntityUpdate() {
  8121. SharedDtor();
  8122. }
  8123. void CCSUsrMsg_ProcessSpottedEntityUpdate::SharedDtor() {
  8124. if (this != default_instance_) {
  8125. }
  8126. }
  8127. void CCSUsrMsg_ProcessSpottedEntityUpdate::SetCachedSize(int size) const {
  8128. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8129. _cached_size_ = size;
  8130. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8131. }
  8132. const ::google::protobuf::Descriptor* CCSUsrMsg_ProcessSpottedEntityUpdate::descriptor() {
  8133. protobuf_AssignDescriptorsOnce();
  8134. return CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_;
  8135. }
  8136. const CCSUsrMsg_ProcessSpottedEntityUpdate& CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance() {
  8137. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  8138. return *default_instance_;
  8139. }
  8140. CCSUsrMsg_ProcessSpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::default_instance_ = NULL;
  8141. CCSUsrMsg_ProcessSpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::New() const {
  8142. return new CCSUsrMsg_ProcessSpottedEntityUpdate;
  8143. }
  8144. void CCSUsrMsg_ProcessSpottedEntityUpdate::Clear() {
  8145. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8146. new_update_ = false;
  8147. }
  8148. entity_updates_.Clear();
  8149. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8150. mutable_unknown_fields()->Clear();
  8151. }
  8152. bool CCSUsrMsg_ProcessSpottedEntityUpdate::MergePartialFromCodedStream(
  8153. ::google::protobuf::io::CodedInputStream* input) {
  8154. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8155. ::google::protobuf::uint32 tag;
  8156. while ((tag = input->ReadTag()) != 0) {
  8157. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8158. // optional bool new_update = 1;
  8159. case 1: {
  8160. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8161. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8162. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8163. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8164. input, &new_update_)));
  8165. set_has_new_update();
  8166. } else {
  8167. goto handle_uninterpreted;
  8168. }
  8169. if (input->ExpectTag(18)) goto parse_entity_updates;
  8170. break;
  8171. }
  8172. // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2;
  8173. case 2: {
  8174. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8175. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8176. parse_entity_updates:
  8177. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8178. input, add_entity_updates()));
  8179. } else {
  8180. goto handle_uninterpreted;
  8181. }
  8182. if (input->ExpectTag(18)) goto parse_entity_updates;
  8183. if (input->ExpectAtEnd()) return true;
  8184. break;
  8185. }
  8186. default: {
  8187. handle_uninterpreted:
  8188. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8189. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8190. return true;
  8191. }
  8192. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8193. input, tag, mutable_unknown_fields()));
  8194. break;
  8195. }
  8196. }
  8197. }
  8198. return true;
  8199. #undef DO_
  8200. }
  8201. void CCSUsrMsg_ProcessSpottedEntityUpdate::SerializeWithCachedSizes(
  8202. ::google::protobuf::io::CodedOutputStream* output) const {
  8203. // optional bool new_update = 1;
  8204. if (has_new_update()) {
  8205. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->new_update(), output);
  8206. }
  8207. // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2;
  8208. for (int i = 0; i < this->entity_updates_size(); i++) {
  8209. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8210. 2, this->entity_updates(i), output);
  8211. }
  8212. if (!unknown_fields().empty()) {
  8213. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8214. unknown_fields(), output);
  8215. }
  8216. }
  8217. ::google::protobuf::uint8* CCSUsrMsg_ProcessSpottedEntityUpdate::SerializeWithCachedSizesToArray(
  8218. ::google::protobuf::uint8* target) const {
  8219. // optional bool new_update = 1;
  8220. if (has_new_update()) {
  8221. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->new_update(), target);
  8222. }
  8223. // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2;
  8224. for (int i = 0; i < this->entity_updates_size(); i++) {
  8225. target = ::google::protobuf::internal::WireFormatLite::
  8226. WriteMessageNoVirtualToArray(
  8227. 2, this->entity_updates(i), target);
  8228. }
  8229. if (!unknown_fields().empty()) {
  8230. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8231. unknown_fields(), target);
  8232. }
  8233. return target;
  8234. }
  8235. int CCSUsrMsg_ProcessSpottedEntityUpdate::ByteSize() const {
  8236. int total_size = 0;
  8237. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8238. // optional bool new_update = 1;
  8239. if (has_new_update()) {
  8240. total_size += 1 + 1;
  8241. }
  8242. }
  8243. // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2;
  8244. total_size += 1 * this->entity_updates_size();
  8245. for (int i = 0; i < this->entity_updates_size(); i++) {
  8246. total_size +=
  8247. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8248. this->entity_updates(i));
  8249. }
  8250. if (!unknown_fields().empty()) {
  8251. total_size +=
  8252. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8253. unknown_fields());
  8254. }
  8255. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8256. _cached_size_ = total_size;
  8257. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8258. return total_size;
  8259. }
  8260. void CCSUsrMsg_ProcessSpottedEntityUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  8261. GOOGLE_CHECK_NE(&from, this);
  8262. const CCSUsrMsg_ProcessSpottedEntityUpdate* source =
  8263. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ProcessSpottedEntityUpdate*>(
  8264. &from);
  8265. if (source == NULL) {
  8266. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8267. } else {
  8268. MergeFrom(*source);
  8269. }
  8270. }
  8271. void CCSUsrMsg_ProcessSpottedEntityUpdate::MergeFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) {
  8272. GOOGLE_CHECK_NE(&from, this);
  8273. entity_updates_.MergeFrom(from.entity_updates_);
  8274. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8275. if (from.has_new_update()) {
  8276. set_new_update(from.new_update());
  8277. }
  8278. }
  8279. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8280. }
  8281. void CCSUsrMsg_ProcessSpottedEntityUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  8282. if (&from == this) return;
  8283. Clear();
  8284. MergeFrom(from);
  8285. }
  8286. void CCSUsrMsg_ProcessSpottedEntityUpdate::CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) {
  8287. if (&from == this) return;
  8288. Clear();
  8289. MergeFrom(from);
  8290. }
  8291. bool CCSUsrMsg_ProcessSpottedEntityUpdate::IsInitialized() const {
  8292. return true;
  8293. }
  8294. void CCSUsrMsg_ProcessSpottedEntityUpdate::Swap(CCSUsrMsg_ProcessSpottedEntityUpdate* other) {
  8295. if (other != this) {
  8296. std::swap(new_update_, other->new_update_);
  8297. entity_updates_.Swap(&other->entity_updates_);
  8298. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8299. _unknown_fields_.Swap(&other->_unknown_fields_);
  8300. std::swap(_cached_size_, other->_cached_size_);
  8301. }
  8302. }
  8303. ::google::protobuf::Metadata CCSUsrMsg_ProcessSpottedEntityUpdate::GetMetadata() const {
  8304. protobuf_AssignDescriptorsOnce();
  8305. ::google::protobuf::Metadata metadata;
  8306. metadata.descriptor = CCSUsrMsg_ProcessSpottedEntityUpdate_descriptor_;
  8307. metadata.reflection = CCSUsrMsg_ProcessSpottedEntityUpdate_reflection_;
  8308. return metadata;
  8309. }
  8310. // ===================================================================
  8311. #ifndef _MSC_VER
  8312. const int CCSUsrMsg_SendPlayerItemDrops::kEntityUpdatesFieldNumber;
  8313. #endif // !_MSC_VER
  8314. CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops()
  8315. : ::google::protobuf::Message() {
  8316. SharedCtor();
  8317. }
  8318. void CCSUsrMsg_SendPlayerItemDrops::InitAsDefaultInstance() {
  8319. }
  8320. CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops(const CCSUsrMsg_SendPlayerItemDrops& from)
  8321. : ::google::protobuf::Message() {
  8322. SharedCtor();
  8323. MergeFrom(from);
  8324. }
  8325. void CCSUsrMsg_SendPlayerItemDrops::SharedCtor() {
  8326. _cached_size_ = 0;
  8327. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8328. }
  8329. CCSUsrMsg_SendPlayerItemDrops::~CCSUsrMsg_SendPlayerItemDrops() {
  8330. SharedDtor();
  8331. }
  8332. void CCSUsrMsg_SendPlayerItemDrops::SharedDtor() {
  8333. if (this != default_instance_) {
  8334. }
  8335. }
  8336. void CCSUsrMsg_SendPlayerItemDrops::SetCachedSize(int size) const {
  8337. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8338. _cached_size_ = size;
  8339. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8340. }
  8341. const ::google::protobuf::Descriptor* CCSUsrMsg_SendPlayerItemDrops::descriptor() {
  8342. protobuf_AssignDescriptorsOnce();
  8343. return CCSUsrMsg_SendPlayerItemDrops_descriptor_;
  8344. }
  8345. const CCSUsrMsg_SendPlayerItemDrops& CCSUsrMsg_SendPlayerItemDrops::default_instance() {
  8346. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  8347. return *default_instance_;
  8348. }
  8349. CCSUsrMsg_SendPlayerItemDrops* CCSUsrMsg_SendPlayerItemDrops::default_instance_ = NULL;
  8350. CCSUsrMsg_SendPlayerItemDrops* CCSUsrMsg_SendPlayerItemDrops::New() const {
  8351. return new CCSUsrMsg_SendPlayerItemDrops;
  8352. }
  8353. void CCSUsrMsg_SendPlayerItemDrops::Clear() {
  8354. entity_updates_.Clear();
  8355. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8356. mutable_unknown_fields()->Clear();
  8357. }
  8358. bool CCSUsrMsg_SendPlayerItemDrops::MergePartialFromCodedStream(
  8359. ::google::protobuf::io::CodedInputStream* input) {
  8360. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8361. ::google::protobuf::uint32 tag;
  8362. while ((tag = input->ReadTag()) != 0) {
  8363. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8364. // repeated .CEconItemPreviewDataBlock entity_updates = 1;
  8365. case 1: {
  8366. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8367. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8368. parse_entity_updates:
  8369. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8370. input, add_entity_updates()));
  8371. } else {
  8372. goto handle_uninterpreted;
  8373. }
  8374. if (input->ExpectTag(10)) goto parse_entity_updates;
  8375. if (input->ExpectAtEnd()) return true;
  8376. break;
  8377. }
  8378. default: {
  8379. handle_uninterpreted:
  8380. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8381. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8382. return true;
  8383. }
  8384. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8385. input, tag, mutable_unknown_fields()));
  8386. break;
  8387. }
  8388. }
  8389. }
  8390. return true;
  8391. #undef DO_
  8392. }
  8393. void CCSUsrMsg_SendPlayerItemDrops::SerializeWithCachedSizes(
  8394. ::google::protobuf::io::CodedOutputStream* output) const {
  8395. // repeated .CEconItemPreviewDataBlock entity_updates = 1;
  8396. for (int i = 0; i < this->entity_updates_size(); i++) {
  8397. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8398. 1, this->entity_updates(i), output);
  8399. }
  8400. if (!unknown_fields().empty()) {
  8401. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8402. unknown_fields(), output);
  8403. }
  8404. }
  8405. ::google::protobuf::uint8* CCSUsrMsg_SendPlayerItemDrops::SerializeWithCachedSizesToArray(
  8406. ::google::protobuf::uint8* target) const {
  8407. // repeated .CEconItemPreviewDataBlock entity_updates = 1;
  8408. for (int i = 0; i < this->entity_updates_size(); i++) {
  8409. target = ::google::protobuf::internal::WireFormatLite::
  8410. WriteMessageNoVirtualToArray(
  8411. 1, this->entity_updates(i), target);
  8412. }
  8413. if (!unknown_fields().empty()) {
  8414. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8415. unknown_fields(), target);
  8416. }
  8417. return target;
  8418. }
  8419. int CCSUsrMsg_SendPlayerItemDrops::ByteSize() const {
  8420. int total_size = 0;
  8421. // repeated .CEconItemPreviewDataBlock entity_updates = 1;
  8422. total_size += 1 * this->entity_updates_size();
  8423. for (int i = 0; i < this->entity_updates_size(); i++) {
  8424. total_size +=
  8425. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8426. this->entity_updates(i));
  8427. }
  8428. if (!unknown_fields().empty()) {
  8429. total_size +=
  8430. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8431. unknown_fields());
  8432. }
  8433. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8434. _cached_size_ = total_size;
  8435. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8436. return total_size;
  8437. }
  8438. void CCSUsrMsg_SendPlayerItemDrops::MergeFrom(const ::google::protobuf::Message& from) {
  8439. GOOGLE_CHECK_NE(&from, this);
  8440. const CCSUsrMsg_SendPlayerItemDrops* source =
  8441. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_SendPlayerItemDrops*>(
  8442. &from);
  8443. if (source == NULL) {
  8444. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8445. } else {
  8446. MergeFrom(*source);
  8447. }
  8448. }
  8449. void CCSUsrMsg_SendPlayerItemDrops::MergeFrom(const CCSUsrMsg_SendPlayerItemDrops& from) {
  8450. GOOGLE_CHECK_NE(&from, this);
  8451. entity_updates_.MergeFrom(from.entity_updates_);
  8452. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8453. }
  8454. void CCSUsrMsg_SendPlayerItemDrops::CopyFrom(const ::google::protobuf::Message& from) {
  8455. if (&from == this) return;
  8456. Clear();
  8457. MergeFrom(from);
  8458. }
  8459. void CCSUsrMsg_SendPlayerItemDrops::CopyFrom(const CCSUsrMsg_SendPlayerItemDrops& from) {
  8460. if (&from == this) return;
  8461. Clear();
  8462. MergeFrom(from);
  8463. }
  8464. bool CCSUsrMsg_SendPlayerItemDrops::IsInitialized() const {
  8465. return true;
  8466. }
  8467. void CCSUsrMsg_SendPlayerItemDrops::Swap(CCSUsrMsg_SendPlayerItemDrops* other) {
  8468. if (other != this) {
  8469. entity_updates_.Swap(&other->entity_updates_);
  8470. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8471. _unknown_fields_.Swap(&other->_unknown_fields_);
  8472. std::swap(_cached_size_, other->_cached_size_);
  8473. }
  8474. }
  8475. ::google::protobuf::Metadata CCSUsrMsg_SendPlayerItemDrops::GetMetadata() const {
  8476. protobuf_AssignDescriptorsOnce();
  8477. ::google::protobuf::Metadata metadata;
  8478. metadata.descriptor = CCSUsrMsg_SendPlayerItemDrops_descriptor_;
  8479. metadata.reflection = CCSUsrMsg_SendPlayerItemDrops_reflection_;
  8480. return metadata;
  8481. }
  8482. // ===================================================================
  8483. #ifndef _MSC_VER
  8484. const int CCSUsrMsg_SendPlayerItemFound::kIteminfoFieldNumber;
  8485. const int CCSUsrMsg_SendPlayerItemFound::kEntindexFieldNumber;
  8486. #endif // !_MSC_VER
  8487. CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound()
  8488. : ::google::protobuf::Message() {
  8489. SharedCtor();
  8490. }
  8491. void CCSUsrMsg_SendPlayerItemFound::InitAsDefaultInstance() {
  8492. iteminfo_ = const_cast< ::CEconItemPreviewDataBlock*>(&::CEconItemPreviewDataBlock::default_instance());
  8493. }
  8494. CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound(const CCSUsrMsg_SendPlayerItemFound& from)
  8495. : ::google::protobuf::Message() {
  8496. SharedCtor();
  8497. MergeFrom(from);
  8498. }
  8499. void CCSUsrMsg_SendPlayerItemFound::SharedCtor() {
  8500. _cached_size_ = 0;
  8501. iteminfo_ = NULL;
  8502. entindex_ = 0;
  8503. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8504. }
  8505. CCSUsrMsg_SendPlayerItemFound::~CCSUsrMsg_SendPlayerItemFound() {
  8506. SharedDtor();
  8507. }
  8508. void CCSUsrMsg_SendPlayerItemFound::SharedDtor() {
  8509. if (this != default_instance_) {
  8510. delete iteminfo_;
  8511. }
  8512. }
  8513. void CCSUsrMsg_SendPlayerItemFound::SetCachedSize(int size) const {
  8514. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8515. _cached_size_ = size;
  8516. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8517. }
  8518. const ::google::protobuf::Descriptor* CCSUsrMsg_SendPlayerItemFound::descriptor() {
  8519. protobuf_AssignDescriptorsOnce();
  8520. return CCSUsrMsg_SendPlayerItemFound_descriptor_;
  8521. }
  8522. const CCSUsrMsg_SendPlayerItemFound& CCSUsrMsg_SendPlayerItemFound::default_instance() {
  8523. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  8524. return *default_instance_;
  8525. }
  8526. CCSUsrMsg_SendPlayerItemFound* CCSUsrMsg_SendPlayerItemFound::default_instance_ = NULL;
  8527. CCSUsrMsg_SendPlayerItemFound* CCSUsrMsg_SendPlayerItemFound::New() const {
  8528. return new CCSUsrMsg_SendPlayerItemFound;
  8529. }
  8530. void CCSUsrMsg_SendPlayerItemFound::Clear() {
  8531. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8532. if (has_iteminfo()) {
  8533. if (iteminfo_ != NULL) iteminfo_->::CEconItemPreviewDataBlock::Clear();
  8534. }
  8535. entindex_ = 0;
  8536. }
  8537. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8538. mutable_unknown_fields()->Clear();
  8539. }
  8540. bool CCSUsrMsg_SendPlayerItemFound::MergePartialFromCodedStream(
  8541. ::google::protobuf::io::CodedInputStream* input) {
  8542. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8543. ::google::protobuf::uint32 tag;
  8544. while ((tag = input->ReadTag()) != 0) {
  8545. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8546. // optional .CEconItemPreviewDataBlock iteminfo = 1;
  8547. case 1: {
  8548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8550. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8551. input, mutable_iteminfo()));
  8552. } else {
  8553. goto handle_uninterpreted;
  8554. }
  8555. if (input->ExpectTag(16)) goto parse_entindex;
  8556. break;
  8557. }
  8558. // optional int32 entindex = 2;
  8559. case 2: {
  8560. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8561. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8562. parse_entindex:
  8563. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8564. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8565. input, &entindex_)));
  8566. set_has_entindex();
  8567. } else {
  8568. goto handle_uninterpreted;
  8569. }
  8570. if (input->ExpectAtEnd()) return true;
  8571. break;
  8572. }
  8573. default: {
  8574. handle_uninterpreted:
  8575. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8576. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8577. return true;
  8578. }
  8579. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8580. input, tag, mutable_unknown_fields()));
  8581. break;
  8582. }
  8583. }
  8584. }
  8585. return true;
  8586. #undef DO_
  8587. }
  8588. void CCSUsrMsg_SendPlayerItemFound::SerializeWithCachedSizes(
  8589. ::google::protobuf::io::CodedOutputStream* output) const {
  8590. // optional .CEconItemPreviewDataBlock iteminfo = 1;
  8591. if (has_iteminfo()) {
  8592. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8593. 1, this->iteminfo(), output);
  8594. }
  8595. // optional int32 entindex = 2;
  8596. if (has_entindex()) {
  8597. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->entindex(), output);
  8598. }
  8599. if (!unknown_fields().empty()) {
  8600. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8601. unknown_fields(), output);
  8602. }
  8603. }
  8604. ::google::protobuf::uint8* CCSUsrMsg_SendPlayerItemFound::SerializeWithCachedSizesToArray(
  8605. ::google::protobuf::uint8* target) const {
  8606. // optional .CEconItemPreviewDataBlock iteminfo = 1;
  8607. if (has_iteminfo()) {
  8608. target = ::google::protobuf::internal::WireFormatLite::
  8609. WriteMessageNoVirtualToArray(
  8610. 1, this->iteminfo(), target);
  8611. }
  8612. // optional int32 entindex = 2;
  8613. if (has_entindex()) {
  8614. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->entindex(), target);
  8615. }
  8616. if (!unknown_fields().empty()) {
  8617. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8618. unknown_fields(), target);
  8619. }
  8620. return target;
  8621. }
  8622. int CCSUsrMsg_SendPlayerItemFound::ByteSize() const {
  8623. int total_size = 0;
  8624. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8625. // optional .CEconItemPreviewDataBlock iteminfo = 1;
  8626. if (has_iteminfo()) {
  8627. total_size += 1 +
  8628. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8629. this->iteminfo());
  8630. }
  8631. // optional int32 entindex = 2;
  8632. if (has_entindex()) {
  8633. total_size += 1 +
  8634. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8635. this->entindex());
  8636. }
  8637. }
  8638. if (!unknown_fields().empty()) {
  8639. total_size +=
  8640. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8641. unknown_fields());
  8642. }
  8643. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8644. _cached_size_ = total_size;
  8645. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8646. return total_size;
  8647. }
  8648. void CCSUsrMsg_SendPlayerItemFound::MergeFrom(const ::google::protobuf::Message& from) {
  8649. GOOGLE_CHECK_NE(&from, this);
  8650. const CCSUsrMsg_SendPlayerItemFound* source =
  8651. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_SendPlayerItemFound*>(
  8652. &from);
  8653. if (source == NULL) {
  8654. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8655. } else {
  8656. MergeFrom(*source);
  8657. }
  8658. }
  8659. void CCSUsrMsg_SendPlayerItemFound::MergeFrom(const CCSUsrMsg_SendPlayerItemFound& from) {
  8660. GOOGLE_CHECK_NE(&from, this);
  8661. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8662. if (from.has_iteminfo()) {
  8663. mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom(from.iteminfo());
  8664. }
  8665. if (from.has_entindex()) {
  8666. set_entindex(from.entindex());
  8667. }
  8668. }
  8669. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8670. }
  8671. void CCSUsrMsg_SendPlayerItemFound::CopyFrom(const ::google::protobuf::Message& from) {
  8672. if (&from == this) return;
  8673. Clear();
  8674. MergeFrom(from);
  8675. }
  8676. void CCSUsrMsg_SendPlayerItemFound::CopyFrom(const CCSUsrMsg_SendPlayerItemFound& from) {
  8677. if (&from == this) return;
  8678. Clear();
  8679. MergeFrom(from);
  8680. }
  8681. bool CCSUsrMsg_SendPlayerItemFound::IsInitialized() const {
  8682. return true;
  8683. }
  8684. void CCSUsrMsg_SendPlayerItemFound::Swap(CCSUsrMsg_SendPlayerItemFound* other) {
  8685. if (other != this) {
  8686. std::swap(iteminfo_, other->iteminfo_);
  8687. std::swap(entindex_, other->entindex_);
  8688. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8689. _unknown_fields_.Swap(&other->_unknown_fields_);
  8690. std::swap(_cached_size_, other->_cached_size_);
  8691. }
  8692. }
  8693. ::google::protobuf::Metadata CCSUsrMsg_SendPlayerItemFound::GetMetadata() const {
  8694. protobuf_AssignDescriptorsOnce();
  8695. ::google::protobuf::Metadata metadata;
  8696. metadata.descriptor = CCSUsrMsg_SendPlayerItemFound_descriptor_;
  8697. metadata.reflection = CCSUsrMsg_SendPlayerItemFound_reflection_;
  8698. return metadata;
  8699. }
  8700. // ===================================================================
  8701. #ifndef _MSC_VER
  8702. const int CCSUsrMsg_ReloadEffect::kEntidxFieldNumber;
  8703. const int CCSUsrMsg_ReloadEffect::kActanimFieldNumber;
  8704. const int CCSUsrMsg_ReloadEffect::kOriginXFieldNumber;
  8705. const int CCSUsrMsg_ReloadEffect::kOriginYFieldNumber;
  8706. const int CCSUsrMsg_ReloadEffect::kOriginZFieldNumber;
  8707. #endif // !_MSC_VER
  8708. CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect()
  8709. : ::google::protobuf::Message() {
  8710. SharedCtor();
  8711. }
  8712. void CCSUsrMsg_ReloadEffect::InitAsDefaultInstance() {
  8713. }
  8714. CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect(const CCSUsrMsg_ReloadEffect& from)
  8715. : ::google::protobuf::Message() {
  8716. SharedCtor();
  8717. MergeFrom(from);
  8718. }
  8719. void CCSUsrMsg_ReloadEffect::SharedCtor() {
  8720. _cached_size_ = 0;
  8721. entidx_ = 0;
  8722. actanim_ = 0;
  8723. origin_x_ = 0;
  8724. origin_y_ = 0;
  8725. origin_z_ = 0;
  8726. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8727. }
  8728. CCSUsrMsg_ReloadEffect::~CCSUsrMsg_ReloadEffect() {
  8729. SharedDtor();
  8730. }
  8731. void CCSUsrMsg_ReloadEffect::SharedDtor() {
  8732. if (this != default_instance_) {
  8733. }
  8734. }
  8735. void CCSUsrMsg_ReloadEffect::SetCachedSize(int size) const {
  8736. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8737. _cached_size_ = size;
  8738. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8739. }
  8740. const ::google::protobuf::Descriptor* CCSUsrMsg_ReloadEffect::descriptor() {
  8741. protobuf_AssignDescriptorsOnce();
  8742. return CCSUsrMsg_ReloadEffect_descriptor_;
  8743. }
  8744. const CCSUsrMsg_ReloadEffect& CCSUsrMsg_ReloadEffect::default_instance() {
  8745. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  8746. return *default_instance_;
  8747. }
  8748. CCSUsrMsg_ReloadEffect* CCSUsrMsg_ReloadEffect::default_instance_ = NULL;
  8749. CCSUsrMsg_ReloadEffect* CCSUsrMsg_ReloadEffect::New() const {
  8750. return new CCSUsrMsg_ReloadEffect;
  8751. }
  8752. void CCSUsrMsg_ReloadEffect::Clear() {
  8753. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8754. entidx_ = 0;
  8755. actanim_ = 0;
  8756. origin_x_ = 0;
  8757. origin_y_ = 0;
  8758. origin_z_ = 0;
  8759. }
  8760. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8761. mutable_unknown_fields()->Clear();
  8762. }
  8763. bool CCSUsrMsg_ReloadEffect::MergePartialFromCodedStream(
  8764. ::google::protobuf::io::CodedInputStream* input) {
  8765. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8766. ::google::protobuf::uint32 tag;
  8767. while ((tag = input->ReadTag()) != 0) {
  8768. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8769. // optional int32 entidx = 1;
  8770. case 1: {
  8771. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8772. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8773. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8774. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8775. input, &entidx_)));
  8776. set_has_entidx();
  8777. } else {
  8778. goto handle_uninterpreted;
  8779. }
  8780. if (input->ExpectTag(16)) goto parse_actanim;
  8781. break;
  8782. }
  8783. // optional int32 actanim = 2;
  8784. case 2: {
  8785. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8786. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8787. parse_actanim:
  8788. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8789. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8790. input, &actanim_)));
  8791. set_has_actanim();
  8792. } else {
  8793. goto handle_uninterpreted;
  8794. }
  8795. if (input->ExpectTag(29)) goto parse_origin_x;
  8796. break;
  8797. }
  8798. // optional float origin_x = 3;
  8799. case 3: {
  8800. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8801. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8802. parse_origin_x:
  8803. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8804. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  8805. input, &origin_x_)));
  8806. set_has_origin_x();
  8807. } else {
  8808. goto handle_uninterpreted;
  8809. }
  8810. if (input->ExpectTag(37)) goto parse_origin_y;
  8811. break;
  8812. }
  8813. // optional float origin_y = 4;
  8814. case 4: {
  8815. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8816. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8817. parse_origin_y:
  8818. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8819. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  8820. input, &origin_y_)));
  8821. set_has_origin_y();
  8822. } else {
  8823. goto handle_uninterpreted;
  8824. }
  8825. if (input->ExpectTag(45)) goto parse_origin_z;
  8826. break;
  8827. }
  8828. // optional float origin_z = 5;
  8829. case 5: {
  8830. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8831. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8832. parse_origin_z:
  8833. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8834. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  8835. input, &origin_z_)));
  8836. set_has_origin_z();
  8837. } else {
  8838. goto handle_uninterpreted;
  8839. }
  8840. if (input->ExpectAtEnd()) return true;
  8841. break;
  8842. }
  8843. default: {
  8844. handle_uninterpreted:
  8845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8847. return true;
  8848. }
  8849. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8850. input, tag, mutable_unknown_fields()));
  8851. break;
  8852. }
  8853. }
  8854. }
  8855. return true;
  8856. #undef DO_
  8857. }
  8858. void CCSUsrMsg_ReloadEffect::SerializeWithCachedSizes(
  8859. ::google::protobuf::io::CodedOutputStream* output) const {
  8860. // optional int32 entidx = 1;
  8861. if (has_entidx()) {
  8862. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entidx(), output);
  8863. }
  8864. // optional int32 actanim = 2;
  8865. if (has_actanim()) {
  8866. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->actanim(), output);
  8867. }
  8868. // optional float origin_x = 3;
  8869. if (has_origin_x()) {
  8870. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->origin_x(), output);
  8871. }
  8872. // optional float origin_y = 4;
  8873. if (has_origin_y()) {
  8874. ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->origin_y(), output);
  8875. }
  8876. // optional float origin_z = 5;
  8877. if (has_origin_z()) {
  8878. ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->origin_z(), output);
  8879. }
  8880. if (!unknown_fields().empty()) {
  8881. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8882. unknown_fields(), output);
  8883. }
  8884. }
  8885. ::google::protobuf::uint8* CCSUsrMsg_ReloadEffect::SerializeWithCachedSizesToArray(
  8886. ::google::protobuf::uint8* target) const {
  8887. // optional int32 entidx = 1;
  8888. if (has_entidx()) {
  8889. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entidx(), target);
  8890. }
  8891. // optional int32 actanim = 2;
  8892. if (has_actanim()) {
  8893. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->actanim(), target);
  8894. }
  8895. // optional float origin_x = 3;
  8896. if (has_origin_x()) {
  8897. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->origin_x(), target);
  8898. }
  8899. // optional float origin_y = 4;
  8900. if (has_origin_y()) {
  8901. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->origin_y(), target);
  8902. }
  8903. // optional float origin_z = 5;
  8904. if (has_origin_z()) {
  8905. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->origin_z(), target);
  8906. }
  8907. if (!unknown_fields().empty()) {
  8908. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8909. unknown_fields(), target);
  8910. }
  8911. return target;
  8912. }
  8913. int CCSUsrMsg_ReloadEffect::ByteSize() const {
  8914. int total_size = 0;
  8915. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8916. // optional int32 entidx = 1;
  8917. if (has_entidx()) {
  8918. total_size += 1 +
  8919. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8920. this->entidx());
  8921. }
  8922. // optional int32 actanim = 2;
  8923. if (has_actanim()) {
  8924. total_size += 1 +
  8925. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8926. this->actanim());
  8927. }
  8928. // optional float origin_x = 3;
  8929. if (has_origin_x()) {
  8930. total_size += 1 + 4;
  8931. }
  8932. // optional float origin_y = 4;
  8933. if (has_origin_y()) {
  8934. total_size += 1 + 4;
  8935. }
  8936. // optional float origin_z = 5;
  8937. if (has_origin_z()) {
  8938. total_size += 1 + 4;
  8939. }
  8940. }
  8941. if (!unknown_fields().empty()) {
  8942. total_size +=
  8943. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8944. unknown_fields());
  8945. }
  8946. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8947. _cached_size_ = total_size;
  8948. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8949. return total_size;
  8950. }
  8951. void CCSUsrMsg_ReloadEffect::MergeFrom(const ::google::protobuf::Message& from) {
  8952. GOOGLE_CHECK_NE(&from, this);
  8953. const CCSUsrMsg_ReloadEffect* source =
  8954. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ReloadEffect*>(
  8955. &from);
  8956. if (source == NULL) {
  8957. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8958. } else {
  8959. MergeFrom(*source);
  8960. }
  8961. }
  8962. void CCSUsrMsg_ReloadEffect::MergeFrom(const CCSUsrMsg_ReloadEffect& from) {
  8963. GOOGLE_CHECK_NE(&from, this);
  8964. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8965. if (from.has_entidx()) {
  8966. set_entidx(from.entidx());
  8967. }
  8968. if (from.has_actanim()) {
  8969. set_actanim(from.actanim());
  8970. }
  8971. if (from.has_origin_x()) {
  8972. set_origin_x(from.origin_x());
  8973. }
  8974. if (from.has_origin_y()) {
  8975. set_origin_y(from.origin_y());
  8976. }
  8977. if (from.has_origin_z()) {
  8978. set_origin_z(from.origin_z());
  8979. }
  8980. }
  8981. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8982. }
  8983. void CCSUsrMsg_ReloadEffect::CopyFrom(const ::google::protobuf::Message& from) {
  8984. if (&from == this) return;
  8985. Clear();
  8986. MergeFrom(from);
  8987. }
  8988. void CCSUsrMsg_ReloadEffect::CopyFrom(const CCSUsrMsg_ReloadEffect& from) {
  8989. if (&from == this) return;
  8990. Clear();
  8991. MergeFrom(from);
  8992. }
  8993. bool CCSUsrMsg_ReloadEffect::IsInitialized() const {
  8994. return true;
  8995. }
  8996. void CCSUsrMsg_ReloadEffect::Swap(CCSUsrMsg_ReloadEffect* other) {
  8997. if (other != this) {
  8998. std::swap(entidx_, other->entidx_);
  8999. std::swap(actanim_, other->actanim_);
  9000. std::swap(origin_x_, other->origin_x_);
  9001. std::swap(origin_y_, other->origin_y_);
  9002. std::swap(origin_z_, other->origin_z_);
  9003. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9004. _unknown_fields_.Swap(&other->_unknown_fields_);
  9005. std::swap(_cached_size_, other->_cached_size_);
  9006. }
  9007. }
  9008. ::google::protobuf::Metadata CCSUsrMsg_ReloadEffect::GetMetadata() const {
  9009. protobuf_AssignDescriptorsOnce();
  9010. ::google::protobuf::Metadata metadata;
  9011. metadata.descriptor = CCSUsrMsg_ReloadEffect_descriptor_;
  9012. metadata.reflection = CCSUsrMsg_ReloadEffect_reflection_;
  9013. return metadata;
  9014. }
  9015. // ===================================================================
  9016. #ifndef _MSC_VER
  9017. const int CCSUsrMsg_AdjustMoney::kAmountFieldNumber;
  9018. #endif // !_MSC_VER
  9019. CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney()
  9020. : ::google::protobuf::Message() {
  9021. SharedCtor();
  9022. }
  9023. void CCSUsrMsg_AdjustMoney::InitAsDefaultInstance() {
  9024. }
  9025. CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney(const CCSUsrMsg_AdjustMoney& from)
  9026. : ::google::protobuf::Message() {
  9027. SharedCtor();
  9028. MergeFrom(from);
  9029. }
  9030. void CCSUsrMsg_AdjustMoney::SharedCtor() {
  9031. _cached_size_ = 0;
  9032. amount_ = 0;
  9033. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9034. }
  9035. CCSUsrMsg_AdjustMoney::~CCSUsrMsg_AdjustMoney() {
  9036. SharedDtor();
  9037. }
  9038. void CCSUsrMsg_AdjustMoney::SharedDtor() {
  9039. if (this != default_instance_) {
  9040. }
  9041. }
  9042. void CCSUsrMsg_AdjustMoney::SetCachedSize(int size) const {
  9043. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9044. _cached_size_ = size;
  9045. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9046. }
  9047. const ::google::protobuf::Descriptor* CCSUsrMsg_AdjustMoney::descriptor() {
  9048. protobuf_AssignDescriptorsOnce();
  9049. return CCSUsrMsg_AdjustMoney_descriptor_;
  9050. }
  9051. const CCSUsrMsg_AdjustMoney& CCSUsrMsg_AdjustMoney::default_instance() {
  9052. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  9053. return *default_instance_;
  9054. }
  9055. CCSUsrMsg_AdjustMoney* CCSUsrMsg_AdjustMoney::default_instance_ = NULL;
  9056. CCSUsrMsg_AdjustMoney* CCSUsrMsg_AdjustMoney::New() const {
  9057. return new CCSUsrMsg_AdjustMoney;
  9058. }
  9059. void CCSUsrMsg_AdjustMoney::Clear() {
  9060. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9061. amount_ = 0;
  9062. }
  9063. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9064. mutable_unknown_fields()->Clear();
  9065. }
  9066. bool CCSUsrMsg_AdjustMoney::MergePartialFromCodedStream(
  9067. ::google::protobuf::io::CodedInputStream* input) {
  9068. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9069. ::google::protobuf::uint32 tag;
  9070. while ((tag = input->ReadTag()) != 0) {
  9071. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9072. // optional int32 amount = 1;
  9073. case 1: {
  9074. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9075. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9076. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9077. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9078. input, &amount_)));
  9079. set_has_amount();
  9080. } else {
  9081. goto handle_uninterpreted;
  9082. }
  9083. if (input->ExpectAtEnd()) return true;
  9084. break;
  9085. }
  9086. default: {
  9087. handle_uninterpreted:
  9088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9090. return true;
  9091. }
  9092. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9093. input, tag, mutable_unknown_fields()));
  9094. break;
  9095. }
  9096. }
  9097. }
  9098. return true;
  9099. #undef DO_
  9100. }
  9101. void CCSUsrMsg_AdjustMoney::SerializeWithCachedSizes(
  9102. ::google::protobuf::io::CodedOutputStream* output) const {
  9103. // optional int32 amount = 1;
  9104. if (has_amount()) {
  9105. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->amount(), output);
  9106. }
  9107. if (!unknown_fields().empty()) {
  9108. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9109. unknown_fields(), output);
  9110. }
  9111. }
  9112. ::google::protobuf::uint8* CCSUsrMsg_AdjustMoney::SerializeWithCachedSizesToArray(
  9113. ::google::protobuf::uint8* target) const {
  9114. // optional int32 amount = 1;
  9115. if (has_amount()) {
  9116. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->amount(), target);
  9117. }
  9118. if (!unknown_fields().empty()) {
  9119. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9120. unknown_fields(), target);
  9121. }
  9122. return target;
  9123. }
  9124. int CCSUsrMsg_AdjustMoney::ByteSize() const {
  9125. int total_size = 0;
  9126. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9127. // optional int32 amount = 1;
  9128. if (has_amount()) {
  9129. total_size += 1 +
  9130. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9131. this->amount());
  9132. }
  9133. }
  9134. if (!unknown_fields().empty()) {
  9135. total_size +=
  9136. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9137. unknown_fields());
  9138. }
  9139. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9140. _cached_size_ = total_size;
  9141. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9142. return total_size;
  9143. }
  9144. void CCSUsrMsg_AdjustMoney::MergeFrom(const ::google::protobuf::Message& from) {
  9145. GOOGLE_CHECK_NE(&from, this);
  9146. const CCSUsrMsg_AdjustMoney* source =
  9147. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_AdjustMoney*>(
  9148. &from);
  9149. if (source == NULL) {
  9150. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9151. } else {
  9152. MergeFrom(*source);
  9153. }
  9154. }
  9155. void CCSUsrMsg_AdjustMoney::MergeFrom(const CCSUsrMsg_AdjustMoney& from) {
  9156. GOOGLE_CHECK_NE(&from, this);
  9157. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9158. if (from.has_amount()) {
  9159. set_amount(from.amount());
  9160. }
  9161. }
  9162. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9163. }
  9164. void CCSUsrMsg_AdjustMoney::CopyFrom(const ::google::protobuf::Message& from) {
  9165. if (&from == this) return;
  9166. Clear();
  9167. MergeFrom(from);
  9168. }
  9169. void CCSUsrMsg_AdjustMoney::CopyFrom(const CCSUsrMsg_AdjustMoney& from) {
  9170. if (&from == this) return;
  9171. Clear();
  9172. MergeFrom(from);
  9173. }
  9174. bool CCSUsrMsg_AdjustMoney::IsInitialized() const {
  9175. return true;
  9176. }
  9177. void CCSUsrMsg_AdjustMoney::Swap(CCSUsrMsg_AdjustMoney* other) {
  9178. if (other != this) {
  9179. std::swap(amount_, other->amount_);
  9180. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9181. _unknown_fields_.Swap(&other->_unknown_fields_);
  9182. std::swap(_cached_size_, other->_cached_size_);
  9183. }
  9184. }
  9185. ::google::protobuf::Metadata CCSUsrMsg_AdjustMoney::GetMetadata() const {
  9186. protobuf_AssignDescriptorsOnce();
  9187. ::google::protobuf::Metadata metadata;
  9188. metadata.descriptor = CCSUsrMsg_AdjustMoney_descriptor_;
  9189. metadata.reflection = CCSUsrMsg_AdjustMoney_reflection_;
  9190. return metadata;
  9191. }
  9192. // ===================================================================
  9193. #ifndef _MSC_VER
  9194. const int CCSUsrMsg_ReportHit::kPosXFieldNumber;
  9195. const int CCSUsrMsg_ReportHit::kPosYFieldNumber;
  9196. const int CCSUsrMsg_ReportHit::kTimestampFieldNumber;
  9197. const int CCSUsrMsg_ReportHit::kPosZFieldNumber;
  9198. #endif // !_MSC_VER
  9199. CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit()
  9200. : ::google::protobuf::Message() {
  9201. SharedCtor();
  9202. }
  9203. void CCSUsrMsg_ReportHit::InitAsDefaultInstance() {
  9204. }
  9205. CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit(const CCSUsrMsg_ReportHit& from)
  9206. : ::google::protobuf::Message() {
  9207. SharedCtor();
  9208. MergeFrom(from);
  9209. }
  9210. void CCSUsrMsg_ReportHit::SharedCtor() {
  9211. _cached_size_ = 0;
  9212. pos_x_ = 0;
  9213. pos_y_ = 0;
  9214. timestamp_ = 0;
  9215. pos_z_ = 0;
  9216. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9217. }
  9218. CCSUsrMsg_ReportHit::~CCSUsrMsg_ReportHit() {
  9219. SharedDtor();
  9220. }
  9221. void CCSUsrMsg_ReportHit::SharedDtor() {
  9222. if (this != default_instance_) {
  9223. }
  9224. }
  9225. void CCSUsrMsg_ReportHit::SetCachedSize(int size) const {
  9226. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9227. _cached_size_ = size;
  9228. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9229. }
  9230. const ::google::protobuf::Descriptor* CCSUsrMsg_ReportHit::descriptor() {
  9231. protobuf_AssignDescriptorsOnce();
  9232. return CCSUsrMsg_ReportHit_descriptor_;
  9233. }
  9234. const CCSUsrMsg_ReportHit& CCSUsrMsg_ReportHit::default_instance() {
  9235. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  9236. return *default_instance_;
  9237. }
  9238. CCSUsrMsg_ReportHit* CCSUsrMsg_ReportHit::default_instance_ = NULL;
  9239. CCSUsrMsg_ReportHit* CCSUsrMsg_ReportHit::New() const {
  9240. return new CCSUsrMsg_ReportHit;
  9241. }
  9242. void CCSUsrMsg_ReportHit::Clear() {
  9243. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9244. pos_x_ = 0;
  9245. pos_y_ = 0;
  9246. timestamp_ = 0;
  9247. pos_z_ = 0;
  9248. }
  9249. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9250. mutable_unknown_fields()->Clear();
  9251. }
  9252. bool CCSUsrMsg_ReportHit::MergePartialFromCodedStream(
  9253. ::google::protobuf::io::CodedInputStream* input) {
  9254. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9255. ::google::protobuf::uint32 tag;
  9256. while ((tag = input->ReadTag()) != 0) {
  9257. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9258. // optional float pos_x = 1;
  9259. case 1: {
  9260. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9261. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9262. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9263. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9264. input, &pos_x_)));
  9265. set_has_pos_x();
  9266. } else {
  9267. goto handle_uninterpreted;
  9268. }
  9269. if (input->ExpectTag(21)) goto parse_pos_y;
  9270. break;
  9271. }
  9272. // optional float pos_y = 2;
  9273. case 2: {
  9274. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9275. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9276. parse_pos_y:
  9277. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9278. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9279. input, &pos_y_)));
  9280. set_has_pos_y();
  9281. } else {
  9282. goto handle_uninterpreted;
  9283. }
  9284. if (input->ExpectTag(29)) goto parse_pos_z;
  9285. break;
  9286. }
  9287. // optional float pos_z = 3;
  9288. case 3: {
  9289. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9290. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9291. parse_pos_z:
  9292. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9293. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9294. input, &pos_z_)));
  9295. set_has_pos_z();
  9296. } else {
  9297. goto handle_uninterpreted;
  9298. }
  9299. if (input->ExpectTag(37)) goto parse_timestamp;
  9300. break;
  9301. }
  9302. // optional float timestamp = 4;
  9303. case 4: {
  9304. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9305. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9306. parse_timestamp:
  9307. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9308. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9309. input, &timestamp_)));
  9310. set_has_timestamp();
  9311. } else {
  9312. goto handle_uninterpreted;
  9313. }
  9314. if (input->ExpectAtEnd()) return true;
  9315. break;
  9316. }
  9317. default: {
  9318. handle_uninterpreted:
  9319. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9320. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9321. return true;
  9322. }
  9323. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9324. input, tag, mutable_unknown_fields()));
  9325. break;
  9326. }
  9327. }
  9328. }
  9329. return true;
  9330. #undef DO_
  9331. }
  9332. void CCSUsrMsg_ReportHit::SerializeWithCachedSizes(
  9333. ::google::protobuf::io::CodedOutputStream* output) const {
  9334. // optional float pos_x = 1;
  9335. if (has_pos_x()) {
  9336. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->pos_x(), output);
  9337. }
  9338. // optional float pos_y = 2;
  9339. if (has_pos_y()) {
  9340. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->pos_y(), output);
  9341. }
  9342. // optional float pos_z = 3;
  9343. if (has_pos_z()) {
  9344. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->pos_z(), output);
  9345. }
  9346. // optional float timestamp = 4;
  9347. if (has_timestamp()) {
  9348. ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->timestamp(), output);
  9349. }
  9350. if (!unknown_fields().empty()) {
  9351. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9352. unknown_fields(), output);
  9353. }
  9354. }
  9355. ::google::protobuf::uint8* CCSUsrMsg_ReportHit::SerializeWithCachedSizesToArray(
  9356. ::google::protobuf::uint8* target) const {
  9357. // optional float pos_x = 1;
  9358. if (has_pos_x()) {
  9359. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->pos_x(), target);
  9360. }
  9361. // optional float pos_y = 2;
  9362. if (has_pos_y()) {
  9363. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->pos_y(), target);
  9364. }
  9365. // optional float pos_z = 3;
  9366. if (has_pos_z()) {
  9367. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->pos_z(), target);
  9368. }
  9369. // optional float timestamp = 4;
  9370. if (has_timestamp()) {
  9371. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->timestamp(), target);
  9372. }
  9373. if (!unknown_fields().empty()) {
  9374. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9375. unknown_fields(), target);
  9376. }
  9377. return target;
  9378. }
  9379. int CCSUsrMsg_ReportHit::ByteSize() const {
  9380. int total_size = 0;
  9381. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9382. // optional float pos_x = 1;
  9383. if (has_pos_x()) {
  9384. total_size += 1 + 4;
  9385. }
  9386. // optional float pos_y = 2;
  9387. if (has_pos_y()) {
  9388. total_size += 1 + 4;
  9389. }
  9390. // optional float timestamp = 4;
  9391. if (has_timestamp()) {
  9392. total_size += 1 + 4;
  9393. }
  9394. // optional float pos_z = 3;
  9395. if (has_pos_z()) {
  9396. total_size += 1 + 4;
  9397. }
  9398. }
  9399. if (!unknown_fields().empty()) {
  9400. total_size +=
  9401. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9402. unknown_fields());
  9403. }
  9404. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9405. _cached_size_ = total_size;
  9406. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9407. return total_size;
  9408. }
  9409. void CCSUsrMsg_ReportHit::MergeFrom(const ::google::protobuf::Message& from) {
  9410. GOOGLE_CHECK_NE(&from, this);
  9411. const CCSUsrMsg_ReportHit* source =
  9412. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ReportHit*>(
  9413. &from);
  9414. if (source == NULL) {
  9415. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9416. } else {
  9417. MergeFrom(*source);
  9418. }
  9419. }
  9420. void CCSUsrMsg_ReportHit::MergeFrom(const CCSUsrMsg_ReportHit& from) {
  9421. GOOGLE_CHECK_NE(&from, this);
  9422. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9423. if (from.has_pos_x()) {
  9424. set_pos_x(from.pos_x());
  9425. }
  9426. if (from.has_pos_y()) {
  9427. set_pos_y(from.pos_y());
  9428. }
  9429. if (from.has_timestamp()) {
  9430. set_timestamp(from.timestamp());
  9431. }
  9432. if (from.has_pos_z()) {
  9433. set_pos_z(from.pos_z());
  9434. }
  9435. }
  9436. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9437. }
  9438. void CCSUsrMsg_ReportHit::CopyFrom(const ::google::protobuf::Message& from) {
  9439. if (&from == this) return;
  9440. Clear();
  9441. MergeFrom(from);
  9442. }
  9443. void CCSUsrMsg_ReportHit::CopyFrom(const CCSUsrMsg_ReportHit& from) {
  9444. if (&from == this) return;
  9445. Clear();
  9446. MergeFrom(from);
  9447. }
  9448. bool CCSUsrMsg_ReportHit::IsInitialized() const {
  9449. return true;
  9450. }
  9451. void CCSUsrMsg_ReportHit::Swap(CCSUsrMsg_ReportHit* other) {
  9452. if (other != this) {
  9453. std::swap(pos_x_, other->pos_x_);
  9454. std::swap(pos_y_, other->pos_y_);
  9455. std::swap(timestamp_, other->timestamp_);
  9456. std::swap(pos_z_, other->pos_z_);
  9457. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9458. _unknown_fields_.Swap(&other->_unknown_fields_);
  9459. std::swap(_cached_size_, other->_cached_size_);
  9460. }
  9461. }
  9462. ::google::protobuf::Metadata CCSUsrMsg_ReportHit::GetMetadata() const {
  9463. protobuf_AssignDescriptorsOnce();
  9464. ::google::protobuf::Metadata metadata;
  9465. metadata.descriptor = CCSUsrMsg_ReportHit_descriptor_;
  9466. metadata.reflection = CCSUsrMsg_ReportHit_reflection_;
  9467. return metadata;
  9468. }
  9469. // ===================================================================
  9470. #ifndef _MSC_VER
  9471. const int CCSUsrMsg_KillCam::kObsModeFieldNumber;
  9472. const int CCSUsrMsg_KillCam::kFirstTargetFieldNumber;
  9473. const int CCSUsrMsg_KillCam::kSecondTargetFieldNumber;
  9474. #endif // !_MSC_VER
  9475. CCSUsrMsg_KillCam::CCSUsrMsg_KillCam()
  9476. : ::google::protobuf::Message() {
  9477. SharedCtor();
  9478. }
  9479. void CCSUsrMsg_KillCam::InitAsDefaultInstance() {
  9480. }
  9481. CCSUsrMsg_KillCam::CCSUsrMsg_KillCam(const CCSUsrMsg_KillCam& from)
  9482. : ::google::protobuf::Message() {
  9483. SharedCtor();
  9484. MergeFrom(from);
  9485. }
  9486. void CCSUsrMsg_KillCam::SharedCtor() {
  9487. _cached_size_ = 0;
  9488. obs_mode_ = 0;
  9489. first_target_ = 0;
  9490. second_target_ = 0;
  9491. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9492. }
  9493. CCSUsrMsg_KillCam::~CCSUsrMsg_KillCam() {
  9494. SharedDtor();
  9495. }
  9496. void CCSUsrMsg_KillCam::SharedDtor() {
  9497. if (this != default_instance_) {
  9498. }
  9499. }
  9500. void CCSUsrMsg_KillCam::SetCachedSize(int size) const {
  9501. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9502. _cached_size_ = size;
  9503. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9504. }
  9505. const ::google::protobuf::Descriptor* CCSUsrMsg_KillCam::descriptor() {
  9506. protobuf_AssignDescriptorsOnce();
  9507. return CCSUsrMsg_KillCam_descriptor_;
  9508. }
  9509. const CCSUsrMsg_KillCam& CCSUsrMsg_KillCam::default_instance() {
  9510. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  9511. return *default_instance_;
  9512. }
  9513. CCSUsrMsg_KillCam* CCSUsrMsg_KillCam::default_instance_ = NULL;
  9514. CCSUsrMsg_KillCam* CCSUsrMsg_KillCam::New() const {
  9515. return new CCSUsrMsg_KillCam;
  9516. }
  9517. void CCSUsrMsg_KillCam::Clear() {
  9518. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9519. obs_mode_ = 0;
  9520. first_target_ = 0;
  9521. second_target_ = 0;
  9522. }
  9523. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9524. mutable_unknown_fields()->Clear();
  9525. }
  9526. bool CCSUsrMsg_KillCam::MergePartialFromCodedStream(
  9527. ::google::protobuf::io::CodedInputStream* input) {
  9528. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9529. ::google::protobuf::uint32 tag;
  9530. while ((tag = input->ReadTag()) != 0) {
  9531. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9532. // optional int32 obs_mode = 1;
  9533. case 1: {
  9534. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9535. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9536. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9537. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9538. input, &obs_mode_)));
  9539. set_has_obs_mode();
  9540. } else {
  9541. goto handle_uninterpreted;
  9542. }
  9543. if (input->ExpectTag(16)) goto parse_first_target;
  9544. break;
  9545. }
  9546. // optional int32 first_target = 2;
  9547. case 2: {
  9548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9550. parse_first_target:
  9551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9552. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9553. input, &first_target_)));
  9554. set_has_first_target();
  9555. } else {
  9556. goto handle_uninterpreted;
  9557. }
  9558. if (input->ExpectTag(24)) goto parse_second_target;
  9559. break;
  9560. }
  9561. // optional int32 second_target = 3;
  9562. case 3: {
  9563. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9564. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9565. parse_second_target:
  9566. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9567. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9568. input, &second_target_)));
  9569. set_has_second_target();
  9570. } else {
  9571. goto handle_uninterpreted;
  9572. }
  9573. if (input->ExpectAtEnd()) return true;
  9574. break;
  9575. }
  9576. default: {
  9577. handle_uninterpreted:
  9578. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9579. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9580. return true;
  9581. }
  9582. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9583. input, tag, mutable_unknown_fields()));
  9584. break;
  9585. }
  9586. }
  9587. }
  9588. return true;
  9589. #undef DO_
  9590. }
  9591. void CCSUsrMsg_KillCam::SerializeWithCachedSizes(
  9592. ::google::protobuf::io::CodedOutputStream* output) const {
  9593. // optional int32 obs_mode = 1;
  9594. if (has_obs_mode()) {
  9595. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->obs_mode(), output);
  9596. }
  9597. // optional int32 first_target = 2;
  9598. if (has_first_target()) {
  9599. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->first_target(), output);
  9600. }
  9601. // optional int32 second_target = 3;
  9602. if (has_second_target()) {
  9603. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->second_target(), output);
  9604. }
  9605. if (!unknown_fields().empty()) {
  9606. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9607. unknown_fields(), output);
  9608. }
  9609. }
  9610. ::google::protobuf::uint8* CCSUsrMsg_KillCam::SerializeWithCachedSizesToArray(
  9611. ::google::protobuf::uint8* target) const {
  9612. // optional int32 obs_mode = 1;
  9613. if (has_obs_mode()) {
  9614. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->obs_mode(), target);
  9615. }
  9616. // optional int32 first_target = 2;
  9617. if (has_first_target()) {
  9618. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->first_target(), target);
  9619. }
  9620. // optional int32 second_target = 3;
  9621. if (has_second_target()) {
  9622. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->second_target(), target);
  9623. }
  9624. if (!unknown_fields().empty()) {
  9625. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9626. unknown_fields(), target);
  9627. }
  9628. return target;
  9629. }
  9630. int CCSUsrMsg_KillCam::ByteSize() const {
  9631. int total_size = 0;
  9632. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9633. // optional int32 obs_mode = 1;
  9634. if (has_obs_mode()) {
  9635. total_size += 1 +
  9636. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9637. this->obs_mode());
  9638. }
  9639. // optional int32 first_target = 2;
  9640. if (has_first_target()) {
  9641. total_size += 1 +
  9642. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9643. this->first_target());
  9644. }
  9645. // optional int32 second_target = 3;
  9646. if (has_second_target()) {
  9647. total_size += 1 +
  9648. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9649. this->second_target());
  9650. }
  9651. }
  9652. if (!unknown_fields().empty()) {
  9653. total_size +=
  9654. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9655. unknown_fields());
  9656. }
  9657. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9658. _cached_size_ = total_size;
  9659. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9660. return total_size;
  9661. }
  9662. void CCSUsrMsg_KillCam::MergeFrom(const ::google::protobuf::Message& from) {
  9663. GOOGLE_CHECK_NE(&from, this);
  9664. const CCSUsrMsg_KillCam* source =
  9665. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_KillCam*>(
  9666. &from);
  9667. if (source == NULL) {
  9668. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9669. } else {
  9670. MergeFrom(*source);
  9671. }
  9672. }
  9673. void CCSUsrMsg_KillCam::MergeFrom(const CCSUsrMsg_KillCam& from) {
  9674. GOOGLE_CHECK_NE(&from, this);
  9675. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9676. if (from.has_obs_mode()) {
  9677. set_obs_mode(from.obs_mode());
  9678. }
  9679. if (from.has_first_target()) {
  9680. set_first_target(from.first_target());
  9681. }
  9682. if (from.has_second_target()) {
  9683. set_second_target(from.second_target());
  9684. }
  9685. }
  9686. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9687. }
  9688. void CCSUsrMsg_KillCam::CopyFrom(const ::google::protobuf::Message& from) {
  9689. if (&from == this) return;
  9690. Clear();
  9691. MergeFrom(from);
  9692. }
  9693. void CCSUsrMsg_KillCam::CopyFrom(const CCSUsrMsg_KillCam& from) {
  9694. if (&from == this) return;
  9695. Clear();
  9696. MergeFrom(from);
  9697. }
  9698. bool CCSUsrMsg_KillCam::IsInitialized() const {
  9699. return true;
  9700. }
  9701. void CCSUsrMsg_KillCam::Swap(CCSUsrMsg_KillCam* other) {
  9702. if (other != this) {
  9703. std::swap(obs_mode_, other->obs_mode_);
  9704. std::swap(first_target_, other->first_target_);
  9705. std::swap(second_target_, other->second_target_);
  9706. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9707. _unknown_fields_.Swap(&other->_unknown_fields_);
  9708. std::swap(_cached_size_, other->_cached_size_);
  9709. }
  9710. }
  9711. ::google::protobuf::Metadata CCSUsrMsg_KillCam::GetMetadata() const {
  9712. protobuf_AssignDescriptorsOnce();
  9713. ::google::protobuf::Metadata metadata;
  9714. metadata.descriptor = CCSUsrMsg_KillCam_descriptor_;
  9715. metadata.reflection = CCSUsrMsg_KillCam_reflection_;
  9716. return metadata;
  9717. }
  9718. // ===================================================================
  9719. #ifndef _MSC_VER
  9720. const int CCSUsrMsg_DesiredTimescale::kDesiredTimescaleFieldNumber;
  9721. const int CCSUsrMsg_DesiredTimescale::kDurationRealtimeSecFieldNumber;
  9722. const int CCSUsrMsg_DesiredTimescale::kInterpolatorTypeFieldNumber;
  9723. const int CCSUsrMsg_DesiredTimescale::kStartBlendTimeFieldNumber;
  9724. #endif // !_MSC_VER
  9725. CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale()
  9726. : ::google::protobuf::Message() {
  9727. SharedCtor();
  9728. }
  9729. void CCSUsrMsg_DesiredTimescale::InitAsDefaultInstance() {
  9730. }
  9731. CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale(const CCSUsrMsg_DesiredTimescale& from)
  9732. : ::google::protobuf::Message() {
  9733. SharedCtor();
  9734. MergeFrom(from);
  9735. }
  9736. void CCSUsrMsg_DesiredTimescale::SharedCtor() {
  9737. _cached_size_ = 0;
  9738. desired_timescale_ = 0;
  9739. duration_realtime_sec_ = 0;
  9740. interpolator_type_ = 0;
  9741. start_blend_time_ = 0;
  9742. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9743. }
  9744. CCSUsrMsg_DesiredTimescale::~CCSUsrMsg_DesiredTimescale() {
  9745. SharedDtor();
  9746. }
  9747. void CCSUsrMsg_DesiredTimescale::SharedDtor() {
  9748. if (this != default_instance_) {
  9749. }
  9750. }
  9751. void CCSUsrMsg_DesiredTimescale::SetCachedSize(int size) const {
  9752. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9753. _cached_size_ = size;
  9754. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9755. }
  9756. const ::google::protobuf::Descriptor* CCSUsrMsg_DesiredTimescale::descriptor() {
  9757. protobuf_AssignDescriptorsOnce();
  9758. return CCSUsrMsg_DesiredTimescale_descriptor_;
  9759. }
  9760. const CCSUsrMsg_DesiredTimescale& CCSUsrMsg_DesiredTimescale::default_instance() {
  9761. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  9762. return *default_instance_;
  9763. }
  9764. CCSUsrMsg_DesiredTimescale* CCSUsrMsg_DesiredTimescale::default_instance_ = NULL;
  9765. CCSUsrMsg_DesiredTimescale* CCSUsrMsg_DesiredTimescale::New() const {
  9766. return new CCSUsrMsg_DesiredTimescale;
  9767. }
  9768. void CCSUsrMsg_DesiredTimescale::Clear() {
  9769. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9770. desired_timescale_ = 0;
  9771. duration_realtime_sec_ = 0;
  9772. interpolator_type_ = 0;
  9773. start_blend_time_ = 0;
  9774. }
  9775. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9776. mutable_unknown_fields()->Clear();
  9777. }
  9778. bool CCSUsrMsg_DesiredTimescale::MergePartialFromCodedStream(
  9779. ::google::protobuf::io::CodedInputStream* input) {
  9780. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9781. ::google::protobuf::uint32 tag;
  9782. while ((tag = input->ReadTag()) != 0) {
  9783. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9784. // optional float desired_timescale = 1;
  9785. case 1: {
  9786. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9787. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9788. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9789. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9790. input, &desired_timescale_)));
  9791. set_has_desired_timescale();
  9792. } else {
  9793. goto handle_uninterpreted;
  9794. }
  9795. if (input->ExpectTag(21)) goto parse_duration_realtime_sec;
  9796. break;
  9797. }
  9798. // optional float duration_realtime_sec = 2;
  9799. case 2: {
  9800. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9801. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9802. parse_duration_realtime_sec:
  9803. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9804. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9805. input, &duration_realtime_sec_)));
  9806. set_has_duration_realtime_sec();
  9807. } else {
  9808. goto handle_uninterpreted;
  9809. }
  9810. if (input->ExpectTag(24)) goto parse_interpolator_type;
  9811. break;
  9812. }
  9813. // optional int32 interpolator_type = 3;
  9814. case 3: {
  9815. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9816. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9817. parse_interpolator_type:
  9818. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9819. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9820. input, &interpolator_type_)));
  9821. set_has_interpolator_type();
  9822. } else {
  9823. goto handle_uninterpreted;
  9824. }
  9825. if (input->ExpectTag(37)) goto parse_start_blend_time;
  9826. break;
  9827. }
  9828. // optional float start_blend_time = 4;
  9829. case 4: {
  9830. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9831. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  9832. parse_start_blend_time:
  9833. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9834. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  9835. input, &start_blend_time_)));
  9836. set_has_start_blend_time();
  9837. } else {
  9838. goto handle_uninterpreted;
  9839. }
  9840. if (input->ExpectAtEnd()) return true;
  9841. break;
  9842. }
  9843. default: {
  9844. handle_uninterpreted:
  9845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9847. return true;
  9848. }
  9849. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9850. input, tag, mutable_unknown_fields()));
  9851. break;
  9852. }
  9853. }
  9854. }
  9855. return true;
  9856. #undef DO_
  9857. }
  9858. void CCSUsrMsg_DesiredTimescale::SerializeWithCachedSizes(
  9859. ::google::protobuf::io::CodedOutputStream* output) const {
  9860. // optional float desired_timescale = 1;
  9861. if (has_desired_timescale()) {
  9862. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->desired_timescale(), output);
  9863. }
  9864. // optional float duration_realtime_sec = 2;
  9865. if (has_duration_realtime_sec()) {
  9866. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->duration_realtime_sec(), output);
  9867. }
  9868. // optional int32 interpolator_type = 3;
  9869. if (has_interpolator_type()) {
  9870. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->interpolator_type(), output);
  9871. }
  9872. // optional float start_blend_time = 4;
  9873. if (has_start_blend_time()) {
  9874. ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->start_blend_time(), output);
  9875. }
  9876. if (!unknown_fields().empty()) {
  9877. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9878. unknown_fields(), output);
  9879. }
  9880. }
  9881. ::google::protobuf::uint8* CCSUsrMsg_DesiredTimescale::SerializeWithCachedSizesToArray(
  9882. ::google::protobuf::uint8* target) const {
  9883. // optional float desired_timescale = 1;
  9884. if (has_desired_timescale()) {
  9885. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->desired_timescale(), target);
  9886. }
  9887. // optional float duration_realtime_sec = 2;
  9888. if (has_duration_realtime_sec()) {
  9889. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->duration_realtime_sec(), target);
  9890. }
  9891. // optional int32 interpolator_type = 3;
  9892. if (has_interpolator_type()) {
  9893. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->interpolator_type(), target);
  9894. }
  9895. // optional float start_blend_time = 4;
  9896. if (has_start_blend_time()) {
  9897. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->start_blend_time(), target);
  9898. }
  9899. if (!unknown_fields().empty()) {
  9900. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9901. unknown_fields(), target);
  9902. }
  9903. return target;
  9904. }
  9905. int CCSUsrMsg_DesiredTimescale::ByteSize() const {
  9906. int total_size = 0;
  9907. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9908. // optional float desired_timescale = 1;
  9909. if (has_desired_timescale()) {
  9910. total_size += 1 + 4;
  9911. }
  9912. // optional float duration_realtime_sec = 2;
  9913. if (has_duration_realtime_sec()) {
  9914. total_size += 1 + 4;
  9915. }
  9916. // optional int32 interpolator_type = 3;
  9917. if (has_interpolator_type()) {
  9918. total_size += 1 +
  9919. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9920. this->interpolator_type());
  9921. }
  9922. // optional float start_blend_time = 4;
  9923. if (has_start_blend_time()) {
  9924. total_size += 1 + 4;
  9925. }
  9926. }
  9927. if (!unknown_fields().empty()) {
  9928. total_size +=
  9929. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9930. unknown_fields());
  9931. }
  9932. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9933. _cached_size_ = total_size;
  9934. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9935. return total_size;
  9936. }
  9937. void CCSUsrMsg_DesiredTimescale::MergeFrom(const ::google::protobuf::Message& from) {
  9938. GOOGLE_CHECK_NE(&from, this);
  9939. const CCSUsrMsg_DesiredTimescale* source =
  9940. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_DesiredTimescale*>(
  9941. &from);
  9942. if (source == NULL) {
  9943. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9944. } else {
  9945. MergeFrom(*source);
  9946. }
  9947. }
  9948. void CCSUsrMsg_DesiredTimescale::MergeFrom(const CCSUsrMsg_DesiredTimescale& from) {
  9949. GOOGLE_CHECK_NE(&from, this);
  9950. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9951. if (from.has_desired_timescale()) {
  9952. set_desired_timescale(from.desired_timescale());
  9953. }
  9954. if (from.has_duration_realtime_sec()) {
  9955. set_duration_realtime_sec(from.duration_realtime_sec());
  9956. }
  9957. if (from.has_interpolator_type()) {
  9958. set_interpolator_type(from.interpolator_type());
  9959. }
  9960. if (from.has_start_blend_time()) {
  9961. set_start_blend_time(from.start_blend_time());
  9962. }
  9963. }
  9964. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9965. }
  9966. void CCSUsrMsg_DesiredTimescale::CopyFrom(const ::google::protobuf::Message& from) {
  9967. if (&from == this) return;
  9968. Clear();
  9969. MergeFrom(from);
  9970. }
  9971. void CCSUsrMsg_DesiredTimescale::CopyFrom(const CCSUsrMsg_DesiredTimescale& from) {
  9972. if (&from == this) return;
  9973. Clear();
  9974. MergeFrom(from);
  9975. }
  9976. bool CCSUsrMsg_DesiredTimescale::IsInitialized() const {
  9977. return true;
  9978. }
  9979. void CCSUsrMsg_DesiredTimescale::Swap(CCSUsrMsg_DesiredTimescale* other) {
  9980. if (other != this) {
  9981. std::swap(desired_timescale_, other->desired_timescale_);
  9982. std::swap(duration_realtime_sec_, other->duration_realtime_sec_);
  9983. std::swap(interpolator_type_, other->interpolator_type_);
  9984. std::swap(start_blend_time_, other->start_blend_time_);
  9985. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9986. _unknown_fields_.Swap(&other->_unknown_fields_);
  9987. std::swap(_cached_size_, other->_cached_size_);
  9988. }
  9989. }
  9990. ::google::protobuf::Metadata CCSUsrMsg_DesiredTimescale::GetMetadata() const {
  9991. protobuf_AssignDescriptorsOnce();
  9992. ::google::protobuf::Metadata metadata;
  9993. metadata.descriptor = CCSUsrMsg_DesiredTimescale_descriptor_;
  9994. metadata.reflection = CCSUsrMsg_DesiredTimescale_reflection_;
  9995. return metadata;
  9996. }
  9997. // ===================================================================
  9998. #ifndef _MSC_VER
  9999. const int CCSUsrMsg_CurrentTimescale::kCurTimescaleFieldNumber;
  10000. #endif // !_MSC_VER
  10001. CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale()
  10002. : ::google::protobuf::Message() {
  10003. SharedCtor();
  10004. }
  10005. void CCSUsrMsg_CurrentTimescale::InitAsDefaultInstance() {
  10006. }
  10007. CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale(const CCSUsrMsg_CurrentTimescale& from)
  10008. : ::google::protobuf::Message() {
  10009. SharedCtor();
  10010. MergeFrom(from);
  10011. }
  10012. void CCSUsrMsg_CurrentTimescale::SharedCtor() {
  10013. _cached_size_ = 0;
  10014. cur_timescale_ = 0;
  10015. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10016. }
  10017. CCSUsrMsg_CurrentTimescale::~CCSUsrMsg_CurrentTimescale() {
  10018. SharedDtor();
  10019. }
  10020. void CCSUsrMsg_CurrentTimescale::SharedDtor() {
  10021. if (this != default_instance_) {
  10022. }
  10023. }
  10024. void CCSUsrMsg_CurrentTimescale::SetCachedSize(int size) const {
  10025. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10026. _cached_size_ = size;
  10027. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10028. }
  10029. const ::google::protobuf::Descriptor* CCSUsrMsg_CurrentTimescale::descriptor() {
  10030. protobuf_AssignDescriptorsOnce();
  10031. return CCSUsrMsg_CurrentTimescale_descriptor_;
  10032. }
  10033. const CCSUsrMsg_CurrentTimescale& CCSUsrMsg_CurrentTimescale::default_instance() {
  10034. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  10035. return *default_instance_;
  10036. }
  10037. CCSUsrMsg_CurrentTimescale* CCSUsrMsg_CurrentTimescale::default_instance_ = NULL;
  10038. CCSUsrMsg_CurrentTimescale* CCSUsrMsg_CurrentTimescale::New() const {
  10039. return new CCSUsrMsg_CurrentTimescale;
  10040. }
  10041. void CCSUsrMsg_CurrentTimescale::Clear() {
  10042. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10043. cur_timescale_ = 0;
  10044. }
  10045. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10046. mutable_unknown_fields()->Clear();
  10047. }
  10048. bool CCSUsrMsg_CurrentTimescale::MergePartialFromCodedStream(
  10049. ::google::protobuf::io::CodedInputStream* input) {
  10050. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10051. ::google::protobuf::uint32 tag;
  10052. while ((tag = input->ReadTag()) != 0) {
  10053. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10054. // optional float cur_timescale = 1;
  10055. case 1: {
  10056. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10057. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  10058. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10059. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  10060. input, &cur_timescale_)));
  10061. set_has_cur_timescale();
  10062. } else {
  10063. goto handle_uninterpreted;
  10064. }
  10065. if (input->ExpectAtEnd()) return true;
  10066. break;
  10067. }
  10068. default: {
  10069. handle_uninterpreted:
  10070. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10071. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10072. return true;
  10073. }
  10074. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10075. input, tag, mutable_unknown_fields()));
  10076. break;
  10077. }
  10078. }
  10079. }
  10080. return true;
  10081. #undef DO_
  10082. }
  10083. void CCSUsrMsg_CurrentTimescale::SerializeWithCachedSizes(
  10084. ::google::protobuf::io::CodedOutputStream* output) const {
  10085. // optional float cur_timescale = 1;
  10086. if (has_cur_timescale()) {
  10087. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->cur_timescale(), output);
  10088. }
  10089. if (!unknown_fields().empty()) {
  10090. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10091. unknown_fields(), output);
  10092. }
  10093. }
  10094. ::google::protobuf::uint8* CCSUsrMsg_CurrentTimescale::SerializeWithCachedSizesToArray(
  10095. ::google::protobuf::uint8* target) const {
  10096. // optional float cur_timescale = 1;
  10097. if (has_cur_timescale()) {
  10098. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->cur_timescale(), target);
  10099. }
  10100. if (!unknown_fields().empty()) {
  10101. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10102. unknown_fields(), target);
  10103. }
  10104. return target;
  10105. }
  10106. int CCSUsrMsg_CurrentTimescale::ByteSize() const {
  10107. int total_size = 0;
  10108. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10109. // optional float cur_timescale = 1;
  10110. if (has_cur_timescale()) {
  10111. total_size += 1 + 4;
  10112. }
  10113. }
  10114. if (!unknown_fields().empty()) {
  10115. total_size +=
  10116. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10117. unknown_fields());
  10118. }
  10119. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10120. _cached_size_ = total_size;
  10121. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10122. return total_size;
  10123. }
  10124. void CCSUsrMsg_CurrentTimescale::MergeFrom(const ::google::protobuf::Message& from) {
  10125. GOOGLE_CHECK_NE(&from, this);
  10126. const CCSUsrMsg_CurrentTimescale* source =
  10127. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_CurrentTimescale*>(
  10128. &from);
  10129. if (source == NULL) {
  10130. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10131. } else {
  10132. MergeFrom(*source);
  10133. }
  10134. }
  10135. void CCSUsrMsg_CurrentTimescale::MergeFrom(const CCSUsrMsg_CurrentTimescale& from) {
  10136. GOOGLE_CHECK_NE(&from, this);
  10137. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10138. if (from.has_cur_timescale()) {
  10139. set_cur_timescale(from.cur_timescale());
  10140. }
  10141. }
  10142. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10143. }
  10144. void CCSUsrMsg_CurrentTimescale::CopyFrom(const ::google::protobuf::Message& from) {
  10145. if (&from == this) return;
  10146. Clear();
  10147. MergeFrom(from);
  10148. }
  10149. void CCSUsrMsg_CurrentTimescale::CopyFrom(const CCSUsrMsg_CurrentTimescale& from) {
  10150. if (&from == this) return;
  10151. Clear();
  10152. MergeFrom(from);
  10153. }
  10154. bool CCSUsrMsg_CurrentTimescale::IsInitialized() const {
  10155. return true;
  10156. }
  10157. void CCSUsrMsg_CurrentTimescale::Swap(CCSUsrMsg_CurrentTimescale* other) {
  10158. if (other != this) {
  10159. std::swap(cur_timescale_, other->cur_timescale_);
  10160. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10161. _unknown_fields_.Swap(&other->_unknown_fields_);
  10162. std::swap(_cached_size_, other->_cached_size_);
  10163. }
  10164. }
  10165. ::google::protobuf::Metadata CCSUsrMsg_CurrentTimescale::GetMetadata() const {
  10166. protobuf_AssignDescriptorsOnce();
  10167. ::google::protobuf::Metadata metadata;
  10168. metadata.descriptor = CCSUsrMsg_CurrentTimescale_descriptor_;
  10169. metadata.reflection = CCSUsrMsg_CurrentTimescale_reflection_;
  10170. return metadata;
  10171. }
  10172. // ===================================================================
  10173. #ifndef _MSC_VER
  10174. const int CCSUsrMsg_AchievementEvent::kAchievementFieldNumber;
  10175. const int CCSUsrMsg_AchievementEvent::kCountFieldNumber;
  10176. const int CCSUsrMsg_AchievementEvent::kUserIdFieldNumber;
  10177. #endif // !_MSC_VER
  10178. CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent()
  10179. : ::google::protobuf::Message() {
  10180. SharedCtor();
  10181. }
  10182. void CCSUsrMsg_AchievementEvent::InitAsDefaultInstance() {
  10183. }
  10184. CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent(const CCSUsrMsg_AchievementEvent& from)
  10185. : ::google::protobuf::Message() {
  10186. SharedCtor();
  10187. MergeFrom(from);
  10188. }
  10189. void CCSUsrMsg_AchievementEvent::SharedCtor() {
  10190. _cached_size_ = 0;
  10191. achievement_ = 0;
  10192. count_ = 0;
  10193. user_id_ = 0;
  10194. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10195. }
  10196. CCSUsrMsg_AchievementEvent::~CCSUsrMsg_AchievementEvent() {
  10197. SharedDtor();
  10198. }
  10199. void CCSUsrMsg_AchievementEvent::SharedDtor() {
  10200. if (this != default_instance_) {
  10201. }
  10202. }
  10203. void CCSUsrMsg_AchievementEvent::SetCachedSize(int size) const {
  10204. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10205. _cached_size_ = size;
  10206. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10207. }
  10208. const ::google::protobuf::Descriptor* CCSUsrMsg_AchievementEvent::descriptor() {
  10209. protobuf_AssignDescriptorsOnce();
  10210. return CCSUsrMsg_AchievementEvent_descriptor_;
  10211. }
  10212. const CCSUsrMsg_AchievementEvent& CCSUsrMsg_AchievementEvent::default_instance() {
  10213. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  10214. return *default_instance_;
  10215. }
  10216. CCSUsrMsg_AchievementEvent* CCSUsrMsg_AchievementEvent::default_instance_ = NULL;
  10217. CCSUsrMsg_AchievementEvent* CCSUsrMsg_AchievementEvent::New() const {
  10218. return new CCSUsrMsg_AchievementEvent;
  10219. }
  10220. void CCSUsrMsg_AchievementEvent::Clear() {
  10221. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10222. achievement_ = 0;
  10223. count_ = 0;
  10224. user_id_ = 0;
  10225. }
  10226. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10227. mutable_unknown_fields()->Clear();
  10228. }
  10229. bool CCSUsrMsg_AchievementEvent::MergePartialFromCodedStream(
  10230. ::google::protobuf::io::CodedInputStream* input) {
  10231. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10232. ::google::protobuf::uint32 tag;
  10233. while ((tag = input->ReadTag()) != 0) {
  10234. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10235. // optional int32 achievement = 1;
  10236. case 1: {
  10237. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10238. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10239. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10240. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10241. input, &achievement_)));
  10242. set_has_achievement();
  10243. } else {
  10244. goto handle_uninterpreted;
  10245. }
  10246. if (input->ExpectTag(16)) goto parse_count;
  10247. break;
  10248. }
  10249. // optional int32 count = 2;
  10250. case 2: {
  10251. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10252. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10253. parse_count:
  10254. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10255. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10256. input, &count_)));
  10257. set_has_count();
  10258. } else {
  10259. goto handle_uninterpreted;
  10260. }
  10261. if (input->ExpectTag(24)) goto parse_user_id;
  10262. break;
  10263. }
  10264. // optional int32 user_id = 3;
  10265. case 3: {
  10266. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10267. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10268. parse_user_id:
  10269. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10270. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10271. input, &user_id_)));
  10272. set_has_user_id();
  10273. } else {
  10274. goto handle_uninterpreted;
  10275. }
  10276. if (input->ExpectAtEnd()) return true;
  10277. break;
  10278. }
  10279. default: {
  10280. handle_uninterpreted:
  10281. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10282. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10283. return true;
  10284. }
  10285. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10286. input, tag, mutable_unknown_fields()));
  10287. break;
  10288. }
  10289. }
  10290. }
  10291. return true;
  10292. #undef DO_
  10293. }
  10294. void CCSUsrMsg_AchievementEvent::SerializeWithCachedSizes(
  10295. ::google::protobuf::io::CodedOutputStream* output) const {
  10296. // optional int32 achievement = 1;
  10297. if (has_achievement()) {
  10298. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->achievement(), output);
  10299. }
  10300. // optional int32 count = 2;
  10301. if (has_count()) {
  10302. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  10303. }
  10304. // optional int32 user_id = 3;
  10305. if (has_user_id()) {
  10306. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->user_id(), output);
  10307. }
  10308. if (!unknown_fields().empty()) {
  10309. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10310. unknown_fields(), output);
  10311. }
  10312. }
  10313. ::google::protobuf::uint8* CCSUsrMsg_AchievementEvent::SerializeWithCachedSizesToArray(
  10314. ::google::protobuf::uint8* target) const {
  10315. // optional int32 achievement = 1;
  10316. if (has_achievement()) {
  10317. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->achievement(), target);
  10318. }
  10319. // optional int32 count = 2;
  10320. if (has_count()) {
  10321. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  10322. }
  10323. // optional int32 user_id = 3;
  10324. if (has_user_id()) {
  10325. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->user_id(), target);
  10326. }
  10327. if (!unknown_fields().empty()) {
  10328. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10329. unknown_fields(), target);
  10330. }
  10331. return target;
  10332. }
  10333. int CCSUsrMsg_AchievementEvent::ByteSize() const {
  10334. int total_size = 0;
  10335. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10336. // optional int32 achievement = 1;
  10337. if (has_achievement()) {
  10338. total_size += 1 +
  10339. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10340. this->achievement());
  10341. }
  10342. // optional int32 count = 2;
  10343. if (has_count()) {
  10344. total_size += 1 +
  10345. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10346. this->count());
  10347. }
  10348. // optional int32 user_id = 3;
  10349. if (has_user_id()) {
  10350. total_size += 1 +
  10351. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10352. this->user_id());
  10353. }
  10354. }
  10355. if (!unknown_fields().empty()) {
  10356. total_size +=
  10357. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10358. unknown_fields());
  10359. }
  10360. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10361. _cached_size_ = total_size;
  10362. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10363. return total_size;
  10364. }
  10365. void CCSUsrMsg_AchievementEvent::MergeFrom(const ::google::protobuf::Message& from) {
  10366. GOOGLE_CHECK_NE(&from, this);
  10367. const CCSUsrMsg_AchievementEvent* source =
  10368. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_AchievementEvent*>(
  10369. &from);
  10370. if (source == NULL) {
  10371. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10372. } else {
  10373. MergeFrom(*source);
  10374. }
  10375. }
  10376. void CCSUsrMsg_AchievementEvent::MergeFrom(const CCSUsrMsg_AchievementEvent& from) {
  10377. GOOGLE_CHECK_NE(&from, this);
  10378. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10379. if (from.has_achievement()) {
  10380. set_achievement(from.achievement());
  10381. }
  10382. if (from.has_count()) {
  10383. set_count(from.count());
  10384. }
  10385. if (from.has_user_id()) {
  10386. set_user_id(from.user_id());
  10387. }
  10388. }
  10389. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10390. }
  10391. void CCSUsrMsg_AchievementEvent::CopyFrom(const ::google::protobuf::Message& from) {
  10392. if (&from == this) return;
  10393. Clear();
  10394. MergeFrom(from);
  10395. }
  10396. void CCSUsrMsg_AchievementEvent::CopyFrom(const CCSUsrMsg_AchievementEvent& from) {
  10397. if (&from == this) return;
  10398. Clear();
  10399. MergeFrom(from);
  10400. }
  10401. bool CCSUsrMsg_AchievementEvent::IsInitialized() const {
  10402. return true;
  10403. }
  10404. void CCSUsrMsg_AchievementEvent::Swap(CCSUsrMsg_AchievementEvent* other) {
  10405. if (other != this) {
  10406. std::swap(achievement_, other->achievement_);
  10407. std::swap(count_, other->count_);
  10408. std::swap(user_id_, other->user_id_);
  10409. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10410. _unknown_fields_.Swap(&other->_unknown_fields_);
  10411. std::swap(_cached_size_, other->_cached_size_);
  10412. }
  10413. }
  10414. ::google::protobuf::Metadata CCSUsrMsg_AchievementEvent::GetMetadata() const {
  10415. protobuf_AssignDescriptorsOnce();
  10416. ::google::protobuf::Metadata metadata;
  10417. metadata.descriptor = CCSUsrMsg_AchievementEvent_descriptor_;
  10418. metadata.reflection = CCSUsrMsg_AchievementEvent_reflection_;
  10419. return metadata;
  10420. }
  10421. // ===================================================================
  10422. #ifndef _MSC_VER
  10423. const int CCSUsrMsg_MatchEndConditions::kFraglimitFieldNumber;
  10424. const int CCSUsrMsg_MatchEndConditions::kMpMaxroundsFieldNumber;
  10425. const int CCSUsrMsg_MatchEndConditions::kMpWinlimitFieldNumber;
  10426. const int CCSUsrMsg_MatchEndConditions::kMpTimelimitFieldNumber;
  10427. #endif // !_MSC_VER
  10428. CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions()
  10429. : ::google::protobuf::Message() {
  10430. SharedCtor();
  10431. }
  10432. void CCSUsrMsg_MatchEndConditions::InitAsDefaultInstance() {
  10433. }
  10434. CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions(const CCSUsrMsg_MatchEndConditions& from)
  10435. : ::google::protobuf::Message() {
  10436. SharedCtor();
  10437. MergeFrom(from);
  10438. }
  10439. void CCSUsrMsg_MatchEndConditions::SharedCtor() {
  10440. _cached_size_ = 0;
  10441. fraglimit_ = 0;
  10442. mp_maxrounds_ = 0;
  10443. mp_winlimit_ = 0;
  10444. mp_timelimit_ = 0;
  10445. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10446. }
  10447. CCSUsrMsg_MatchEndConditions::~CCSUsrMsg_MatchEndConditions() {
  10448. SharedDtor();
  10449. }
  10450. void CCSUsrMsg_MatchEndConditions::SharedDtor() {
  10451. if (this != default_instance_) {
  10452. }
  10453. }
  10454. void CCSUsrMsg_MatchEndConditions::SetCachedSize(int size) const {
  10455. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10456. _cached_size_ = size;
  10457. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10458. }
  10459. const ::google::protobuf::Descriptor* CCSUsrMsg_MatchEndConditions::descriptor() {
  10460. protobuf_AssignDescriptorsOnce();
  10461. return CCSUsrMsg_MatchEndConditions_descriptor_;
  10462. }
  10463. const CCSUsrMsg_MatchEndConditions& CCSUsrMsg_MatchEndConditions::default_instance() {
  10464. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  10465. return *default_instance_;
  10466. }
  10467. CCSUsrMsg_MatchEndConditions* CCSUsrMsg_MatchEndConditions::default_instance_ = NULL;
  10468. CCSUsrMsg_MatchEndConditions* CCSUsrMsg_MatchEndConditions::New() const {
  10469. return new CCSUsrMsg_MatchEndConditions;
  10470. }
  10471. void CCSUsrMsg_MatchEndConditions::Clear() {
  10472. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10473. fraglimit_ = 0;
  10474. mp_maxrounds_ = 0;
  10475. mp_winlimit_ = 0;
  10476. mp_timelimit_ = 0;
  10477. }
  10478. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10479. mutable_unknown_fields()->Clear();
  10480. }
  10481. bool CCSUsrMsg_MatchEndConditions::MergePartialFromCodedStream(
  10482. ::google::protobuf::io::CodedInputStream* input) {
  10483. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10484. ::google::protobuf::uint32 tag;
  10485. while ((tag = input->ReadTag()) != 0) {
  10486. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10487. // optional int32 fraglimit = 1;
  10488. case 1: {
  10489. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10490. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10491. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10492. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10493. input, &fraglimit_)));
  10494. set_has_fraglimit();
  10495. } else {
  10496. goto handle_uninterpreted;
  10497. }
  10498. if (input->ExpectTag(16)) goto parse_mp_maxrounds;
  10499. break;
  10500. }
  10501. // optional int32 mp_maxrounds = 2;
  10502. case 2: {
  10503. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10504. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10505. parse_mp_maxrounds:
  10506. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10507. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10508. input, &mp_maxrounds_)));
  10509. set_has_mp_maxrounds();
  10510. } else {
  10511. goto handle_uninterpreted;
  10512. }
  10513. if (input->ExpectTag(24)) goto parse_mp_winlimit;
  10514. break;
  10515. }
  10516. // optional int32 mp_winlimit = 3;
  10517. case 3: {
  10518. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10519. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10520. parse_mp_winlimit:
  10521. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10522. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10523. input, &mp_winlimit_)));
  10524. set_has_mp_winlimit();
  10525. } else {
  10526. goto handle_uninterpreted;
  10527. }
  10528. if (input->ExpectTag(32)) goto parse_mp_timelimit;
  10529. break;
  10530. }
  10531. // optional int32 mp_timelimit = 4;
  10532. case 4: {
  10533. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10534. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10535. parse_mp_timelimit:
  10536. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10537. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10538. input, &mp_timelimit_)));
  10539. set_has_mp_timelimit();
  10540. } else {
  10541. goto handle_uninterpreted;
  10542. }
  10543. if (input->ExpectAtEnd()) return true;
  10544. break;
  10545. }
  10546. default: {
  10547. handle_uninterpreted:
  10548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10550. return true;
  10551. }
  10552. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10553. input, tag, mutable_unknown_fields()));
  10554. break;
  10555. }
  10556. }
  10557. }
  10558. return true;
  10559. #undef DO_
  10560. }
  10561. void CCSUsrMsg_MatchEndConditions::SerializeWithCachedSizes(
  10562. ::google::protobuf::io::CodedOutputStream* output) const {
  10563. // optional int32 fraglimit = 1;
  10564. if (has_fraglimit()) {
  10565. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->fraglimit(), output);
  10566. }
  10567. // optional int32 mp_maxrounds = 2;
  10568. if (has_mp_maxrounds()) {
  10569. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->mp_maxrounds(), output);
  10570. }
  10571. // optional int32 mp_winlimit = 3;
  10572. if (has_mp_winlimit()) {
  10573. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mp_winlimit(), output);
  10574. }
  10575. // optional int32 mp_timelimit = 4;
  10576. if (has_mp_timelimit()) {
  10577. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->mp_timelimit(), output);
  10578. }
  10579. if (!unknown_fields().empty()) {
  10580. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10581. unknown_fields(), output);
  10582. }
  10583. }
  10584. ::google::protobuf::uint8* CCSUsrMsg_MatchEndConditions::SerializeWithCachedSizesToArray(
  10585. ::google::protobuf::uint8* target) const {
  10586. // optional int32 fraglimit = 1;
  10587. if (has_fraglimit()) {
  10588. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->fraglimit(), target);
  10589. }
  10590. // optional int32 mp_maxrounds = 2;
  10591. if (has_mp_maxrounds()) {
  10592. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->mp_maxrounds(), target);
  10593. }
  10594. // optional int32 mp_winlimit = 3;
  10595. if (has_mp_winlimit()) {
  10596. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mp_winlimit(), target);
  10597. }
  10598. // optional int32 mp_timelimit = 4;
  10599. if (has_mp_timelimit()) {
  10600. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->mp_timelimit(), target);
  10601. }
  10602. if (!unknown_fields().empty()) {
  10603. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10604. unknown_fields(), target);
  10605. }
  10606. return target;
  10607. }
  10608. int CCSUsrMsg_MatchEndConditions::ByteSize() const {
  10609. int total_size = 0;
  10610. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10611. // optional int32 fraglimit = 1;
  10612. if (has_fraglimit()) {
  10613. total_size += 1 +
  10614. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10615. this->fraglimit());
  10616. }
  10617. // optional int32 mp_maxrounds = 2;
  10618. if (has_mp_maxrounds()) {
  10619. total_size += 1 +
  10620. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10621. this->mp_maxrounds());
  10622. }
  10623. // optional int32 mp_winlimit = 3;
  10624. if (has_mp_winlimit()) {
  10625. total_size += 1 +
  10626. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10627. this->mp_winlimit());
  10628. }
  10629. // optional int32 mp_timelimit = 4;
  10630. if (has_mp_timelimit()) {
  10631. total_size += 1 +
  10632. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10633. this->mp_timelimit());
  10634. }
  10635. }
  10636. if (!unknown_fields().empty()) {
  10637. total_size +=
  10638. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10639. unknown_fields());
  10640. }
  10641. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10642. _cached_size_ = total_size;
  10643. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10644. return total_size;
  10645. }
  10646. void CCSUsrMsg_MatchEndConditions::MergeFrom(const ::google::protobuf::Message& from) {
  10647. GOOGLE_CHECK_NE(&from, this);
  10648. const CCSUsrMsg_MatchEndConditions* source =
  10649. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_MatchEndConditions*>(
  10650. &from);
  10651. if (source == NULL) {
  10652. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10653. } else {
  10654. MergeFrom(*source);
  10655. }
  10656. }
  10657. void CCSUsrMsg_MatchEndConditions::MergeFrom(const CCSUsrMsg_MatchEndConditions& from) {
  10658. GOOGLE_CHECK_NE(&from, this);
  10659. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10660. if (from.has_fraglimit()) {
  10661. set_fraglimit(from.fraglimit());
  10662. }
  10663. if (from.has_mp_maxrounds()) {
  10664. set_mp_maxrounds(from.mp_maxrounds());
  10665. }
  10666. if (from.has_mp_winlimit()) {
  10667. set_mp_winlimit(from.mp_winlimit());
  10668. }
  10669. if (from.has_mp_timelimit()) {
  10670. set_mp_timelimit(from.mp_timelimit());
  10671. }
  10672. }
  10673. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10674. }
  10675. void CCSUsrMsg_MatchEndConditions::CopyFrom(const ::google::protobuf::Message& from) {
  10676. if (&from == this) return;
  10677. Clear();
  10678. MergeFrom(from);
  10679. }
  10680. void CCSUsrMsg_MatchEndConditions::CopyFrom(const CCSUsrMsg_MatchEndConditions& from) {
  10681. if (&from == this) return;
  10682. Clear();
  10683. MergeFrom(from);
  10684. }
  10685. bool CCSUsrMsg_MatchEndConditions::IsInitialized() const {
  10686. return true;
  10687. }
  10688. void CCSUsrMsg_MatchEndConditions::Swap(CCSUsrMsg_MatchEndConditions* other) {
  10689. if (other != this) {
  10690. std::swap(fraglimit_, other->fraglimit_);
  10691. std::swap(mp_maxrounds_, other->mp_maxrounds_);
  10692. std::swap(mp_winlimit_, other->mp_winlimit_);
  10693. std::swap(mp_timelimit_, other->mp_timelimit_);
  10694. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10695. _unknown_fields_.Swap(&other->_unknown_fields_);
  10696. std::swap(_cached_size_, other->_cached_size_);
  10697. }
  10698. }
  10699. ::google::protobuf::Metadata CCSUsrMsg_MatchEndConditions::GetMetadata() const {
  10700. protobuf_AssignDescriptorsOnce();
  10701. ::google::protobuf::Metadata metadata;
  10702. metadata.descriptor = CCSUsrMsg_MatchEndConditions_descriptor_;
  10703. metadata.reflection = CCSUsrMsg_MatchEndConditions_reflection_;
  10704. return metadata;
  10705. }
  10706. // ===================================================================
  10707. #ifndef _MSC_VER
  10708. const int CCSUsrMsg_PlayerStatsUpdate_Stat::kIdxFieldNumber;
  10709. const int CCSUsrMsg_PlayerStatsUpdate_Stat::kDeltaFieldNumber;
  10710. #endif // !_MSC_VER
  10711. CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat()
  10712. : ::google::protobuf::Message() {
  10713. SharedCtor();
  10714. }
  10715. void CCSUsrMsg_PlayerStatsUpdate_Stat::InitAsDefaultInstance() {
  10716. }
  10717. CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat(const CCSUsrMsg_PlayerStatsUpdate_Stat& from)
  10718. : ::google::protobuf::Message() {
  10719. SharedCtor();
  10720. MergeFrom(from);
  10721. }
  10722. void CCSUsrMsg_PlayerStatsUpdate_Stat::SharedCtor() {
  10723. _cached_size_ = 0;
  10724. idx_ = 0;
  10725. delta_ = 0;
  10726. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10727. }
  10728. CCSUsrMsg_PlayerStatsUpdate_Stat::~CCSUsrMsg_PlayerStatsUpdate_Stat() {
  10729. SharedDtor();
  10730. }
  10731. void CCSUsrMsg_PlayerStatsUpdate_Stat::SharedDtor() {
  10732. if (this != default_instance_) {
  10733. }
  10734. }
  10735. void CCSUsrMsg_PlayerStatsUpdate_Stat::SetCachedSize(int size) const {
  10736. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10737. _cached_size_ = size;
  10738. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10739. }
  10740. const ::google::protobuf::Descriptor* CCSUsrMsg_PlayerStatsUpdate_Stat::descriptor() {
  10741. protobuf_AssignDescriptorsOnce();
  10742. return CCSUsrMsg_PlayerStatsUpdate_Stat_descriptor_;
  10743. }
  10744. const CCSUsrMsg_PlayerStatsUpdate_Stat& CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance() {
  10745. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  10746. return *default_instance_;
  10747. }
  10748. CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate_Stat::default_instance_ = NULL;
  10749. CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate_Stat::New() const {
  10750. return new CCSUsrMsg_PlayerStatsUpdate_Stat;
  10751. }
  10752. void CCSUsrMsg_PlayerStatsUpdate_Stat::Clear() {
  10753. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10754. idx_ = 0;
  10755. delta_ = 0;
  10756. }
  10757. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10758. mutable_unknown_fields()->Clear();
  10759. }
  10760. bool CCSUsrMsg_PlayerStatsUpdate_Stat::MergePartialFromCodedStream(
  10761. ::google::protobuf::io::CodedInputStream* input) {
  10762. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10763. ::google::protobuf::uint32 tag;
  10764. while ((tag = input->ReadTag()) != 0) {
  10765. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10766. // optional int32 idx = 1;
  10767. case 1: {
  10768. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10769. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10770. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10771. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10772. input, &idx_)));
  10773. set_has_idx();
  10774. } else {
  10775. goto handle_uninterpreted;
  10776. }
  10777. if (input->ExpectTag(16)) goto parse_delta;
  10778. break;
  10779. }
  10780. // optional int32 delta = 2;
  10781. case 2: {
  10782. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10783. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10784. parse_delta:
  10785. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10786. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10787. input, &delta_)));
  10788. set_has_delta();
  10789. } else {
  10790. goto handle_uninterpreted;
  10791. }
  10792. if (input->ExpectAtEnd()) return true;
  10793. break;
  10794. }
  10795. default: {
  10796. handle_uninterpreted:
  10797. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10798. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10799. return true;
  10800. }
  10801. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10802. input, tag, mutable_unknown_fields()));
  10803. break;
  10804. }
  10805. }
  10806. }
  10807. return true;
  10808. #undef DO_
  10809. }
  10810. void CCSUsrMsg_PlayerStatsUpdate_Stat::SerializeWithCachedSizes(
  10811. ::google::protobuf::io::CodedOutputStream* output) const {
  10812. // optional int32 idx = 1;
  10813. if (has_idx()) {
  10814. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->idx(), output);
  10815. }
  10816. // optional int32 delta = 2;
  10817. if (has_delta()) {
  10818. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->delta(), output);
  10819. }
  10820. if (!unknown_fields().empty()) {
  10821. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10822. unknown_fields(), output);
  10823. }
  10824. }
  10825. ::google::protobuf::uint8* CCSUsrMsg_PlayerStatsUpdate_Stat::SerializeWithCachedSizesToArray(
  10826. ::google::protobuf::uint8* target) const {
  10827. // optional int32 idx = 1;
  10828. if (has_idx()) {
  10829. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->idx(), target);
  10830. }
  10831. // optional int32 delta = 2;
  10832. if (has_delta()) {
  10833. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->delta(), target);
  10834. }
  10835. if (!unknown_fields().empty()) {
  10836. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10837. unknown_fields(), target);
  10838. }
  10839. return target;
  10840. }
  10841. int CCSUsrMsg_PlayerStatsUpdate_Stat::ByteSize() const {
  10842. int total_size = 0;
  10843. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10844. // optional int32 idx = 1;
  10845. if (has_idx()) {
  10846. total_size += 1 +
  10847. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10848. this->idx());
  10849. }
  10850. // optional int32 delta = 2;
  10851. if (has_delta()) {
  10852. total_size += 1 +
  10853. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10854. this->delta());
  10855. }
  10856. }
  10857. if (!unknown_fields().empty()) {
  10858. total_size +=
  10859. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10860. unknown_fields());
  10861. }
  10862. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10863. _cached_size_ = total_size;
  10864. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10865. return total_size;
  10866. }
  10867. void CCSUsrMsg_PlayerStatsUpdate_Stat::MergeFrom(const ::google::protobuf::Message& from) {
  10868. GOOGLE_CHECK_NE(&from, this);
  10869. const CCSUsrMsg_PlayerStatsUpdate_Stat* source =
  10870. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_PlayerStatsUpdate_Stat*>(
  10871. &from);
  10872. if (source == NULL) {
  10873. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10874. } else {
  10875. MergeFrom(*source);
  10876. }
  10877. }
  10878. void CCSUsrMsg_PlayerStatsUpdate_Stat::MergeFrom(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) {
  10879. GOOGLE_CHECK_NE(&from, this);
  10880. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10881. if (from.has_idx()) {
  10882. set_idx(from.idx());
  10883. }
  10884. if (from.has_delta()) {
  10885. set_delta(from.delta());
  10886. }
  10887. }
  10888. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10889. }
  10890. void CCSUsrMsg_PlayerStatsUpdate_Stat::CopyFrom(const ::google::protobuf::Message& from) {
  10891. if (&from == this) return;
  10892. Clear();
  10893. MergeFrom(from);
  10894. }
  10895. void CCSUsrMsg_PlayerStatsUpdate_Stat::CopyFrom(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) {
  10896. if (&from == this) return;
  10897. Clear();
  10898. MergeFrom(from);
  10899. }
  10900. bool CCSUsrMsg_PlayerStatsUpdate_Stat::IsInitialized() const {
  10901. return true;
  10902. }
  10903. void CCSUsrMsg_PlayerStatsUpdate_Stat::Swap(CCSUsrMsg_PlayerStatsUpdate_Stat* other) {
  10904. if (other != this) {
  10905. std::swap(idx_, other->idx_);
  10906. std::swap(delta_, other->delta_);
  10907. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10908. _unknown_fields_.Swap(&other->_unknown_fields_);
  10909. std::swap(_cached_size_, other->_cached_size_);
  10910. }
  10911. }
  10912. ::google::protobuf::Metadata CCSUsrMsg_PlayerStatsUpdate_Stat::GetMetadata() const {
  10913. protobuf_AssignDescriptorsOnce();
  10914. ::google::protobuf::Metadata metadata;
  10915. metadata.descriptor = CCSUsrMsg_PlayerStatsUpdate_Stat_descriptor_;
  10916. metadata.reflection = CCSUsrMsg_PlayerStatsUpdate_Stat_reflection_;
  10917. return metadata;
  10918. }
  10919. // -------------------------------------------------------------------
  10920. #ifndef _MSC_VER
  10921. const int CCSUsrMsg_PlayerStatsUpdate::kVersionFieldNumber;
  10922. const int CCSUsrMsg_PlayerStatsUpdate::kStatsFieldNumber;
  10923. const int CCSUsrMsg_PlayerStatsUpdate::kUserIdFieldNumber;
  10924. const int CCSUsrMsg_PlayerStatsUpdate::kCrcFieldNumber;
  10925. #endif // !_MSC_VER
  10926. CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate()
  10927. : ::google::protobuf::Message() {
  10928. SharedCtor();
  10929. }
  10930. void CCSUsrMsg_PlayerStatsUpdate::InitAsDefaultInstance() {
  10931. }
  10932. CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate(const CCSUsrMsg_PlayerStatsUpdate& from)
  10933. : ::google::protobuf::Message() {
  10934. SharedCtor();
  10935. MergeFrom(from);
  10936. }
  10937. void CCSUsrMsg_PlayerStatsUpdate::SharedCtor() {
  10938. _cached_size_ = 0;
  10939. version_ = 0;
  10940. user_id_ = 0;
  10941. crc_ = 0;
  10942. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10943. }
  10944. CCSUsrMsg_PlayerStatsUpdate::~CCSUsrMsg_PlayerStatsUpdate() {
  10945. SharedDtor();
  10946. }
  10947. void CCSUsrMsg_PlayerStatsUpdate::SharedDtor() {
  10948. if (this != default_instance_) {
  10949. }
  10950. }
  10951. void CCSUsrMsg_PlayerStatsUpdate::SetCachedSize(int size) const {
  10952. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10953. _cached_size_ = size;
  10954. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10955. }
  10956. const ::google::protobuf::Descriptor* CCSUsrMsg_PlayerStatsUpdate::descriptor() {
  10957. protobuf_AssignDescriptorsOnce();
  10958. return CCSUsrMsg_PlayerStatsUpdate_descriptor_;
  10959. }
  10960. const CCSUsrMsg_PlayerStatsUpdate& CCSUsrMsg_PlayerStatsUpdate::default_instance() {
  10961. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  10962. return *default_instance_;
  10963. }
  10964. CCSUsrMsg_PlayerStatsUpdate* CCSUsrMsg_PlayerStatsUpdate::default_instance_ = NULL;
  10965. CCSUsrMsg_PlayerStatsUpdate* CCSUsrMsg_PlayerStatsUpdate::New() const {
  10966. return new CCSUsrMsg_PlayerStatsUpdate;
  10967. }
  10968. void CCSUsrMsg_PlayerStatsUpdate::Clear() {
  10969. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10970. version_ = 0;
  10971. user_id_ = 0;
  10972. crc_ = 0;
  10973. }
  10974. stats_.Clear();
  10975. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10976. mutable_unknown_fields()->Clear();
  10977. }
  10978. bool CCSUsrMsg_PlayerStatsUpdate::MergePartialFromCodedStream(
  10979. ::google::protobuf::io::CodedInputStream* input) {
  10980. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10981. ::google::protobuf::uint32 tag;
  10982. while ((tag = input->ReadTag()) != 0) {
  10983. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10984. // optional int32 version = 1;
  10985. case 1: {
  10986. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10987. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10988. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10989. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10990. input, &version_)));
  10991. set_has_version();
  10992. } else {
  10993. goto handle_uninterpreted;
  10994. }
  10995. if (input->ExpectTag(34)) goto parse_stats;
  10996. break;
  10997. }
  10998. // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4;
  10999. case 4: {
  11000. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11001. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11002. parse_stats:
  11003. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11004. input, add_stats()));
  11005. } else {
  11006. goto handle_uninterpreted;
  11007. }
  11008. if (input->ExpectTag(34)) goto parse_stats;
  11009. if (input->ExpectTag(40)) goto parse_user_id;
  11010. break;
  11011. }
  11012. // optional int32 user_id = 5;
  11013. case 5: {
  11014. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11015. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11016. parse_user_id:
  11017. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11018. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11019. input, &user_id_)));
  11020. set_has_user_id();
  11021. } else {
  11022. goto handle_uninterpreted;
  11023. }
  11024. if (input->ExpectTag(48)) goto parse_crc;
  11025. break;
  11026. }
  11027. // optional int32 crc = 6;
  11028. case 6: {
  11029. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11030. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11031. parse_crc:
  11032. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11033. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11034. input, &crc_)));
  11035. set_has_crc();
  11036. } else {
  11037. goto handle_uninterpreted;
  11038. }
  11039. if (input->ExpectAtEnd()) return true;
  11040. break;
  11041. }
  11042. default: {
  11043. handle_uninterpreted:
  11044. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11045. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11046. return true;
  11047. }
  11048. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11049. input, tag, mutable_unknown_fields()));
  11050. break;
  11051. }
  11052. }
  11053. }
  11054. return true;
  11055. #undef DO_
  11056. }
  11057. void CCSUsrMsg_PlayerStatsUpdate::SerializeWithCachedSizes(
  11058. ::google::protobuf::io::CodedOutputStream* output) const {
  11059. // optional int32 version = 1;
  11060. if (has_version()) {
  11061. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->version(), output);
  11062. }
  11063. // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4;
  11064. for (int i = 0; i < this->stats_size(); i++) {
  11065. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11066. 4, this->stats(i), output);
  11067. }
  11068. // optional int32 user_id = 5;
  11069. if (has_user_id()) {
  11070. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->user_id(), output);
  11071. }
  11072. // optional int32 crc = 6;
  11073. if (has_crc()) {
  11074. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->crc(), output);
  11075. }
  11076. if (!unknown_fields().empty()) {
  11077. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11078. unknown_fields(), output);
  11079. }
  11080. }
  11081. ::google::protobuf::uint8* CCSUsrMsg_PlayerStatsUpdate::SerializeWithCachedSizesToArray(
  11082. ::google::protobuf::uint8* target) const {
  11083. // optional int32 version = 1;
  11084. if (has_version()) {
  11085. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->version(), target);
  11086. }
  11087. // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4;
  11088. for (int i = 0; i < this->stats_size(); i++) {
  11089. target = ::google::protobuf::internal::WireFormatLite::
  11090. WriteMessageNoVirtualToArray(
  11091. 4, this->stats(i), target);
  11092. }
  11093. // optional int32 user_id = 5;
  11094. if (has_user_id()) {
  11095. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->user_id(), target);
  11096. }
  11097. // optional int32 crc = 6;
  11098. if (has_crc()) {
  11099. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->crc(), target);
  11100. }
  11101. if (!unknown_fields().empty()) {
  11102. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11103. unknown_fields(), target);
  11104. }
  11105. return target;
  11106. }
  11107. int CCSUsrMsg_PlayerStatsUpdate::ByteSize() const {
  11108. int total_size = 0;
  11109. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11110. // optional int32 version = 1;
  11111. if (has_version()) {
  11112. total_size += 1 +
  11113. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11114. this->version());
  11115. }
  11116. // optional int32 user_id = 5;
  11117. if (has_user_id()) {
  11118. total_size += 1 +
  11119. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11120. this->user_id());
  11121. }
  11122. // optional int32 crc = 6;
  11123. if (has_crc()) {
  11124. total_size += 1 +
  11125. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11126. this->crc());
  11127. }
  11128. }
  11129. // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4;
  11130. total_size += 1 * this->stats_size();
  11131. for (int i = 0; i < this->stats_size(); i++) {
  11132. total_size +=
  11133. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11134. this->stats(i));
  11135. }
  11136. if (!unknown_fields().empty()) {
  11137. total_size +=
  11138. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11139. unknown_fields());
  11140. }
  11141. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11142. _cached_size_ = total_size;
  11143. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11144. return total_size;
  11145. }
  11146. void CCSUsrMsg_PlayerStatsUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  11147. GOOGLE_CHECK_NE(&from, this);
  11148. const CCSUsrMsg_PlayerStatsUpdate* source =
  11149. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_PlayerStatsUpdate*>(
  11150. &from);
  11151. if (source == NULL) {
  11152. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11153. } else {
  11154. MergeFrom(*source);
  11155. }
  11156. }
  11157. void CCSUsrMsg_PlayerStatsUpdate::MergeFrom(const CCSUsrMsg_PlayerStatsUpdate& from) {
  11158. GOOGLE_CHECK_NE(&from, this);
  11159. stats_.MergeFrom(from.stats_);
  11160. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11161. if (from.has_version()) {
  11162. set_version(from.version());
  11163. }
  11164. if (from.has_user_id()) {
  11165. set_user_id(from.user_id());
  11166. }
  11167. if (from.has_crc()) {
  11168. set_crc(from.crc());
  11169. }
  11170. }
  11171. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11172. }
  11173. void CCSUsrMsg_PlayerStatsUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  11174. if (&from == this) return;
  11175. Clear();
  11176. MergeFrom(from);
  11177. }
  11178. void CCSUsrMsg_PlayerStatsUpdate::CopyFrom(const CCSUsrMsg_PlayerStatsUpdate& from) {
  11179. if (&from == this) return;
  11180. Clear();
  11181. MergeFrom(from);
  11182. }
  11183. bool CCSUsrMsg_PlayerStatsUpdate::IsInitialized() const {
  11184. return true;
  11185. }
  11186. void CCSUsrMsg_PlayerStatsUpdate::Swap(CCSUsrMsg_PlayerStatsUpdate* other) {
  11187. if (other != this) {
  11188. std::swap(version_, other->version_);
  11189. stats_.Swap(&other->stats_);
  11190. std::swap(user_id_, other->user_id_);
  11191. std::swap(crc_, other->crc_);
  11192. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11193. _unknown_fields_.Swap(&other->_unknown_fields_);
  11194. std::swap(_cached_size_, other->_cached_size_);
  11195. }
  11196. }
  11197. ::google::protobuf::Metadata CCSUsrMsg_PlayerStatsUpdate::GetMetadata() const {
  11198. protobuf_AssignDescriptorsOnce();
  11199. ::google::protobuf::Metadata metadata;
  11200. metadata.descriptor = CCSUsrMsg_PlayerStatsUpdate_descriptor_;
  11201. metadata.reflection = CCSUsrMsg_PlayerStatsUpdate_reflection_;
  11202. return metadata;
  11203. }
  11204. // ===================================================================
  11205. #ifndef _MSC_VER
  11206. const int CCSUsrMsg_DisplayInventory::kDisplayFieldNumber;
  11207. const int CCSUsrMsg_DisplayInventory::kUserIdFieldNumber;
  11208. #endif // !_MSC_VER
  11209. CCSUsrMsg_DisplayInventory::CCSUsrMsg_DisplayInventory()
  11210. : ::google::protobuf::Message() {
  11211. SharedCtor();
  11212. }
  11213. void CCSUsrMsg_DisplayInventory::InitAsDefaultInstance() {
  11214. }
  11215. CCSUsrMsg_DisplayInventory::CCSUsrMsg_DisplayInventory(const CCSUsrMsg_DisplayInventory& from)
  11216. : ::google::protobuf::Message() {
  11217. SharedCtor();
  11218. MergeFrom(from);
  11219. }
  11220. void CCSUsrMsg_DisplayInventory::SharedCtor() {
  11221. _cached_size_ = 0;
  11222. display_ = false;
  11223. user_id_ = 0;
  11224. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11225. }
  11226. CCSUsrMsg_DisplayInventory::~CCSUsrMsg_DisplayInventory() {
  11227. SharedDtor();
  11228. }
  11229. void CCSUsrMsg_DisplayInventory::SharedDtor() {
  11230. if (this != default_instance_) {
  11231. }
  11232. }
  11233. void CCSUsrMsg_DisplayInventory::SetCachedSize(int size) const {
  11234. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11235. _cached_size_ = size;
  11236. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11237. }
  11238. const ::google::protobuf::Descriptor* CCSUsrMsg_DisplayInventory::descriptor() {
  11239. protobuf_AssignDescriptorsOnce();
  11240. return CCSUsrMsg_DisplayInventory_descriptor_;
  11241. }
  11242. const CCSUsrMsg_DisplayInventory& CCSUsrMsg_DisplayInventory::default_instance() {
  11243. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  11244. return *default_instance_;
  11245. }
  11246. CCSUsrMsg_DisplayInventory* CCSUsrMsg_DisplayInventory::default_instance_ = NULL;
  11247. CCSUsrMsg_DisplayInventory* CCSUsrMsg_DisplayInventory::New() const {
  11248. return new CCSUsrMsg_DisplayInventory;
  11249. }
  11250. void CCSUsrMsg_DisplayInventory::Clear() {
  11251. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11252. display_ = false;
  11253. user_id_ = 0;
  11254. }
  11255. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11256. mutable_unknown_fields()->Clear();
  11257. }
  11258. bool CCSUsrMsg_DisplayInventory::MergePartialFromCodedStream(
  11259. ::google::protobuf::io::CodedInputStream* input) {
  11260. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11261. ::google::protobuf::uint32 tag;
  11262. while ((tag = input->ReadTag()) != 0) {
  11263. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11264. // optional bool display = 1;
  11265. case 1: {
  11266. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11267. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11268. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11269. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  11270. input, &display_)));
  11271. set_has_display();
  11272. } else {
  11273. goto handle_uninterpreted;
  11274. }
  11275. if (input->ExpectTag(16)) goto parse_user_id;
  11276. break;
  11277. }
  11278. // optional int32 user_id = 2;
  11279. case 2: {
  11280. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11281. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11282. parse_user_id:
  11283. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11284. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11285. input, &user_id_)));
  11286. set_has_user_id();
  11287. } else {
  11288. goto handle_uninterpreted;
  11289. }
  11290. if (input->ExpectAtEnd()) return true;
  11291. break;
  11292. }
  11293. default: {
  11294. handle_uninterpreted:
  11295. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11296. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11297. return true;
  11298. }
  11299. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11300. input, tag, mutable_unknown_fields()));
  11301. break;
  11302. }
  11303. }
  11304. }
  11305. return true;
  11306. #undef DO_
  11307. }
  11308. void CCSUsrMsg_DisplayInventory::SerializeWithCachedSizes(
  11309. ::google::protobuf::io::CodedOutputStream* output) const {
  11310. // optional bool display = 1;
  11311. if (has_display()) {
  11312. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->display(), output);
  11313. }
  11314. // optional int32 user_id = 2;
  11315. if (has_user_id()) {
  11316. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->user_id(), output);
  11317. }
  11318. if (!unknown_fields().empty()) {
  11319. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11320. unknown_fields(), output);
  11321. }
  11322. }
  11323. ::google::protobuf::uint8* CCSUsrMsg_DisplayInventory::SerializeWithCachedSizesToArray(
  11324. ::google::protobuf::uint8* target) const {
  11325. // optional bool display = 1;
  11326. if (has_display()) {
  11327. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->display(), target);
  11328. }
  11329. // optional int32 user_id = 2;
  11330. if (has_user_id()) {
  11331. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->user_id(), target);
  11332. }
  11333. if (!unknown_fields().empty()) {
  11334. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11335. unknown_fields(), target);
  11336. }
  11337. return target;
  11338. }
  11339. int CCSUsrMsg_DisplayInventory::ByteSize() const {
  11340. int total_size = 0;
  11341. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11342. // optional bool display = 1;
  11343. if (has_display()) {
  11344. total_size += 1 + 1;
  11345. }
  11346. // optional int32 user_id = 2;
  11347. if (has_user_id()) {
  11348. total_size += 1 +
  11349. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11350. this->user_id());
  11351. }
  11352. }
  11353. if (!unknown_fields().empty()) {
  11354. total_size +=
  11355. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11356. unknown_fields());
  11357. }
  11358. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11359. _cached_size_ = total_size;
  11360. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11361. return total_size;
  11362. }
  11363. void CCSUsrMsg_DisplayInventory::MergeFrom(const ::google::protobuf::Message& from) {
  11364. GOOGLE_CHECK_NE(&from, this);
  11365. const CCSUsrMsg_DisplayInventory* source =
  11366. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_DisplayInventory*>(
  11367. &from);
  11368. if (source == NULL) {
  11369. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11370. } else {
  11371. MergeFrom(*source);
  11372. }
  11373. }
  11374. void CCSUsrMsg_DisplayInventory::MergeFrom(const CCSUsrMsg_DisplayInventory& from) {
  11375. GOOGLE_CHECK_NE(&from, this);
  11376. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11377. if (from.has_display()) {
  11378. set_display(from.display());
  11379. }
  11380. if (from.has_user_id()) {
  11381. set_user_id(from.user_id());
  11382. }
  11383. }
  11384. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11385. }
  11386. void CCSUsrMsg_DisplayInventory::CopyFrom(const ::google::protobuf::Message& from) {
  11387. if (&from == this) return;
  11388. Clear();
  11389. MergeFrom(from);
  11390. }
  11391. void CCSUsrMsg_DisplayInventory::CopyFrom(const CCSUsrMsg_DisplayInventory& from) {
  11392. if (&from == this) return;
  11393. Clear();
  11394. MergeFrom(from);
  11395. }
  11396. bool CCSUsrMsg_DisplayInventory::IsInitialized() const {
  11397. return true;
  11398. }
  11399. void CCSUsrMsg_DisplayInventory::Swap(CCSUsrMsg_DisplayInventory* other) {
  11400. if (other != this) {
  11401. std::swap(display_, other->display_);
  11402. std::swap(user_id_, other->user_id_);
  11403. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11404. _unknown_fields_.Swap(&other->_unknown_fields_);
  11405. std::swap(_cached_size_, other->_cached_size_);
  11406. }
  11407. }
  11408. ::google::protobuf::Metadata CCSUsrMsg_DisplayInventory::GetMetadata() const {
  11409. protobuf_AssignDescriptorsOnce();
  11410. ::google::protobuf::Metadata metadata;
  11411. metadata.descriptor = CCSUsrMsg_DisplayInventory_descriptor_;
  11412. metadata.reflection = CCSUsrMsg_DisplayInventory_reflection_;
  11413. return metadata;
  11414. }
  11415. // ===================================================================
  11416. #ifndef _MSC_VER
  11417. const int CCSUsrMsg_QuestProgress::kQuestIdFieldNumber;
  11418. const int CCSUsrMsg_QuestProgress::kNormalPointsFieldNumber;
  11419. const int CCSUsrMsg_QuestProgress::kBonusPointsFieldNumber;
  11420. const int CCSUsrMsg_QuestProgress::kIsEventQuestFieldNumber;
  11421. #endif // !_MSC_VER
  11422. CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress()
  11423. : ::google::protobuf::Message() {
  11424. SharedCtor();
  11425. }
  11426. void CCSUsrMsg_QuestProgress::InitAsDefaultInstance() {
  11427. }
  11428. CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress(const CCSUsrMsg_QuestProgress& from)
  11429. : ::google::protobuf::Message() {
  11430. SharedCtor();
  11431. MergeFrom(from);
  11432. }
  11433. void CCSUsrMsg_QuestProgress::SharedCtor() {
  11434. _cached_size_ = 0;
  11435. quest_id_ = 0u;
  11436. normal_points_ = 0u;
  11437. bonus_points_ = 0u;
  11438. is_event_quest_ = false;
  11439. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11440. }
  11441. CCSUsrMsg_QuestProgress::~CCSUsrMsg_QuestProgress() {
  11442. SharedDtor();
  11443. }
  11444. void CCSUsrMsg_QuestProgress::SharedDtor() {
  11445. if (this != default_instance_) {
  11446. }
  11447. }
  11448. void CCSUsrMsg_QuestProgress::SetCachedSize(int size) const {
  11449. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11450. _cached_size_ = size;
  11451. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11452. }
  11453. const ::google::protobuf::Descriptor* CCSUsrMsg_QuestProgress::descriptor() {
  11454. protobuf_AssignDescriptorsOnce();
  11455. return CCSUsrMsg_QuestProgress_descriptor_;
  11456. }
  11457. const CCSUsrMsg_QuestProgress& CCSUsrMsg_QuestProgress::default_instance() {
  11458. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  11459. return *default_instance_;
  11460. }
  11461. CCSUsrMsg_QuestProgress* CCSUsrMsg_QuestProgress::default_instance_ = NULL;
  11462. CCSUsrMsg_QuestProgress* CCSUsrMsg_QuestProgress::New() const {
  11463. return new CCSUsrMsg_QuestProgress;
  11464. }
  11465. void CCSUsrMsg_QuestProgress::Clear() {
  11466. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11467. quest_id_ = 0u;
  11468. normal_points_ = 0u;
  11469. bonus_points_ = 0u;
  11470. is_event_quest_ = false;
  11471. }
  11472. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11473. mutable_unknown_fields()->Clear();
  11474. }
  11475. bool CCSUsrMsg_QuestProgress::MergePartialFromCodedStream(
  11476. ::google::protobuf::io::CodedInputStream* input) {
  11477. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11478. ::google::protobuf::uint32 tag;
  11479. while ((tag = input->ReadTag()) != 0) {
  11480. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11481. // optional uint32 quest_id = 1;
  11482. case 1: {
  11483. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11484. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11486. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11487. input, &quest_id_)));
  11488. set_has_quest_id();
  11489. } else {
  11490. goto handle_uninterpreted;
  11491. }
  11492. if (input->ExpectTag(16)) goto parse_normal_points;
  11493. break;
  11494. }
  11495. // optional uint32 normal_points = 2;
  11496. case 2: {
  11497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11499. parse_normal_points:
  11500. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11501. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11502. input, &normal_points_)));
  11503. set_has_normal_points();
  11504. } else {
  11505. goto handle_uninterpreted;
  11506. }
  11507. if (input->ExpectTag(24)) goto parse_bonus_points;
  11508. break;
  11509. }
  11510. // optional uint32 bonus_points = 3;
  11511. case 3: {
  11512. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11513. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11514. parse_bonus_points:
  11515. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11516. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11517. input, &bonus_points_)));
  11518. set_has_bonus_points();
  11519. } else {
  11520. goto handle_uninterpreted;
  11521. }
  11522. if (input->ExpectTag(32)) goto parse_is_event_quest;
  11523. break;
  11524. }
  11525. // optional bool is_event_quest = 4;
  11526. case 4: {
  11527. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11528. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11529. parse_is_event_quest:
  11530. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11531. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  11532. input, &is_event_quest_)));
  11533. set_has_is_event_quest();
  11534. } else {
  11535. goto handle_uninterpreted;
  11536. }
  11537. if (input->ExpectAtEnd()) return true;
  11538. break;
  11539. }
  11540. default: {
  11541. handle_uninterpreted:
  11542. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11543. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11544. return true;
  11545. }
  11546. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11547. input, tag, mutable_unknown_fields()));
  11548. break;
  11549. }
  11550. }
  11551. }
  11552. return true;
  11553. #undef DO_
  11554. }
  11555. void CCSUsrMsg_QuestProgress::SerializeWithCachedSizes(
  11556. ::google::protobuf::io::CodedOutputStream* output) const {
  11557. // optional uint32 quest_id = 1;
  11558. if (has_quest_id()) {
  11559. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->quest_id(), output);
  11560. }
  11561. // optional uint32 normal_points = 2;
  11562. if (has_normal_points()) {
  11563. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->normal_points(), output);
  11564. }
  11565. // optional uint32 bonus_points = 3;
  11566. if (has_bonus_points()) {
  11567. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->bonus_points(), output);
  11568. }
  11569. // optional bool is_event_quest = 4;
  11570. if (has_is_event_quest()) {
  11571. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_event_quest(), output);
  11572. }
  11573. if (!unknown_fields().empty()) {
  11574. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11575. unknown_fields(), output);
  11576. }
  11577. }
  11578. ::google::protobuf::uint8* CCSUsrMsg_QuestProgress::SerializeWithCachedSizesToArray(
  11579. ::google::protobuf::uint8* target) const {
  11580. // optional uint32 quest_id = 1;
  11581. if (has_quest_id()) {
  11582. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->quest_id(), target);
  11583. }
  11584. // optional uint32 normal_points = 2;
  11585. if (has_normal_points()) {
  11586. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->normal_points(), target);
  11587. }
  11588. // optional uint32 bonus_points = 3;
  11589. if (has_bonus_points()) {
  11590. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->bonus_points(), target);
  11591. }
  11592. // optional bool is_event_quest = 4;
  11593. if (has_is_event_quest()) {
  11594. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_event_quest(), target);
  11595. }
  11596. if (!unknown_fields().empty()) {
  11597. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11598. unknown_fields(), target);
  11599. }
  11600. return target;
  11601. }
  11602. int CCSUsrMsg_QuestProgress::ByteSize() const {
  11603. int total_size = 0;
  11604. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11605. // optional uint32 quest_id = 1;
  11606. if (has_quest_id()) {
  11607. total_size += 1 +
  11608. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11609. this->quest_id());
  11610. }
  11611. // optional uint32 normal_points = 2;
  11612. if (has_normal_points()) {
  11613. total_size += 1 +
  11614. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11615. this->normal_points());
  11616. }
  11617. // optional uint32 bonus_points = 3;
  11618. if (has_bonus_points()) {
  11619. total_size += 1 +
  11620. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11621. this->bonus_points());
  11622. }
  11623. // optional bool is_event_quest = 4;
  11624. if (has_is_event_quest()) {
  11625. total_size += 1 + 1;
  11626. }
  11627. }
  11628. if (!unknown_fields().empty()) {
  11629. total_size +=
  11630. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11631. unknown_fields());
  11632. }
  11633. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11634. _cached_size_ = total_size;
  11635. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11636. return total_size;
  11637. }
  11638. void CCSUsrMsg_QuestProgress::MergeFrom(const ::google::protobuf::Message& from) {
  11639. GOOGLE_CHECK_NE(&from, this);
  11640. const CCSUsrMsg_QuestProgress* source =
  11641. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_QuestProgress*>(
  11642. &from);
  11643. if (source == NULL) {
  11644. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11645. } else {
  11646. MergeFrom(*source);
  11647. }
  11648. }
  11649. void CCSUsrMsg_QuestProgress::MergeFrom(const CCSUsrMsg_QuestProgress& from) {
  11650. GOOGLE_CHECK_NE(&from, this);
  11651. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11652. if (from.has_quest_id()) {
  11653. set_quest_id(from.quest_id());
  11654. }
  11655. if (from.has_normal_points()) {
  11656. set_normal_points(from.normal_points());
  11657. }
  11658. if (from.has_bonus_points()) {
  11659. set_bonus_points(from.bonus_points());
  11660. }
  11661. if (from.has_is_event_quest()) {
  11662. set_is_event_quest(from.is_event_quest());
  11663. }
  11664. }
  11665. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11666. }
  11667. void CCSUsrMsg_QuestProgress::CopyFrom(const ::google::protobuf::Message& from) {
  11668. if (&from == this) return;
  11669. Clear();
  11670. MergeFrom(from);
  11671. }
  11672. void CCSUsrMsg_QuestProgress::CopyFrom(const CCSUsrMsg_QuestProgress& from) {
  11673. if (&from == this) return;
  11674. Clear();
  11675. MergeFrom(from);
  11676. }
  11677. bool CCSUsrMsg_QuestProgress::IsInitialized() const {
  11678. return true;
  11679. }
  11680. void CCSUsrMsg_QuestProgress::Swap(CCSUsrMsg_QuestProgress* other) {
  11681. if (other != this) {
  11682. std::swap(quest_id_, other->quest_id_);
  11683. std::swap(normal_points_, other->normal_points_);
  11684. std::swap(bonus_points_, other->bonus_points_);
  11685. std::swap(is_event_quest_, other->is_event_quest_);
  11686. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11687. _unknown_fields_.Swap(&other->_unknown_fields_);
  11688. std::swap(_cached_size_, other->_cached_size_);
  11689. }
  11690. }
  11691. ::google::protobuf::Metadata CCSUsrMsg_QuestProgress::GetMetadata() const {
  11692. protobuf_AssignDescriptorsOnce();
  11693. ::google::protobuf::Metadata metadata;
  11694. metadata.descriptor = CCSUsrMsg_QuestProgress_descriptor_;
  11695. metadata.reflection = CCSUsrMsg_QuestProgress_reflection_;
  11696. return metadata;
  11697. }
  11698. // ===================================================================
  11699. #ifndef _MSC_VER
  11700. const int CCSUsrMsg_ScoreLeaderboardData::kDataFieldNumber;
  11701. #endif // !_MSC_VER
  11702. CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData()
  11703. : ::google::protobuf::Message() {
  11704. SharedCtor();
  11705. }
  11706. void CCSUsrMsg_ScoreLeaderboardData::InitAsDefaultInstance() {
  11707. data_ = const_cast< ::ScoreLeaderboardData*>(&::ScoreLeaderboardData::default_instance());
  11708. }
  11709. CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData(const CCSUsrMsg_ScoreLeaderboardData& from)
  11710. : ::google::protobuf::Message() {
  11711. SharedCtor();
  11712. MergeFrom(from);
  11713. }
  11714. void CCSUsrMsg_ScoreLeaderboardData::SharedCtor() {
  11715. _cached_size_ = 0;
  11716. data_ = NULL;
  11717. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11718. }
  11719. CCSUsrMsg_ScoreLeaderboardData::~CCSUsrMsg_ScoreLeaderboardData() {
  11720. SharedDtor();
  11721. }
  11722. void CCSUsrMsg_ScoreLeaderboardData::SharedDtor() {
  11723. if (this != default_instance_) {
  11724. delete data_;
  11725. }
  11726. }
  11727. void CCSUsrMsg_ScoreLeaderboardData::SetCachedSize(int size) const {
  11728. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11729. _cached_size_ = size;
  11730. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11731. }
  11732. const ::google::protobuf::Descriptor* CCSUsrMsg_ScoreLeaderboardData::descriptor() {
  11733. protobuf_AssignDescriptorsOnce();
  11734. return CCSUsrMsg_ScoreLeaderboardData_descriptor_;
  11735. }
  11736. const CCSUsrMsg_ScoreLeaderboardData& CCSUsrMsg_ScoreLeaderboardData::default_instance() {
  11737. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  11738. return *default_instance_;
  11739. }
  11740. CCSUsrMsg_ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::default_instance_ = NULL;
  11741. CCSUsrMsg_ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::New() const {
  11742. return new CCSUsrMsg_ScoreLeaderboardData;
  11743. }
  11744. void CCSUsrMsg_ScoreLeaderboardData::Clear() {
  11745. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11746. if (has_data()) {
  11747. if (data_ != NULL) data_->::ScoreLeaderboardData::Clear();
  11748. }
  11749. }
  11750. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11751. mutable_unknown_fields()->Clear();
  11752. }
  11753. bool CCSUsrMsg_ScoreLeaderboardData::MergePartialFromCodedStream(
  11754. ::google::protobuf::io::CodedInputStream* input) {
  11755. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11756. ::google::protobuf::uint32 tag;
  11757. while ((tag = input->ReadTag()) != 0) {
  11758. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11759. // optional .ScoreLeaderboardData data = 1;
  11760. case 1: {
  11761. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11762. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11763. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11764. input, mutable_data()));
  11765. } else {
  11766. goto handle_uninterpreted;
  11767. }
  11768. if (input->ExpectAtEnd()) return true;
  11769. break;
  11770. }
  11771. default: {
  11772. handle_uninterpreted:
  11773. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11774. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11775. return true;
  11776. }
  11777. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11778. input, tag, mutable_unknown_fields()));
  11779. break;
  11780. }
  11781. }
  11782. }
  11783. return true;
  11784. #undef DO_
  11785. }
  11786. void CCSUsrMsg_ScoreLeaderboardData::SerializeWithCachedSizes(
  11787. ::google::protobuf::io::CodedOutputStream* output) const {
  11788. // optional .ScoreLeaderboardData data = 1;
  11789. if (has_data()) {
  11790. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11791. 1, this->data(), output);
  11792. }
  11793. if (!unknown_fields().empty()) {
  11794. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11795. unknown_fields(), output);
  11796. }
  11797. }
  11798. ::google::protobuf::uint8* CCSUsrMsg_ScoreLeaderboardData::SerializeWithCachedSizesToArray(
  11799. ::google::protobuf::uint8* target) const {
  11800. // optional .ScoreLeaderboardData data = 1;
  11801. if (has_data()) {
  11802. target = ::google::protobuf::internal::WireFormatLite::
  11803. WriteMessageNoVirtualToArray(
  11804. 1, this->data(), target);
  11805. }
  11806. if (!unknown_fields().empty()) {
  11807. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11808. unknown_fields(), target);
  11809. }
  11810. return target;
  11811. }
  11812. int CCSUsrMsg_ScoreLeaderboardData::ByteSize() const {
  11813. int total_size = 0;
  11814. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11815. // optional .ScoreLeaderboardData data = 1;
  11816. if (has_data()) {
  11817. total_size += 1 +
  11818. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11819. this->data());
  11820. }
  11821. }
  11822. if (!unknown_fields().empty()) {
  11823. total_size +=
  11824. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11825. unknown_fields());
  11826. }
  11827. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11828. _cached_size_ = total_size;
  11829. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11830. return total_size;
  11831. }
  11832. void CCSUsrMsg_ScoreLeaderboardData::MergeFrom(const ::google::protobuf::Message& from) {
  11833. GOOGLE_CHECK_NE(&from, this);
  11834. const CCSUsrMsg_ScoreLeaderboardData* source =
  11835. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ScoreLeaderboardData*>(
  11836. &from);
  11837. if (source == NULL) {
  11838. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11839. } else {
  11840. MergeFrom(*source);
  11841. }
  11842. }
  11843. void CCSUsrMsg_ScoreLeaderboardData::MergeFrom(const CCSUsrMsg_ScoreLeaderboardData& from) {
  11844. GOOGLE_CHECK_NE(&from, this);
  11845. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11846. if (from.has_data()) {
  11847. mutable_data()->::ScoreLeaderboardData::MergeFrom(from.data());
  11848. }
  11849. }
  11850. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11851. }
  11852. void CCSUsrMsg_ScoreLeaderboardData::CopyFrom(const ::google::protobuf::Message& from) {
  11853. if (&from == this) return;
  11854. Clear();
  11855. MergeFrom(from);
  11856. }
  11857. void CCSUsrMsg_ScoreLeaderboardData::CopyFrom(const CCSUsrMsg_ScoreLeaderboardData& from) {
  11858. if (&from == this) return;
  11859. Clear();
  11860. MergeFrom(from);
  11861. }
  11862. bool CCSUsrMsg_ScoreLeaderboardData::IsInitialized() const {
  11863. return true;
  11864. }
  11865. void CCSUsrMsg_ScoreLeaderboardData::Swap(CCSUsrMsg_ScoreLeaderboardData* other) {
  11866. if (other != this) {
  11867. std::swap(data_, other->data_);
  11868. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11869. _unknown_fields_.Swap(&other->_unknown_fields_);
  11870. std::swap(_cached_size_, other->_cached_size_);
  11871. }
  11872. }
  11873. ::google::protobuf::Metadata CCSUsrMsg_ScoreLeaderboardData::GetMetadata() const {
  11874. protobuf_AssignDescriptorsOnce();
  11875. ::google::protobuf::Metadata metadata;
  11876. metadata.descriptor = CCSUsrMsg_ScoreLeaderboardData_descriptor_;
  11877. metadata.reflection = CCSUsrMsg_ScoreLeaderboardData_reflection_;
  11878. return metadata;
  11879. }
  11880. // ===================================================================
  11881. #ifndef _MSC_VER
  11882. const int CCSUsrMsg_XRankGet::kModeIdxFieldNumber;
  11883. const int CCSUsrMsg_XRankGet::kControllerFieldNumber;
  11884. #endif // !_MSC_VER
  11885. CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet()
  11886. : ::google::protobuf::Message() {
  11887. SharedCtor();
  11888. }
  11889. void CCSUsrMsg_XRankGet::InitAsDefaultInstance() {
  11890. }
  11891. CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet(const CCSUsrMsg_XRankGet& from)
  11892. : ::google::protobuf::Message() {
  11893. SharedCtor();
  11894. MergeFrom(from);
  11895. }
  11896. void CCSUsrMsg_XRankGet::SharedCtor() {
  11897. _cached_size_ = 0;
  11898. mode_idx_ = 0;
  11899. controller_ = 0;
  11900. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11901. }
  11902. CCSUsrMsg_XRankGet::~CCSUsrMsg_XRankGet() {
  11903. SharedDtor();
  11904. }
  11905. void CCSUsrMsg_XRankGet::SharedDtor() {
  11906. if (this != default_instance_) {
  11907. }
  11908. }
  11909. void CCSUsrMsg_XRankGet::SetCachedSize(int size) const {
  11910. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11911. _cached_size_ = size;
  11912. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11913. }
  11914. const ::google::protobuf::Descriptor* CCSUsrMsg_XRankGet::descriptor() {
  11915. protobuf_AssignDescriptorsOnce();
  11916. return CCSUsrMsg_XRankGet_descriptor_;
  11917. }
  11918. const CCSUsrMsg_XRankGet& CCSUsrMsg_XRankGet::default_instance() {
  11919. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  11920. return *default_instance_;
  11921. }
  11922. CCSUsrMsg_XRankGet* CCSUsrMsg_XRankGet::default_instance_ = NULL;
  11923. CCSUsrMsg_XRankGet* CCSUsrMsg_XRankGet::New() const {
  11924. return new CCSUsrMsg_XRankGet;
  11925. }
  11926. void CCSUsrMsg_XRankGet::Clear() {
  11927. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11928. mode_idx_ = 0;
  11929. controller_ = 0;
  11930. }
  11931. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11932. mutable_unknown_fields()->Clear();
  11933. }
  11934. bool CCSUsrMsg_XRankGet::MergePartialFromCodedStream(
  11935. ::google::protobuf::io::CodedInputStream* input) {
  11936. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11937. ::google::protobuf::uint32 tag;
  11938. while ((tag = input->ReadTag()) != 0) {
  11939. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11940. // optional int32 mode_idx = 1;
  11941. case 1: {
  11942. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11943. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11944. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11945. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11946. input, &mode_idx_)));
  11947. set_has_mode_idx();
  11948. } else {
  11949. goto handle_uninterpreted;
  11950. }
  11951. if (input->ExpectTag(16)) goto parse_controller;
  11952. break;
  11953. }
  11954. // optional int32 controller = 2;
  11955. case 2: {
  11956. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11957. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11958. parse_controller:
  11959. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11960. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11961. input, &controller_)));
  11962. set_has_controller();
  11963. } else {
  11964. goto handle_uninterpreted;
  11965. }
  11966. if (input->ExpectAtEnd()) return true;
  11967. break;
  11968. }
  11969. default: {
  11970. handle_uninterpreted:
  11971. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11972. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11973. return true;
  11974. }
  11975. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11976. input, tag, mutable_unknown_fields()));
  11977. break;
  11978. }
  11979. }
  11980. }
  11981. return true;
  11982. #undef DO_
  11983. }
  11984. void CCSUsrMsg_XRankGet::SerializeWithCachedSizes(
  11985. ::google::protobuf::io::CodedOutputStream* output) const {
  11986. // optional int32 mode_idx = 1;
  11987. if (has_mode_idx()) {
  11988. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->mode_idx(), output);
  11989. }
  11990. // optional int32 controller = 2;
  11991. if (has_controller()) {
  11992. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->controller(), output);
  11993. }
  11994. if (!unknown_fields().empty()) {
  11995. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11996. unknown_fields(), output);
  11997. }
  11998. }
  11999. ::google::protobuf::uint8* CCSUsrMsg_XRankGet::SerializeWithCachedSizesToArray(
  12000. ::google::protobuf::uint8* target) const {
  12001. // optional int32 mode_idx = 1;
  12002. if (has_mode_idx()) {
  12003. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->mode_idx(), target);
  12004. }
  12005. // optional int32 controller = 2;
  12006. if (has_controller()) {
  12007. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->controller(), target);
  12008. }
  12009. if (!unknown_fields().empty()) {
  12010. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12011. unknown_fields(), target);
  12012. }
  12013. return target;
  12014. }
  12015. int CCSUsrMsg_XRankGet::ByteSize() const {
  12016. int total_size = 0;
  12017. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12018. // optional int32 mode_idx = 1;
  12019. if (has_mode_idx()) {
  12020. total_size += 1 +
  12021. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12022. this->mode_idx());
  12023. }
  12024. // optional int32 controller = 2;
  12025. if (has_controller()) {
  12026. total_size += 1 +
  12027. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12028. this->controller());
  12029. }
  12030. }
  12031. if (!unknown_fields().empty()) {
  12032. total_size +=
  12033. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12034. unknown_fields());
  12035. }
  12036. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12037. _cached_size_ = total_size;
  12038. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12039. return total_size;
  12040. }
  12041. void CCSUsrMsg_XRankGet::MergeFrom(const ::google::protobuf::Message& from) {
  12042. GOOGLE_CHECK_NE(&from, this);
  12043. const CCSUsrMsg_XRankGet* source =
  12044. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_XRankGet*>(
  12045. &from);
  12046. if (source == NULL) {
  12047. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12048. } else {
  12049. MergeFrom(*source);
  12050. }
  12051. }
  12052. void CCSUsrMsg_XRankGet::MergeFrom(const CCSUsrMsg_XRankGet& from) {
  12053. GOOGLE_CHECK_NE(&from, this);
  12054. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12055. if (from.has_mode_idx()) {
  12056. set_mode_idx(from.mode_idx());
  12057. }
  12058. if (from.has_controller()) {
  12059. set_controller(from.controller());
  12060. }
  12061. }
  12062. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12063. }
  12064. void CCSUsrMsg_XRankGet::CopyFrom(const ::google::protobuf::Message& from) {
  12065. if (&from == this) return;
  12066. Clear();
  12067. MergeFrom(from);
  12068. }
  12069. void CCSUsrMsg_XRankGet::CopyFrom(const CCSUsrMsg_XRankGet& from) {
  12070. if (&from == this) return;
  12071. Clear();
  12072. MergeFrom(from);
  12073. }
  12074. bool CCSUsrMsg_XRankGet::IsInitialized() const {
  12075. return true;
  12076. }
  12077. void CCSUsrMsg_XRankGet::Swap(CCSUsrMsg_XRankGet* other) {
  12078. if (other != this) {
  12079. std::swap(mode_idx_, other->mode_idx_);
  12080. std::swap(controller_, other->controller_);
  12081. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12082. _unknown_fields_.Swap(&other->_unknown_fields_);
  12083. std::swap(_cached_size_, other->_cached_size_);
  12084. }
  12085. }
  12086. ::google::protobuf::Metadata CCSUsrMsg_XRankGet::GetMetadata() const {
  12087. protobuf_AssignDescriptorsOnce();
  12088. ::google::protobuf::Metadata metadata;
  12089. metadata.descriptor = CCSUsrMsg_XRankGet_descriptor_;
  12090. metadata.reflection = CCSUsrMsg_XRankGet_reflection_;
  12091. return metadata;
  12092. }
  12093. // ===================================================================
  12094. #ifndef _MSC_VER
  12095. const int CCSUsrMsg_XRankUpd::kModeIdxFieldNumber;
  12096. const int CCSUsrMsg_XRankUpd::kControllerFieldNumber;
  12097. const int CCSUsrMsg_XRankUpd::kRankingFieldNumber;
  12098. #endif // !_MSC_VER
  12099. CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd()
  12100. : ::google::protobuf::Message() {
  12101. SharedCtor();
  12102. }
  12103. void CCSUsrMsg_XRankUpd::InitAsDefaultInstance() {
  12104. }
  12105. CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd(const CCSUsrMsg_XRankUpd& from)
  12106. : ::google::protobuf::Message() {
  12107. SharedCtor();
  12108. MergeFrom(from);
  12109. }
  12110. void CCSUsrMsg_XRankUpd::SharedCtor() {
  12111. _cached_size_ = 0;
  12112. mode_idx_ = 0;
  12113. controller_ = 0;
  12114. ranking_ = 0;
  12115. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12116. }
  12117. CCSUsrMsg_XRankUpd::~CCSUsrMsg_XRankUpd() {
  12118. SharedDtor();
  12119. }
  12120. void CCSUsrMsg_XRankUpd::SharedDtor() {
  12121. if (this != default_instance_) {
  12122. }
  12123. }
  12124. void CCSUsrMsg_XRankUpd::SetCachedSize(int size) const {
  12125. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12126. _cached_size_ = size;
  12127. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12128. }
  12129. const ::google::protobuf::Descriptor* CCSUsrMsg_XRankUpd::descriptor() {
  12130. protobuf_AssignDescriptorsOnce();
  12131. return CCSUsrMsg_XRankUpd_descriptor_;
  12132. }
  12133. const CCSUsrMsg_XRankUpd& CCSUsrMsg_XRankUpd::default_instance() {
  12134. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  12135. return *default_instance_;
  12136. }
  12137. CCSUsrMsg_XRankUpd* CCSUsrMsg_XRankUpd::default_instance_ = NULL;
  12138. CCSUsrMsg_XRankUpd* CCSUsrMsg_XRankUpd::New() const {
  12139. return new CCSUsrMsg_XRankUpd;
  12140. }
  12141. void CCSUsrMsg_XRankUpd::Clear() {
  12142. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12143. mode_idx_ = 0;
  12144. controller_ = 0;
  12145. ranking_ = 0;
  12146. }
  12147. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12148. mutable_unknown_fields()->Clear();
  12149. }
  12150. bool CCSUsrMsg_XRankUpd::MergePartialFromCodedStream(
  12151. ::google::protobuf::io::CodedInputStream* input) {
  12152. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12153. ::google::protobuf::uint32 tag;
  12154. while ((tag = input->ReadTag()) != 0) {
  12155. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12156. // optional int32 mode_idx = 1;
  12157. case 1: {
  12158. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12159. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12160. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12161. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12162. input, &mode_idx_)));
  12163. set_has_mode_idx();
  12164. } else {
  12165. goto handle_uninterpreted;
  12166. }
  12167. if (input->ExpectTag(16)) goto parse_controller;
  12168. break;
  12169. }
  12170. // optional int32 controller = 2;
  12171. case 2: {
  12172. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12173. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12174. parse_controller:
  12175. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12176. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12177. input, &controller_)));
  12178. set_has_controller();
  12179. } else {
  12180. goto handle_uninterpreted;
  12181. }
  12182. if (input->ExpectTag(24)) goto parse_ranking;
  12183. break;
  12184. }
  12185. // optional int32 ranking = 3;
  12186. case 3: {
  12187. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12188. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12189. parse_ranking:
  12190. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12191. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12192. input, &ranking_)));
  12193. set_has_ranking();
  12194. } else {
  12195. goto handle_uninterpreted;
  12196. }
  12197. if (input->ExpectAtEnd()) return true;
  12198. break;
  12199. }
  12200. default: {
  12201. handle_uninterpreted:
  12202. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12203. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12204. return true;
  12205. }
  12206. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12207. input, tag, mutable_unknown_fields()));
  12208. break;
  12209. }
  12210. }
  12211. }
  12212. return true;
  12213. #undef DO_
  12214. }
  12215. void CCSUsrMsg_XRankUpd::SerializeWithCachedSizes(
  12216. ::google::protobuf::io::CodedOutputStream* output) const {
  12217. // optional int32 mode_idx = 1;
  12218. if (has_mode_idx()) {
  12219. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->mode_idx(), output);
  12220. }
  12221. // optional int32 controller = 2;
  12222. if (has_controller()) {
  12223. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->controller(), output);
  12224. }
  12225. // optional int32 ranking = 3;
  12226. if (has_ranking()) {
  12227. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->ranking(), output);
  12228. }
  12229. if (!unknown_fields().empty()) {
  12230. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12231. unknown_fields(), output);
  12232. }
  12233. }
  12234. ::google::protobuf::uint8* CCSUsrMsg_XRankUpd::SerializeWithCachedSizesToArray(
  12235. ::google::protobuf::uint8* target) const {
  12236. // optional int32 mode_idx = 1;
  12237. if (has_mode_idx()) {
  12238. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->mode_idx(), target);
  12239. }
  12240. // optional int32 controller = 2;
  12241. if (has_controller()) {
  12242. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->controller(), target);
  12243. }
  12244. // optional int32 ranking = 3;
  12245. if (has_ranking()) {
  12246. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->ranking(), target);
  12247. }
  12248. if (!unknown_fields().empty()) {
  12249. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12250. unknown_fields(), target);
  12251. }
  12252. return target;
  12253. }
  12254. int CCSUsrMsg_XRankUpd::ByteSize() const {
  12255. int total_size = 0;
  12256. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12257. // optional int32 mode_idx = 1;
  12258. if (has_mode_idx()) {
  12259. total_size += 1 +
  12260. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12261. this->mode_idx());
  12262. }
  12263. // optional int32 controller = 2;
  12264. if (has_controller()) {
  12265. total_size += 1 +
  12266. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12267. this->controller());
  12268. }
  12269. // optional int32 ranking = 3;
  12270. if (has_ranking()) {
  12271. total_size += 1 +
  12272. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12273. this->ranking());
  12274. }
  12275. }
  12276. if (!unknown_fields().empty()) {
  12277. total_size +=
  12278. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12279. unknown_fields());
  12280. }
  12281. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12282. _cached_size_ = total_size;
  12283. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12284. return total_size;
  12285. }
  12286. void CCSUsrMsg_XRankUpd::MergeFrom(const ::google::protobuf::Message& from) {
  12287. GOOGLE_CHECK_NE(&from, this);
  12288. const CCSUsrMsg_XRankUpd* source =
  12289. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_XRankUpd*>(
  12290. &from);
  12291. if (source == NULL) {
  12292. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12293. } else {
  12294. MergeFrom(*source);
  12295. }
  12296. }
  12297. void CCSUsrMsg_XRankUpd::MergeFrom(const CCSUsrMsg_XRankUpd& from) {
  12298. GOOGLE_CHECK_NE(&from, this);
  12299. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12300. if (from.has_mode_idx()) {
  12301. set_mode_idx(from.mode_idx());
  12302. }
  12303. if (from.has_controller()) {
  12304. set_controller(from.controller());
  12305. }
  12306. if (from.has_ranking()) {
  12307. set_ranking(from.ranking());
  12308. }
  12309. }
  12310. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12311. }
  12312. void CCSUsrMsg_XRankUpd::CopyFrom(const ::google::protobuf::Message& from) {
  12313. if (&from == this) return;
  12314. Clear();
  12315. MergeFrom(from);
  12316. }
  12317. void CCSUsrMsg_XRankUpd::CopyFrom(const CCSUsrMsg_XRankUpd& from) {
  12318. if (&from == this) return;
  12319. Clear();
  12320. MergeFrom(from);
  12321. }
  12322. bool CCSUsrMsg_XRankUpd::IsInitialized() const {
  12323. return true;
  12324. }
  12325. void CCSUsrMsg_XRankUpd::Swap(CCSUsrMsg_XRankUpd* other) {
  12326. if (other != this) {
  12327. std::swap(mode_idx_, other->mode_idx_);
  12328. std::swap(controller_, other->controller_);
  12329. std::swap(ranking_, other->ranking_);
  12330. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12331. _unknown_fields_.Swap(&other->_unknown_fields_);
  12332. std::swap(_cached_size_, other->_cached_size_);
  12333. }
  12334. }
  12335. ::google::protobuf::Metadata CCSUsrMsg_XRankUpd::GetMetadata() const {
  12336. protobuf_AssignDescriptorsOnce();
  12337. ::google::protobuf::Metadata metadata;
  12338. metadata.descriptor = CCSUsrMsg_XRankUpd_descriptor_;
  12339. metadata.reflection = CCSUsrMsg_XRankUpd_reflection_;
  12340. return metadata;
  12341. }
  12342. // ===================================================================
  12343. #ifndef _MSC_VER
  12344. const int CCSUsrMsg_CallVoteFailed::kReasonFieldNumber;
  12345. const int CCSUsrMsg_CallVoteFailed::kTimeFieldNumber;
  12346. #endif // !_MSC_VER
  12347. CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed()
  12348. : ::google::protobuf::Message() {
  12349. SharedCtor();
  12350. }
  12351. void CCSUsrMsg_CallVoteFailed::InitAsDefaultInstance() {
  12352. }
  12353. CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed(const CCSUsrMsg_CallVoteFailed& from)
  12354. : ::google::protobuf::Message() {
  12355. SharedCtor();
  12356. MergeFrom(from);
  12357. }
  12358. void CCSUsrMsg_CallVoteFailed::SharedCtor() {
  12359. _cached_size_ = 0;
  12360. reason_ = 0;
  12361. time_ = 0;
  12362. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12363. }
  12364. CCSUsrMsg_CallVoteFailed::~CCSUsrMsg_CallVoteFailed() {
  12365. SharedDtor();
  12366. }
  12367. void CCSUsrMsg_CallVoteFailed::SharedDtor() {
  12368. if (this != default_instance_) {
  12369. }
  12370. }
  12371. void CCSUsrMsg_CallVoteFailed::SetCachedSize(int size) const {
  12372. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12373. _cached_size_ = size;
  12374. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12375. }
  12376. const ::google::protobuf::Descriptor* CCSUsrMsg_CallVoteFailed::descriptor() {
  12377. protobuf_AssignDescriptorsOnce();
  12378. return CCSUsrMsg_CallVoteFailed_descriptor_;
  12379. }
  12380. const CCSUsrMsg_CallVoteFailed& CCSUsrMsg_CallVoteFailed::default_instance() {
  12381. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  12382. return *default_instance_;
  12383. }
  12384. CCSUsrMsg_CallVoteFailed* CCSUsrMsg_CallVoteFailed::default_instance_ = NULL;
  12385. CCSUsrMsg_CallVoteFailed* CCSUsrMsg_CallVoteFailed::New() const {
  12386. return new CCSUsrMsg_CallVoteFailed;
  12387. }
  12388. void CCSUsrMsg_CallVoteFailed::Clear() {
  12389. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12390. reason_ = 0;
  12391. time_ = 0;
  12392. }
  12393. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12394. mutable_unknown_fields()->Clear();
  12395. }
  12396. bool CCSUsrMsg_CallVoteFailed::MergePartialFromCodedStream(
  12397. ::google::protobuf::io::CodedInputStream* input) {
  12398. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12399. ::google::protobuf::uint32 tag;
  12400. while ((tag = input->ReadTag()) != 0) {
  12401. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12402. // optional int32 reason = 1;
  12403. case 1: {
  12404. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12405. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12406. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12407. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12408. input, &reason_)));
  12409. set_has_reason();
  12410. } else {
  12411. goto handle_uninterpreted;
  12412. }
  12413. if (input->ExpectTag(16)) goto parse_time;
  12414. break;
  12415. }
  12416. // optional int32 time = 2;
  12417. case 2: {
  12418. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12419. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12420. parse_time:
  12421. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12422. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12423. input, &time_)));
  12424. set_has_time();
  12425. } else {
  12426. goto handle_uninterpreted;
  12427. }
  12428. if (input->ExpectAtEnd()) return true;
  12429. break;
  12430. }
  12431. default: {
  12432. handle_uninterpreted:
  12433. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12434. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12435. return true;
  12436. }
  12437. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12438. input, tag, mutable_unknown_fields()));
  12439. break;
  12440. }
  12441. }
  12442. }
  12443. return true;
  12444. #undef DO_
  12445. }
  12446. void CCSUsrMsg_CallVoteFailed::SerializeWithCachedSizes(
  12447. ::google::protobuf::io::CodedOutputStream* output) const {
  12448. // optional int32 reason = 1;
  12449. if (has_reason()) {
  12450. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->reason(), output);
  12451. }
  12452. // optional int32 time = 2;
  12453. if (has_time()) {
  12454. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->time(), output);
  12455. }
  12456. if (!unknown_fields().empty()) {
  12457. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12458. unknown_fields(), output);
  12459. }
  12460. }
  12461. ::google::protobuf::uint8* CCSUsrMsg_CallVoteFailed::SerializeWithCachedSizesToArray(
  12462. ::google::protobuf::uint8* target) const {
  12463. // optional int32 reason = 1;
  12464. if (has_reason()) {
  12465. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->reason(), target);
  12466. }
  12467. // optional int32 time = 2;
  12468. if (has_time()) {
  12469. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->time(), target);
  12470. }
  12471. if (!unknown_fields().empty()) {
  12472. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12473. unknown_fields(), target);
  12474. }
  12475. return target;
  12476. }
  12477. int CCSUsrMsg_CallVoteFailed::ByteSize() const {
  12478. int total_size = 0;
  12479. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12480. // optional int32 reason = 1;
  12481. if (has_reason()) {
  12482. total_size += 1 +
  12483. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12484. this->reason());
  12485. }
  12486. // optional int32 time = 2;
  12487. if (has_time()) {
  12488. total_size += 1 +
  12489. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12490. this->time());
  12491. }
  12492. }
  12493. if (!unknown_fields().empty()) {
  12494. total_size +=
  12495. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12496. unknown_fields());
  12497. }
  12498. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12499. _cached_size_ = total_size;
  12500. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12501. return total_size;
  12502. }
  12503. void CCSUsrMsg_CallVoteFailed::MergeFrom(const ::google::protobuf::Message& from) {
  12504. GOOGLE_CHECK_NE(&from, this);
  12505. const CCSUsrMsg_CallVoteFailed* source =
  12506. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_CallVoteFailed*>(
  12507. &from);
  12508. if (source == NULL) {
  12509. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12510. } else {
  12511. MergeFrom(*source);
  12512. }
  12513. }
  12514. void CCSUsrMsg_CallVoteFailed::MergeFrom(const CCSUsrMsg_CallVoteFailed& from) {
  12515. GOOGLE_CHECK_NE(&from, this);
  12516. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12517. if (from.has_reason()) {
  12518. set_reason(from.reason());
  12519. }
  12520. if (from.has_time()) {
  12521. set_time(from.time());
  12522. }
  12523. }
  12524. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12525. }
  12526. void CCSUsrMsg_CallVoteFailed::CopyFrom(const ::google::protobuf::Message& from) {
  12527. if (&from == this) return;
  12528. Clear();
  12529. MergeFrom(from);
  12530. }
  12531. void CCSUsrMsg_CallVoteFailed::CopyFrom(const CCSUsrMsg_CallVoteFailed& from) {
  12532. if (&from == this) return;
  12533. Clear();
  12534. MergeFrom(from);
  12535. }
  12536. bool CCSUsrMsg_CallVoteFailed::IsInitialized() const {
  12537. return true;
  12538. }
  12539. void CCSUsrMsg_CallVoteFailed::Swap(CCSUsrMsg_CallVoteFailed* other) {
  12540. if (other != this) {
  12541. std::swap(reason_, other->reason_);
  12542. std::swap(time_, other->time_);
  12543. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12544. _unknown_fields_.Swap(&other->_unknown_fields_);
  12545. std::swap(_cached_size_, other->_cached_size_);
  12546. }
  12547. }
  12548. ::google::protobuf::Metadata CCSUsrMsg_CallVoteFailed::GetMetadata() const {
  12549. protobuf_AssignDescriptorsOnce();
  12550. ::google::protobuf::Metadata metadata;
  12551. metadata.descriptor = CCSUsrMsg_CallVoteFailed_descriptor_;
  12552. metadata.reflection = CCSUsrMsg_CallVoteFailed_reflection_;
  12553. return metadata;
  12554. }
  12555. // ===================================================================
  12556. #ifndef _MSC_VER
  12557. const int CCSUsrMsg_VoteStart::kTeamFieldNumber;
  12558. const int CCSUsrMsg_VoteStart::kEntIdxFieldNumber;
  12559. const int CCSUsrMsg_VoteStart::kVoteTypeFieldNumber;
  12560. const int CCSUsrMsg_VoteStart::kDispStrFieldNumber;
  12561. const int CCSUsrMsg_VoteStart::kDetailsStrFieldNumber;
  12562. const int CCSUsrMsg_VoteStart::kOtherTeamStrFieldNumber;
  12563. const int CCSUsrMsg_VoteStart::kIsYesNoVoteFieldNumber;
  12564. #endif // !_MSC_VER
  12565. CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart()
  12566. : ::google::protobuf::Message() {
  12567. SharedCtor();
  12568. }
  12569. void CCSUsrMsg_VoteStart::InitAsDefaultInstance() {
  12570. }
  12571. CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart(const CCSUsrMsg_VoteStart& from)
  12572. : ::google::protobuf::Message() {
  12573. SharedCtor();
  12574. MergeFrom(from);
  12575. }
  12576. void CCSUsrMsg_VoteStart::SharedCtor() {
  12577. _cached_size_ = 0;
  12578. team_ = 0;
  12579. ent_idx_ = 0;
  12580. vote_type_ = 0;
  12581. disp_str_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12582. details_str_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12583. other_team_str_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12584. is_yes_no_vote_ = false;
  12585. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12586. }
  12587. CCSUsrMsg_VoteStart::~CCSUsrMsg_VoteStart() {
  12588. SharedDtor();
  12589. }
  12590. void CCSUsrMsg_VoteStart::SharedDtor() {
  12591. if (disp_str_ != &::google::protobuf::internal::kEmptyString) {
  12592. delete disp_str_;
  12593. }
  12594. if (details_str_ != &::google::protobuf::internal::kEmptyString) {
  12595. delete details_str_;
  12596. }
  12597. if (other_team_str_ != &::google::protobuf::internal::kEmptyString) {
  12598. delete other_team_str_;
  12599. }
  12600. if (this != default_instance_) {
  12601. }
  12602. }
  12603. void CCSUsrMsg_VoteStart::SetCachedSize(int size) const {
  12604. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12605. _cached_size_ = size;
  12606. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12607. }
  12608. const ::google::protobuf::Descriptor* CCSUsrMsg_VoteStart::descriptor() {
  12609. protobuf_AssignDescriptorsOnce();
  12610. return CCSUsrMsg_VoteStart_descriptor_;
  12611. }
  12612. const CCSUsrMsg_VoteStart& CCSUsrMsg_VoteStart::default_instance() {
  12613. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  12614. return *default_instance_;
  12615. }
  12616. CCSUsrMsg_VoteStart* CCSUsrMsg_VoteStart::default_instance_ = NULL;
  12617. CCSUsrMsg_VoteStart* CCSUsrMsg_VoteStart::New() const {
  12618. return new CCSUsrMsg_VoteStart;
  12619. }
  12620. void CCSUsrMsg_VoteStart::Clear() {
  12621. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12622. team_ = 0;
  12623. ent_idx_ = 0;
  12624. vote_type_ = 0;
  12625. if (has_disp_str()) {
  12626. if (disp_str_ != &::google::protobuf::internal::kEmptyString) {
  12627. disp_str_->clear();
  12628. }
  12629. }
  12630. if (has_details_str()) {
  12631. if (details_str_ != &::google::protobuf::internal::kEmptyString) {
  12632. details_str_->clear();
  12633. }
  12634. }
  12635. if (has_other_team_str()) {
  12636. if (other_team_str_ != &::google::protobuf::internal::kEmptyString) {
  12637. other_team_str_->clear();
  12638. }
  12639. }
  12640. is_yes_no_vote_ = false;
  12641. }
  12642. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12643. mutable_unknown_fields()->Clear();
  12644. }
  12645. bool CCSUsrMsg_VoteStart::MergePartialFromCodedStream(
  12646. ::google::protobuf::io::CodedInputStream* input) {
  12647. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12648. ::google::protobuf::uint32 tag;
  12649. while ((tag = input->ReadTag()) != 0) {
  12650. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12651. // optional int32 team = 1;
  12652. case 1: {
  12653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12655. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12656. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12657. input, &team_)));
  12658. set_has_team();
  12659. } else {
  12660. goto handle_uninterpreted;
  12661. }
  12662. if (input->ExpectTag(16)) goto parse_ent_idx;
  12663. break;
  12664. }
  12665. // optional int32 ent_idx = 2;
  12666. case 2: {
  12667. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12668. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12669. parse_ent_idx:
  12670. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12671. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12672. input, &ent_idx_)));
  12673. set_has_ent_idx();
  12674. } else {
  12675. goto handle_uninterpreted;
  12676. }
  12677. if (input->ExpectTag(24)) goto parse_vote_type;
  12678. break;
  12679. }
  12680. // optional int32 vote_type = 3;
  12681. case 3: {
  12682. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12683. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12684. parse_vote_type:
  12685. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12686. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12687. input, &vote_type_)));
  12688. set_has_vote_type();
  12689. } else {
  12690. goto handle_uninterpreted;
  12691. }
  12692. if (input->ExpectTag(34)) goto parse_disp_str;
  12693. break;
  12694. }
  12695. // optional string disp_str = 4;
  12696. case 4: {
  12697. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12698. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12699. parse_disp_str:
  12700. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12701. input, this->mutable_disp_str()));
  12702. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12703. this->disp_str().data(), this->disp_str().length(),
  12704. ::google::protobuf::internal::WireFormat::PARSE);
  12705. } else {
  12706. goto handle_uninterpreted;
  12707. }
  12708. if (input->ExpectTag(42)) goto parse_details_str;
  12709. break;
  12710. }
  12711. // optional string details_str = 5;
  12712. case 5: {
  12713. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12714. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12715. parse_details_str:
  12716. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12717. input, this->mutable_details_str()));
  12718. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12719. this->details_str().data(), this->details_str().length(),
  12720. ::google::protobuf::internal::WireFormat::PARSE);
  12721. } else {
  12722. goto handle_uninterpreted;
  12723. }
  12724. if (input->ExpectTag(50)) goto parse_other_team_str;
  12725. break;
  12726. }
  12727. // optional string other_team_str = 6;
  12728. case 6: {
  12729. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12730. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12731. parse_other_team_str:
  12732. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12733. input, this->mutable_other_team_str()));
  12734. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12735. this->other_team_str().data(), this->other_team_str().length(),
  12736. ::google::protobuf::internal::WireFormat::PARSE);
  12737. } else {
  12738. goto handle_uninterpreted;
  12739. }
  12740. if (input->ExpectTag(56)) goto parse_is_yes_no_vote;
  12741. break;
  12742. }
  12743. // optional bool is_yes_no_vote = 7;
  12744. case 7: {
  12745. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12746. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12747. parse_is_yes_no_vote:
  12748. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12749. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  12750. input, &is_yes_no_vote_)));
  12751. set_has_is_yes_no_vote();
  12752. } else {
  12753. goto handle_uninterpreted;
  12754. }
  12755. if (input->ExpectAtEnd()) return true;
  12756. break;
  12757. }
  12758. default: {
  12759. handle_uninterpreted:
  12760. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12761. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12762. return true;
  12763. }
  12764. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12765. input, tag, mutable_unknown_fields()));
  12766. break;
  12767. }
  12768. }
  12769. }
  12770. return true;
  12771. #undef DO_
  12772. }
  12773. void CCSUsrMsg_VoteStart::SerializeWithCachedSizes(
  12774. ::google::protobuf::io::CodedOutputStream* output) const {
  12775. // optional int32 team = 1;
  12776. if (has_team()) {
  12777. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->team(), output);
  12778. }
  12779. // optional int32 ent_idx = 2;
  12780. if (has_ent_idx()) {
  12781. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ent_idx(), output);
  12782. }
  12783. // optional int32 vote_type = 3;
  12784. if (has_vote_type()) {
  12785. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->vote_type(), output);
  12786. }
  12787. // optional string disp_str = 4;
  12788. if (has_disp_str()) {
  12789. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12790. this->disp_str().data(), this->disp_str().length(),
  12791. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12792. ::google::protobuf::internal::WireFormatLite::WriteString(
  12793. 4, this->disp_str(), output);
  12794. }
  12795. // optional string details_str = 5;
  12796. if (has_details_str()) {
  12797. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12798. this->details_str().data(), this->details_str().length(),
  12799. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12800. ::google::protobuf::internal::WireFormatLite::WriteString(
  12801. 5, this->details_str(), output);
  12802. }
  12803. // optional string other_team_str = 6;
  12804. if (has_other_team_str()) {
  12805. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12806. this->other_team_str().data(), this->other_team_str().length(),
  12807. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12808. ::google::protobuf::internal::WireFormatLite::WriteString(
  12809. 6, this->other_team_str(), output);
  12810. }
  12811. // optional bool is_yes_no_vote = 7;
  12812. if (has_is_yes_no_vote()) {
  12813. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->is_yes_no_vote(), output);
  12814. }
  12815. if (!unknown_fields().empty()) {
  12816. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12817. unknown_fields(), output);
  12818. }
  12819. }
  12820. ::google::protobuf::uint8* CCSUsrMsg_VoteStart::SerializeWithCachedSizesToArray(
  12821. ::google::protobuf::uint8* target) const {
  12822. // optional int32 team = 1;
  12823. if (has_team()) {
  12824. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->team(), target);
  12825. }
  12826. // optional int32 ent_idx = 2;
  12827. if (has_ent_idx()) {
  12828. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ent_idx(), target);
  12829. }
  12830. // optional int32 vote_type = 3;
  12831. if (has_vote_type()) {
  12832. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->vote_type(), target);
  12833. }
  12834. // optional string disp_str = 4;
  12835. if (has_disp_str()) {
  12836. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12837. this->disp_str().data(), this->disp_str().length(),
  12838. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12839. target =
  12840. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12841. 4, this->disp_str(), target);
  12842. }
  12843. // optional string details_str = 5;
  12844. if (has_details_str()) {
  12845. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12846. this->details_str().data(), this->details_str().length(),
  12847. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12848. target =
  12849. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12850. 5, this->details_str(), target);
  12851. }
  12852. // optional string other_team_str = 6;
  12853. if (has_other_team_str()) {
  12854. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12855. this->other_team_str().data(), this->other_team_str().length(),
  12856. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12857. target =
  12858. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12859. 6, this->other_team_str(), target);
  12860. }
  12861. // optional bool is_yes_no_vote = 7;
  12862. if (has_is_yes_no_vote()) {
  12863. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->is_yes_no_vote(), target);
  12864. }
  12865. if (!unknown_fields().empty()) {
  12866. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12867. unknown_fields(), target);
  12868. }
  12869. return target;
  12870. }
  12871. int CCSUsrMsg_VoteStart::ByteSize() const {
  12872. int total_size = 0;
  12873. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12874. // optional int32 team = 1;
  12875. if (has_team()) {
  12876. total_size += 1 +
  12877. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12878. this->team());
  12879. }
  12880. // optional int32 ent_idx = 2;
  12881. if (has_ent_idx()) {
  12882. total_size += 1 +
  12883. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12884. this->ent_idx());
  12885. }
  12886. // optional int32 vote_type = 3;
  12887. if (has_vote_type()) {
  12888. total_size += 1 +
  12889. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12890. this->vote_type());
  12891. }
  12892. // optional string disp_str = 4;
  12893. if (has_disp_str()) {
  12894. total_size += 1 +
  12895. ::google::protobuf::internal::WireFormatLite::StringSize(
  12896. this->disp_str());
  12897. }
  12898. // optional string details_str = 5;
  12899. if (has_details_str()) {
  12900. total_size += 1 +
  12901. ::google::protobuf::internal::WireFormatLite::StringSize(
  12902. this->details_str());
  12903. }
  12904. // optional string other_team_str = 6;
  12905. if (has_other_team_str()) {
  12906. total_size += 1 +
  12907. ::google::protobuf::internal::WireFormatLite::StringSize(
  12908. this->other_team_str());
  12909. }
  12910. // optional bool is_yes_no_vote = 7;
  12911. if (has_is_yes_no_vote()) {
  12912. total_size += 1 + 1;
  12913. }
  12914. }
  12915. if (!unknown_fields().empty()) {
  12916. total_size +=
  12917. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12918. unknown_fields());
  12919. }
  12920. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12921. _cached_size_ = total_size;
  12922. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12923. return total_size;
  12924. }
  12925. void CCSUsrMsg_VoteStart::MergeFrom(const ::google::protobuf::Message& from) {
  12926. GOOGLE_CHECK_NE(&from, this);
  12927. const CCSUsrMsg_VoteStart* source =
  12928. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VoteStart*>(
  12929. &from);
  12930. if (source == NULL) {
  12931. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12932. } else {
  12933. MergeFrom(*source);
  12934. }
  12935. }
  12936. void CCSUsrMsg_VoteStart::MergeFrom(const CCSUsrMsg_VoteStart& from) {
  12937. GOOGLE_CHECK_NE(&from, this);
  12938. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12939. if (from.has_team()) {
  12940. set_team(from.team());
  12941. }
  12942. if (from.has_ent_idx()) {
  12943. set_ent_idx(from.ent_idx());
  12944. }
  12945. if (from.has_vote_type()) {
  12946. set_vote_type(from.vote_type());
  12947. }
  12948. if (from.has_disp_str()) {
  12949. set_disp_str(from.disp_str());
  12950. }
  12951. if (from.has_details_str()) {
  12952. set_details_str(from.details_str());
  12953. }
  12954. if (from.has_other_team_str()) {
  12955. set_other_team_str(from.other_team_str());
  12956. }
  12957. if (from.has_is_yes_no_vote()) {
  12958. set_is_yes_no_vote(from.is_yes_no_vote());
  12959. }
  12960. }
  12961. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12962. }
  12963. void CCSUsrMsg_VoteStart::CopyFrom(const ::google::protobuf::Message& from) {
  12964. if (&from == this) return;
  12965. Clear();
  12966. MergeFrom(from);
  12967. }
  12968. void CCSUsrMsg_VoteStart::CopyFrom(const CCSUsrMsg_VoteStart& from) {
  12969. if (&from == this) return;
  12970. Clear();
  12971. MergeFrom(from);
  12972. }
  12973. bool CCSUsrMsg_VoteStart::IsInitialized() const {
  12974. return true;
  12975. }
  12976. void CCSUsrMsg_VoteStart::Swap(CCSUsrMsg_VoteStart* other) {
  12977. if (other != this) {
  12978. std::swap(team_, other->team_);
  12979. std::swap(ent_idx_, other->ent_idx_);
  12980. std::swap(vote_type_, other->vote_type_);
  12981. std::swap(disp_str_, other->disp_str_);
  12982. std::swap(details_str_, other->details_str_);
  12983. std::swap(other_team_str_, other->other_team_str_);
  12984. std::swap(is_yes_no_vote_, other->is_yes_no_vote_);
  12985. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12986. _unknown_fields_.Swap(&other->_unknown_fields_);
  12987. std::swap(_cached_size_, other->_cached_size_);
  12988. }
  12989. }
  12990. ::google::protobuf::Metadata CCSUsrMsg_VoteStart::GetMetadata() const {
  12991. protobuf_AssignDescriptorsOnce();
  12992. ::google::protobuf::Metadata metadata;
  12993. metadata.descriptor = CCSUsrMsg_VoteStart_descriptor_;
  12994. metadata.reflection = CCSUsrMsg_VoteStart_reflection_;
  12995. return metadata;
  12996. }
  12997. // ===================================================================
  12998. #ifndef _MSC_VER
  12999. const int CCSUsrMsg_VotePass::kTeamFieldNumber;
  13000. const int CCSUsrMsg_VotePass::kVoteTypeFieldNumber;
  13001. const int CCSUsrMsg_VotePass::kDispStrFieldNumber;
  13002. const int CCSUsrMsg_VotePass::kDetailsStrFieldNumber;
  13003. #endif // !_MSC_VER
  13004. CCSUsrMsg_VotePass::CCSUsrMsg_VotePass()
  13005. : ::google::protobuf::Message() {
  13006. SharedCtor();
  13007. }
  13008. void CCSUsrMsg_VotePass::InitAsDefaultInstance() {
  13009. }
  13010. CCSUsrMsg_VotePass::CCSUsrMsg_VotePass(const CCSUsrMsg_VotePass& from)
  13011. : ::google::protobuf::Message() {
  13012. SharedCtor();
  13013. MergeFrom(from);
  13014. }
  13015. void CCSUsrMsg_VotePass::SharedCtor() {
  13016. _cached_size_ = 0;
  13017. team_ = 0;
  13018. vote_type_ = 0;
  13019. disp_str_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  13020. details_str_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  13021. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13022. }
  13023. CCSUsrMsg_VotePass::~CCSUsrMsg_VotePass() {
  13024. SharedDtor();
  13025. }
  13026. void CCSUsrMsg_VotePass::SharedDtor() {
  13027. if (disp_str_ != &::google::protobuf::internal::kEmptyString) {
  13028. delete disp_str_;
  13029. }
  13030. if (details_str_ != &::google::protobuf::internal::kEmptyString) {
  13031. delete details_str_;
  13032. }
  13033. if (this != default_instance_) {
  13034. }
  13035. }
  13036. void CCSUsrMsg_VotePass::SetCachedSize(int size) const {
  13037. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13038. _cached_size_ = size;
  13039. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13040. }
  13041. const ::google::protobuf::Descriptor* CCSUsrMsg_VotePass::descriptor() {
  13042. protobuf_AssignDescriptorsOnce();
  13043. return CCSUsrMsg_VotePass_descriptor_;
  13044. }
  13045. const CCSUsrMsg_VotePass& CCSUsrMsg_VotePass::default_instance() {
  13046. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  13047. return *default_instance_;
  13048. }
  13049. CCSUsrMsg_VotePass* CCSUsrMsg_VotePass::default_instance_ = NULL;
  13050. CCSUsrMsg_VotePass* CCSUsrMsg_VotePass::New() const {
  13051. return new CCSUsrMsg_VotePass;
  13052. }
  13053. void CCSUsrMsg_VotePass::Clear() {
  13054. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13055. team_ = 0;
  13056. vote_type_ = 0;
  13057. if (has_disp_str()) {
  13058. if (disp_str_ != &::google::protobuf::internal::kEmptyString) {
  13059. disp_str_->clear();
  13060. }
  13061. }
  13062. if (has_details_str()) {
  13063. if (details_str_ != &::google::protobuf::internal::kEmptyString) {
  13064. details_str_->clear();
  13065. }
  13066. }
  13067. }
  13068. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13069. mutable_unknown_fields()->Clear();
  13070. }
  13071. bool CCSUsrMsg_VotePass::MergePartialFromCodedStream(
  13072. ::google::protobuf::io::CodedInputStream* input) {
  13073. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13074. ::google::protobuf::uint32 tag;
  13075. while ((tag = input->ReadTag()) != 0) {
  13076. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13077. // optional int32 team = 1;
  13078. case 1: {
  13079. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13080. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13081. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13082. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13083. input, &team_)));
  13084. set_has_team();
  13085. } else {
  13086. goto handle_uninterpreted;
  13087. }
  13088. if (input->ExpectTag(16)) goto parse_vote_type;
  13089. break;
  13090. }
  13091. // optional int32 vote_type = 2;
  13092. case 2: {
  13093. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13094. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13095. parse_vote_type:
  13096. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13097. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13098. input, &vote_type_)));
  13099. set_has_vote_type();
  13100. } else {
  13101. goto handle_uninterpreted;
  13102. }
  13103. if (input->ExpectTag(26)) goto parse_disp_str;
  13104. break;
  13105. }
  13106. // optional string disp_str = 3;
  13107. case 3: {
  13108. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13109. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13110. parse_disp_str:
  13111. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13112. input, this->mutable_disp_str()));
  13113. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13114. this->disp_str().data(), this->disp_str().length(),
  13115. ::google::protobuf::internal::WireFormat::PARSE);
  13116. } else {
  13117. goto handle_uninterpreted;
  13118. }
  13119. if (input->ExpectTag(34)) goto parse_details_str;
  13120. break;
  13121. }
  13122. // optional string details_str = 4;
  13123. case 4: {
  13124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13126. parse_details_str:
  13127. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13128. input, this->mutable_details_str()));
  13129. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13130. this->details_str().data(), this->details_str().length(),
  13131. ::google::protobuf::internal::WireFormat::PARSE);
  13132. } else {
  13133. goto handle_uninterpreted;
  13134. }
  13135. if (input->ExpectAtEnd()) return true;
  13136. break;
  13137. }
  13138. default: {
  13139. handle_uninterpreted:
  13140. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13141. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13142. return true;
  13143. }
  13144. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13145. input, tag, mutable_unknown_fields()));
  13146. break;
  13147. }
  13148. }
  13149. }
  13150. return true;
  13151. #undef DO_
  13152. }
  13153. void CCSUsrMsg_VotePass::SerializeWithCachedSizes(
  13154. ::google::protobuf::io::CodedOutputStream* output) const {
  13155. // optional int32 team = 1;
  13156. if (has_team()) {
  13157. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->team(), output);
  13158. }
  13159. // optional int32 vote_type = 2;
  13160. if (has_vote_type()) {
  13161. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->vote_type(), output);
  13162. }
  13163. // optional string disp_str = 3;
  13164. if (has_disp_str()) {
  13165. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13166. this->disp_str().data(), this->disp_str().length(),
  13167. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13168. ::google::protobuf::internal::WireFormatLite::WriteString(
  13169. 3, this->disp_str(), output);
  13170. }
  13171. // optional string details_str = 4;
  13172. if (has_details_str()) {
  13173. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13174. this->details_str().data(), this->details_str().length(),
  13175. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13176. ::google::protobuf::internal::WireFormatLite::WriteString(
  13177. 4, this->details_str(), output);
  13178. }
  13179. if (!unknown_fields().empty()) {
  13180. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13181. unknown_fields(), output);
  13182. }
  13183. }
  13184. ::google::protobuf::uint8* CCSUsrMsg_VotePass::SerializeWithCachedSizesToArray(
  13185. ::google::protobuf::uint8* target) const {
  13186. // optional int32 team = 1;
  13187. if (has_team()) {
  13188. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->team(), target);
  13189. }
  13190. // optional int32 vote_type = 2;
  13191. if (has_vote_type()) {
  13192. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->vote_type(), target);
  13193. }
  13194. // optional string disp_str = 3;
  13195. if (has_disp_str()) {
  13196. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13197. this->disp_str().data(), this->disp_str().length(),
  13198. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13199. target =
  13200. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13201. 3, this->disp_str(), target);
  13202. }
  13203. // optional string details_str = 4;
  13204. if (has_details_str()) {
  13205. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13206. this->details_str().data(), this->details_str().length(),
  13207. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13208. target =
  13209. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13210. 4, this->details_str(), target);
  13211. }
  13212. if (!unknown_fields().empty()) {
  13213. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13214. unknown_fields(), target);
  13215. }
  13216. return target;
  13217. }
  13218. int CCSUsrMsg_VotePass::ByteSize() const {
  13219. int total_size = 0;
  13220. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13221. // optional int32 team = 1;
  13222. if (has_team()) {
  13223. total_size += 1 +
  13224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13225. this->team());
  13226. }
  13227. // optional int32 vote_type = 2;
  13228. if (has_vote_type()) {
  13229. total_size += 1 +
  13230. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13231. this->vote_type());
  13232. }
  13233. // optional string disp_str = 3;
  13234. if (has_disp_str()) {
  13235. total_size += 1 +
  13236. ::google::protobuf::internal::WireFormatLite::StringSize(
  13237. this->disp_str());
  13238. }
  13239. // optional string details_str = 4;
  13240. if (has_details_str()) {
  13241. total_size += 1 +
  13242. ::google::protobuf::internal::WireFormatLite::StringSize(
  13243. this->details_str());
  13244. }
  13245. }
  13246. if (!unknown_fields().empty()) {
  13247. total_size +=
  13248. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13249. unknown_fields());
  13250. }
  13251. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13252. _cached_size_ = total_size;
  13253. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13254. return total_size;
  13255. }
  13256. void CCSUsrMsg_VotePass::MergeFrom(const ::google::protobuf::Message& from) {
  13257. GOOGLE_CHECK_NE(&from, this);
  13258. const CCSUsrMsg_VotePass* source =
  13259. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VotePass*>(
  13260. &from);
  13261. if (source == NULL) {
  13262. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13263. } else {
  13264. MergeFrom(*source);
  13265. }
  13266. }
  13267. void CCSUsrMsg_VotePass::MergeFrom(const CCSUsrMsg_VotePass& from) {
  13268. GOOGLE_CHECK_NE(&from, this);
  13269. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13270. if (from.has_team()) {
  13271. set_team(from.team());
  13272. }
  13273. if (from.has_vote_type()) {
  13274. set_vote_type(from.vote_type());
  13275. }
  13276. if (from.has_disp_str()) {
  13277. set_disp_str(from.disp_str());
  13278. }
  13279. if (from.has_details_str()) {
  13280. set_details_str(from.details_str());
  13281. }
  13282. }
  13283. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13284. }
  13285. void CCSUsrMsg_VotePass::CopyFrom(const ::google::protobuf::Message& from) {
  13286. if (&from == this) return;
  13287. Clear();
  13288. MergeFrom(from);
  13289. }
  13290. void CCSUsrMsg_VotePass::CopyFrom(const CCSUsrMsg_VotePass& from) {
  13291. if (&from == this) return;
  13292. Clear();
  13293. MergeFrom(from);
  13294. }
  13295. bool CCSUsrMsg_VotePass::IsInitialized() const {
  13296. return true;
  13297. }
  13298. void CCSUsrMsg_VotePass::Swap(CCSUsrMsg_VotePass* other) {
  13299. if (other != this) {
  13300. std::swap(team_, other->team_);
  13301. std::swap(vote_type_, other->vote_type_);
  13302. std::swap(disp_str_, other->disp_str_);
  13303. std::swap(details_str_, other->details_str_);
  13304. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13305. _unknown_fields_.Swap(&other->_unknown_fields_);
  13306. std::swap(_cached_size_, other->_cached_size_);
  13307. }
  13308. }
  13309. ::google::protobuf::Metadata CCSUsrMsg_VotePass::GetMetadata() const {
  13310. protobuf_AssignDescriptorsOnce();
  13311. ::google::protobuf::Metadata metadata;
  13312. metadata.descriptor = CCSUsrMsg_VotePass_descriptor_;
  13313. metadata.reflection = CCSUsrMsg_VotePass_reflection_;
  13314. return metadata;
  13315. }
  13316. // ===================================================================
  13317. #ifndef _MSC_VER
  13318. const int CCSUsrMsg_VoteFailed::kTeamFieldNumber;
  13319. const int CCSUsrMsg_VoteFailed::kReasonFieldNumber;
  13320. #endif // !_MSC_VER
  13321. CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed()
  13322. : ::google::protobuf::Message() {
  13323. SharedCtor();
  13324. }
  13325. void CCSUsrMsg_VoteFailed::InitAsDefaultInstance() {
  13326. }
  13327. CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed(const CCSUsrMsg_VoteFailed& from)
  13328. : ::google::protobuf::Message() {
  13329. SharedCtor();
  13330. MergeFrom(from);
  13331. }
  13332. void CCSUsrMsg_VoteFailed::SharedCtor() {
  13333. _cached_size_ = 0;
  13334. team_ = 0;
  13335. reason_ = 0;
  13336. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13337. }
  13338. CCSUsrMsg_VoteFailed::~CCSUsrMsg_VoteFailed() {
  13339. SharedDtor();
  13340. }
  13341. void CCSUsrMsg_VoteFailed::SharedDtor() {
  13342. if (this != default_instance_) {
  13343. }
  13344. }
  13345. void CCSUsrMsg_VoteFailed::SetCachedSize(int size) const {
  13346. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13347. _cached_size_ = size;
  13348. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13349. }
  13350. const ::google::protobuf::Descriptor* CCSUsrMsg_VoteFailed::descriptor() {
  13351. protobuf_AssignDescriptorsOnce();
  13352. return CCSUsrMsg_VoteFailed_descriptor_;
  13353. }
  13354. const CCSUsrMsg_VoteFailed& CCSUsrMsg_VoteFailed::default_instance() {
  13355. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  13356. return *default_instance_;
  13357. }
  13358. CCSUsrMsg_VoteFailed* CCSUsrMsg_VoteFailed::default_instance_ = NULL;
  13359. CCSUsrMsg_VoteFailed* CCSUsrMsg_VoteFailed::New() const {
  13360. return new CCSUsrMsg_VoteFailed;
  13361. }
  13362. void CCSUsrMsg_VoteFailed::Clear() {
  13363. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13364. team_ = 0;
  13365. reason_ = 0;
  13366. }
  13367. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13368. mutable_unknown_fields()->Clear();
  13369. }
  13370. bool CCSUsrMsg_VoteFailed::MergePartialFromCodedStream(
  13371. ::google::protobuf::io::CodedInputStream* input) {
  13372. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13373. ::google::protobuf::uint32 tag;
  13374. while ((tag = input->ReadTag()) != 0) {
  13375. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13376. // optional int32 team = 1;
  13377. case 1: {
  13378. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13379. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13380. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13381. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13382. input, &team_)));
  13383. set_has_team();
  13384. } else {
  13385. goto handle_uninterpreted;
  13386. }
  13387. if (input->ExpectTag(16)) goto parse_reason;
  13388. break;
  13389. }
  13390. // optional int32 reason = 2;
  13391. case 2: {
  13392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13394. parse_reason:
  13395. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13396. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13397. input, &reason_)));
  13398. set_has_reason();
  13399. } else {
  13400. goto handle_uninterpreted;
  13401. }
  13402. if (input->ExpectAtEnd()) return true;
  13403. break;
  13404. }
  13405. default: {
  13406. handle_uninterpreted:
  13407. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13408. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13409. return true;
  13410. }
  13411. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13412. input, tag, mutable_unknown_fields()));
  13413. break;
  13414. }
  13415. }
  13416. }
  13417. return true;
  13418. #undef DO_
  13419. }
  13420. void CCSUsrMsg_VoteFailed::SerializeWithCachedSizes(
  13421. ::google::protobuf::io::CodedOutputStream* output) const {
  13422. // optional int32 team = 1;
  13423. if (has_team()) {
  13424. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->team(), output);
  13425. }
  13426. // optional int32 reason = 2;
  13427. if (has_reason()) {
  13428. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->reason(), output);
  13429. }
  13430. if (!unknown_fields().empty()) {
  13431. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13432. unknown_fields(), output);
  13433. }
  13434. }
  13435. ::google::protobuf::uint8* CCSUsrMsg_VoteFailed::SerializeWithCachedSizesToArray(
  13436. ::google::protobuf::uint8* target) const {
  13437. // optional int32 team = 1;
  13438. if (has_team()) {
  13439. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->team(), target);
  13440. }
  13441. // optional int32 reason = 2;
  13442. if (has_reason()) {
  13443. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->reason(), target);
  13444. }
  13445. if (!unknown_fields().empty()) {
  13446. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13447. unknown_fields(), target);
  13448. }
  13449. return target;
  13450. }
  13451. int CCSUsrMsg_VoteFailed::ByteSize() const {
  13452. int total_size = 0;
  13453. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13454. // optional int32 team = 1;
  13455. if (has_team()) {
  13456. total_size += 1 +
  13457. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13458. this->team());
  13459. }
  13460. // optional int32 reason = 2;
  13461. if (has_reason()) {
  13462. total_size += 1 +
  13463. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13464. this->reason());
  13465. }
  13466. }
  13467. if (!unknown_fields().empty()) {
  13468. total_size +=
  13469. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13470. unknown_fields());
  13471. }
  13472. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13473. _cached_size_ = total_size;
  13474. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13475. return total_size;
  13476. }
  13477. void CCSUsrMsg_VoteFailed::MergeFrom(const ::google::protobuf::Message& from) {
  13478. GOOGLE_CHECK_NE(&from, this);
  13479. const CCSUsrMsg_VoteFailed* source =
  13480. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VoteFailed*>(
  13481. &from);
  13482. if (source == NULL) {
  13483. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13484. } else {
  13485. MergeFrom(*source);
  13486. }
  13487. }
  13488. void CCSUsrMsg_VoteFailed::MergeFrom(const CCSUsrMsg_VoteFailed& from) {
  13489. GOOGLE_CHECK_NE(&from, this);
  13490. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13491. if (from.has_team()) {
  13492. set_team(from.team());
  13493. }
  13494. if (from.has_reason()) {
  13495. set_reason(from.reason());
  13496. }
  13497. }
  13498. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13499. }
  13500. void CCSUsrMsg_VoteFailed::CopyFrom(const ::google::protobuf::Message& from) {
  13501. if (&from == this) return;
  13502. Clear();
  13503. MergeFrom(from);
  13504. }
  13505. void CCSUsrMsg_VoteFailed::CopyFrom(const CCSUsrMsg_VoteFailed& from) {
  13506. if (&from == this) return;
  13507. Clear();
  13508. MergeFrom(from);
  13509. }
  13510. bool CCSUsrMsg_VoteFailed::IsInitialized() const {
  13511. return true;
  13512. }
  13513. void CCSUsrMsg_VoteFailed::Swap(CCSUsrMsg_VoteFailed* other) {
  13514. if (other != this) {
  13515. std::swap(team_, other->team_);
  13516. std::swap(reason_, other->reason_);
  13517. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13518. _unknown_fields_.Swap(&other->_unknown_fields_);
  13519. std::swap(_cached_size_, other->_cached_size_);
  13520. }
  13521. }
  13522. ::google::protobuf::Metadata CCSUsrMsg_VoteFailed::GetMetadata() const {
  13523. protobuf_AssignDescriptorsOnce();
  13524. ::google::protobuf::Metadata metadata;
  13525. metadata.descriptor = CCSUsrMsg_VoteFailed_descriptor_;
  13526. metadata.reflection = CCSUsrMsg_VoteFailed_reflection_;
  13527. return metadata;
  13528. }
  13529. // ===================================================================
  13530. #ifndef _MSC_VER
  13531. const int CCSUsrMsg_VoteSetup::kPotentialIssuesFieldNumber;
  13532. #endif // !_MSC_VER
  13533. CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup()
  13534. : ::google::protobuf::Message() {
  13535. SharedCtor();
  13536. }
  13537. void CCSUsrMsg_VoteSetup::InitAsDefaultInstance() {
  13538. }
  13539. CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup(const CCSUsrMsg_VoteSetup& from)
  13540. : ::google::protobuf::Message() {
  13541. SharedCtor();
  13542. MergeFrom(from);
  13543. }
  13544. void CCSUsrMsg_VoteSetup::SharedCtor() {
  13545. _cached_size_ = 0;
  13546. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13547. }
  13548. CCSUsrMsg_VoteSetup::~CCSUsrMsg_VoteSetup() {
  13549. SharedDtor();
  13550. }
  13551. void CCSUsrMsg_VoteSetup::SharedDtor() {
  13552. if (this != default_instance_) {
  13553. }
  13554. }
  13555. void CCSUsrMsg_VoteSetup::SetCachedSize(int size) const {
  13556. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13557. _cached_size_ = size;
  13558. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13559. }
  13560. const ::google::protobuf::Descriptor* CCSUsrMsg_VoteSetup::descriptor() {
  13561. protobuf_AssignDescriptorsOnce();
  13562. return CCSUsrMsg_VoteSetup_descriptor_;
  13563. }
  13564. const CCSUsrMsg_VoteSetup& CCSUsrMsg_VoteSetup::default_instance() {
  13565. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  13566. return *default_instance_;
  13567. }
  13568. CCSUsrMsg_VoteSetup* CCSUsrMsg_VoteSetup::default_instance_ = NULL;
  13569. CCSUsrMsg_VoteSetup* CCSUsrMsg_VoteSetup::New() const {
  13570. return new CCSUsrMsg_VoteSetup;
  13571. }
  13572. void CCSUsrMsg_VoteSetup::Clear() {
  13573. potential_issues_.Clear();
  13574. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13575. mutable_unknown_fields()->Clear();
  13576. }
  13577. bool CCSUsrMsg_VoteSetup::MergePartialFromCodedStream(
  13578. ::google::protobuf::io::CodedInputStream* input) {
  13579. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13580. ::google::protobuf::uint32 tag;
  13581. while ((tag = input->ReadTag()) != 0) {
  13582. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13583. // repeated string potential_issues = 1;
  13584. case 1: {
  13585. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13586. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13587. parse_potential_issues:
  13588. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13589. input, this->add_potential_issues()));
  13590. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13591. this->potential_issues(this->potential_issues_size() - 1).data(),
  13592. this->potential_issues(this->potential_issues_size() - 1).length(),
  13593. ::google::protobuf::internal::WireFormat::PARSE);
  13594. } else {
  13595. goto handle_uninterpreted;
  13596. }
  13597. if (input->ExpectTag(10)) goto parse_potential_issues;
  13598. if (input->ExpectAtEnd()) return true;
  13599. break;
  13600. }
  13601. default: {
  13602. handle_uninterpreted:
  13603. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13604. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13605. return true;
  13606. }
  13607. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13608. input, tag, mutable_unknown_fields()));
  13609. break;
  13610. }
  13611. }
  13612. }
  13613. return true;
  13614. #undef DO_
  13615. }
  13616. void CCSUsrMsg_VoteSetup::SerializeWithCachedSizes(
  13617. ::google::protobuf::io::CodedOutputStream* output) const {
  13618. // repeated string potential_issues = 1;
  13619. for (int i = 0; i < this->potential_issues_size(); i++) {
  13620. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13621. this->potential_issues(i).data(), this->potential_issues(i).length(),
  13622. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13623. ::google::protobuf::internal::WireFormatLite::WriteString(
  13624. 1, this->potential_issues(i), output);
  13625. }
  13626. if (!unknown_fields().empty()) {
  13627. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13628. unknown_fields(), output);
  13629. }
  13630. }
  13631. ::google::protobuf::uint8* CCSUsrMsg_VoteSetup::SerializeWithCachedSizesToArray(
  13632. ::google::protobuf::uint8* target) const {
  13633. // repeated string potential_issues = 1;
  13634. for (int i = 0; i < this->potential_issues_size(); i++) {
  13635. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13636. this->potential_issues(i).data(), this->potential_issues(i).length(),
  13637. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13638. target = ::google::protobuf::internal::WireFormatLite::
  13639. WriteStringToArray(1, this->potential_issues(i), target);
  13640. }
  13641. if (!unknown_fields().empty()) {
  13642. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13643. unknown_fields(), target);
  13644. }
  13645. return target;
  13646. }
  13647. int CCSUsrMsg_VoteSetup::ByteSize() const {
  13648. int total_size = 0;
  13649. // repeated string potential_issues = 1;
  13650. total_size += 1 * this->potential_issues_size();
  13651. for (int i = 0; i < this->potential_issues_size(); i++) {
  13652. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  13653. this->potential_issues(i));
  13654. }
  13655. if (!unknown_fields().empty()) {
  13656. total_size +=
  13657. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13658. unknown_fields());
  13659. }
  13660. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13661. _cached_size_ = total_size;
  13662. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13663. return total_size;
  13664. }
  13665. void CCSUsrMsg_VoteSetup::MergeFrom(const ::google::protobuf::Message& from) {
  13666. GOOGLE_CHECK_NE(&from, this);
  13667. const CCSUsrMsg_VoteSetup* source =
  13668. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_VoteSetup*>(
  13669. &from);
  13670. if (source == NULL) {
  13671. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13672. } else {
  13673. MergeFrom(*source);
  13674. }
  13675. }
  13676. void CCSUsrMsg_VoteSetup::MergeFrom(const CCSUsrMsg_VoteSetup& from) {
  13677. GOOGLE_CHECK_NE(&from, this);
  13678. potential_issues_.MergeFrom(from.potential_issues_);
  13679. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13680. }
  13681. void CCSUsrMsg_VoteSetup::CopyFrom(const ::google::protobuf::Message& from) {
  13682. if (&from == this) return;
  13683. Clear();
  13684. MergeFrom(from);
  13685. }
  13686. void CCSUsrMsg_VoteSetup::CopyFrom(const CCSUsrMsg_VoteSetup& from) {
  13687. if (&from == this) return;
  13688. Clear();
  13689. MergeFrom(from);
  13690. }
  13691. bool CCSUsrMsg_VoteSetup::IsInitialized() const {
  13692. return true;
  13693. }
  13694. void CCSUsrMsg_VoteSetup::Swap(CCSUsrMsg_VoteSetup* other) {
  13695. if (other != this) {
  13696. potential_issues_.Swap(&other->potential_issues_);
  13697. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13698. _unknown_fields_.Swap(&other->_unknown_fields_);
  13699. std::swap(_cached_size_, other->_cached_size_);
  13700. }
  13701. }
  13702. ::google::protobuf::Metadata CCSUsrMsg_VoteSetup::GetMetadata() const {
  13703. protobuf_AssignDescriptorsOnce();
  13704. ::google::protobuf::Metadata metadata;
  13705. metadata.descriptor = CCSUsrMsg_VoteSetup_descriptor_;
  13706. metadata.reflection = CCSUsrMsg_VoteSetup_reflection_;
  13707. return metadata;
  13708. }
  13709. // ===================================================================
  13710. #ifndef _MSC_VER
  13711. const int CCSUsrMsg_SendLastKillerDamageToClient::kNumHitsGivenFieldNumber;
  13712. const int CCSUsrMsg_SendLastKillerDamageToClient::kDamageGivenFieldNumber;
  13713. const int CCSUsrMsg_SendLastKillerDamageToClient::kNumHitsTakenFieldNumber;
  13714. const int CCSUsrMsg_SendLastKillerDamageToClient::kDamageTakenFieldNumber;
  13715. #endif // !_MSC_VER
  13716. CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient()
  13717. : ::google::protobuf::Message() {
  13718. SharedCtor();
  13719. }
  13720. void CCSUsrMsg_SendLastKillerDamageToClient::InitAsDefaultInstance() {
  13721. }
  13722. CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient(const CCSUsrMsg_SendLastKillerDamageToClient& from)
  13723. : ::google::protobuf::Message() {
  13724. SharedCtor();
  13725. MergeFrom(from);
  13726. }
  13727. void CCSUsrMsg_SendLastKillerDamageToClient::SharedCtor() {
  13728. _cached_size_ = 0;
  13729. num_hits_given_ = 0;
  13730. damage_given_ = 0;
  13731. num_hits_taken_ = 0;
  13732. damage_taken_ = 0;
  13733. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13734. }
  13735. CCSUsrMsg_SendLastKillerDamageToClient::~CCSUsrMsg_SendLastKillerDamageToClient() {
  13736. SharedDtor();
  13737. }
  13738. void CCSUsrMsg_SendLastKillerDamageToClient::SharedDtor() {
  13739. if (this != default_instance_) {
  13740. }
  13741. }
  13742. void CCSUsrMsg_SendLastKillerDamageToClient::SetCachedSize(int size) const {
  13743. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13744. _cached_size_ = size;
  13745. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13746. }
  13747. const ::google::protobuf::Descriptor* CCSUsrMsg_SendLastKillerDamageToClient::descriptor() {
  13748. protobuf_AssignDescriptorsOnce();
  13749. return CCSUsrMsg_SendLastKillerDamageToClient_descriptor_;
  13750. }
  13751. const CCSUsrMsg_SendLastKillerDamageToClient& CCSUsrMsg_SendLastKillerDamageToClient::default_instance() {
  13752. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  13753. return *default_instance_;
  13754. }
  13755. CCSUsrMsg_SendLastKillerDamageToClient* CCSUsrMsg_SendLastKillerDamageToClient::default_instance_ = NULL;
  13756. CCSUsrMsg_SendLastKillerDamageToClient* CCSUsrMsg_SendLastKillerDamageToClient::New() const {
  13757. return new CCSUsrMsg_SendLastKillerDamageToClient;
  13758. }
  13759. void CCSUsrMsg_SendLastKillerDamageToClient::Clear() {
  13760. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13761. num_hits_given_ = 0;
  13762. damage_given_ = 0;
  13763. num_hits_taken_ = 0;
  13764. damage_taken_ = 0;
  13765. }
  13766. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13767. mutable_unknown_fields()->Clear();
  13768. }
  13769. bool CCSUsrMsg_SendLastKillerDamageToClient::MergePartialFromCodedStream(
  13770. ::google::protobuf::io::CodedInputStream* input) {
  13771. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13772. ::google::protobuf::uint32 tag;
  13773. while ((tag = input->ReadTag()) != 0) {
  13774. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13775. // optional int32 num_hits_given = 1;
  13776. case 1: {
  13777. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13778. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13779. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13780. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13781. input, &num_hits_given_)));
  13782. set_has_num_hits_given();
  13783. } else {
  13784. goto handle_uninterpreted;
  13785. }
  13786. if (input->ExpectTag(16)) goto parse_damage_given;
  13787. break;
  13788. }
  13789. // optional int32 damage_given = 2;
  13790. case 2: {
  13791. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13792. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13793. parse_damage_given:
  13794. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13795. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13796. input, &damage_given_)));
  13797. set_has_damage_given();
  13798. } else {
  13799. goto handle_uninterpreted;
  13800. }
  13801. if (input->ExpectTag(24)) goto parse_num_hits_taken;
  13802. break;
  13803. }
  13804. // optional int32 num_hits_taken = 3;
  13805. case 3: {
  13806. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13807. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13808. parse_num_hits_taken:
  13809. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13810. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13811. input, &num_hits_taken_)));
  13812. set_has_num_hits_taken();
  13813. } else {
  13814. goto handle_uninterpreted;
  13815. }
  13816. if (input->ExpectTag(32)) goto parse_damage_taken;
  13817. break;
  13818. }
  13819. // optional int32 damage_taken = 4;
  13820. case 4: {
  13821. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13822. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13823. parse_damage_taken:
  13824. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13825. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13826. input, &damage_taken_)));
  13827. set_has_damage_taken();
  13828. } else {
  13829. goto handle_uninterpreted;
  13830. }
  13831. if (input->ExpectAtEnd()) return true;
  13832. break;
  13833. }
  13834. default: {
  13835. handle_uninterpreted:
  13836. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13837. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13838. return true;
  13839. }
  13840. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13841. input, tag, mutable_unknown_fields()));
  13842. break;
  13843. }
  13844. }
  13845. }
  13846. return true;
  13847. #undef DO_
  13848. }
  13849. void CCSUsrMsg_SendLastKillerDamageToClient::SerializeWithCachedSizes(
  13850. ::google::protobuf::io::CodedOutputStream* output) const {
  13851. // optional int32 num_hits_given = 1;
  13852. if (has_num_hits_given()) {
  13853. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->num_hits_given(), output);
  13854. }
  13855. // optional int32 damage_given = 2;
  13856. if (has_damage_given()) {
  13857. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->damage_given(), output);
  13858. }
  13859. // optional int32 num_hits_taken = 3;
  13860. if (has_num_hits_taken()) {
  13861. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->num_hits_taken(), output);
  13862. }
  13863. // optional int32 damage_taken = 4;
  13864. if (has_damage_taken()) {
  13865. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->damage_taken(), output);
  13866. }
  13867. if (!unknown_fields().empty()) {
  13868. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13869. unknown_fields(), output);
  13870. }
  13871. }
  13872. ::google::protobuf::uint8* CCSUsrMsg_SendLastKillerDamageToClient::SerializeWithCachedSizesToArray(
  13873. ::google::protobuf::uint8* target) const {
  13874. // optional int32 num_hits_given = 1;
  13875. if (has_num_hits_given()) {
  13876. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->num_hits_given(), target);
  13877. }
  13878. // optional int32 damage_given = 2;
  13879. if (has_damage_given()) {
  13880. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->damage_given(), target);
  13881. }
  13882. // optional int32 num_hits_taken = 3;
  13883. if (has_num_hits_taken()) {
  13884. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->num_hits_taken(), target);
  13885. }
  13886. // optional int32 damage_taken = 4;
  13887. if (has_damage_taken()) {
  13888. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->damage_taken(), target);
  13889. }
  13890. if (!unknown_fields().empty()) {
  13891. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13892. unknown_fields(), target);
  13893. }
  13894. return target;
  13895. }
  13896. int CCSUsrMsg_SendLastKillerDamageToClient::ByteSize() const {
  13897. int total_size = 0;
  13898. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13899. // optional int32 num_hits_given = 1;
  13900. if (has_num_hits_given()) {
  13901. total_size += 1 +
  13902. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13903. this->num_hits_given());
  13904. }
  13905. // optional int32 damage_given = 2;
  13906. if (has_damage_given()) {
  13907. total_size += 1 +
  13908. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13909. this->damage_given());
  13910. }
  13911. // optional int32 num_hits_taken = 3;
  13912. if (has_num_hits_taken()) {
  13913. total_size += 1 +
  13914. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13915. this->num_hits_taken());
  13916. }
  13917. // optional int32 damage_taken = 4;
  13918. if (has_damage_taken()) {
  13919. total_size += 1 +
  13920. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13921. this->damage_taken());
  13922. }
  13923. }
  13924. if (!unknown_fields().empty()) {
  13925. total_size +=
  13926. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13927. unknown_fields());
  13928. }
  13929. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13930. _cached_size_ = total_size;
  13931. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13932. return total_size;
  13933. }
  13934. void CCSUsrMsg_SendLastKillerDamageToClient::MergeFrom(const ::google::protobuf::Message& from) {
  13935. GOOGLE_CHECK_NE(&from, this);
  13936. const CCSUsrMsg_SendLastKillerDamageToClient* source =
  13937. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_SendLastKillerDamageToClient*>(
  13938. &from);
  13939. if (source == NULL) {
  13940. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13941. } else {
  13942. MergeFrom(*source);
  13943. }
  13944. }
  13945. void CCSUsrMsg_SendLastKillerDamageToClient::MergeFrom(const CCSUsrMsg_SendLastKillerDamageToClient& from) {
  13946. GOOGLE_CHECK_NE(&from, this);
  13947. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13948. if (from.has_num_hits_given()) {
  13949. set_num_hits_given(from.num_hits_given());
  13950. }
  13951. if (from.has_damage_given()) {
  13952. set_damage_given(from.damage_given());
  13953. }
  13954. if (from.has_num_hits_taken()) {
  13955. set_num_hits_taken(from.num_hits_taken());
  13956. }
  13957. if (from.has_damage_taken()) {
  13958. set_damage_taken(from.damage_taken());
  13959. }
  13960. }
  13961. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13962. }
  13963. void CCSUsrMsg_SendLastKillerDamageToClient::CopyFrom(const ::google::protobuf::Message& from) {
  13964. if (&from == this) return;
  13965. Clear();
  13966. MergeFrom(from);
  13967. }
  13968. void CCSUsrMsg_SendLastKillerDamageToClient::CopyFrom(const CCSUsrMsg_SendLastKillerDamageToClient& from) {
  13969. if (&from == this) return;
  13970. Clear();
  13971. MergeFrom(from);
  13972. }
  13973. bool CCSUsrMsg_SendLastKillerDamageToClient::IsInitialized() const {
  13974. return true;
  13975. }
  13976. void CCSUsrMsg_SendLastKillerDamageToClient::Swap(CCSUsrMsg_SendLastKillerDamageToClient* other) {
  13977. if (other != this) {
  13978. std::swap(num_hits_given_, other->num_hits_given_);
  13979. std::swap(damage_given_, other->damage_given_);
  13980. std::swap(num_hits_taken_, other->num_hits_taken_);
  13981. std::swap(damage_taken_, other->damage_taken_);
  13982. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13983. _unknown_fields_.Swap(&other->_unknown_fields_);
  13984. std::swap(_cached_size_, other->_cached_size_);
  13985. }
  13986. }
  13987. ::google::protobuf::Metadata CCSUsrMsg_SendLastKillerDamageToClient::GetMetadata() const {
  13988. protobuf_AssignDescriptorsOnce();
  13989. ::google::protobuf::Metadata metadata;
  13990. metadata.descriptor = CCSUsrMsg_SendLastKillerDamageToClient_descriptor_;
  13991. metadata.reflection = CCSUsrMsg_SendLastKillerDamageToClient_reflection_;
  13992. return metadata;
  13993. }
  13994. // ===================================================================
  13995. #ifndef _MSC_VER
  13996. const int CCSUsrMsg_ServerRankUpdate_RankUpdate::kAccountIdFieldNumber;
  13997. const int CCSUsrMsg_ServerRankUpdate_RankUpdate::kRankOldFieldNumber;
  13998. const int CCSUsrMsg_ServerRankUpdate_RankUpdate::kRankNewFieldNumber;
  13999. const int CCSUsrMsg_ServerRankUpdate_RankUpdate::kNumWinsFieldNumber;
  14000. const int CCSUsrMsg_ServerRankUpdate_RankUpdate::kRankChangeFieldNumber;
  14001. #endif // !_MSC_VER
  14002. CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate()
  14003. : ::google::protobuf::Message() {
  14004. SharedCtor();
  14005. }
  14006. void CCSUsrMsg_ServerRankUpdate_RankUpdate::InitAsDefaultInstance() {
  14007. }
  14008. CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from)
  14009. : ::google::protobuf::Message() {
  14010. SharedCtor();
  14011. MergeFrom(from);
  14012. }
  14013. void CCSUsrMsg_ServerRankUpdate_RankUpdate::SharedCtor() {
  14014. _cached_size_ = 0;
  14015. account_id_ = 0;
  14016. rank_old_ = 0;
  14017. rank_new_ = 0;
  14018. num_wins_ = 0;
  14019. rank_change_ = 0;
  14020. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14021. }
  14022. CCSUsrMsg_ServerRankUpdate_RankUpdate::~CCSUsrMsg_ServerRankUpdate_RankUpdate() {
  14023. SharedDtor();
  14024. }
  14025. void CCSUsrMsg_ServerRankUpdate_RankUpdate::SharedDtor() {
  14026. if (this != default_instance_) {
  14027. }
  14028. }
  14029. void CCSUsrMsg_ServerRankUpdate_RankUpdate::SetCachedSize(int size) const {
  14030. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14031. _cached_size_ = size;
  14032. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14033. }
  14034. const ::google::protobuf::Descriptor* CCSUsrMsg_ServerRankUpdate_RankUpdate::descriptor() {
  14035. protobuf_AssignDescriptorsOnce();
  14036. return CCSUsrMsg_ServerRankUpdate_RankUpdate_descriptor_;
  14037. }
  14038. const CCSUsrMsg_ServerRankUpdate_RankUpdate& CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance() {
  14039. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  14040. return *default_instance_;
  14041. }
  14042. CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate_RankUpdate::default_instance_ = NULL;
  14043. CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate_RankUpdate::New() const {
  14044. return new CCSUsrMsg_ServerRankUpdate_RankUpdate;
  14045. }
  14046. void CCSUsrMsg_ServerRankUpdate_RankUpdate::Clear() {
  14047. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14048. account_id_ = 0;
  14049. rank_old_ = 0;
  14050. rank_new_ = 0;
  14051. num_wins_ = 0;
  14052. rank_change_ = 0;
  14053. }
  14054. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14055. mutable_unknown_fields()->Clear();
  14056. }
  14057. bool CCSUsrMsg_ServerRankUpdate_RankUpdate::MergePartialFromCodedStream(
  14058. ::google::protobuf::io::CodedInputStream* input) {
  14059. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14060. ::google::protobuf::uint32 tag;
  14061. while ((tag = input->ReadTag()) != 0) {
  14062. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14063. // optional int32 account_id = 1;
  14064. case 1: {
  14065. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14066. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14067. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14068. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14069. input, &account_id_)));
  14070. set_has_account_id();
  14071. } else {
  14072. goto handle_uninterpreted;
  14073. }
  14074. if (input->ExpectTag(16)) goto parse_rank_old;
  14075. break;
  14076. }
  14077. // optional int32 rank_old = 2;
  14078. case 2: {
  14079. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14080. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14081. parse_rank_old:
  14082. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14083. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14084. input, &rank_old_)));
  14085. set_has_rank_old();
  14086. } else {
  14087. goto handle_uninterpreted;
  14088. }
  14089. if (input->ExpectTag(24)) goto parse_rank_new;
  14090. break;
  14091. }
  14092. // optional int32 rank_new = 3;
  14093. case 3: {
  14094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14096. parse_rank_new:
  14097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14098. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14099. input, &rank_new_)));
  14100. set_has_rank_new();
  14101. } else {
  14102. goto handle_uninterpreted;
  14103. }
  14104. if (input->ExpectTag(32)) goto parse_num_wins;
  14105. break;
  14106. }
  14107. // optional int32 num_wins = 4;
  14108. case 4: {
  14109. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14110. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14111. parse_num_wins:
  14112. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14113. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14114. input, &num_wins_)));
  14115. set_has_num_wins();
  14116. } else {
  14117. goto handle_uninterpreted;
  14118. }
  14119. if (input->ExpectTag(45)) goto parse_rank_change;
  14120. break;
  14121. }
  14122. // optional float rank_change = 5;
  14123. case 5: {
  14124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  14126. parse_rank_change:
  14127. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14128. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  14129. input, &rank_change_)));
  14130. set_has_rank_change();
  14131. } else {
  14132. goto handle_uninterpreted;
  14133. }
  14134. if (input->ExpectAtEnd()) return true;
  14135. break;
  14136. }
  14137. default: {
  14138. handle_uninterpreted:
  14139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14141. return true;
  14142. }
  14143. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14144. input, tag, mutable_unknown_fields()));
  14145. break;
  14146. }
  14147. }
  14148. }
  14149. return true;
  14150. #undef DO_
  14151. }
  14152. void CCSUsrMsg_ServerRankUpdate_RankUpdate::SerializeWithCachedSizes(
  14153. ::google::protobuf::io::CodedOutputStream* output) const {
  14154. // optional int32 account_id = 1;
  14155. if (has_account_id()) {
  14156. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->account_id(), output);
  14157. }
  14158. // optional int32 rank_old = 2;
  14159. if (has_rank_old()) {
  14160. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rank_old(), output);
  14161. }
  14162. // optional int32 rank_new = 3;
  14163. if (has_rank_new()) {
  14164. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rank_new(), output);
  14165. }
  14166. // optional int32 num_wins = 4;
  14167. if (has_num_wins()) {
  14168. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->num_wins(), output);
  14169. }
  14170. // optional float rank_change = 5;
  14171. if (has_rank_change()) {
  14172. ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->rank_change(), output);
  14173. }
  14174. if (!unknown_fields().empty()) {
  14175. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14176. unknown_fields(), output);
  14177. }
  14178. }
  14179. ::google::protobuf::uint8* CCSUsrMsg_ServerRankUpdate_RankUpdate::SerializeWithCachedSizesToArray(
  14180. ::google::protobuf::uint8* target) const {
  14181. // optional int32 account_id = 1;
  14182. if (has_account_id()) {
  14183. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->account_id(), target);
  14184. }
  14185. // optional int32 rank_old = 2;
  14186. if (has_rank_old()) {
  14187. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rank_old(), target);
  14188. }
  14189. // optional int32 rank_new = 3;
  14190. if (has_rank_new()) {
  14191. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rank_new(), target);
  14192. }
  14193. // optional int32 num_wins = 4;
  14194. if (has_num_wins()) {
  14195. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->num_wins(), target);
  14196. }
  14197. // optional float rank_change = 5;
  14198. if (has_rank_change()) {
  14199. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->rank_change(), target);
  14200. }
  14201. if (!unknown_fields().empty()) {
  14202. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14203. unknown_fields(), target);
  14204. }
  14205. return target;
  14206. }
  14207. int CCSUsrMsg_ServerRankUpdate_RankUpdate::ByteSize() const {
  14208. int total_size = 0;
  14209. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14210. // optional int32 account_id = 1;
  14211. if (has_account_id()) {
  14212. total_size += 1 +
  14213. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14214. this->account_id());
  14215. }
  14216. // optional int32 rank_old = 2;
  14217. if (has_rank_old()) {
  14218. total_size += 1 +
  14219. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14220. this->rank_old());
  14221. }
  14222. // optional int32 rank_new = 3;
  14223. if (has_rank_new()) {
  14224. total_size += 1 +
  14225. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14226. this->rank_new());
  14227. }
  14228. // optional int32 num_wins = 4;
  14229. if (has_num_wins()) {
  14230. total_size += 1 +
  14231. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14232. this->num_wins());
  14233. }
  14234. // optional float rank_change = 5;
  14235. if (has_rank_change()) {
  14236. total_size += 1 + 4;
  14237. }
  14238. }
  14239. if (!unknown_fields().empty()) {
  14240. total_size +=
  14241. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14242. unknown_fields());
  14243. }
  14244. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14245. _cached_size_ = total_size;
  14246. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14247. return total_size;
  14248. }
  14249. void CCSUsrMsg_ServerRankUpdate_RankUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  14250. GOOGLE_CHECK_NE(&from, this);
  14251. const CCSUsrMsg_ServerRankUpdate_RankUpdate* source =
  14252. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ServerRankUpdate_RankUpdate*>(
  14253. &from);
  14254. if (source == NULL) {
  14255. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14256. } else {
  14257. MergeFrom(*source);
  14258. }
  14259. }
  14260. void CCSUsrMsg_ServerRankUpdate_RankUpdate::MergeFrom(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) {
  14261. GOOGLE_CHECK_NE(&from, this);
  14262. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14263. if (from.has_account_id()) {
  14264. set_account_id(from.account_id());
  14265. }
  14266. if (from.has_rank_old()) {
  14267. set_rank_old(from.rank_old());
  14268. }
  14269. if (from.has_rank_new()) {
  14270. set_rank_new(from.rank_new());
  14271. }
  14272. if (from.has_num_wins()) {
  14273. set_num_wins(from.num_wins());
  14274. }
  14275. if (from.has_rank_change()) {
  14276. set_rank_change(from.rank_change());
  14277. }
  14278. }
  14279. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14280. }
  14281. void CCSUsrMsg_ServerRankUpdate_RankUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  14282. if (&from == this) return;
  14283. Clear();
  14284. MergeFrom(from);
  14285. }
  14286. void CCSUsrMsg_ServerRankUpdate_RankUpdate::CopyFrom(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) {
  14287. if (&from == this) return;
  14288. Clear();
  14289. MergeFrom(from);
  14290. }
  14291. bool CCSUsrMsg_ServerRankUpdate_RankUpdate::IsInitialized() const {
  14292. return true;
  14293. }
  14294. void CCSUsrMsg_ServerRankUpdate_RankUpdate::Swap(CCSUsrMsg_ServerRankUpdate_RankUpdate* other) {
  14295. if (other != this) {
  14296. std::swap(account_id_, other->account_id_);
  14297. std::swap(rank_old_, other->rank_old_);
  14298. std::swap(rank_new_, other->rank_new_);
  14299. std::swap(num_wins_, other->num_wins_);
  14300. std::swap(rank_change_, other->rank_change_);
  14301. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14302. _unknown_fields_.Swap(&other->_unknown_fields_);
  14303. std::swap(_cached_size_, other->_cached_size_);
  14304. }
  14305. }
  14306. ::google::protobuf::Metadata CCSUsrMsg_ServerRankUpdate_RankUpdate::GetMetadata() const {
  14307. protobuf_AssignDescriptorsOnce();
  14308. ::google::protobuf::Metadata metadata;
  14309. metadata.descriptor = CCSUsrMsg_ServerRankUpdate_RankUpdate_descriptor_;
  14310. metadata.reflection = CCSUsrMsg_ServerRankUpdate_RankUpdate_reflection_;
  14311. return metadata;
  14312. }
  14313. // -------------------------------------------------------------------
  14314. #ifndef _MSC_VER
  14315. const int CCSUsrMsg_ServerRankUpdate::kRankUpdateFieldNumber;
  14316. #endif // !_MSC_VER
  14317. CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate()
  14318. : ::google::protobuf::Message() {
  14319. SharedCtor();
  14320. }
  14321. void CCSUsrMsg_ServerRankUpdate::InitAsDefaultInstance() {
  14322. }
  14323. CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate(const CCSUsrMsg_ServerRankUpdate& from)
  14324. : ::google::protobuf::Message() {
  14325. SharedCtor();
  14326. MergeFrom(from);
  14327. }
  14328. void CCSUsrMsg_ServerRankUpdate::SharedCtor() {
  14329. _cached_size_ = 0;
  14330. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14331. }
  14332. CCSUsrMsg_ServerRankUpdate::~CCSUsrMsg_ServerRankUpdate() {
  14333. SharedDtor();
  14334. }
  14335. void CCSUsrMsg_ServerRankUpdate::SharedDtor() {
  14336. if (this != default_instance_) {
  14337. }
  14338. }
  14339. void CCSUsrMsg_ServerRankUpdate::SetCachedSize(int size) const {
  14340. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14341. _cached_size_ = size;
  14342. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14343. }
  14344. const ::google::protobuf::Descriptor* CCSUsrMsg_ServerRankUpdate::descriptor() {
  14345. protobuf_AssignDescriptorsOnce();
  14346. return CCSUsrMsg_ServerRankUpdate_descriptor_;
  14347. }
  14348. const CCSUsrMsg_ServerRankUpdate& CCSUsrMsg_ServerRankUpdate::default_instance() {
  14349. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  14350. return *default_instance_;
  14351. }
  14352. CCSUsrMsg_ServerRankUpdate* CCSUsrMsg_ServerRankUpdate::default_instance_ = NULL;
  14353. CCSUsrMsg_ServerRankUpdate* CCSUsrMsg_ServerRankUpdate::New() const {
  14354. return new CCSUsrMsg_ServerRankUpdate;
  14355. }
  14356. void CCSUsrMsg_ServerRankUpdate::Clear() {
  14357. rank_update_.Clear();
  14358. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14359. mutable_unknown_fields()->Clear();
  14360. }
  14361. bool CCSUsrMsg_ServerRankUpdate::MergePartialFromCodedStream(
  14362. ::google::protobuf::io::CodedInputStream* input) {
  14363. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14364. ::google::protobuf::uint32 tag;
  14365. while ((tag = input->ReadTag()) != 0) {
  14366. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14367. // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1;
  14368. case 1: {
  14369. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14370. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14371. parse_rank_update:
  14372. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14373. input, add_rank_update()));
  14374. } else {
  14375. goto handle_uninterpreted;
  14376. }
  14377. if (input->ExpectTag(10)) goto parse_rank_update;
  14378. if (input->ExpectAtEnd()) return true;
  14379. break;
  14380. }
  14381. default: {
  14382. handle_uninterpreted:
  14383. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14384. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14385. return true;
  14386. }
  14387. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14388. input, tag, mutable_unknown_fields()));
  14389. break;
  14390. }
  14391. }
  14392. }
  14393. return true;
  14394. #undef DO_
  14395. }
  14396. void CCSUsrMsg_ServerRankUpdate::SerializeWithCachedSizes(
  14397. ::google::protobuf::io::CodedOutputStream* output) const {
  14398. // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1;
  14399. for (int i = 0; i < this->rank_update_size(); i++) {
  14400. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14401. 1, this->rank_update(i), output);
  14402. }
  14403. if (!unknown_fields().empty()) {
  14404. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14405. unknown_fields(), output);
  14406. }
  14407. }
  14408. ::google::protobuf::uint8* CCSUsrMsg_ServerRankUpdate::SerializeWithCachedSizesToArray(
  14409. ::google::protobuf::uint8* target) const {
  14410. // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1;
  14411. for (int i = 0; i < this->rank_update_size(); i++) {
  14412. target = ::google::protobuf::internal::WireFormatLite::
  14413. WriteMessageNoVirtualToArray(
  14414. 1, this->rank_update(i), target);
  14415. }
  14416. if (!unknown_fields().empty()) {
  14417. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14418. unknown_fields(), target);
  14419. }
  14420. return target;
  14421. }
  14422. int CCSUsrMsg_ServerRankUpdate::ByteSize() const {
  14423. int total_size = 0;
  14424. // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1;
  14425. total_size += 1 * this->rank_update_size();
  14426. for (int i = 0; i < this->rank_update_size(); i++) {
  14427. total_size +=
  14428. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14429. this->rank_update(i));
  14430. }
  14431. if (!unknown_fields().empty()) {
  14432. total_size +=
  14433. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14434. unknown_fields());
  14435. }
  14436. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14437. _cached_size_ = total_size;
  14438. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14439. return total_size;
  14440. }
  14441. void CCSUsrMsg_ServerRankUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  14442. GOOGLE_CHECK_NE(&from, this);
  14443. const CCSUsrMsg_ServerRankUpdate* source =
  14444. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ServerRankUpdate*>(
  14445. &from);
  14446. if (source == NULL) {
  14447. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14448. } else {
  14449. MergeFrom(*source);
  14450. }
  14451. }
  14452. void CCSUsrMsg_ServerRankUpdate::MergeFrom(const CCSUsrMsg_ServerRankUpdate& from) {
  14453. GOOGLE_CHECK_NE(&from, this);
  14454. rank_update_.MergeFrom(from.rank_update_);
  14455. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14456. }
  14457. void CCSUsrMsg_ServerRankUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  14458. if (&from == this) return;
  14459. Clear();
  14460. MergeFrom(from);
  14461. }
  14462. void CCSUsrMsg_ServerRankUpdate::CopyFrom(const CCSUsrMsg_ServerRankUpdate& from) {
  14463. if (&from == this) return;
  14464. Clear();
  14465. MergeFrom(from);
  14466. }
  14467. bool CCSUsrMsg_ServerRankUpdate::IsInitialized() const {
  14468. return true;
  14469. }
  14470. void CCSUsrMsg_ServerRankUpdate::Swap(CCSUsrMsg_ServerRankUpdate* other) {
  14471. if (other != this) {
  14472. rank_update_.Swap(&other->rank_update_);
  14473. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14474. _unknown_fields_.Swap(&other->_unknown_fields_);
  14475. std::swap(_cached_size_, other->_cached_size_);
  14476. }
  14477. }
  14478. ::google::protobuf::Metadata CCSUsrMsg_ServerRankUpdate::GetMetadata() const {
  14479. protobuf_AssignDescriptorsOnce();
  14480. ::google::protobuf::Metadata metadata;
  14481. metadata.descriptor = CCSUsrMsg_ServerRankUpdate_descriptor_;
  14482. metadata.reflection = CCSUsrMsg_ServerRankUpdate_reflection_;
  14483. return metadata;
  14484. }
  14485. // ===================================================================
  14486. #ifndef _MSC_VER
  14487. const int CCSUsrMsg_XpUpdate::kDataFieldNumber;
  14488. #endif // !_MSC_VER
  14489. CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate()
  14490. : ::google::protobuf::Message() {
  14491. SharedCtor();
  14492. }
  14493. void CCSUsrMsg_XpUpdate::InitAsDefaultInstance() {
  14494. data_ = const_cast< ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded*>(&::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::default_instance());
  14495. }
  14496. CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate(const CCSUsrMsg_XpUpdate& from)
  14497. : ::google::protobuf::Message() {
  14498. SharedCtor();
  14499. MergeFrom(from);
  14500. }
  14501. void CCSUsrMsg_XpUpdate::SharedCtor() {
  14502. _cached_size_ = 0;
  14503. data_ = NULL;
  14504. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14505. }
  14506. CCSUsrMsg_XpUpdate::~CCSUsrMsg_XpUpdate() {
  14507. SharedDtor();
  14508. }
  14509. void CCSUsrMsg_XpUpdate::SharedDtor() {
  14510. if (this != default_instance_) {
  14511. delete data_;
  14512. }
  14513. }
  14514. void CCSUsrMsg_XpUpdate::SetCachedSize(int size) const {
  14515. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14516. _cached_size_ = size;
  14517. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14518. }
  14519. const ::google::protobuf::Descriptor* CCSUsrMsg_XpUpdate::descriptor() {
  14520. protobuf_AssignDescriptorsOnce();
  14521. return CCSUsrMsg_XpUpdate_descriptor_;
  14522. }
  14523. const CCSUsrMsg_XpUpdate& CCSUsrMsg_XpUpdate::default_instance() {
  14524. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  14525. return *default_instance_;
  14526. }
  14527. CCSUsrMsg_XpUpdate* CCSUsrMsg_XpUpdate::default_instance_ = NULL;
  14528. CCSUsrMsg_XpUpdate* CCSUsrMsg_XpUpdate::New() const {
  14529. return new CCSUsrMsg_XpUpdate;
  14530. }
  14531. void CCSUsrMsg_XpUpdate::Clear() {
  14532. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14533. if (has_data()) {
  14534. if (data_ != NULL) data_->::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::Clear();
  14535. }
  14536. }
  14537. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14538. mutable_unknown_fields()->Clear();
  14539. }
  14540. bool CCSUsrMsg_XpUpdate::MergePartialFromCodedStream(
  14541. ::google::protobuf::io::CodedInputStream* input) {
  14542. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14543. ::google::protobuf::uint32 tag;
  14544. while ((tag = input->ReadTag()) != 0) {
  14545. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14546. // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
  14547. case 1: {
  14548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14550. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14551. input, mutable_data()));
  14552. } else {
  14553. goto handle_uninterpreted;
  14554. }
  14555. if (input->ExpectAtEnd()) return true;
  14556. break;
  14557. }
  14558. default: {
  14559. handle_uninterpreted:
  14560. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14561. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14562. return true;
  14563. }
  14564. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14565. input, tag, mutable_unknown_fields()));
  14566. break;
  14567. }
  14568. }
  14569. }
  14570. return true;
  14571. #undef DO_
  14572. }
  14573. void CCSUsrMsg_XpUpdate::SerializeWithCachedSizes(
  14574. ::google::protobuf::io::CodedOutputStream* output) const {
  14575. // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
  14576. if (has_data()) {
  14577. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14578. 1, this->data(), output);
  14579. }
  14580. if (!unknown_fields().empty()) {
  14581. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14582. unknown_fields(), output);
  14583. }
  14584. }
  14585. ::google::protobuf::uint8* CCSUsrMsg_XpUpdate::SerializeWithCachedSizesToArray(
  14586. ::google::protobuf::uint8* target) const {
  14587. // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
  14588. if (has_data()) {
  14589. target = ::google::protobuf::internal::WireFormatLite::
  14590. WriteMessageNoVirtualToArray(
  14591. 1, this->data(), target);
  14592. }
  14593. if (!unknown_fields().empty()) {
  14594. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14595. unknown_fields(), target);
  14596. }
  14597. return target;
  14598. }
  14599. int CCSUsrMsg_XpUpdate::ByteSize() const {
  14600. int total_size = 0;
  14601. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14602. // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
  14603. if (has_data()) {
  14604. total_size += 1 +
  14605. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14606. this->data());
  14607. }
  14608. }
  14609. if (!unknown_fields().empty()) {
  14610. total_size +=
  14611. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14612. unknown_fields());
  14613. }
  14614. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14615. _cached_size_ = total_size;
  14616. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14617. return total_size;
  14618. }
  14619. void CCSUsrMsg_XpUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  14620. GOOGLE_CHECK_NE(&from, this);
  14621. const CCSUsrMsg_XpUpdate* source =
  14622. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_XpUpdate*>(
  14623. &from);
  14624. if (source == NULL) {
  14625. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14626. } else {
  14627. MergeFrom(*source);
  14628. }
  14629. }
  14630. void CCSUsrMsg_XpUpdate::MergeFrom(const CCSUsrMsg_XpUpdate& from) {
  14631. GOOGLE_CHECK_NE(&from, this);
  14632. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14633. if (from.has_data()) {
  14634. mutable_data()->::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeFrom(from.data());
  14635. }
  14636. }
  14637. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14638. }
  14639. void CCSUsrMsg_XpUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  14640. if (&from == this) return;
  14641. Clear();
  14642. MergeFrom(from);
  14643. }
  14644. void CCSUsrMsg_XpUpdate::CopyFrom(const CCSUsrMsg_XpUpdate& from) {
  14645. if (&from == this) return;
  14646. Clear();
  14647. MergeFrom(from);
  14648. }
  14649. bool CCSUsrMsg_XpUpdate::IsInitialized() const {
  14650. return true;
  14651. }
  14652. void CCSUsrMsg_XpUpdate::Swap(CCSUsrMsg_XpUpdate* other) {
  14653. if (other != this) {
  14654. std::swap(data_, other->data_);
  14655. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14656. _unknown_fields_.Swap(&other->_unknown_fields_);
  14657. std::swap(_cached_size_, other->_cached_size_);
  14658. }
  14659. }
  14660. ::google::protobuf::Metadata CCSUsrMsg_XpUpdate::GetMetadata() const {
  14661. protobuf_AssignDescriptorsOnce();
  14662. ::google::protobuf::Metadata metadata;
  14663. metadata.descriptor = CCSUsrMsg_XpUpdate_descriptor_;
  14664. metadata.reflection = CCSUsrMsg_XpUpdate_reflection_;
  14665. return metadata;
  14666. }
  14667. // ===================================================================
  14668. #ifndef _MSC_VER
  14669. const int CCSUsrMsg_ItemPickup::kItemFieldNumber;
  14670. #endif // !_MSC_VER
  14671. CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup()
  14672. : ::google::protobuf::Message() {
  14673. SharedCtor();
  14674. }
  14675. void CCSUsrMsg_ItemPickup::InitAsDefaultInstance() {
  14676. }
  14677. CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup(const CCSUsrMsg_ItemPickup& from)
  14678. : ::google::protobuf::Message() {
  14679. SharedCtor();
  14680. MergeFrom(from);
  14681. }
  14682. void CCSUsrMsg_ItemPickup::SharedCtor() {
  14683. _cached_size_ = 0;
  14684. item_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14685. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14686. }
  14687. CCSUsrMsg_ItemPickup::~CCSUsrMsg_ItemPickup() {
  14688. SharedDtor();
  14689. }
  14690. void CCSUsrMsg_ItemPickup::SharedDtor() {
  14691. if (item_ != &::google::protobuf::internal::kEmptyString) {
  14692. delete item_;
  14693. }
  14694. if (this != default_instance_) {
  14695. }
  14696. }
  14697. void CCSUsrMsg_ItemPickup::SetCachedSize(int size) const {
  14698. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14699. _cached_size_ = size;
  14700. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14701. }
  14702. const ::google::protobuf::Descriptor* CCSUsrMsg_ItemPickup::descriptor() {
  14703. protobuf_AssignDescriptorsOnce();
  14704. return CCSUsrMsg_ItemPickup_descriptor_;
  14705. }
  14706. const CCSUsrMsg_ItemPickup& CCSUsrMsg_ItemPickup::default_instance() {
  14707. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  14708. return *default_instance_;
  14709. }
  14710. CCSUsrMsg_ItemPickup* CCSUsrMsg_ItemPickup::default_instance_ = NULL;
  14711. CCSUsrMsg_ItemPickup* CCSUsrMsg_ItemPickup::New() const {
  14712. return new CCSUsrMsg_ItemPickup;
  14713. }
  14714. void CCSUsrMsg_ItemPickup::Clear() {
  14715. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14716. if (has_item()) {
  14717. if (item_ != &::google::protobuf::internal::kEmptyString) {
  14718. item_->clear();
  14719. }
  14720. }
  14721. }
  14722. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14723. mutable_unknown_fields()->Clear();
  14724. }
  14725. bool CCSUsrMsg_ItemPickup::MergePartialFromCodedStream(
  14726. ::google::protobuf::io::CodedInputStream* input) {
  14727. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14728. ::google::protobuf::uint32 tag;
  14729. while ((tag = input->ReadTag()) != 0) {
  14730. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14731. // optional string item = 1;
  14732. case 1: {
  14733. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14734. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14735. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14736. input, this->mutable_item()));
  14737. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14738. this->item().data(), this->item().length(),
  14739. ::google::protobuf::internal::WireFormat::PARSE);
  14740. } else {
  14741. goto handle_uninterpreted;
  14742. }
  14743. if (input->ExpectAtEnd()) return true;
  14744. break;
  14745. }
  14746. default: {
  14747. handle_uninterpreted:
  14748. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14749. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14750. return true;
  14751. }
  14752. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14753. input, tag, mutable_unknown_fields()));
  14754. break;
  14755. }
  14756. }
  14757. }
  14758. return true;
  14759. #undef DO_
  14760. }
  14761. void CCSUsrMsg_ItemPickup::SerializeWithCachedSizes(
  14762. ::google::protobuf::io::CodedOutputStream* output) const {
  14763. // optional string item = 1;
  14764. if (has_item()) {
  14765. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14766. this->item().data(), this->item().length(),
  14767. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14768. ::google::protobuf::internal::WireFormatLite::WriteString(
  14769. 1, this->item(), output);
  14770. }
  14771. if (!unknown_fields().empty()) {
  14772. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14773. unknown_fields(), output);
  14774. }
  14775. }
  14776. ::google::protobuf::uint8* CCSUsrMsg_ItemPickup::SerializeWithCachedSizesToArray(
  14777. ::google::protobuf::uint8* target) const {
  14778. // optional string item = 1;
  14779. if (has_item()) {
  14780. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14781. this->item().data(), this->item().length(),
  14782. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14783. target =
  14784. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  14785. 1, this->item(), target);
  14786. }
  14787. if (!unknown_fields().empty()) {
  14788. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14789. unknown_fields(), target);
  14790. }
  14791. return target;
  14792. }
  14793. int CCSUsrMsg_ItemPickup::ByteSize() const {
  14794. int total_size = 0;
  14795. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14796. // optional string item = 1;
  14797. if (has_item()) {
  14798. total_size += 1 +
  14799. ::google::protobuf::internal::WireFormatLite::StringSize(
  14800. this->item());
  14801. }
  14802. }
  14803. if (!unknown_fields().empty()) {
  14804. total_size +=
  14805. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14806. unknown_fields());
  14807. }
  14808. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14809. _cached_size_ = total_size;
  14810. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14811. return total_size;
  14812. }
  14813. void CCSUsrMsg_ItemPickup::MergeFrom(const ::google::protobuf::Message& from) {
  14814. GOOGLE_CHECK_NE(&from, this);
  14815. const CCSUsrMsg_ItemPickup* source =
  14816. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ItemPickup*>(
  14817. &from);
  14818. if (source == NULL) {
  14819. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14820. } else {
  14821. MergeFrom(*source);
  14822. }
  14823. }
  14824. void CCSUsrMsg_ItemPickup::MergeFrom(const CCSUsrMsg_ItemPickup& from) {
  14825. GOOGLE_CHECK_NE(&from, this);
  14826. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14827. if (from.has_item()) {
  14828. set_item(from.item());
  14829. }
  14830. }
  14831. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14832. }
  14833. void CCSUsrMsg_ItemPickup::CopyFrom(const ::google::protobuf::Message& from) {
  14834. if (&from == this) return;
  14835. Clear();
  14836. MergeFrom(from);
  14837. }
  14838. void CCSUsrMsg_ItemPickup::CopyFrom(const CCSUsrMsg_ItemPickup& from) {
  14839. if (&from == this) return;
  14840. Clear();
  14841. MergeFrom(from);
  14842. }
  14843. bool CCSUsrMsg_ItemPickup::IsInitialized() const {
  14844. return true;
  14845. }
  14846. void CCSUsrMsg_ItemPickup::Swap(CCSUsrMsg_ItemPickup* other) {
  14847. if (other != this) {
  14848. std::swap(item_, other->item_);
  14849. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14850. _unknown_fields_.Swap(&other->_unknown_fields_);
  14851. std::swap(_cached_size_, other->_cached_size_);
  14852. }
  14853. }
  14854. ::google::protobuf::Metadata CCSUsrMsg_ItemPickup::GetMetadata() const {
  14855. protobuf_AssignDescriptorsOnce();
  14856. ::google::protobuf::Metadata metadata;
  14857. metadata.descriptor = CCSUsrMsg_ItemPickup_descriptor_;
  14858. metadata.reflection = CCSUsrMsg_ItemPickup_reflection_;
  14859. return metadata;
  14860. }
  14861. // ===================================================================
  14862. #ifndef _MSC_VER
  14863. const int CCSUsrMsg_ShowMenu::kBitsValidSlotsFieldNumber;
  14864. const int CCSUsrMsg_ShowMenu::kDisplayTimeFieldNumber;
  14865. const int CCSUsrMsg_ShowMenu::kMenuStringFieldNumber;
  14866. #endif // !_MSC_VER
  14867. CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu()
  14868. : ::google::protobuf::Message() {
  14869. SharedCtor();
  14870. }
  14871. void CCSUsrMsg_ShowMenu::InitAsDefaultInstance() {
  14872. }
  14873. CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu(const CCSUsrMsg_ShowMenu& from)
  14874. : ::google::protobuf::Message() {
  14875. SharedCtor();
  14876. MergeFrom(from);
  14877. }
  14878. void CCSUsrMsg_ShowMenu::SharedCtor() {
  14879. _cached_size_ = 0;
  14880. bits_valid_slots_ = 0;
  14881. display_time_ = 0;
  14882. menu_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14883. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14884. }
  14885. CCSUsrMsg_ShowMenu::~CCSUsrMsg_ShowMenu() {
  14886. SharedDtor();
  14887. }
  14888. void CCSUsrMsg_ShowMenu::SharedDtor() {
  14889. if (menu_string_ != &::google::protobuf::internal::kEmptyString) {
  14890. delete menu_string_;
  14891. }
  14892. if (this != default_instance_) {
  14893. }
  14894. }
  14895. void CCSUsrMsg_ShowMenu::SetCachedSize(int size) const {
  14896. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14897. _cached_size_ = size;
  14898. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14899. }
  14900. const ::google::protobuf::Descriptor* CCSUsrMsg_ShowMenu::descriptor() {
  14901. protobuf_AssignDescriptorsOnce();
  14902. return CCSUsrMsg_ShowMenu_descriptor_;
  14903. }
  14904. const CCSUsrMsg_ShowMenu& CCSUsrMsg_ShowMenu::default_instance() {
  14905. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  14906. return *default_instance_;
  14907. }
  14908. CCSUsrMsg_ShowMenu* CCSUsrMsg_ShowMenu::default_instance_ = NULL;
  14909. CCSUsrMsg_ShowMenu* CCSUsrMsg_ShowMenu::New() const {
  14910. return new CCSUsrMsg_ShowMenu;
  14911. }
  14912. void CCSUsrMsg_ShowMenu::Clear() {
  14913. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14914. bits_valid_slots_ = 0;
  14915. display_time_ = 0;
  14916. if (has_menu_string()) {
  14917. if (menu_string_ != &::google::protobuf::internal::kEmptyString) {
  14918. menu_string_->clear();
  14919. }
  14920. }
  14921. }
  14922. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14923. mutable_unknown_fields()->Clear();
  14924. }
  14925. bool CCSUsrMsg_ShowMenu::MergePartialFromCodedStream(
  14926. ::google::protobuf::io::CodedInputStream* input) {
  14927. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14928. ::google::protobuf::uint32 tag;
  14929. while ((tag = input->ReadTag()) != 0) {
  14930. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14931. // optional int32 bits_valid_slots = 1;
  14932. case 1: {
  14933. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14934. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14935. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14936. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14937. input, &bits_valid_slots_)));
  14938. set_has_bits_valid_slots();
  14939. } else {
  14940. goto handle_uninterpreted;
  14941. }
  14942. if (input->ExpectTag(16)) goto parse_display_time;
  14943. break;
  14944. }
  14945. // optional int32 display_time = 2;
  14946. case 2: {
  14947. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14948. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14949. parse_display_time:
  14950. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14951. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14952. input, &display_time_)));
  14953. set_has_display_time();
  14954. } else {
  14955. goto handle_uninterpreted;
  14956. }
  14957. if (input->ExpectTag(26)) goto parse_menu_string;
  14958. break;
  14959. }
  14960. // optional string menu_string = 3;
  14961. case 3: {
  14962. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14963. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14964. parse_menu_string:
  14965. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14966. input, this->mutable_menu_string()));
  14967. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14968. this->menu_string().data(), this->menu_string().length(),
  14969. ::google::protobuf::internal::WireFormat::PARSE);
  14970. } else {
  14971. goto handle_uninterpreted;
  14972. }
  14973. if (input->ExpectAtEnd()) return true;
  14974. break;
  14975. }
  14976. default: {
  14977. handle_uninterpreted:
  14978. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14979. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14980. return true;
  14981. }
  14982. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14983. input, tag, mutable_unknown_fields()));
  14984. break;
  14985. }
  14986. }
  14987. }
  14988. return true;
  14989. #undef DO_
  14990. }
  14991. void CCSUsrMsg_ShowMenu::SerializeWithCachedSizes(
  14992. ::google::protobuf::io::CodedOutputStream* output) const {
  14993. // optional int32 bits_valid_slots = 1;
  14994. if (has_bits_valid_slots()) {
  14995. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->bits_valid_slots(), output);
  14996. }
  14997. // optional int32 display_time = 2;
  14998. if (has_display_time()) {
  14999. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->display_time(), output);
  15000. }
  15001. // optional string menu_string = 3;
  15002. if (has_menu_string()) {
  15003. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15004. this->menu_string().data(), this->menu_string().length(),
  15005. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15006. ::google::protobuf::internal::WireFormatLite::WriteString(
  15007. 3, this->menu_string(), output);
  15008. }
  15009. if (!unknown_fields().empty()) {
  15010. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15011. unknown_fields(), output);
  15012. }
  15013. }
  15014. ::google::protobuf::uint8* CCSUsrMsg_ShowMenu::SerializeWithCachedSizesToArray(
  15015. ::google::protobuf::uint8* target) const {
  15016. // optional int32 bits_valid_slots = 1;
  15017. if (has_bits_valid_slots()) {
  15018. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->bits_valid_slots(), target);
  15019. }
  15020. // optional int32 display_time = 2;
  15021. if (has_display_time()) {
  15022. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->display_time(), target);
  15023. }
  15024. // optional string menu_string = 3;
  15025. if (has_menu_string()) {
  15026. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15027. this->menu_string().data(), this->menu_string().length(),
  15028. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15029. target =
  15030. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15031. 3, this->menu_string(), target);
  15032. }
  15033. if (!unknown_fields().empty()) {
  15034. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15035. unknown_fields(), target);
  15036. }
  15037. return target;
  15038. }
  15039. int CCSUsrMsg_ShowMenu::ByteSize() const {
  15040. int total_size = 0;
  15041. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15042. // optional int32 bits_valid_slots = 1;
  15043. if (has_bits_valid_slots()) {
  15044. total_size += 1 +
  15045. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15046. this->bits_valid_slots());
  15047. }
  15048. // optional int32 display_time = 2;
  15049. if (has_display_time()) {
  15050. total_size += 1 +
  15051. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15052. this->display_time());
  15053. }
  15054. // optional string menu_string = 3;
  15055. if (has_menu_string()) {
  15056. total_size += 1 +
  15057. ::google::protobuf::internal::WireFormatLite::StringSize(
  15058. this->menu_string());
  15059. }
  15060. }
  15061. if (!unknown_fields().empty()) {
  15062. total_size +=
  15063. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15064. unknown_fields());
  15065. }
  15066. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15067. _cached_size_ = total_size;
  15068. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15069. return total_size;
  15070. }
  15071. void CCSUsrMsg_ShowMenu::MergeFrom(const ::google::protobuf::Message& from) {
  15072. GOOGLE_CHECK_NE(&from, this);
  15073. const CCSUsrMsg_ShowMenu* source =
  15074. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ShowMenu*>(
  15075. &from);
  15076. if (source == NULL) {
  15077. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15078. } else {
  15079. MergeFrom(*source);
  15080. }
  15081. }
  15082. void CCSUsrMsg_ShowMenu::MergeFrom(const CCSUsrMsg_ShowMenu& from) {
  15083. GOOGLE_CHECK_NE(&from, this);
  15084. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15085. if (from.has_bits_valid_slots()) {
  15086. set_bits_valid_slots(from.bits_valid_slots());
  15087. }
  15088. if (from.has_display_time()) {
  15089. set_display_time(from.display_time());
  15090. }
  15091. if (from.has_menu_string()) {
  15092. set_menu_string(from.menu_string());
  15093. }
  15094. }
  15095. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15096. }
  15097. void CCSUsrMsg_ShowMenu::CopyFrom(const ::google::protobuf::Message& from) {
  15098. if (&from == this) return;
  15099. Clear();
  15100. MergeFrom(from);
  15101. }
  15102. void CCSUsrMsg_ShowMenu::CopyFrom(const CCSUsrMsg_ShowMenu& from) {
  15103. if (&from == this) return;
  15104. Clear();
  15105. MergeFrom(from);
  15106. }
  15107. bool CCSUsrMsg_ShowMenu::IsInitialized() const {
  15108. return true;
  15109. }
  15110. void CCSUsrMsg_ShowMenu::Swap(CCSUsrMsg_ShowMenu* other) {
  15111. if (other != this) {
  15112. std::swap(bits_valid_slots_, other->bits_valid_slots_);
  15113. std::swap(display_time_, other->display_time_);
  15114. std::swap(menu_string_, other->menu_string_);
  15115. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15116. _unknown_fields_.Swap(&other->_unknown_fields_);
  15117. std::swap(_cached_size_, other->_cached_size_);
  15118. }
  15119. }
  15120. ::google::protobuf::Metadata CCSUsrMsg_ShowMenu::GetMetadata() const {
  15121. protobuf_AssignDescriptorsOnce();
  15122. ::google::protobuf::Metadata metadata;
  15123. metadata.descriptor = CCSUsrMsg_ShowMenu_descriptor_;
  15124. metadata.reflection = CCSUsrMsg_ShowMenu_reflection_;
  15125. return metadata;
  15126. }
  15127. // ===================================================================
  15128. #ifndef _MSC_VER
  15129. const int CCSUsrMsg_BarTime::kTimeFieldNumber;
  15130. #endif // !_MSC_VER
  15131. CCSUsrMsg_BarTime::CCSUsrMsg_BarTime()
  15132. : ::google::protobuf::Message() {
  15133. SharedCtor();
  15134. }
  15135. void CCSUsrMsg_BarTime::InitAsDefaultInstance() {
  15136. }
  15137. CCSUsrMsg_BarTime::CCSUsrMsg_BarTime(const CCSUsrMsg_BarTime& from)
  15138. : ::google::protobuf::Message() {
  15139. SharedCtor();
  15140. MergeFrom(from);
  15141. }
  15142. void CCSUsrMsg_BarTime::SharedCtor() {
  15143. _cached_size_ = 0;
  15144. time_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15145. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15146. }
  15147. CCSUsrMsg_BarTime::~CCSUsrMsg_BarTime() {
  15148. SharedDtor();
  15149. }
  15150. void CCSUsrMsg_BarTime::SharedDtor() {
  15151. if (time_ != &::google::protobuf::internal::kEmptyString) {
  15152. delete time_;
  15153. }
  15154. if (this != default_instance_) {
  15155. }
  15156. }
  15157. void CCSUsrMsg_BarTime::SetCachedSize(int size) const {
  15158. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15159. _cached_size_ = size;
  15160. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15161. }
  15162. const ::google::protobuf::Descriptor* CCSUsrMsg_BarTime::descriptor() {
  15163. protobuf_AssignDescriptorsOnce();
  15164. return CCSUsrMsg_BarTime_descriptor_;
  15165. }
  15166. const CCSUsrMsg_BarTime& CCSUsrMsg_BarTime::default_instance() {
  15167. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  15168. return *default_instance_;
  15169. }
  15170. CCSUsrMsg_BarTime* CCSUsrMsg_BarTime::default_instance_ = NULL;
  15171. CCSUsrMsg_BarTime* CCSUsrMsg_BarTime::New() const {
  15172. return new CCSUsrMsg_BarTime;
  15173. }
  15174. void CCSUsrMsg_BarTime::Clear() {
  15175. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15176. if (has_time()) {
  15177. if (time_ != &::google::protobuf::internal::kEmptyString) {
  15178. time_->clear();
  15179. }
  15180. }
  15181. }
  15182. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15183. mutable_unknown_fields()->Clear();
  15184. }
  15185. bool CCSUsrMsg_BarTime::MergePartialFromCodedStream(
  15186. ::google::protobuf::io::CodedInputStream* input) {
  15187. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15188. ::google::protobuf::uint32 tag;
  15189. while ((tag = input->ReadTag()) != 0) {
  15190. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15191. // optional string time = 1;
  15192. case 1: {
  15193. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15194. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15195. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15196. input, this->mutable_time()));
  15197. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15198. this->time().data(), this->time().length(),
  15199. ::google::protobuf::internal::WireFormat::PARSE);
  15200. } else {
  15201. goto handle_uninterpreted;
  15202. }
  15203. if (input->ExpectAtEnd()) return true;
  15204. break;
  15205. }
  15206. default: {
  15207. handle_uninterpreted:
  15208. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15209. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15210. return true;
  15211. }
  15212. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15213. input, tag, mutable_unknown_fields()));
  15214. break;
  15215. }
  15216. }
  15217. }
  15218. return true;
  15219. #undef DO_
  15220. }
  15221. void CCSUsrMsg_BarTime::SerializeWithCachedSizes(
  15222. ::google::protobuf::io::CodedOutputStream* output) const {
  15223. // optional string time = 1;
  15224. if (has_time()) {
  15225. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15226. this->time().data(), this->time().length(),
  15227. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15228. ::google::protobuf::internal::WireFormatLite::WriteString(
  15229. 1, this->time(), output);
  15230. }
  15231. if (!unknown_fields().empty()) {
  15232. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15233. unknown_fields(), output);
  15234. }
  15235. }
  15236. ::google::protobuf::uint8* CCSUsrMsg_BarTime::SerializeWithCachedSizesToArray(
  15237. ::google::protobuf::uint8* target) const {
  15238. // optional string time = 1;
  15239. if (has_time()) {
  15240. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15241. this->time().data(), this->time().length(),
  15242. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15243. target =
  15244. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15245. 1, this->time(), target);
  15246. }
  15247. if (!unknown_fields().empty()) {
  15248. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15249. unknown_fields(), target);
  15250. }
  15251. return target;
  15252. }
  15253. int CCSUsrMsg_BarTime::ByteSize() const {
  15254. int total_size = 0;
  15255. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15256. // optional string time = 1;
  15257. if (has_time()) {
  15258. total_size += 1 +
  15259. ::google::protobuf::internal::WireFormatLite::StringSize(
  15260. this->time());
  15261. }
  15262. }
  15263. if (!unknown_fields().empty()) {
  15264. total_size +=
  15265. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15266. unknown_fields());
  15267. }
  15268. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15269. _cached_size_ = total_size;
  15270. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15271. return total_size;
  15272. }
  15273. void CCSUsrMsg_BarTime::MergeFrom(const ::google::protobuf::Message& from) {
  15274. GOOGLE_CHECK_NE(&from, this);
  15275. const CCSUsrMsg_BarTime* source =
  15276. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_BarTime*>(
  15277. &from);
  15278. if (source == NULL) {
  15279. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15280. } else {
  15281. MergeFrom(*source);
  15282. }
  15283. }
  15284. void CCSUsrMsg_BarTime::MergeFrom(const CCSUsrMsg_BarTime& from) {
  15285. GOOGLE_CHECK_NE(&from, this);
  15286. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15287. if (from.has_time()) {
  15288. set_time(from.time());
  15289. }
  15290. }
  15291. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15292. }
  15293. void CCSUsrMsg_BarTime::CopyFrom(const ::google::protobuf::Message& from) {
  15294. if (&from == this) return;
  15295. Clear();
  15296. MergeFrom(from);
  15297. }
  15298. void CCSUsrMsg_BarTime::CopyFrom(const CCSUsrMsg_BarTime& from) {
  15299. if (&from == this) return;
  15300. Clear();
  15301. MergeFrom(from);
  15302. }
  15303. bool CCSUsrMsg_BarTime::IsInitialized() const {
  15304. return true;
  15305. }
  15306. void CCSUsrMsg_BarTime::Swap(CCSUsrMsg_BarTime* other) {
  15307. if (other != this) {
  15308. std::swap(time_, other->time_);
  15309. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15310. _unknown_fields_.Swap(&other->_unknown_fields_);
  15311. std::swap(_cached_size_, other->_cached_size_);
  15312. }
  15313. }
  15314. ::google::protobuf::Metadata CCSUsrMsg_BarTime::GetMetadata() const {
  15315. protobuf_AssignDescriptorsOnce();
  15316. ::google::protobuf::Metadata metadata;
  15317. metadata.descriptor = CCSUsrMsg_BarTime_descriptor_;
  15318. metadata.reflection = CCSUsrMsg_BarTime_reflection_;
  15319. return metadata;
  15320. }
  15321. // ===================================================================
  15322. #ifndef _MSC_VER
  15323. const int CCSUsrMsg_AmmoDenied::kAmmoIdxFieldNumber;
  15324. #endif // !_MSC_VER
  15325. CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied()
  15326. : ::google::protobuf::Message() {
  15327. SharedCtor();
  15328. }
  15329. void CCSUsrMsg_AmmoDenied::InitAsDefaultInstance() {
  15330. }
  15331. CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied(const CCSUsrMsg_AmmoDenied& from)
  15332. : ::google::protobuf::Message() {
  15333. SharedCtor();
  15334. MergeFrom(from);
  15335. }
  15336. void CCSUsrMsg_AmmoDenied::SharedCtor() {
  15337. _cached_size_ = 0;
  15338. ammoidx_ = 0;
  15339. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15340. }
  15341. CCSUsrMsg_AmmoDenied::~CCSUsrMsg_AmmoDenied() {
  15342. SharedDtor();
  15343. }
  15344. void CCSUsrMsg_AmmoDenied::SharedDtor() {
  15345. if (this != default_instance_) {
  15346. }
  15347. }
  15348. void CCSUsrMsg_AmmoDenied::SetCachedSize(int size) const {
  15349. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15350. _cached_size_ = size;
  15351. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15352. }
  15353. const ::google::protobuf::Descriptor* CCSUsrMsg_AmmoDenied::descriptor() {
  15354. protobuf_AssignDescriptorsOnce();
  15355. return CCSUsrMsg_AmmoDenied_descriptor_;
  15356. }
  15357. const CCSUsrMsg_AmmoDenied& CCSUsrMsg_AmmoDenied::default_instance() {
  15358. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  15359. return *default_instance_;
  15360. }
  15361. CCSUsrMsg_AmmoDenied* CCSUsrMsg_AmmoDenied::default_instance_ = NULL;
  15362. CCSUsrMsg_AmmoDenied* CCSUsrMsg_AmmoDenied::New() const {
  15363. return new CCSUsrMsg_AmmoDenied;
  15364. }
  15365. void CCSUsrMsg_AmmoDenied::Clear() {
  15366. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15367. ammoidx_ = 0;
  15368. }
  15369. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15370. mutable_unknown_fields()->Clear();
  15371. }
  15372. bool CCSUsrMsg_AmmoDenied::MergePartialFromCodedStream(
  15373. ::google::protobuf::io::CodedInputStream* input) {
  15374. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15375. ::google::protobuf::uint32 tag;
  15376. while ((tag = input->ReadTag()) != 0) {
  15377. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15378. // optional int32 ammoIdx = 1;
  15379. case 1: {
  15380. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15381. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15382. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15383. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15384. input, &ammoidx_)));
  15385. set_has_ammoidx();
  15386. } else {
  15387. goto handle_uninterpreted;
  15388. }
  15389. if (input->ExpectAtEnd()) return true;
  15390. break;
  15391. }
  15392. default: {
  15393. handle_uninterpreted:
  15394. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15395. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15396. return true;
  15397. }
  15398. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15399. input, tag, mutable_unknown_fields()));
  15400. break;
  15401. }
  15402. }
  15403. }
  15404. return true;
  15405. #undef DO_
  15406. }
  15407. void CCSUsrMsg_AmmoDenied::SerializeWithCachedSizes(
  15408. ::google::protobuf::io::CodedOutputStream* output) const {
  15409. // optional int32 ammoIdx = 1;
  15410. if (has_ammoidx()) {
  15411. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ammoidx(), output);
  15412. }
  15413. if (!unknown_fields().empty()) {
  15414. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15415. unknown_fields(), output);
  15416. }
  15417. }
  15418. ::google::protobuf::uint8* CCSUsrMsg_AmmoDenied::SerializeWithCachedSizesToArray(
  15419. ::google::protobuf::uint8* target) const {
  15420. // optional int32 ammoIdx = 1;
  15421. if (has_ammoidx()) {
  15422. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ammoidx(), target);
  15423. }
  15424. if (!unknown_fields().empty()) {
  15425. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15426. unknown_fields(), target);
  15427. }
  15428. return target;
  15429. }
  15430. int CCSUsrMsg_AmmoDenied::ByteSize() const {
  15431. int total_size = 0;
  15432. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15433. // optional int32 ammoIdx = 1;
  15434. if (has_ammoidx()) {
  15435. total_size += 1 +
  15436. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15437. this->ammoidx());
  15438. }
  15439. }
  15440. if (!unknown_fields().empty()) {
  15441. total_size +=
  15442. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15443. unknown_fields());
  15444. }
  15445. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15446. _cached_size_ = total_size;
  15447. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15448. return total_size;
  15449. }
  15450. void CCSUsrMsg_AmmoDenied::MergeFrom(const ::google::protobuf::Message& from) {
  15451. GOOGLE_CHECK_NE(&from, this);
  15452. const CCSUsrMsg_AmmoDenied* source =
  15453. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_AmmoDenied*>(
  15454. &from);
  15455. if (source == NULL) {
  15456. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15457. } else {
  15458. MergeFrom(*source);
  15459. }
  15460. }
  15461. void CCSUsrMsg_AmmoDenied::MergeFrom(const CCSUsrMsg_AmmoDenied& from) {
  15462. GOOGLE_CHECK_NE(&from, this);
  15463. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15464. if (from.has_ammoidx()) {
  15465. set_ammoidx(from.ammoidx());
  15466. }
  15467. }
  15468. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15469. }
  15470. void CCSUsrMsg_AmmoDenied::CopyFrom(const ::google::protobuf::Message& from) {
  15471. if (&from == this) return;
  15472. Clear();
  15473. MergeFrom(from);
  15474. }
  15475. void CCSUsrMsg_AmmoDenied::CopyFrom(const CCSUsrMsg_AmmoDenied& from) {
  15476. if (&from == this) return;
  15477. Clear();
  15478. MergeFrom(from);
  15479. }
  15480. bool CCSUsrMsg_AmmoDenied::IsInitialized() const {
  15481. return true;
  15482. }
  15483. void CCSUsrMsg_AmmoDenied::Swap(CCSUsrMsg_AmmoDenied* other) {
  15484. if (other != this) {
  15485. std::swap(ammoidx_, other->ammoidx_);
  15486. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15487. _unknown_fields_.Swap(&other->_unknown_fields_);
  15488. std::swap(_cached_size_, other->_cached_size_);
  15489. }
  15490. }
  15491. ::google::protobuf::Metadata CCSUsrMsg_AmmoDenied::GetMetadata() const {
  15492. protobuf_AssignDescriptorsOnce();
  15493. ::google::protobuf::Metadata metadata;
  15494. metadata.descriptor = CCSUsrMsg_AmmoDenied_descriptor_;
  15495. metadata.reflection = CCSUsrMsg_AmmoDenied_reflection_;
  15496. return metadata;
  15497. }
  15498. // ===================================================================
  15499. #ifndef _MSC_VER
  15500. const int CCSUsrMsg_MarkAchievement::kAchievementFieldNumber;
  15501. #endif // !_MSC_VER
  15502. CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement()
  15503. : ::google::protobuf::Message() {
  15504. SharedCtor();
  15505. }
  15506. void CCSUsrMsg_MarkAchievement::InitAsDefaultInstance() {
  15507. }
  15508. CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement(const CCSUsrMsg_MarkAchievement& from)
  15509. : ::google::protobuf::Message() {
  15510. SharedCtor();
  15511. MergeFrom(from);
  15512. }
  15513. void CCSUsrMsg_MarkAchievement::SharedCtor() {
  15514. _cached_size_ = 0;
  15515. achievement_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15516. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15517. }
  15518. CCSUsrMsg_MarkAchievement::~CCSUsrMsg_MarkAchievement() {
  15519. SharedDtor();
  15520. }
  15521. void CCSUsrMsg_MarkAchievement::SharedDtor() {
  15522. if (achievement_ != &::google::protobuf::internal::kEmptyString) {
  15523. delete achievement_;
  15524. }
  15525. if (this != default_instance_) {
  15526. }
  15527. }
  15528. void CCSUsrMsg_MarkAchievement::SetCachedSize(int size) const {
  15529. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15530. _cached_size_ = size;
  15531. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15532. }
  15533. const ::google::protobuf::Descriptor* CCSUsrMsg_MarkAchievement::descriptor() {
  15534. protobuf_AssignDescriptorsOnce();
  15535. return CCSUsrMsg_MarkAchievement_descriptor_;
  15536. }
  15537. const CCSUsrMsg_MarkAchievement& CCSUsrMsg_MarkAchievement::default_instance() {
  15538. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  15539. return *default_instance_;
  15540. }
  15541. CCSUsrMsg_MarkAchievement* CCSUsrMsg_MarkAchievement::default_instance_ = NULL;
  15542. CCSUsrMsg_MarkAchievement* CCSUsrMsg_MarkAchievement::New() const {
  15543. return new CCSUsrMsg_MarkAchievement;
  15544. }
  15545. void CCSUsrMsg_MarkAchievement::Clear() {
  15546. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15547. if (has_achievement()) {
  15548. if (achievement_ != &::google::protobuf::internal::kEmptyString) {
  15549. achievement_->clear();
  15550. }
  15551. }
  15552. }
  15553. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15554. mutable_unknown_fields()->Clear();
  15555. }
  15556. bool CCSUsrMsg_MarkAchievement::MergePartialFromCodedStream(
  15557. ::google::protobuf::io::CodedInputStream* input) {
  15558. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15559. ::google::protobuf::uint32 tag;
  15560. while ((tag = input->ReadTag()) != 0) {
  15561. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15562. // optional string achievement = 1;
  15563. case 1: {
  15564. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15565. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15566. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15567. input, this->mutable_achievement()));
  15568. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15569. this->achievement().data(), this->achievement().length(),
  15570. ::google::protobuf::internal::WireFormat::PARSE);
  15571. } else {
  15572. goto handle_uninterpreted;
  15573. }
  15574. if (input->ExpectAtEnd()) return true;
  15575. break;
  15576. }
  15577. default: {
  15578. handle_uninterpreted:
  15579. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15580. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15581. return true;
  15582. }
  15583. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15584. input, tag, mutable_unknown_fields()));
  15585. break;
  15586. }
  15587. }
  15588. }
  15589. return true;
  15590. #undef DO_
  15591. }
  15592. void CCSUsrMsg_MarkAchievement::SerializeWithCachedSizes(
  15593. ::google::protobuf::io::CodedOutputStream* output) const {
  15594. // optional string achievement = 1;
  15595. if (has_achievement()) {
  15596. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15597. this->achievement().data(), this->achievement().length(),
  15598. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15599. ::google::protobuf::internal::WireFormatLite::WriteString(
  15600. 1, this->achievement(), output);
  15601. }
  15602. if (!unknown_fields().empty()) {
  15603. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15604. unknown_fields(), output);
  15605. }
  15606. }
  15607. ::google::protobuf::uint8* CCSUsrMsg_MarkAchievement::SerializeWithCachedSizesToArray(
  15608. ::google::protobuf::uint8* target) const {
  15609. // optional string achievement = 1;
  15610. if (has_achievement()) {
  15611. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15612. this->achievement().data(), this->achievement().length(),
  15613. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15614. target =
  15615. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15616. 1, this->achievement(), target);
  15617. }
  15618. if (!unknown_fields().empty()) {
  15619. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15620. unknown_fields(), target);
  15621. }
  15622. return target;
  15623. }
  15624. int CCSUsrMsg_MarkAchievement::ByteSize() const {
  15625. int total_size = 0;
  15626. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15627. // optional string achievement = 1;
  15628. if (has_achievement()) {
  15629. total_size += 1 +
  15630. ::google::protobuf::internal::WireFormatLite::StringSize(
  15631. this->achievement());
  15632. }
  15633. }
  15634. if (!unknown_fields().empty()) {
  15635. total_size +=
  15636. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15637. unknown_fields());
  15638. }
  15639. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15640. _cached_size_ = total_size;
  15641. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15642. return total_size;
  15643. }
  15644. void CCSUsrMsg_MarkAchievement::MergeFrom(const ::google::protobuf::Message& from) {
  15645. GOOGLE_CHECK_NE(&from, this);
  15646. const CCSUsrMsg_MarkAchievement* source =
  15647. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_MarkAchievement*>(
  15648. &from);
  15649. if (source == NULL) {
  15650. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15651. } else {
  15652. MergeFrom(*source);
  15653. }
  15654. }
  15655. void CCSUsrMsg_MarkAchievement::MergeFrom(const CCSUsrMsg_MarkAchievement& from) {
  15656. GOOGLE_CHECK_NE(&from, this);
  15657. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15658. if (from.has_achievement()) {
  15659. set_achievement(from.achievement());
  15660. }
  15661. }
  15662. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15663. }
  15664. void CCSUsrMsg_MarkAchievement::CopyFrom(const ::google::protobuf::Message& from) {
  15665. if (&from == this) return;
  15666. Clear();
  15667. MergeFrom(from);
  15668. }
  15669. void CCSUsrMsg_MarkAchievement::CopyFrom(const CCSUsrMsg_MarkAchievement& from) {
  15670. if (&from == this) return;
  15671. Clear();
  15672. MergeFrom(from);
  15673. }
  15674. bool CCSUsrMsg_MarkAchievement::IsInitialized() const {
  15675. return true;
  15676. }
  15677. void CCSUsrMsg_MarkAchievement::Swap(CCSUsrMsg_MarkAchievement* other) {
  15678. if (other != this) {
  15679. std::swap(achievement_, other->achievement_);
  15680. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15681. _unknown_fields_.Swap(&other->_unknown_fields_);
  15682. std::swap(_cached_size_, other->_cached_size_);
  15683. }
  15684. }
  15685. ::google::protobuf::Metadata CCSUsrMsg_MarkAchievement::GetMetadata() const {
  15686. protobuf_AssignDescriptorsOnce();
  15687. ::google::protobuf::Metadata metadata;
  15688. metadata.descriptor = CCSUsrMsg_MarkAchievement_descriptor_;
  15689. metadata.reflection = CCSUsrMsg_MarkAchievement_reflection_;
  15690. return metadata;
  15691. }
  15692. // ===================================================================
  15693. #ifndef _MSC_VER
  15694. const int CCSUsrMsg_MatchStatsUpdate::kUpdateFieldNumber;
  15695. #endif // !_MSC_VER
  15696. CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate()
  15697. : ::google::protobuf::Message() {
  15698. SharedCtor();
  15699. }
  15700. void CCSUsrMsg_MatchStatsUpdate::InitAsDefaultInstance() {
  15701. }
  15702. CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate(const CCSUsrMsg_MatchStatsUpdate& from)
  15703. : ::google::protobuf::Message() {
  15704. SharedCtor();
  15705. MergeFrom(from);
  15706. }
  15707. void CCSUsrMsg_MatchStatsUpdate::SharedCtor() {
  15708. _cached_size_ = 0;
  15709. update_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15710. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15711. }
  15712. CCSUsrMsg_MatchStatsUpdate::~CCSUsrMsg_MatchStatsUpdate() {
  15713. SharedDtor();
  15714. }
  15715. void CCSUsrMsg_MatchStatsUpdate::SharedDtor() {
  15716. if (update_ != &::google::protobuf::internal::kEmptyString) {
  15717. delete update_;
  15718. }
  15719. if (this != default_instance_) {
  15720. }
  15721. }
  15722. void CCSUsrMsg_MatchStatsUpdate::SetCachedSize(int size) const {
  15723. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15724. _cached_size_ = size;
  15725. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15726. }
  15727. const ::google::protobuf::Descriptor* CCSUsrMsg_MatchStatsUpdate::descriptor() {
  15728. protobuf_AssignDescriptorsOnce();
  15729. return CCSUsrMsg_MatchStatsUpdate_descriptor_;
  15730. }
  15731. const CCSUsrMsg_MatchStatsUpdate& CCSUsrMsg_MatchStatsUpdate::default_instance() {
  15732. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  15733. return *default_instance_;
  15734. }
  15735. CCSUsrMsg_MatchStatsUpdate* CCSUsrMsg_MatchStatsUpdate::default_instance_ = NULL;
  15736. CCSUsrMsg_MatchStatsUpdate* CCSUsrMsg_MatchStatsUpdate::New() const {
  15737. return new CCSUsrMsg_MatchStatsUpdate;
  15738. }
  15739. void CCSUsrMsg_MatchStatsUpdate::Clear() {
  15740. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15741. if (has_update()) {
  15742. if (update_ != &::google::protobuf::internal::kEmptyString) {
  15743. update_->clear();
  15744. }
  15745. }
  15746. }
  15747. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15748. mutable_unknown_fields()->Clear();
  15749. }
  15750. bool CCSUsrMsg_MatchStatsUpdate::MergePartialFromCodedStream(
  15751. ::google::protobuf::io::CodedInputStream* input) {
  15752. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15753. ::google::protobuf::uint32 tag;
  15754. while ((tag = input->ReadTag()) != 0) {
  15755. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15756. // optional string update = 1;
  15757. case 1: {
  15758. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15759. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15760. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15761. input, this->mutable_update()));
  15762. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15763. this->update().data(), this->update().length(),
  15764. ::google::protobuf::internal::WireFormat::PARSE);
  15765. } else {
  15766. goto handle_uninterpreted;
  15767. }
  15768. if (input->ExpectAtEnd()) return true;
  15769. break;
  15770. }
  15771. default: {
  15772. handle_uninterpreted:
  15773. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15774. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15775. return true;
  15776. }
  15777. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15778. input, tag, mutable_unknown_fields()));
  15779. break;
  15780. }
  15781. }
  15782. }
  15783. return true;
  15784. #undef DO_
  15785. }
  15786. void CCSUsrMsg_MatchStatsUpdate::SerializeWithCachedSizes(
  15787. ::google::protobuf::io::CodedOutputStream* output) const {
  15788. // optional string update = 1;
  15789. if (has_update()) {
  15790. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15791. this->update().data(), this->update().length(),
  15792. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15793. ::google::protobuf::internal::WireFormatLite::WriteString(
  15794. 1, this->update(), output);
  15795. }
  15796. if (!unknown_fields().empty()) {
  15797. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15798. unknown_fields(), output);
  15799. }
  15800. }
  15801. ::google::protobuf::uint8* CCSUsrMsg_MatchStatsUpdate::SerializeWithCachedSizesToArray(
  15802. ::google::protobuf::uint8* target) const {
  15803. // optional string update = 1;
  15804. if (has_update()) {
  15805. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15806. this->update().data(), this->update().length(),
  15807. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15808. target =
  15809. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15810. 1, this->update(), target);
  15811. }
  15812. if (!unknown_fields().empty()) {
  15813. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15814. unknown_fields(), target);
  15815. }
  15816. return target;
  15817. }
  15818. int CCSUsrMsg_MatchStatsUpdate::ByteSize() const {
  15819. int total_size = 0;
  15820. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15821. // optional string update = 1;
  15822. if (has_update()) {
  15823. total_size += 1 +
  15824. ::google::protobuf::internal::WireFormatLite::StringSize(
  15825. this->update());
  15826. }
  15827. }
  15828. if (!unknown_fields().empty()) {
  15829. total_size +=
  15830. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15831. unknown_fields());
  15832. }
  15833. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15834. _cached_size_ = total_size;
  15835. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15836. return total_size;
  15837. }
  15838. void CCSUsrMsg_MatchStatsUpdate::MergeFrom(const ::google::protobuf::Message& from) {
  15839. GOOGLE_CHECK_NE(&from, this);
  15840. const CCSUsrMsg_MatchStatsUpdate* source =
  15841. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_MatchStatsUpdate*>(
  15842. &from);
  15843. if (source == NULL) {
  15844. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15845. } else {
  15846. MergeFrom(*source);
  15847. }
  15848. }
  15849. void CCSUsrMsg_MatchStatsUpdate::MergeFrom(const CCSUsrMsg_MatchStatsUpdate& from) {
  15850. GOOGLE_CHECK_NE(&from, this);
  15851. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15852. if (from.has_update()) {
  15853. set_update(from.update());
  15854. }
  15855. }
  15856. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15857. }
  15858. void CCSUsrMsg_MatchStatsUpdate::CopyFrom(const ::google::protobuf::Message& from) {
  15859. if (&from == this) return;
  15860. Clear();
  15861. MergeFrom(from);
  15862. }
  15863. void CCSUsrMsg_MatchStatsUpdate::CopyFrom(const CCSUsrMsg_MatchStatsUpdate& from) {
  15864. if (&from == this) return;
  15865. Clear();
  15866. MergeFrom(from);
  15867. }
  15868. bool CCSUsrMsg_MatchStatsUpdate::IsInitialized() const {
  15869. return true;
  15870. }
  15871. void CCSUsrMsg_MatchStatsUpdate::Swap(CCSUsrMsg_MatchStatsUpdate* other) {
  15872. if (other != this) {
  15873. std::swap(update_, other->update_);
  15874. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15875. _unknown_fields_.Swap(&other->_unknown_fields_);
  15876. std::swap(_cached_size_, other->_cached_size_);
  15877. }
  15878. }
  15879. ::google::protobuf::Metadata CCSUsrMsg_MatchStatsUpdate::GetMetadata() const {
  15880. protobuf_AssignDescriptorsOnce();
  15881. ::google::protobuf::Metadata metadata;
  15882. metadata.descriptor = CCSUsrMsg_MatchStatsUpdate_descriptor_;
  15883. metadata.reflection = CCSUsrMsg_MatchStatsUpdate_reflection_;
  15884. return metadata;
  15885. }
  15886. // ===================================================================
  15887. #ifndef _MSC_VER
  15888. const int CCSUsrMsg_ItemDrop::kItemidFieldNumber;
  15889. const int CCSUsrMsg_ItemDrop::kDeathFieldNumber;
  15890. #endif // !_MSC_VER
  15891. CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop()
  15892. : ::google::protobuf::Message() {
  15893. SharedCtor();
  15894. }
  15895. void CCSUsrMsg_ItemDrop::InitAsDefaultInstance() {
  15896. }
  15897. CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop(const CCSUsrMsg_ItemDrop& from)
  15898. : ::google::protobuf::Message() {
  15899. SharedCtor();
  15900. MergeFrom(from);
  15901. }
  15902. void CCSUsrMsg_ItemDrop::SharedCtor() {
  15903. _cached_size_ = 0;
  15904. itemid_ = GOOGLE_LONGLONG(0);
  15905. death_ = false;
  15906. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15907. }
  15908. CCSUsrMsg_ItemDrop::~CCSUsrMsg_ItemDrop() {
  15909. SharedDtor();
  15910. }
  15911. void CCSUsrMsg_ItemDrop::SharedDtor() {
  15912. if (this != default_instance_) {
  15913. }
  15914. }
  15915. void CCSUsrMsg_ItemDrop::SetCachedSize(int size) const {
  15916. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15917. _cached_size_ = size;
  15918. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15919. }
  15920. const ::google::protobuf::Descriptor* CCSUsrMsg_ItemDrop::descriptor() {
  15921. protobuf_AssignDescriptorsOnce();
  15922. return CCSUsrMsg_ItemDrop_descriptor_;
  15923. }
  15924. const CCSUsrMsg_ItemDrop& CCSUsrMsg_ItemDrop::default_instance() {
  15925. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  15926. return *default_instance_;
  15927. }
  15928. CCSUsrMsg_ItemDrop* CCSUsrMsg_ItemDrop::default_instance_ = NULL;
  15929. CCSUsrMsg_ItemDrop* CCSUsrMsg_ItemDrop::New() const {
  15930. return new CCSUsrMsg_ItemDrop;
  15931. }
  15932. void CCSUsrMsg_ItemDrop::Clear() {
  15933. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15934. itemid_ = GOOGLE_LONGLONG(0);
  15935. death_ = false;
  15936. }
  15937. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15938. mutable_unknown_fields()->Clear();
  15939. }
  15940. bool CCSUsrMsg_ItemDrop::MergePartialFromCodedStream(
  15941. ::google::protobuf::io::CodedInputStream* input) {
  15942. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15943. ::google::protobuf::uint32 tag;
  15944. while ((tag = input->ReadTag()) != 0) {
  15945. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15946. // optional int64 itemid = 1;
  15947. case 1: {
  15948. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15949. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15950. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15951. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  15952. input, &itemid_)));
  15953. set_has_itemid();
  15954. } else {
  15955. goto handle_uninterpreted;
  15956. }
  15957. if (input->ExpectTag(16)) goto parse_death;
  15958. break;
  15959. }
  15960. // optional bool death = 2;
  15961. case 2: {
  15962. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15963. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15964. parse_death:
  15965. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15966. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15967. input, &death_)));
  15968. set_has_death();
  15969. } else {
  15970. goto handle_uninterpreted;
  15971. }
  15972. if (input->ExpectAtEnd()) return true;
  15973. break;
  15974. }
  15975. default: {
  15976. handle_uninterpreted:
  15977. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15978. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15979. return true;
  15980. }
  15981. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15982. input, tag, mutable_unknown_fields()));
  15983. break;
  15984. }
  15985. }
  15986. }
  15987. return true;
  15988. #undef DO_
  15989. }
  15990. void CCSUsrMsg_ItemDrop::SerializeWithCachedSizes(
  15991. ::google::protobuf::io::CodedOutputStream* output) const {
  15992. // optional int64 itemid = 1;
  15993. if (has_itemid()) {
  15994. ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->itemid(), output);
  15995. }
  15996. // optional bool death = 2;
  15997. if (has_death()) {
  15998. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->death(), output);
  15999. }
  16000. if (!unknown_fields().empty()) {
  16001. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16002. unknown_fields(), output);
  16003. }
  16004. }
  16005. ::google::protobuf::uint8* CCSUsrMsg_ItemDrop::SerializeWithCachedSizesToArray(
  16006. ::google::protobuf::uint8* target) const {
  16007. // optional int64 itemid = 1;
  16008. if (has_itemid()) {
  16009. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->itemid(), target);
  16010. }
  16011. // optional bool death = 2;
  16012. if (has_death()) {
  16013. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->death(), target);
  16014. }
  16015. if (!unknown_fields().empty()) {
  16016. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16017. unknown_fields(), target);
  16018. }
  16019. return target;
  16020. }
  16021. int CCSUsrMsg_ItemDrop::ByteSize() const {
  16022. int total_size = 0;
  16023. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16024. // optional int64 itemid = 1;
  16025. if (has_itemid()) {
  16026. total_size += 1 +
  16027. ::google::protobuf::internal::WireFormatLite::Int64Size(
  16028. this->itemid());
  16029. }
  16030. // optional bool death = 2;
  16031. if (has_death()) {
  16032. total_size += 1 + 1;
  16033. }
  16034. }
  16035. if (!unknown_fields().empty()) {
  16036. total_size +=
  16037. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16038. unknown_fields());
  16039. }
  16040. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16041. _cached_size_ = total_size;
  16042. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16043. return total_size;
  16044. }
  16045. void CCSUsrMsg_ItemDrop::MergeFrom(const ::google::protobuf::Message& from) {
  16046. GOOGLE_CHECK_NE(&from, this);
  16047. const CCSUsrMsg_ItemDrop* source =
  16048. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ItemDrop*>(
  16049. &from);
  16050. if (source == NULL) {
  16051. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16052. } else {
  16053. MergeFrom(*source);
  16054. }
  16055. }
  16056. void CCSUsrMsg_ItemDrop::MergeFrom(const CCSUsrMsg_ItemDrop& from) {
  16057. GOOGLE_CHECK_NE(&from, this);
  16058. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16059. if (from.has_itemid()) {
  16060. set_itemid(from.itemid());
  16061. }
  16062. if (from.has_death()) {
  16063. set_death(from.death());
  16064. }
  16065. }
  16066. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16067. }
  16068. void CCSUsrMsg_ItemDrop::CopyFrom(const ::google::protobuf::Message& from) {
  16069. if (&from == this) return;
  16070. Clear();
  16071. MergeFrom(from);
  16072. }
  16073. void CCSUsrMsg_ItemDrop::CopyFrom(const CCSUsrMsg_ItemDrop& from) {
  16074. if (&from == this) return;
  16075. Clear();
  16076. MergeFrom(from);
  16077. }
  16078. bool CCSUsrMsg_ItemDrop::IsInitialized() const {
  16079. return true;
  16080. }
  16081. void CCSUsrMsg_ItemDrop::Swap(CCSUsrMsg_ItemDrop* other) {
  16082. if (other != this) {
  16083. std::swap(itemid_, other->itemid_);
  16084. std::swap(death_, other->death_);
  16085. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16086. _unknown_fields_.Swap(&other->_unknown_fields_);
  16087. std::swap(_cached_size_, other->_cached_size_);
  16088. }
  16089. }
  16090. ::google::protobuf::Metadata CCSUsrMsg_ItemDrop::GetMetadata() const {
  16091. protobuf_AssignDescriptorsOnce();
  16092. ::google::protobuf::Metadata metadata;
  16093. metadata.descriptor = CCSUsrMsg_ItemDrop_descriptor_;
  16094. metadata.reflection = CCSUsrMsg_ItemDrop_reflection_;
  16095. return metadata;
  16096. }
  16097. // ===================================================================
  16098. #ifndef _MSC_VER
  16099. const int CCSUsrMsg_GlowPropTurnOff::kEntidxFieldNumber;
  16100. #endif // !_MSC_VER
  16101. CCSUsrMsg_GlowPropTurnOff::CCSUsrMsg_GlowPropTurnOff()
  16102. : ::google::protobuf::Message() {
  16103. SharedCtor();
  16104. }
  16105. void CCSUsrMsg_GlowPropTurnOff::InitAsDefaultInstance() {
  16106. }
  16107. CCSUsrMsg_GlowPropTurnOff::CCSUsrMsg_GlowPropTurnOff(const CCSUsrMsg_GlowPropTurnOff& from)
  16108. : ::google::protobuf::Message() {
  16109. SharedCtor();
  16110. MergeFrom(from);
  16111. }
  16112. void CCSUsrMsg_GlowPropTurnOff::SharedCtor() {
  16113. _cached_size_ = 0;
  16114. entidx_ = 0;
  16115. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16116. }
  16117. CCSUsrMsg_GlowPropTurnOff::~CCSUsrMsg_GlowPropTurnOff() {
  16118. SharedDtor();
  16119. }
  16120. void CCSUsrMsg_GlowPropTurnOff::SharedDtor() {
  16121. if (this != default_instance_) {
  16122. }
  16123. }
  16124. void CCSUsrMsg_GlowPropTurnOff::SetCachedSize(int size) const {
  16125. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16126. _cached_size_ = size;
  16127. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16128. }
  16129. const ::google::protobuf::Descriptor* CCSUsrMsg_GlowPropTurnOff::descriptor() {
  16130. protobuf_AssignDescriptorsOnce();
  16131. return CCSUsrMsg_GlowPropTurnOff_descriptor_;
  16132. }
  16133. const CCSUsrMsg_GlowPropTurnOff& CCSUsrMsg_GlowPropTurnOff::default_instance() {
  16134. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  16135. return *default_instance_;
  16136. }
  16137. CCSUsrMsg_GlowPropTurnOff* CCSUsrMsg_GlowPropTurnOff::default_instance_ = NULL;
  16138. CCSUsrMsg_GlowPropTurnOff* CCSUsrMsg_GlowPropTurnOff::New() const {
  16139. return new CCSUsrMsg_GlowPropTurnOff;
  16140. }
  16141. void CCSUsrMsg_GlowPropTurnOff::Clear() {
  16142. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16143. entidx_ = 0;
  16144. }
  16145. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16146. mutable_unknown_fields()->Clear();
  16147. }
  16148. bool CCSUsrMsg_GlowPropTurnOff::MergePartialFromCodedStream(
  16149. ::google::protobuf::io::CodedInputStream* input) {
  16150. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16151. ::google::protobuf::uint32 tag;
  16152. while ((tag = input->ReadTag()) != 0) {
  16153. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16154. // optional int32 entidx = 1;
  16155. case 1: {
  16156. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16157. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16158. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16159. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16160. input, &entidx_)));
  16161. set_has_entidx();
  16162. } else {
  16163. goto handle_uninterpreted;
  16164. }
  16165. if (input->ExpectAtEnd()) return true;
  16166. break;
  16167. }
  16168. default: {
  16169. handle_uninterpreted:
  16170. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16171. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16172. return true;
  16173. }
  16174. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16175. input, tag, mutable_unknown_fields()));
  16176. break;
  16177. }
  16178. }
  16179. }
  16180. return true;
  16181. #undef DO_
  16182. }
  16183. void CCSUsrMsg_GlowPropTurnOff::SerializeWithCachedSizes(
  16184. ::google::protobuf::io::CodedOutputStream* output) const {
  16185. // optional int32 entidx = 1;
  16186. if (has_entidx()) {
  16187. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entidx(), output);
  16188. }
  16189. if (!unknown_fields().empty()) {
  16190. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16191. unknown_fields(), output);
  16192. }
  16193. }
  16194. ::google::protobuf::uint8* CCSUsrMsg_GlowPropTurnOff::SerializeWithCachedSizesToArray(
  16195. ::google::protobuf::uint8* target) const {
  16196. // optional int32 entidx = 1;
  16197. if (has_entidx()) {
  16198. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entidx(), target);
  16199. }
  16200. if (!unknown_fields().empty()) {
  16201. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16202. unknown_fields(), target);
  16203. }
  16204. return target;
  16205. }
  16206. int CCSUsrMsg_GlowPropTurnOff::ByteSize() const {
  16207. int total_size = 0;
  16208. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16209. // optional int32 entidx = 1;
  16210. if (has_entidx()) {
  16211. total_size += 1 +
  16212. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16213. this->entidx());
  16214. }
  16215. }
  16216. if (!unknown_fields().empty()) {
  16217. total_size +=
  16218. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16219. unknown_fields());
  16220. }
  16221. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16222. _cached_size_ = total_size;
  16223. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16224. return total_size;
  16225. }
  16226. void CCSUsrMsg_GlowPropTurnOff::MergeFrom(const ::google::protobuf::Message& from) {
  16227. GOOGLE_CHECK_NE(&from, this);
  16228. const CCSUsrMsg_GlowPropTurnOff* source =
  16229. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_GlowPropTurnOff*>(
  16230. &from);
  16231. if (source == NULL) {
  16232. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16233. } else {
  16234. MergeFrom(*source);
  16235. }
  16236. }
  16237. void CCSUsrMsg_GlowPropTurnOff::MergeFrom(const CCSUsrMsg_GlowPropTurnOff& from) {
  16238. GOOGLE_CHECK_NE(&from, this);
  16239. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16240. if (from.has_entidx()) {
  16241. set_entidx(from.entidx());
  16242. }
  16243. }
  16244. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16245. }
  16246. void CCSUsrMsg_GlowPropTurnOff::CopyFrom(const ::google::protobuf::Message& from) {
  16247. if (&from == this) return;
  16248. Clear();
  16249. MergeFrom(from);
  16250. }
  16251. void CCSUsrMsg_GlowPropTurnOff::CopyFrom(const CCSUsrMsg_GlowPropTurnOff& from) {
  16252. if (&from == this) return;
  16253. Clear();
  16254. MergeFrom(from);
  16255. }
  16256. bool CCSUsrMsg_GlowPropTurnOff::IsInitialized() const {
  16257. return true;
  16258. }
  16259. void CCSUsrMsg_GlowPropTurnOff::Swap(CCSUsrMsg_GlowPropTurnOff* other) {
  16260. if (other != this) {
  16261. std::swap(entidx_, other->entidx_);
  16262. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16263. _unknown_fields_.Swap(&other->_unknown_fields_);
  16264. std::swap(_cached_size_, other->_cached_size_);
  16265. }
  16266. }
  16267. ::google::protobuf::Metadata CCSUsrMsg_GlowPropTurnOff::GetMetadata() const {
  16268. protobuf_AssignDescriptorsOnce();
  16269. ::google::protobuf::Metadata metadata;
  16270. metadata.descriptor = CCSUsrMsg_GlowPropTurnOff_descriptor_;
  16271. metadata.reflection = CCSUsrMsg_GlowPropTurnOff_reflection_;
  16272. return metadata;
  16273. }
  16274. // ===================================================================
  16275. #ifndef _MSC_VER
  16276. const int CCSUsrMsg_RoundBackupFilenames::kCountFieldNumber;
  16277. const int CCSUsrMsg_RoundBackupFilenames::kIndexFieldNumber;
  16278. const int CCSUsrMsg_RoundBackupFilenames::kFilenameFieldNumber;
  16279. const int CCSUsrMsg_RoundBackupFilenames::kNicenameFieldNumber;
  16280. #endif // !_MSC_VER
  16281. CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames()
  16282. : ::google::protobuf::Message() {
  16283. SharedCtor();
  16284. }
  16285. void CCSUsrMsg_RoundBackupFilenames::InitAsDefaultInstance() {
  16286. }
  16287. CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames(const CCSUsrMsg_RoundBackupFilenames& from)
  16288. : ::google::protobuf::Message() {
  16289. SharedCtor();
  16290. MergeFrom(from);
  16291. }
  16292. void CCSUsrMsg_RoundBackupFilenames::SharedCtor() {
  16293. _cached_size_ = 0;
  16294. count_ = 0;
  16295. index_ = 0;
  16296. filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  16297. nicename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  16298. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16299. }
  16300. CCSUsrMsg_RoundBackupFilenames::~CCSUsrMsg_RoundBackupFilenames() {
  16301. SharedDtor();
  16302. }
  16303. void CCSUsrMsg_RoundBackupFilenames::SharedDtor() {
  16304. if (filename_ != &::google::protobuf::internal::kEmptyString) {
  16305. delete filename_;
  16306. }
  16307. if (nicename_ != &::google::protobuf::internal::kEmptyString) {
  16308. delete nicename_;
  16309. }
  16310. if (this != default_instance_) {
  16311. }
  16312. }
  16313. void CCSUsrMsg_RoundBackupFilenames::SetCachedSize(int size) const {
  16314. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16315. _cached_size_ = size;
  16316. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16317. }
  16318. const ::google::protobuf::Descriptor* CCSUsrMsg_RoundBackupFilenames::descriptor() {
  16319. protobuf_AssignDescriptorsOnce();
  16320. return CCSUsrMsg_RoundBackupFilenames_descriptor_;
  16321. }
  16322. const CCSUsrMsg_RoundBackupFilenames& CCSUsrMsg_RoundBackupFilenames::default_instance() {
  16323. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  16324. return *default_instance_;
  16325. }
  16326. CCSUsrMsg_RoundBackupFilenames* CCSUsrMsg_RoundBackupFilenames::default_instance_ = NULL;
  16327. CCSUsrMsg_RoundBackupFilenames* CCSUsrMsg_RoundBackupFilenames::New() const {
  16328. return new CCSUsrMsg_RoundBackupFilenames;
  16329. }
  16330. void CCSUsrMsg_RoundBackupFilenames::Clear() {
  16331. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16332. count_ = 0;
  16333. index_ = 0;
  16334. if (has_filename()) {
  16335. if (filename_ != &::google::protobuf::internal::kEmptyString) {
  16336. filename_->clear();
  16337. }
  16338. }
  16339. if (has_nicename()) {
  16340. if (nicename_ != &::google::protobuf::internal::kEmptyString) {
  16341. nicename_->clear();
  16342. }
  16343. }
  16344. }
  16345. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16346. mutable_unknown_fields()->Clear();
  16347. }
  16348. bool CCSUsrMsg_RoundBackupFilenames::MergePartialFromCodedStream(
  16349. ::google::protobuf::io::CodedInputStream* input) {
  16350. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16351. ::google::protobuf::uint32 tag;
  16352. while ((tag = input->ReadTag()) != 0) {
  16353. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16354. // optional int32 count = 1;
  16355. case 1: {
  16356. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16357. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16358. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16359. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16360. input, &count_)));
  16361. set_has_count();
  16362. } else {
  16363. goto handle_uninterpreted;
  16364. }
  16365. if (input->ExpectTag(16)) goto parse_index;
  16366. break;
  16367. }
  16368. // optional int32 index = 2;
  16369. case 2: {
  16370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16372. parse_index:
  16373. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16374. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16375. input, &index_)));
  16376. set_has_index();
  16377. } else {
  16378. goto handle_uninterpreted;
  16379. }
  16380. if (input->ExpectTag(26)) goto parse_filename;
  16381. break;
  16382. }
  16383. // optional string filename = 3;
  16384. case 3: {
  16385. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16386. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16387. parse_filename:
  16388. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16389. input, this->mutable_filename()));
  16390. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16391. this->filename().data(), this->filename().length(),
  16392. ::google::protobuf::internal::WireFormat::PARSE);
  16393. } else {
  16394. goto handle_uninterpreted;
  16395. }
  16396. if (input->ExpectTag(34)) goto parse_nicename;
  16397. break;
  16398. }
  16399. // optional string nicename = 4;
  16400. case 4: {
  16401. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16402. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16403. parse_nicename:
  16404. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16405. input, this->mutable_nicename()));
  16406. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16407. this->nicename().data(), this->nicename().length(),
  16408. ::google::protobuf::internal::WireFormat::PARSE);
  16409. } else {
  16410. goto handle_uninterpreted;
  16411. }
  16412. if (input->ExpectAtEnd()) return true;
  16413. break;
  16414. }
  16415. default: {
  16416. handle_uninterpreted:
  16417. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16418. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16419. return true;
  16420. }
  16421. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16422. input, tag, mutable_unknown_fields()));
  16423. break;
  16424. }
  16425. }
  16426. }
  16427. return true;
  16428. #undef DO_
  16429. }
  16430. void CCSUsrMsg_RoundBackupFilenames::SerializeWithCachedSizes(
  16431. ::google::protobuf::io::CodedOutputStream* output) const {
  16432. // optional int32 count = 1;
  16433. if (has_count()) {
  16434. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->count(), output);
  16435. }
  16436. // optional int32 index = 2;
  16437. if (has_index()) {
  16438. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  16439. }
  16440. // optional string filename = 3;
  16441. if (has_filename()) {
  16442. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16443. this->filename().data(), this->filename().length(),
  16444. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16445. ::google::protobuf::internal::WireFormatLite::WriteString(
  16446. 3, this->filename(), output);
  16447. }
  16448. // optional string nicename = 4;
  16449. if (has_nicename()) {
  16450. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16451. this->nicename().data(), this->nicename().length(),
  16452. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16453. ::google::protobuf::internal::WireFormatLite::WriteString(
  16454. 4, this->nicename(), output);
  16455. }
  16456. if (!unknown_fields().empty()) {
  16457. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16458. unknown_fields(), output);
  16459. }
  16460. }
  16461. ::google::protobuf::uint8* CCSUsrMsg_RoundBackupFilenames::SerializeWithCachedSizesToArray(
  16462. ::google::protobuf::uint8* target) const {
  16463. // optional int32 count = 1;
  16464. if (has_count()) {
  16465. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->count(), target);
  16466. }
  16467. // optional int32 index = 2;
  16468. if (has_index()) {
  16469. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  16470. }
  16471. // optional string filename = 3;
  16472. if (has_filename()) {
  16473. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16474. this->filename().data(), this->filename().length(),
  16475. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16476. target =
  16477. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16478. 3, this->filename(), target);
  16479. }
  16480. // optional string nicename = 4;
  16481. if (has_nicename()) {
  16482. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16483. this->nicename().data(), this->nicename().length(),
  16484. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16485. target =
  16486. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16487. 4, this->nicename(), target);
  16488. }
  16489. if (!unknown_fields().empty()) {
  16490. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16491. unknown_fields(), target);
  16492. }
  16493. return target;
  16494. }
  16495. int CCSUsrMsg_RoundBackupFilenames::ByteSize() const {
  16496. int total_size = 0;
  16497. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16498. // optional int32 count = 1;
  16499. if (has_count()) {
  16500. total_size += 1 +
  16501. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16502. this->count());
  16503. }
  16504. // optional int32 index = 2;
  16505. if (has_index()) {
  16506. total_size += 1 +
  16507. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16508. this->index());
  16509. }
  16510. // optional string filename = 3;
  16511. if (has_filename()) {
  16512. total_size += 1 +
  16513. ::google::protobuf::internal::WireFormatLite::StringSize(
  16514. this->filename());
  16515. }
  16516. // optional string nicename = 4;
  16517. if (has_nicename()) {
  16518. total_size += 1 +
  16519. ::google::protobuf::internal::WireFormatLite::StringSize(
  16520. this->nicename());
  16521. }
  16522. }
  16523. if (!unknown_fields().empty()) {
  16524. total_size +=
  16525. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16526. unknown_fields());
  16527. }
  16528. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16529. _cached_size_ = total_size;
  16530. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16531. return total_size;
  16532. }
  16533. void CCSUsrMsg_RoundBackupFilenames::MergeFrom(const ::google::protobuf::Message& from) {
  16534. GOOGLE_CHECK_NE(&from, this);
  16535. const CCSUsrMsg_RoundBackupFilenames* source =
  16536. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_RoundBackupFilenames*>(
  16537. &from);
  16538. if (source == NULL) {
  16539. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16540. } else {
  16541. MergeFrom(*source);
  16542. }
  16543. }
  16544. void CCSUsrMsg_RoundBackupFilenames::MergeFrom(const CCSUsrMsg_RoundBackupFilenames& from) {
  16545. GOOGLE_CHECK_NE(&from, this);
  16546. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16547. if (from.has_count()) {
  16548. set_count(from.count());
  16549. }
  16550. if (from.has_index()) {
  16551. set_index(from.index());
  16552. }
  16553. if (from.has_filename()) {
  16554. set_filename(from.filename());
  16555. }
  16556. if (from.has_nicename()) {
  16557. set_nicename(from.nicename());
  16558. }
  16559. }
  16560. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16561. }
  16562. void CCSUsrMsg_RoundBackupFilenames::CopyFrom(const ::google::protobuf::Message& from) {
  16563. if (&from == this) return;
  16564. Clear();
  16565. MergeFrom(from);
  16566. }
  16567. void CCSUsrMsg_RoundBackupFilenames::CopyFrom(const CCSUsrMsg_RoundBackupFilenames& from) {
  16568. if (&from == this) return;
  16569. Clear();
  16570. MergeFrom(from);
  16571. }
  16572. bool CCSUsrMsg_RoundBackupFilenames::IsInitialized() const {
  16573. return true;
  16574. }
  16575. void CCSUsrMsg_RoundBackupFilenames::Swap(CCSUsrMsg_RoundBackupFilenames* other) {
  16576. if (other != this) {
  16577. std::swap(count_, other->count_);
  16578. std::swap(index_, other->index_);
  16579. std::swap(filename_, other->filename_);
  16580. std::swap(nicename_, other->nicename_);
  16581. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16582. _unknown_fields_.Swap(&other->_unknown_fields_);
  16583. std::swap(_cached_size_, other->_cached_size_);
  16584. }
  16585. }
  16586. ::google::protobuf::Metadata CCSUsrMsg_RoundBackupFilenames::GetMetadata() const {
  16587. protobuf_AssignDescriptorsOnce();
  16588. ::google::protobuf::Metadata metadata;
  16589. metadata.descriptor = CCSUsrMsg_RoundBackupFilenames_descriptor_;
  16590. metadata.reflection = CCSUsrMsg_RoundBackupFilenames_reflection_;
  16591. return metadata;
  16592. }
  16593. // ===================================================================
  16594. #ifndef _MSC_VER
  16595. const int CCSUsrMsg_ResetHud::kResetFieldNumber;
  16596. #endif // !_MSC_VER
  16597. CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud()
  16598. : ::google::protobuf::Message() {
  16599. SharedCtor();
  16600. }
  16601. void CCSUsrMsg_ResetHud::InitAsDefaultInstance() {
  16602. }
  16603. CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud(const CCSUsrMsg_ResetHud& from)
  16604. : ::google::protobuf::Message() {
  16605. SharedCtor();
  16606. MergeFrom(from);
  16607. }
  16608. void CCSUsrMsg_ResetHud::SharedCtor() {
  16609. _cached_size_ = 0;
  16610. reset_ = false;
  16611. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16612. }
  16613. CCSUsrMsg_ResetHud::~CCSUsrMsg_ResetHud() {
  16614. SharedDtor();
  16615. }
  16616. void CCSUsrMsg_ResetHud::SharedDtor() {
  16617. if (this != default_instance_) {
  16618. }
  16619. }
  16620. void CCSUsrMsg_ResetHud::SetCachedSize(int size) const {
  16621. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16622. _cached_size_ = size;
  16623. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16624. }
  16625. const ::google::protobuf::Descriptor* CCSUsrMsg_ResetHud::descriptor() {
  16626. protobuf_AssignDescriptorsOnce();
  16627. return CCSUsrMsg_ResetHud_descriptor_;
  16628. }
  16629. const CCSUsrMsg_ResetHud& CCSUsrMsg_ResetHud::default_instance() {
  16630. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  16631. return *default_instance_;
  16632. }
  16633. CCSUsrMsg_ResetHud* CCSUsrMsg_ResetHud::default_instance_ = NULL;
  16634. CCSUsrMsg_ResetHud* CCSUsrMsg_ResetHud::New() const {
  16635. return new CCSUsrMsg_ResetHud;
  16636. }
  16637. void CCSUsrMsg_ResetHud::Clear() {
  16638. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16639. reset_ = false;
  16640. }
  16641. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16642. mutable_unknown_fields()->Clear();
  16643. }
  16644. bool CCSUsrMsg_ResetHud::MergePartialFromCodedStream(
  16645. ::google::protobuf::io::CodedInputStream* input) {
  16646. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16647. ::google::protobuf::uint32 tag;
  16648. while ((tag = input->ReadTag()) != 0) {
  16649. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16650. // optional bool reset = 1;
  16651. case 1: {
  16652. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16653. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16654. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16655. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  16656. input, &reset_)));
  16657. set_has_reset();
  16658. } else {
  16659. goto handle_uninterpreted;
  16660. }
  16661. if (input->ExpectAtEnd()) return true;
  16662. break;
  16663. }
  16664. default: {
  16665. handle_uninterpreted:
  16666. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16667. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16668. return true;
  16669. }
  16670. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16671. input, tag, mutable_unknown_fields()));
  16672. break;
  16673. }
  16674. }
  16675. }
  16676. return true;
  16677. #undef DO_
  16678. }
  16679. void CCSUsrMsg_ResetHud::SerializeWithCachedSizes(
  16680. ::google::protobuf::io::CodedOutputStream* output) const {
  16681. // optional bool reset = 1;
  16682. if (has_reset()) {
  16683. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reset(), output);
  16684. }
  16685. if (!unknown_fields().empty()) {
  16686. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16687. unknown_fields(), output);
  16688. }
  16689. }
  16690. ::google::protobuf::uint8* CCSUsrMsg_ResetHud::SerializeWithCachedSizesToArray(
  16691. ::google::protobuf::uint8* target) const {
  16692. // optional bool reset = 1;
  16693. if (has_reset()) {
  16694. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->reset(), target);
  16695. }
  16696. if (!unknown_fields().empty()) {
  16697. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16698. unknown_fields(), target);
  16699. }
  16700. return target;
  16701. }
  16702. int CCSUsrMsg_ResetHud::ByteSize() const {
  16703. int total_size = 0;
  16704. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16705. // optional bool reset = 1;
  16706. if (has_reset()) {
  16707. total_size += 1 + 1;
  16708. }
  16709. }
  16710. if (!unknown_fields().empty()) {
  16711. total_size +=
  16712. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16713. unknown_fields());
  16714. }
  16715. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16716. _cached_size_ = total_size;
  16717. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16718. return total_size;
  16719. }
  16720. void CCSUsrMsg_ResetHud::MergeFrom(const ::google::protobuf::Message& from) {
  16721. GOOGLE_CHECK_NE(&from, this);
  16722. const CCSUsrMsg_ResetHud* source =
  16723. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ResetHud*>(
  16724. &from);
  16725. if (source == NULL) {
  16726. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16727. } else {
  16728. MergeFrom(*source);
  16729. }
  16730. }
  16731. void CCSUsrMsg_ResetHud::MergeFrom(const CCSUsrMsg_ResetHud& from) {
  16732. GOOGLE_CHECK_NE(&from, this);
  16733. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16734. if (from.has_reset()) {
  16735. set_reset(from.reset());
  16736. }
  16737. }
  16738. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16739. }
  16740. void CCSUsrMsg_ResetHud::CopyFrom(const ::google::protobuf::Message& from) {
  16741. if (&from == this) return;
  16742. Clear();
  16743. MergeFrom(from);
  16744. }
  16745. void CCSUsrMsg_ResetHud::CopyFrom(const CCSUsrMsg_ResetHud& from) {
  16746. if (&from == this) return;
  16747. Clear();
  16748. MergeFrom(from);
  16749. }
  16750. bool CCSUsrMsg_ResetHud::IsInitialized() const {
  16751. return true;
  16752. }
  16753. void CCSUsrMsg_ResetHud::Swap(CCSUsrMsg_ResetHud* other) {
  16754. if (other != this) {
  16755. std::swap(reset_, other->reset_);
  16756. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16757. _unknown_fields_.Swap(&other->_unknown_fields_);
  16758. std::swap(_cached_size_, other->_cached_size_);
  16759. }
  16760. }
  16761. ::google::protobuf::Metadata CCSUsrMsg_ResetHud::GetMetadata() const {
  16762. protobuf_AssignDescriptorsOnce();
  16763. ::google::protobuf::Metadata metadata;
  16764. metadata.descriptor = CCSUsrMsg_ResetHud_descriptor_;
  16765. metadata.reflection = CCSUsrMsg_ResetHud_reflection_;
  16766. return metadata;
  16767. }
  16768. // ===================================================================
  16769. #ifndef _MSC_VER
  16770. const int CCSUsrMsg_GameTitle::kDummyFieldNumber;
  16771. #endif // !_MSC_VER
  16772. CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle()
  16773. : ::google::protobuf::Message() {
  16774. SharedCtor();
  16775. }
  16776. void CCSUsrMsg_GameTitle::InitAsDefaultInstance() {
  16777. }
  16778. CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle(const CCSUsrMsg_GameTitle& from)
  16779. : ::google::protobuf::Message() {
  16780. SharedCtor();
  16781. MergeFrom(from);
  16782. }
  16783. void CCSUsrMsg_GameTitle::SharedCtor() {
  16784. _cached_size_ = 0;
  16785. dummy_ = 0;
  16786. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16787. }
  16788. CCSUsrMsg_GameTitle::~CCSUsrMsg_GameTitle() {
  16789. SharedDtor();
  16790. }
  16791. void CCSUsrMsg_GameTitle::SharedDtor() {
  16792. if (this != default_instance_) {
  16793. }
  16794. }
  16795. void CCSUsrMsg_GameTitle::SetCachedSize(int size) const {
  16796. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16797. _cached_size_ = size;
  16798. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16799. }
  16800. const ::google::protobuf::Descriptor* CCSUsrMsg_GameTitle::descriptor() {
  16801. protobuf_AssignDescriptorsOnce();
  16802. return CCSUsrMsg_GameTitle_descriptor_;
  16803. }
  16804. const CCSUsrMsg_GameTitle& CCSUsrMsg_GameTitle::default_instance() {
  16805. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  16806. return *default_instance_;
  16807. }
  16808. CCSUsrMsg_GameTitle* CCSUsrMsg_GameTitle::default_instance_ = NULL;
  16809. CCSUsrMsg_GameTitle* CCSUsrMsg_GameTitle::New() const {
  16810. return new CCSUsrMsg_GameTitle;
  16811. }
  16812. void CCSUsrMsg_GameTitle::Clear() {
  16813. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16814. dummy_ = 0;
  16815. }
  16816. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16817. mutable_unknown_fields()->Clear();
  16818. }
  16819. bool CCSUsrMsg_GameTitle::MergePartialFromCodedStream(
  16820. ::google::protobuf::io::CodedInputStream* input) {
  16821. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16822. ::google::protobuf::uint32 tag;
  16823. while ((tag = input->ReadTag()) != 0) {
  16824. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16825. // optional int32 dummy = 1;
  16826. case 1: {
  16827. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16828. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16829. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16830. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16831. input, &dummy_)));
  16832. set_has_dummy();
  16833. } else {
  16834. goto handle_uninterpreted;
  16835. }
  16836. if (input->ExpectAtEnd()) return true;
  16837. break;
  16838. }
  16839. default: {
  16840. handle_uninterpreted:
  16841. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16842. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16843. return true;
  16844. }
  16845. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16846. input, tag, mutable_unknown_fields()));
  16847. break;
  16848. }
  16849. }
  16850. }
  16851. return true;
  16852. #undef DO_
  16853. }
  16854. void CCSUsrMsg_GameTitle::SerializeWithCachedSizes(
  16855. ::google::protobuf::io::CodedOutputStream* output) const {
  16856. // optional int32 dummy = 1;
  16857. if (has_dummy()) {
  16858. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dummy(), output);
  16859. }
  16860. if (!unknown_fields().empty()) {
  16861. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16862. unknown_fields(), output);
  16863. }
  16864. }
  16865. ::google::protobuf::uint8* CCSUsrMsg_GameTitle::SerializeWithCachedSizesToArray(
  16866. ::google::protobuf::uint8* target) const {
  16867. // optional int32 dummy = 1;
  16868. if (has_dummy()) {
  16869. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dummy(), target);
  16870. }
  16871. if (!unknown_fields().empty()) {
  16872. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16873. unknown_fields(), target);
  16874. }
  16875. return target;
  16876. }
  16877. int CCSUsrMsg_GameTitle::ByteSize() const {
  16878. int total_size = 0;
  16879. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16880. // optional int32 dummy = 1;
  16881. if (has_dummy()) {
  16882. total_size += 1 +
  16883. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16884. this->dummy());
  16885. }
  16886. }
  16887. if (!unknown_fields().empty()) {
  16888. total_size +=
  16889. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16890. unknown_fields());
  16891. }
  16892. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16893. _cached_size_ = total_size;
  16894. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16895. return total_size;
  16896. }
  16897. void CCSUsrMsg_GameTitle::MergeFrom(const ::google::protobuf::Message& from) {
  16898. GOOGLE_CHECK_NE(&from, this);
  16899. const CCSUsrMsg_GameTitle* source =
  16900. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_GameTitle*>(
  16901. &from);
  16902. if (source == NULL) {
  16903. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16904. } else {
  16905. MergeFrom(*source);
  16906. }
  16907. }
  16908. void CCSUsrMsg_GameTitle::MergeFrom(const CCSUsrMsg_GameTitle& from) {
  16909. GOOGLE_CHECK_NE(&from, this);
  16910. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16911. if (from.has_dummy()) {
  16912. set_dummy(from.dummy());
  16913. }
  16914. }
  16915. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16916. }
  16917. void CCSUsrMsg_GameTitle::CopyFrom(const ::google::protobuf::Message& from) {
  16918. if (&from == this) return;
  16919. Clear();
  16920. MergeFrom(from);
  16921. }
  16922. void CCSUsrMsg_GameTitle::CopyFrom(const CCSUsrMsg_GameTitle& from) {
  16923. if (&from == this) return;
  16924. Clear();
  16925. MergeFrom(from);
  16926. }
  16927. bool CCSUsrMsg_GameTitle::IsInitialized() const {
  16928. return true;
  16929. }
  16930. void CCSUsrMsg_GameTitle::Swap(CCSUsrMsg_GameTitle* other) {
  16931. if (other != this) {
  16932. std::swap(dummy_, other->dummy_);
  16933. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16934. _unknown_fields_.Swap(&other->_unknown_fields_);
  16935. std::swap(_cached_size_, other->_cached_size_);
  16936. }
  16937. }
  16938. ::google::protobuf::Metadata CCSUsrMsg_GameTitle::GetMetadata() const {
  16939. protobuf_AssignDescriptorsOnce();
  16940. ::google::protobuf::Metadata metadata;
  16941. metadata.descriptor = CCSUsrMsg_GameTitle_descriptor_;
  16942. metadata.reflection = CCSUsrMsg_GameTitle_reflection_;
  16943. return metadata;
  16944. }
  16945. // ===================================================================
  16946. #ifndef _MSC_VER
  16947. const int CCSUsrMsg_RequestState::kDummyFieldNumber;
  16948. #endif // !_MSC_VER
  16949. CCSUsrMsg_RequestState::CCSUsrMsg_RequestState()
  16950. : ::google::protobuf::Message() {
  16951. SharedCtor();
  16952. }
  16953. void CCSUsrMsg_RequestState::InitAsDefaultInstance() {
  16954. }
  16955. CCSUsrMsg_RequestState::CCSUsrMsg_RequestState(const CCSUsrMsg_RequestState& from)
  16956. : ::google::protobuf::Message() {
  16957. SharedCtor();
  16958. MergeFrom(from);
  16959. }
  16960. void CCSUsrMsg_RequestState::SharedCtor() {
  16961. _cached_size_ = 0;
  16962. dummy_ = 0;
  16963. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16964. }
  16965. CCSUsrMsg_RequestState::~CCSUsrMsg_RequestState() {
  16966. SharedDtor();
  16967. }
  16968. void CCSUsrMsg_RequestState::SharedDtor() {
  16969. if (this != default_instance_) {
  16970. }
  16971. }
  16972. void CCSUsrMsg_RequestState::SetCachedSize(int size) const {
  16973. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16974. _cached_size_ = size;
  16975. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16976. }
  16977. const ::google::protobuf::Descriptor* CCSUsrMsg_RequestState::descriptor() {
  16978. protobuf_AssignDescriptorsOnce();
  16979. return CCSUsrMsg_RequestState_descriptor_;
  16980. }
  16981. const CCSUsrMsg_RequestState& CCSUsrMsg_RequestState::default_instance() {
  16982. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  16983. return *default_instance_;
  16984. }
  16985. CCSUsrMsg_RequestState* CCSUsrMsg_RequestState::default_instance_ = NULL;
  16986. CCSUsrMsg_RequestState* CCSUsrMsg_RequestState::New() const {
  16987. return new CCSUsrMsg_RequestState;
  16988. }
  16989. void CCSUsrMsg_RequestState::Clear() {
  16990. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16991. dummy_ = 0;
  16992. }
  16993. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16994. mutable_unknown_fields()->Clear();
  16995. }
  16996. bool CCSUsrMsg_RequestState::MergePartialFromCodedStream(
  16997. ::google::protobuf::io::CodedInputStream* input) {
  16998. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16999. ::google::protobuf::uint32 tag;
  17000. while ((tag = input->ReadTag()) != 0) {
  17001. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17002. // optional int32 dummy = 1;
  17003. case 1: {
  17004. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17005. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17006. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17007. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17008. input, &dummy_)));
  17009. set_has_dummy();
  17010. } else {
  17011. goto handle_uninterpreted;
  17012. }
  17013. if (input->ExpectAtEnd()) return true;
  17014. break;
  17015. }
  17016. default: {
  17017. handle_uninterpreted:
  17018. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17019. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17020. return true;
  17021. }
  17022. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17023. input, tag, mutable_unknown_fields()));
  17024. break;
  17025. }
  17026. }
  17027. }
  17028. return true;
  17029. #undef DO_
  17030. }
  17031. void CCSUsrMsg_RequestState::SerializeWithCachedSizes(
  17032. ::google::protobuf::io::CodedOutputStream* output) const {
  17033. // optional int32 dummy = 1;
  17034. if (has_dummy()) {
  17035. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dummy(), output);
  17036. }
  17037. if (!unknown_fields().empty()) {
  17038. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17039. unknown_fields(), output);
  17040. }
  17041. }
  17042. ::google::protobuf::uint8* CCSUsrMsg_RequestState::SerializeWithCachedSizesToArray(
  17043. ::google::protobuf::uint8* target) const {
  17044. // optional int32 dummy = 1;
  17045. if (has_dummy()) {
  17046. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dummy(), target);
  17047. }
  17048. if (!unknown_fields().empty()) {
  17049. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17050. unknown_fields(), target);
  17051. }
  17052. return target;
  17053. }
  17054. int CCSUsrMsg_RequestState::ByteSize() const {
  17055. int total_size = 0;
  17056. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17057. // optional int32 dummy = 1;
  17058. if (has_dummy()) {
  17059. total_size += 1 +
  17060. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17061. this->dummy());
  17062. }
  17063. }
  17064. if (!unknown_fields().empty()) {
  17065. total_size +=
  17066. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17067. unknown_fields());
  17068. }
  17069. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17070. _cached_size_ = total_size;
  17071. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17072. return total_size;
  17073. }
  17074. void CCSUsrMsg_RequestState::MergeFrom(const ::google::protobuf::Message& from) {
  17075. GOOGLE_CHECK_NE(&from, this);
  17076. const CCSUsrMsg_RequestState* source =
  17077. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_RequestState*>(
  17078. &from);
  17079. if (source == NULL) {
  17080. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17081. } else {
  17082. MergeFrom(*source);
  17083. }
  17084. }
  17085. void CCSUsrMsg_RequestState::MergeFrom(const CCSUsrMsg_RequestState& from) {
  17086. GOOGLE_CHECK_NE(&from, this);
  17087. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17088. if (from.has_dummy()) {
  17089. set_dummy(from.dummy());
  17090. }
  17091. }
  17092. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17093. }
  17094. void CCSUsrMsg_RequestState::CopyFrom(const ::google::protobuf::Message& from) {
  17095. if (&from == this) return;
  17096. Clear();
  17097. MergeFrom(from);
  17098. }
  17099. void CCSUsrMsg_RequestState::CopyFrom(const CCSUsrMsg_RequestState& from) {
  17100. if (&from == this) return;
  17101. Clear();
  17102. MergeFrom(from);
  17103. }
  17104. bool CCSUsrMsg_RequestState::IsInitialized() const {
  17105. return true;
  17106. }
  17107. void CCSUsrMsg_RequestState::Swap(CCSUsrMsg_RequestState* other) {
  17108. if (other != this) {
  17109. std::swap(dummy_, other->dummy_);
  17110. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17111. _unknown_fields_.Swap(&other->_unknown_fields_);
  17112. std::swap(_cached_size_, other->_cached_size_);
  17113. }
  17114. }
  17115. ::google::protobuf::Metadata CCSUsrMsg_RequestState::GetMetadata() const {
  17116. protobuf_AssignDescriptorsOnce();
  17117. ::google::protobuf::Metadata metadata;
  17118. metadata.descriptor = CCSUsrMsg_RequestState_descriptor_;
  17119. metadata.reflection = CCSUsrMsg_RequestState_reflection_;
  17120. return metadata;
  17121. }
  17122. // ===================================================================
  17123. #ifndef _MSC_VER
  17124. const int CCSUsrMsg_StopSpectatorMode::kDummyFieldNumber;
  17125. #endif // !_MSC_VER
  17126. CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode()
  17127. : ::google::protobuf::Message() {
  17128. SharedCtor();
  17129. }
  17130. void CCSUsrMsg_StopSpectatorMode::InitAsDefaultInstance() {
  17131. }
  17132. CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode(const CCSUsrMsg_StopSpectatorMode& from)
  17133. : ::google::protobuf::Message() {
  17134. SharedCtor();
  17135. MergeFrom(from);
  17136. }
  17137. void CCSUsrMsg_StopSpectatorMode::SharedCtor() {
  17138. _cached_size_ = 0;
  17139. dummy_ = 0;
  17140. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17141. }
  17142. CCSUsrMsg_StopSpectatorMode::~CCSUsrMsg_StopSpectatorMode() {
  17143. SharedDtor();
  17144. }
  17145. void CCSUsrMsg_StopSpectatorMode::SharedDtor() {
  17146. if (this != default_instance_) {
  17147. }
  17148. }
  17149. void CCSUsrMsg_StopSpectatorMode::SetCachedSize(int size) const {
  17150. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17151. _cached_size_ = size;
  17152. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17153. }
  17154. const ::google::protobuf::Descriptor* CCSUsrMsg_StopSpectatorMode::descriptor() {
  17155. protobuf_AssignDescriptorsOnce();
  17156. return CCSUsrMsg_StopSpectatorMode_descriptor_;
  17157. }
  17158. const CCSUsrMsg_StopSpectatorMode& CCSUsrMsg_StopSpectatorMode::default_instance() {
  17159. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  17160. return *default_instance_;
  17161. }
  17162. CCSUsrMsg_StopSpectatorMode* CCSUsrMsg_StopSpectatorMode::default_instance_ = NULL;
  17163. CCSUsrMsg_StopSpectatorMode* CCSUsrMsg_StopSpectatorMode::New() const {
  17164. return new CCSUsrMsg_StopSpectatorMode;
  17165. }
  17166. void CCSUsrMsg_StopSpectatorMode::Clear() {
  17167. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17168. dummy_ = 0;
  17169. }
  17170. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17171. mutable_unknown_fields()->Clear();
  17172. }
  17173. bool CCSUsrMsg_StopSpectatorMode::MergePartialFromCodedStream(
  17174. ::google::protobuf::io::CodedInputStream* input) {
  17175. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17176. ::google::protobuf::uint32 tag;
  17177. while ((tag = input->ReadTag()) != 0) {
  17178. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17179. // optional int32 dummy = 1;
  17180. case 1: {
  17181. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17182. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17183. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17184. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17185. input, &dummy_)));
  17186. set_has_dummy();
  17187. } else {
  17188. goto handle_uninterpreted;
  17189. }
  17190. if (input->ExpectAtEnd()) return true;
  17191. break;
  17192. }
  17193. default: {
  17194. handle_uninterpreted:
  17195. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17196. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17197. return true;
  17198. }
  17199. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17200. input, tag, mutable_unknown_fields()));
  17201. break;
  17202. }
  17203. }
  17204. }
  17205. return true;
  17206. #undef DO_
  17207. }
  17208. void CCSUsrMsg_StopSpectatorMode::SerializeWithCachedSizes(
  17209. ::google::protobuf::io::CodedOutputStream* output) const {
  17210. // optional int32 dummy = 1;
  17211. if (has_dummy()) {
  17212. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dummy(), output);
  17213. }
  17214. if (!unknown_fields().empty()) {
  17215. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17216. unknown_fields(), output);
  17217. }
  17218. }
  17219. ::google::protobuf::uint8* CCSUsrMsg_StopSpectatorMode::SerializeWithCachedSizesToArray(
  17220. ::google::protobuf::uint8* target) const {
  17221. // optional int32 dummy = 1;
  17222. if (has_dummy()) {
  17223. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dummy(), target);
  17224. }
  17225. if (!unknown_fields().empty()) {
  17226. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17227. unknown_fields(), target);
  17228. }
  17229. return target;
  17230. }
  17231. int CCSUsrMsg_StopSpectatorMode::ByteSize() const {
  17232. int total_size = 0;
  17233. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17234. // optional int32 dummy = 1;
  17235. if (has_dummy()) {
  17236. total_size += 1 +
  17237. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17238. this->dummy());
  17239. }
  17240. }
  17241. if (!unknown_fields().empty()) {
  17242. total_size +=
  17243. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17244. unknown_fields());
  17245. }
  17246. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17247. _cached_size_ = total_size;
  17248. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17249. return total_size;
  17250. }
  17251. void CCSUsrMsg_StopSpectatorMode::MergeFrom(const ::google::protobuf::Message& from) {
  17252. GOOGLE_CHECK_NE(&from, this);
  17253. const CCSUsrMsg_StopSpectatorMode* source =
  17254. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_StopSpectatorMode*>(
  17255. &from);
  17256. if (source == NULL) {
  17257. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17258. } else {
  17259. MergeFrom(*source);
  17260. }
  17261. }
  17262. void CCSUsrMsg_StopSpectatorMode::MergeFrom(const CCSUsrMsg_StopSpectatorMode& from) {
  17263. GOOGLE_CHECK_NE(&from, this);
  17264. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17265. if (from.has_dummy()) {
  17266. set_dummy(from.dummy());
  17267. }
  17268. }
  17269. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17270. }
  17271. void CCSUsrMsg_StopSpectatorMode::CopyFrom(const ::google::protobuf::Message& from) {
  17272. if (&from == this) return;
  17273. Clear();
  17274. MergeFrom(from);
  17275. }
  17276. void CCSUsrMsg_StopSpectatorMode::CopyFrom(const CCSUsrMsg_StopSpectatorMode& from) {
  17277. if (&from == this) return;
  17278. Clear();
  17279. MergeFrom(from);
  17280. }
  17281. bool CCSUsrMsg_StopSpectatorMode::IsInitialized() const {
  17282. return true;
  17283. }
  17284. void CCSUsrMsg_StopSpectatorMode::Swap(CCSUsrMsg_StopSpectatorMode* other) {
  17285. if (other != this) {
  17286. std::swap(dummy_, other->dummy_);
  17287. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17288. _unknown_fields_.Swap(&other->_unknown_fields_);
  17289. std::swap(_cached_size_, other->_cached_size_);
  17290. }
  17291. }
  17292. ::google::protobuf::Metadata CCSUsrMsg_StopSpectatorMode::GetMetadata() const {
  17293. protobuf_AssignDescriptorsOnce();
  17294. ::google::protobuf::Metadata metadata;
  17295. metadata.descriptor = CCSUsrMsg_StopSpectatorMode_descriptor_;
  17296. metadata.reflection = CCSUsrMsg_StopSpectatorMode_reflection_;
  17297. return metadata;
  17298. }
  17299. // ===================================================================
  17300. #ifndef _MSC_VER
  17301. const int CCSUsrMsg_DisconnectToLobby::kDummyFieldNumber;
  17302. #endif // !_MSC_VER
  17303. CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby()
  17304. : ::google::protobuf::Message() {
  17305. SharedCtor();
  17306. }
  17307. void CCSUsrMsg_DisconnectToLobby::InitAsDefaultInstance() {
  17308. }
  17309. CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby(const CCSUsrMsg_DisconnectToLobby& from)
  17310. : ::google::protobuf::Message() {
  17311. SharedCtor();
  17312. MergeFrom(from);
  17313. }
  17314. void CCSUsrMsg_DisconnectToLobby::SharedCtor() {
  17315. _cached_size_ = 0;
  17316. dummy_ = 0;
  17317. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17318. }
  17319. CCSUsrMsg_DisconnectToLobby::~CCSUsrMsg_DisconnectToLobby() {
  17320. SharedDtor();
  17321. }
  17322. void CCSUsrMsg_DisconnectToLobby::SharedDtor() {
  17323. if (this != default_instance_) {
  17324. }
  17325. }
  17326. void CCSUsrMsg_DisconnectToLobby::SetCachedSize(int size) const {
  17327. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17328. _cached_size_ = size;
  17329. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17330. }
  17331. const ::google::protobuf::Descriptor* CCSUsrMsg_DisconnectToLobby::descriptor() {
  17332. protobuf_AssignDescriptorsOnce();
  17333. return CCSUsrMsg_DisconnectToLobby_descriptor_;
  17334. }
  17335. const CCSUsrMsg_DisconnectToLobby& CCSUsrMsg_DisconnectToLobby::default_instance() {
  17336. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  17337. return *default_instance_;
  17338. }
  17339. CCSUsrMsg_DisconnectToLobby* CCSUsrMsg_DisconnectToLobby::default_instance_ = NULL;
  17340. CCSUsrMsg_DisconnectToLobby* CCSUsrMsg_DisconnectToLobby::New() const {
  17341. return new CCSUsrMsg_DisconnectToLobby;
  17342. }
  17343. void CCSUsrMsg_DisconnectToLobby::Clear() {
  17344. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17345. dummy_ = 0;
  17346. }
  17347. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17348. mutable_unknown_fields()->Clear();
  17349. }
  17350. bool CCSUsrMsg_DisconnectToLobby::MergePartialFromCodedStream(
  17351. ::google::protobuf::io::CodedInputStream* input) {
  17352. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17353. ::google::protobuf::uint32 tag;
  17354. while ((tag = input->ReadTag()) != 0) {
  17355. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17356. // optional int32 dummy = 1;
  17357. case 1: {
  17358. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17359. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17360. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17361. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17362. input, &dummy_)));
  17363. set_has_dummy();
  17364. } else {
  17365. goto handle_uninterpreted;
  17366. }
  17367. if (input->ExpectAtEnd()) return true;
  17368. break;
  17369. }
  17370. default: {
  17371. handle_uninterpreted:
  17372. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17373. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17374. return true;
  17375. }
  17376. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17377. input, tag, mutable_unknown_fields()));
  17378. break;
  17379. }
  17380. }
  17381. }
  17382. return true;
  17383. #undef DO_
  17384. }
  17385. void CCSUsrMsg_DisconnectToLobby::SerializeWithCachedSizes(
  17386. ::google::protobuf::io::CodedOutputStream* output) const {
  17387. // optional int32 dummy = 1;
  17388. if (has_dummy()) {
  17389. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dummy(), output);
  17390. }
  17391. if (!unknown_fields().empty()) {
  17392. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17393. unknown_fields(), output);
  17394. }
  17395. }
  17396. ::google::protobuf::uint8* CCSUsrMsg_DisconnectToLobby::SerializeWithCachedSizesToArray(
  17397. ::google::protobuf::uint8* target) const {
  17398. // optional int32 dummy = 1;
  17399. if (has_dummy()) {
  17400. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dummy(), target);
  17401. }
  17402. if (!unknown_fields().empty()) {
  17403. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17404. unknown_fields(), target);
  17405. }
  17406. return target;
  17407. }
  17408. int CCSUsrMsg_DisconnectToLobby::ByteSize() const {
  17409. int total_size = 0;
  17410. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17411. // optional int32 dummy = 1;
  17412. if (has_dummy()) {
  17413. total_size += 1 +
  17414. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17415. this->dummy());
  17416. }
  17417. }
  17418. if (!unknown_fields().empty()) {
  17419. total_size +=
  17420. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17421. unknown_fields());
  17422. }
  17423. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17424. _cached_size_ = total_size;
  17425. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17426. return total_size;
  17427. }
  17428. void CCSUsrMsg_DisconnectToLobby::MergeFrom(const ::google::protobuf::Message& from) {
  17429. GOOGLE_CHECK_NE(&from, this);
  17430. const CCSUsrMsg_DisconnectToLobby* source =
  17431. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_DisconnectToLobby*>(
  17432. &from);
  17433. if (source == NULL) {
  17434. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17435. } else {
  17436. MergeFrom(*source);
  17437. }
  17438. }
  17439. void CCSUsrMsg_DisconnectToLobby::MergeFrom(const CCSUsrMsg_DisconnectToLobby& from) {
  17440. GOOGLE_CHECK_NE(&from, this);
  17441. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17442. if (from.has_dummy()) {
  17443. set_dummy(from.dummy());
  17444. }
  17445. }
  17446. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17447. }
  17448. void CCSUsrMsg_DisconnectToLobby::CopyFrom(const ::google::protobuf::Message& from) {
  17449. if (&from == this) return;
  17450. Clear();
  17451. MergeFrom(from);
  17452. }
  17453. void CCSUsrMsg_DisconnectToLobby::CopyFrom(const CCSUsrMsg_DisconnectToLobby& from) {
  17454. if (&from == this) return;
  17455. Clear();
  17456. MergeFrom(from);
  17457. }
  17458. bool CCSUsrMsg_DisconnectToLobby::IsInitialized() const {
  17459. return true;
  17460. }
  17461. void CCSUsrMsg_DisconnectToLobby::Swap(CCSUsrMsg_DisconnectToLobby* other) {
  17462. if (other != this) {
  17463. std::swap(dummy_, other->dummy_);
  17464. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17465. _unknown_fields_.Swap(&other->_unknown_fields_);
  17466. std::swap(_cached_size_, other->_cached_size_);
  17467. }
  17468. }
  17469. ::google::protobuf::Metadata CCSUsrMsg_DisconnectToLobby::GetMetadata() const {
  17470. protobuf_AssignDescriptorsOnce();
  17471. ::google::protobuf::Metadata metadata;
  17472. metadata.descriptor = CCSUsrMsg_DisconnectToLobby_descriptor_;
  17473. metadata.reflection = CCSUsrMsg_DisconnectToLobby_reflection_;
  17474. return metadata;
  17475. }
  17476. // ===================================================================
  17477. #ifndef _MSC_VER
  17478. const int CCSUsrMsg_WarmupHasEnded::kDummyFieldNumber;
  17479. #endif // !_MSC_VER
  17480. CCSUsrMsg_WarmupHasEnded::CCSUsrMsg_WarmupHasEnded()
  17481. : ::google::protobuf::Message() {
  17482. SharedCtor();
  17483. }
  17484. void CCSUsrMsg_WarmupHasEnded::InitAsDefaultInstance() {
  17485. }
  17486. CCSUsrMsg_WarmupHasEnded::CCSUsrMsg_WarmupHasEnded(const CCSUsrMsg_WarmupHasEnded& from)
  17487. : ::google::protobuf::Message() {
  17488. SharedCtor();
  17489. MergeFrom(from);
  17490. }
  17491. void CCSUsrMsg_WarmupHasEnded::SharedCtor() {
  17492. _cached_size_ = 0;
  17493. dummy_ = 0;
  17494. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17495. }
  17496. CCSUsrMsg_WarmupHasEnded::~CCSUsrMsg_WarmupHasEnded() {
  17497. SharedDtor();
  17498. }
  17499. void CCSUsrMsg_WarmupHasEnded::SharedDtor() {
  17500. if (this != default_instance_) {
  17501. }
  17502. }
  17503. void CCSUsrMsg_WarmupHasEnded::SetCachedSize(int size) const {
  17504. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17505. _cached_size_ = size;
  17506. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17507. }
  17508. const ::google::protobuf::Descriptor* CCSUsrMsg_WarmupHasEnded::descriptor() {
  17509. protobuf_AssignDescriptorsOnce();
  17510. return CCSUsrMsg_WarmupHasEnded_descriptor_;
  17511. }
  17512. const CCSUsrMsg_WarmupHasEnded& CCSUsrMsg_WarmupHasEnded::default_instance() {
  17513. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  17514. return *default_instance_;
  17515. }
  17516. CCSUsrMsg_WarmupHasEnded* CCSUsrMsg_WarmupHasEnded::default_instance_ = NULL;
  17517. CCSUsrMsg_WarmupHasEnded* CCSUsrMsg_WarmupHasEnded::New() const {
  17518. return new CCSUsrMsg_WarmupHasEnded;
  17519. }
  17520. void CCSUsrMsg_WarmupHasEnded::Clear() {
  17521. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17522. dummy_ = 0;
  17523. }
  17524. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17525. mutable_unknown_fields()->Clear();
  17526. }
  17527. bool CCSUsrMsg_WarmupHasEnded::MergePartialFromCodedStream(
  17528. ::google::protobuf::io::CodedInputStream* input) {
  17529. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17530. ::google::protobuf::uint32 tag;
  17531. while ((tag = input->ReadTag()) != 0) {
  17532. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17533. // optional int32 dummy = 1;
  17534. case 1: {
  17535. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17536. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17537. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17538. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17539. input, &dummy_)));
  17540. set_has_dummy();
  17541. } else {
  17542. goto handle_uninterpreted;
  17543. }
  17544. if (input->ExpectAtEnd()) return true;
  17545. break;
  17546. }
  17547. default: {
  17548. handle_uninterpreted:
  17549. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17550. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17551. return true;
  17552. }
  17553. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17554. input, tag, mutable_unknown_fields()));
  17555. break;
  17556. }
  17557. }
  17558. }
  17559. return true;
  17560. #undef DO_
  17561. }
  17562. void CCSUsrMsg_WarmupHasEnded::SerializeWithCachedSizes(
  17563. ::google::protobuf::io::CodedOutputStream* output) const {
  17564. // optional int32 dummy = 1;
  17565. if (has_dummy()) {
  17566. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dummy(), output);
  17567. }
  17568. if (!unknown_fields().empty()) {
  17569. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17570. unknown_fields(), output);
  17571. }
  17572. }
  17573. ::google::protobuf::uint8* CCSUsrMsg_WarmupHasEnded::SerializeWithCachedSizesToArray(
  17574. ::google::protobuf::uint8* target) const {
  17575. // optional int32 dummy = 1;
  17576. if (has_dummy()) {
  17577. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dummy(), target);
  17578. }
  17579. if (!unknown_fields().empty()) {
  17580. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17581. unknown_fields(), target);
  17582. }
  17583. return target;
  17584. }
  17585. int CCSUsrMsg_WarmupHasEnded::ByteSize() const {
  17586. int total_size = 0;
  17587. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17588. // optional int32 dummy = 1;
  17589. if (has_dummy()) {
  17590. total_size += 1 +
  17591. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17592. this->dummy());
  17593. }
  17594. }
  17595. if (!unknown_fields().empty()) {
  17596. total_size +=
  17597. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17598. unknown_fields());
  17599. }
  17600. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17601. _cached_size_ = total_size;
  17602. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17603. return total_size;
  17604. }
  17605. void CCSUsrMsg_WarmupHasEnded::MergeFrom(const ::google::protobuf::Message& from) {
  17606. GOOGLE_CHECK_NE(&from, this);
  17607. const CCSUsrMsg_WarmupHasEnded* source =
  17608. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_WarmupHasEnded*>(
  17609. &from);
  17610. if (source == NULL) {
  17611. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17612. } else {
  17613. MergeFrom(*source);
  17614. }
  17615. }
  17616. void CCSUsrMsg_WarmupHasEnded::MergeFrom(const CCSUsrMsg_WarmupHasEnded& from) {
  17617. GOOGLE_CHECK_NE(&from, this);
  17618. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17619. if (from.has_dummy()) {
  17620. set_dummy(from.dummy());
  17621. }
  17622. }
  17623. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17624. }
  17625. void CCSUsrMsg_WarmupHasEnded::CopyFrom(const ::google::protobuf::Message& from) {
  17626. if (&from == this) return;
  17627. Clear();
  17628. MergeFrom(from);
  17629. }
  17630. void CCSUsrMsg_WarmupHasEnded::CopyFrom(const CCSUsrMsg_WarmupHasEnded& from) {
  17631. if (&from == this) return;
  17632. Clear();
  17633. MergeFrom(from);
  17634. }
  17635. bool CCSUsrMsg_WarmupHasEnded::IsInitialized() const {
  17636. return true;
  17637. }
  17638. void CCSUsrMsg_WarmupHasEnded::Swap(CCSUsrMsg_WarmupHasEnded* other) {
  17639. if (other != this) {
  17640. std::swap(dummy_, other->dummy_);
  17641. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17642. _unknown_fields_.Swap(&other->_unknown_fields_);
  17643. std::swap(_cached_size_, other->_cached_size_);
  17644. }
  17645. }
  17646. ::google::protobuf::Metadata CCSUsrMsg_WarmupHasEnded::GetMetadata() const {
  17647. protobuf_AssignDescriptorsOnce();
  17648. ::google::protobuf::Metadata metadata;
  17649. metadata.descriptor = CCSUsrMsg_WarmupHasEnded_descriptor_;
  17650. metadata.reflection = CCSUsrMsg_WarmupHasEnded_reflection_;
  17651. return metadata;
  17652. }
  17653. // ===================================================================
  17654. #ifndef _MSC_VER
  17655. const int CCSUsrMsg_ClientInfo::kDummyFieldNumber;
  17656. #endif // !_MSC_VER
  17657. CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo()
  17658. : ::google::protobuf::Message() {
  17659. SharedCtor();
  17660. }
  17661. void CCSUsrMsg_ClientInfo::InitAsDefaultInstance() {
  17662. }
  17663. CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo(const CCSUsrMsg_ClientInfo& from)
  17664. : ::google::protobuf::Message() {
  17665. SharedCtor();
  17666. MergeFrom(from);
  17667. }
  17668. void CCSUsrMsg_ClientInfo::SharedCtor() {
  17669. _cached_size_ = 0;
  17670. dummy_ = 0;
  17671. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17672. }
  17673. CCSUsrMsg_ClientInfo::~CCSUsrMsg_ClientInfo() {
  17674. SharedDtor();
  17675. }
  17676. void CCSUsrMsg_ClientInfo::SharedDtor() {
  17677. if (this != default_instance_) {
  17678. }
  17679. }
  17680. void CCSUsrMsg_ClientInfo::SetCachedSize(int size) const {
  17681. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17682. _cached_size_ = size;
  17683. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17684. }
  17685. const ::google::protobuf::Descriptor* CCSUsrMsg_ClientInfo::descriptor() {
  17686. protobuf_AssignDescriptorsOnce();
  17687. return CCSUsrMsg_ClientInfo_descriptor_;
  17688. }
  17689. const CCSUsrMsg_ClientInfo& CCSUsrMsg_ClientInfo::default_instance() {
  17690. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  17691. return *default_instance_;
  17692. }
  17693. CCSUsrMsg_ClientInfo* CCSUsrMsg_ClientInfo::default_instance_ = NULL;
  17694. CCSUsrMsg_ClientInfo* CCSUsrMsg_ClientInfo::New() const {
  17695. return new CCSUsrMsg_ClientInfo;
  17696. }
  17697. void CCSUsrMsg_ClientInfo::Clear() {
  17698. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17699. dummy_ = 0;
  17700. }
  17701. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17702. mutable_unknown_fields()->Clear();
  17703. }
  17704. bool CCSUsrMsg_ClientInfo::MergePartialFromCodedStream(
  17705. ::google::protobuf::io::CodedInputStream* input) {
  17706. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17707. ::google::protobuf::uint32 tag;
  17708. while ((tag = input->ReadTag()) != 0) {
  17709. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17710. // optional int32 dummy = 1;
  17711. case 1: {
  17712. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17713. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17714. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17715. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17716. input, &dummy_)));
  17717. set_has_dummy();
  17718. } else {
  17719. goto handle_uninterpreted;
  17720. }
  17721. if (input->ExpectAtEnd()) return true;
  17722. break;
  17723. }
  17724. default: {
  17725. handle_uninterpreted:
  17726. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17727. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17728. return true;
  17729. }
  17730. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17731. input, tag, mutable_unknown_fields()));
  17732. break;
  17733. }
  17734. }
  17735. }
  17736. return true;
  17737. #undef DO_
  17738. }
  17739. void CCSUsrMsg_ClientInfo::SerializeWithCachedSizes(
  17740. ::google::protobuf::io::CodedOutputStream* output) const {
  17741. // optional int32 dummy = 1;
  17742. if (has_dummy()) {
  17743. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dummy(), output);
  17744. }
  17745. if (!unknown_fields().empty()) {
  17746. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17747. unknown_fields(), output);
  17748. }
  17749. }
  17750. ::google::protobuf::uint8* CCSUsrMsg_ClientInfo::SerializeWithCachedSizesToArray(
  17751. ::google::protobuf::uint8* target) const {
  17752. // optional int32 dummy = 1;
  17753. if (has_dummy()) {
  17754. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dummy(), target);
  17755. }
  17756. if (!unknown_fields().empty()) {
  17757. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17758. unknown_fields(), target);
  17759. }
  17760. return target;
  17761. }
  17762. int CCSUsrMsg_ClientInfo::ByteSize() const {
  17763. int total_size = 0;
  17764. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17765. // optional int32 dummy = 1;
  17766. if (has_dummy()) {
  17767. total_size += 1 +
  17768. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17769. this->dummy());
  17770. }
  17771. }
  17772. if (!unknown_fields().empty()) {
  17773. total_size +=
  17774. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17775. unknown_fields());
  17776. }
  17777. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17778. _cached_size_ = total_size;
  17779. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17780. return total_size;
  17781. }
  17782. void CCSUsrMsg_ClientInfo::MergeFrom(const ::google::protobuf::Message& from) {
  17783. GOOGLE_CHECK_NE(&from, this);
  17784. const CCSUsrMsg_ClientInfo* source =
  17785. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ClientInfo*>(
  17786. &from);
  17787. if (source == NULL) {
  17788. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17789. } else {
  17790. MergeFrom(*source);
  17791. }
  17792. }
  17793. void CCSUsrMsg_ClientInfo::MergeFrom(const CCSUsrMsg_ClientInfo& from) {
  17794. GOOGLE_CHECK_NE(&from, this);
  17795. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17796. if (from.has_dummy()) {
  17797. set_dummy(from.dummy());
  17798. }
  17799. }
  17800. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17801. }
  17802. void CCSUsrMsg_ClientInfo::CopyFrom(const ::google::protobuf::Message& from) {
  17803. if (&from == this) return;
  17804. Clear();
  17805. MergeFrom(from);
  17806. }
  17807. void CCSUsrMsg_ClientInfo::CopyFrom(const CCSUsrMsg_ClientInfo& from) {
  17808. if (&from == this) return;
  17809. Clear();
  17810. MergeFrom(from);
  17811. }
  17812. bool CCSUsrMsg_ClientInfo::IsInitialized() const {
  17813. return true;
  17814. }
  17815. void CCSUsrMsg_ClientInfo::Swap(CCSUsrMsg_ClientInfo* other) {
  17816. if (other != this) {
  17817. std::swap(dummy_, other->dummy_);
  17818. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17819. _unknown_fields_.Swap(&other->_unknown_fields_);
  17820. std::swap(_cached_size_, other->_cached_size_);
  17821. }
  17822. }
  17823. ::google::protobuf::Metadata CCSUsrMsg_ClientInfo::GetMetadata() const {
  17824. protobuf_AssignDescriptorsOnce();
  17825. ::google::protobuf::Metadata metadata;
  17826. metadata.descriptor = CCSUsrMsg_ClientInfo_descriptor_;
  17827. metadata.reflection = CCSUsrMsg_ClientInfo_reflection_;
  17828. return metadata;
  17829. }
  17830. // ===================================================================
  17831. #ifndef _MSC_VER
  17832. const int CCSUsrMsg_ServerRankRevealAll::kSecondsTillShutdownFieldNumber;
  17833. #endif // !_MSC_VER
  17834. CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll()
  17835. : ::google::protobuf::Message() {
  17836. SharedCtor();
  17837. }
  17838. void CCSUsrMsg_ServerRankRevealAll::InitAsDefaultInstance() {
  17839. }
  17840. CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll(const CCSUsrMsg_ServerRankRevealAll& from)
  17841. : ::google::protobuf::Message() {
  17842. SharedCtor();
  17843. MergeFrom(from);
  17844. }
  17845. void CCSUsrMsg_ServerRankRevealAll::SharedCtor() {
  17846. _cached_size_ = 0;
  17847. seconds_till_shutdown_ = 0;
  17848. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17849. }
  17850. CCSUsrMsg_ServerRankRevealAll::~CCSUsrMsg_ServerRankRevealAll() {
  17851. SharedDtor();
  17852. }
  17853. void CCSUsrMsg_ServerRankRevealAll::SharedDtor() {
  17854. if (this != default_instance_) {
  17855. }
  17856. }
  17857. void CCSUsrMsg_ServerRankRevealAll::SetCachedSize(int size) const {
  17858. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17859. _cached_size_ = size;
  17860. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17861. }
  17862. const ::google::protobuf::Descriptor* CCSUsrMsg_ServerRankRevealAll::descriptor() {
  17863. protobuf_AssignDescriptorsOnce();
  17864. return CCSUsrMsg_ServerRankRevealAll_descriptor_;
  17865. }
  17866. const CCSUsrMsg_ServerRankRevealAll& CCSUsrMsg_ServerRankRevealAll::default_instance() {
  17867. if (default_instance_ == NULL) protobuf_AddDesc_cstrike15_5fusermessages_2eproto();
  17868. return *default_instance_;
  17869. }
  17870. CCSUsrMsg_ServerRankRevealAll* CCSUsrMsg_ServerRankRevealAll::default_instance_ = NULL;
  17871. CCSUsrMsg_ServerRankRevealAll* CCSUsrMsg_ServerRankRevealAll::New() const {
  17872. return new CCSUsrMsg_ServerRankRevealAll;
  17873. }
  17874. void CCSUsrMsg_ServerRankRevealAll::Clear() {
  17875. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17876. seconds_till_shutdown_ = 0;
  17877. }
  17878. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17879. mutable_unknown_fields()->Clear();
  17880. }
  17881. bool CCSUsrMsg_ServerRankRevealAll::MergePartialFromCodedStream(
  17882. ::google::protobuf::io::CodedInputStream* input) {
  17883. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17884. ::google::protobuf::uint32 tag;
  17885. while ((tag = input->ReadTag()) != 0) {
  17886. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17887. // optional int32 seconds_till_shutdown = 1;
  17888. case 1: {
  17889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17891. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17892. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17893. input, &seconds_till_shutdown_)));
  17894. set_has_seconds_till_shutdown();
  17895. } else {
  17896. goto handle_uninterpreted;
  17897. }
  17898. if (input->ExpectAtEnd()) return true;
  17899. break;
  17900. }
  17901. default: {
  17902. handle_uninterpreted:
  17903. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17904. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17905. return true;
  17906. }
  17907. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17908. input, tag, mutable_unknown_fields()));
  17909. break;
  17910. }
  17911. }
  17912. }
  17913. return true;
  17914. #undef DO_
  17915. }
  17916. void CCSUsrMsg_ServerRankRevealAll::SerializeWithCachedSizes(
  17917. ::google::protobuf::io::CodedOutputStream* output) const {
  17918. // optional int32 seconds_till_shutdown = 1;
  17919. if (has_seconds_till_shutdown()) {
  17920. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->seconds_till_shutdown(), output);
  17921. }
  17922. if (!unknown_fields().empty()) {
  17923. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17924. unknown_fields(), output);
  17925. }
  17926. }
  17927. ::google::protobuf::uint8* CCSUsrMsg_ServerRankRevealAll::SerializeWithCachedSizesToArray(
  17928. ::google::protobuf::uint8* target) const {
  17929. // optional int32 seconds_till_shutdown = 1;
  17930. if (has_seconds_till_shutdown()) {
  17931. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->seconds_till_shutdown(), target);
  17932. }
  17933. if (!unknown_fields().empty()) {
  17934. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17935. unknown_fields(), target);
  17936. }
  17937. return target;
  17938. }
  17939. int CCSUsrMsg_ServerRankRevealAll::ByteSize() const {
  17940. int total_size = 0;
  17941. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17942. // optional int32 seconds_till_shutdown = 1;
  17943. if (has_seconds_till_shutdown()) {
  17944. total_size += 1 +
  17945. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17946. this->seconds_till_shutdown());
  17947. }
  17948. }
  17949. if (!unknown_fields().empty()) {
  17950. total_size +=
  17951. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17952. unknown_fields());
  17953. }
  17954. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17955. _cached_size_ = total_size;
  17956. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17957. return total_size;
  17958. }
  17959. void CCSUsrMsg_ServerRankRevealAll::MergeFrom(const ::google::protobuf::Message& from) {
  17960. GOOGLE_CHECK_NE(&from, this);
  17961. const CCSUsrMsg_ServerRankRevealAll* source =
  17962. ::google::protobuf::internal::dynamic_cast_if_available<const CCSUsrMsg_ServerRankRevealAll*>(
  17963. &from);
  17964. if (source == NULL) {
  17965. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17966. } else {
  17967. MergeFrom(*source);
  17968. }
  17969. }
  17970. void CCSUsrMsg_ServerRankRevealAll::MergeFrom(const CCSUsrMsg_ServerRankRevealAll& from) {
  17971. GOOGLE_CHECK_NE(&from, this);
  17972. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17973. if (from.has_seconds_till_shutdown()) {
  17974. set_seconds_till_shutdown(from.seconds_till_shutdown());
  17975. }
  17976. }
  17977. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17978. }
  17979. void CCSUsrMsg_ServerRankRevealAll::CopyFrom(const ::google::protobuf::Message& from) {
  17980. if (&from == this) return;
  17981. Clear();
  17982. MergeFrom(from);
  17983. }
  17984. void CCSUsrMsg_ServerRankRevealAll::CopyFrom(const CCSUsrMsg_ServerRankRevealAll& from) {
  17985. if (&from == this) return;
  17986. Clear();
  17987. MergeFrom(from);
  17988. }
  17989. bool CCSUsrMsg_ServerRankRevealAll::IsInitialized() const {
  17990. return true;
  17991. }
  17992. void CCSUsrMsg_ServerRankRevealAll::Swap(CCSUsrMsg_ServerRankRevealAll* other) {
  17993. if (other != this) {
  17994. std::swap(seconds_till_shutdown_, other->seconds_till_shutdown_);
  17995. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17996. _unknown_fields_.Swap(&other->_unknown_fields_);
  17997. std::swap(_cached_size_, other->_cached_size_);
  17998. }
  17999. }
  18000. ::google::protobuf::Metadata CCSUsrMsg_ServerRankRevealAll::GetMetadata() const {
  18001. protobuf_AssignDescriptorsOnce();
  18002. ::google::protobuf::Metadata metadata;
  18003. metadata.descriptor = CCSUsrMsg_ServerRankRevealAll_descriptor_;
  18004. metadata.reflection = CCSUsrMsg_ServerRankRevealAll_reflection_;
  18005. return metadata;
  18006. }
  18007. // @@protoc_insertion_point(namespace_scope)
  18008. // @@protoc_insertion_point(global_scope)