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.

21993 lines
725 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: netmessages.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "netmessages.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* CMsgVector_descriptor_ = NULL;
  17. const ::google::protobuf::internal::GeneratedMessageReflection*
  18. CMsgVector_reflection_ = NULL;
  19. const ::google::protobuf::Descriptor* CMsgVector2D_descriptor_ = NULL;
  20. const ::google::protobuf::internal::GeneratedMessageReflection*
  21. CMsgVector2D_reflection_ = NULL;
  22. const ::google::protobuf::Descriptor* CMsgQAngle_descriptor_ = NULL;
  23. const ::google::protobuf::internal::GeneratedMessageReflection*
  24. CMsgQAngle_reflection_ = NULL;
  25. const ::google::protobuf::Descriptor* CMsgRGBA_descriptor_ = NULL;
  26. const ::google::protobuf::internal::GeneratedMessageReflection*
  27. CMsgRGBA_reflection_ = NULL;
  28. const ::google::protobuf::Descriptor* CNETMsg_Tick_descriptor_ = NULL;
  29. const ::google::protobuf::internal::GeneratedMessageReflection*
  30. CNETMsg_Tick_reflection_ = NULL;
  31. const ::google::protobuf::Descriptor* CNETMsg_StringCmd_descriptor_ = NULL;
  32. const ::google::protobuf::internal::GeneratedMessageReflection*
  33. CNETMsg_StringCmd_reflection_ = NULL;
  34. const ::google::protobuf::Descriptor* CNETMsg_SignonState_descriptor_ = NULL;
  35. const ::google::protobuf::internal::GeneratedMessageReflection*
  36. CNETMsg_SignonState_reflection_ = NULL;
  37. const ::google::protobuf::Descriptor* CMsg_CVars_descriptor_ = NULL;
  38. const ::google::protobuf::internal::GeneratedMessageReflection*
  39. CMsg_CVars_reflection_ = NULL;
  40. const ::google::protobuf::Descriptor* CMsg_CVars_CVar_descriptor_ = NULL;
  41. const ::google::protobuf::internal::GeneratedMessageReflection*
  42. CMsg_CVars_CVar_reflection_ = NULL;
  43. const ::google::protobuf::Descriptor* CNETMsg_SetConVar_descriptor_ = NULL;
  44. const ::google::protobuf::internal::GeneratedMessageReflection*
  45. CNETMsg_SetConVar_reflection_ = NULL;
  46. const ::google::protobuf::Descriptor* CNETMsg_NOP_descriptor_ = NULL;
  47. const ::google::protobuf::internal::GeneratedMessageReflection*
  48. CNETMsg_NOP_reflection_ = NULL;
  49. const ::google::protobuf::Descriptor* CNETMsg_Disconnect_descriptor_ = NULL;
  50. const ::google::protobuf::internal::GeneratedMessageReflection*
  51. CNETMsg_Disconnect_reflection_ = NULL;
  52. const ::google::protobuf::Descriptor* CNETMsg_File_descriptor_ = NULL;
  53. const ::google::protobuf::internal::GeneratedMessageReflection*
  54. CNETMsg_File_reflection_ = NULL;
  55. const ::google::protobuf::Descriptor* CNETMsg_SplitScreenUser_descriptor_ = NULL;
  56. const ::google::protobuf::internal::GeneratedMessageReflection*
  57. CNETMsg_SplitScreenUser_reflection_ = NULL;
  58. const ::google::protobuf::Descriptor* CNETMsg_PlayerAvatarData_descriptor_ = NULL;
  59. const ::google::protobuf::internal::GeneratedMessageReflection*
  60. CNETMsg_PlayerAvatarData_reflection_ = NULL;
  61. const ::google::protobuf::Descriptor* CCLCMsg_ClientInfo_descriptor_ = NULL;
  62. const ::google::protobuf::internal::GeneratedMessageReflection*
  63. CCLCMsg_ClientInfo_reflection_ = NULL;
  64. const ::google::protobuf::Descriptor* CCLCMsg_Move_descriptor_ = NULL;
  65. const ::google::protobuf::internal::GeneratedMessageReflection*
  66. CCLCMsg_Move_reflection_ = NULL;
  67. const ::google::protobuf::Descriptor* CCLCMsg_VoiceData_descriptor_ = NULL;
  68. const ::google::protobuf::internal::GeneratedMessageReflection*
  69. CCLCMsg_VoiceData_reflection_ = NULL;
  70. const ::google::protobuf::Descriptor* CCLCMsg_BaselineAck_descriptor_ = NULL;
  71. const ::google::protobuf::internal::GeneratedMessageReflection*
  72. CCLCMsg_BaselineAck_reflection_ = NULL;
  73. const ::google::protobuf::Descriptor* CCLCMsg_ListenEvents_descriptor_ = NULL;
  74. const ::google::protobuf::internal::GeneratedMessageReflection*
  75. CCLCMsg_ListenEvents_reflection_ = NULL;
  76. const ::google::protobuf::Descriptor* CCLCMsg_RespondCvarValue_descriptor_ = NULL;
  77. const ::google::protobuf::internal::GeneratedMessageReflection*
  78. CCLCMsg_RespondCvarValue_reflection_ = NULL;
  79. const ::google::protobuf::Descriptor* CCLCMsg_FileCRCCheck_descriptor_ = NULL;
  80. const ::google::protobuf::internal::GeneratedMessageReflection*
  81. CCLCMsg_FileCRCCheck_reflection_ = NULL;
  82. const ::google::protobuf::Descriptor* CCLCMsg_LoadingProgress_descriptor_ = NULL;
  83. const ::google::protobuf::internal::GeneratedMessageReflection*
  84. CCLCMsg_LoadingProgress_reflection_ = NULL;
  85. const ::google::protobuf::Descriptor* CCLCMsg_SplitPlayerConnect_descriptor_ = NULL;
  86. const ::google::protobuf::internal::GeneratedMessageReflection*
  87. CCLCMsg_SplitPlayerConnect_reflection_ = NULL;
  88. const ::google::protobuf::Descriptor* CCLCMsg_CmdKeyValues_descriptor_ = NULL;
  89. const ::google::protobuf::internal::GeneratedMessageReflection*
  90. CCLCMsg_CmdKeyValues_reflection_ = NULL;
  91. const ::google::protobuf::Descriptor* CSVCMsg_ServerInfo_descriptor_ = NULL;
  92. const ::google::protobuf::internal::GeneratedMessageReflection*
  93. CSVCMsg_ServerInfo_reflection_ = NULL;
  94. const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo_descriptor_ = NULL;
  95. const ::google::protobuf::internal::GeneratedMessageReflection*
  96. CSVCMsg_ClassInfo_reflection_ = NULL;
  97. const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo_class_t_descriptor_ = NULL;
  98. const ::google::protobuf::internal::GeneratedMessageReflection*
  99. CSVCMsg_ClassInfo_class_t_reflection_ = NULL;
  100. const ::google::protobuf::Descriptor* CSVCMsg_SendTable_descriptor_ = NULL;
  101. const ::google::protobuf::internal::GeneratedMessageReflection*
  102. CSVCMsg_SendTable_reflection_ = NULL;
  103. const ::google::protobuf::Descriptor* CSVCMsg_SendTable_sendprop_t_descriptor_ = NULL;
  104. const ::google::protobuf::internal::GeneratedMessageReflection*
  105. CSVCMsg_SendTable_sendprop_t_reflection_ = NULL;
  106. const ::google::protobuf::Descriptor* CSVCMsg_Print_descriptor_ = NULL;
  107. const ::google::protobuf::internal::GeneratedMessageReflection*
  108. CSVCMsg_Print_reflection_ = NULL;
  109. const ::google::protobuf::Descriptor* CSVCMsg_SetPause_descriptor_ = NULL;
  110. const ::google::protobuf::internal::GeneratedMessageReflection*
  111. CSVCMsg_SetPause_reflection_ = NULL;
  112. const ::google::protobuf::Descriptor* CSVCMsg_SetView_descriptor_ = NULL;
  113. const ::google::protobuf::internal::GeneratedMessageReflection*
  114. CSVCMsg_SetView_reflection_ = NULL;
  115. const ::google::protobuf::Descriptor* CSVCMsg_CreateStringTable_descriptor_ = NULL;
  116. const ::google::protobuf::internal::GeneratedMessageReflection*
  117. CSVCMsg_CreateStringTable_reflection_ = NULL;
  118. const ::google::protobuf::Descriptor* CSVCMsg_UpdateStringTable_descriptor_ = NULL;
  119. const ::google::protobuf::internal::GeneratedMessageReflection*
  120. CSVCMsg_UpdateStringTable_reflection_ = NULL;
  121. const ::google::protobuf::Descriptor* CSVCMsg_VoiceInit_descriptor_ = NULL;
  122. const ::google::protobuf::internal::GeneratedMessageReflection*
  123. CSVCMsg_VoiceInit_reflection_ = NULL;
  124. const ::google::protobuf::Descriptor* CSVCMsg_VoiceData_descriptor_ = NULL;
  125. const ::google::protobuf::internal::GeneratedMessageReflection*
  126. CSVCMsg_VoiceData_reflection_ = NULL;
  127. const ::google::protobuf::Descriptor* CSVCMsg_FixAngle_descriptor_ = NULL;
  128. const ::google::protobuf::internal::GeneratedMessageReflection*
  129. CSVCMsg_FixAngle_reflection_ = NULL;
  130. const ::google::protobuf::Descriptor* CSVCMsg_CrosshairAngle_descriptor_ = NULL;
  131. const ::google::protobuf::internal::GeneratedMessageReflection*
  132. CSVCMsg_CrosshairAngle_reflection_ = NULL;
  133. const ::google::protobuf::Descriptor* CSVCMsg_Prefetch_descriptor_ = NULL;
  134. const ::google::protobuf::internal::GeneratedMessageReflection*
  135. CSVCMsg_Prefetch_reflection_ = NULL;
  136. const ::google::protobuf::Descriptor* CSVCMsg_BSPDecal_descriptor_ = NULL;
  137. const ::google::protobuf::internal::GeneratedMessageReflection*
  138. CSVCMsg_BSPDecal_reflection_ = NULL;
  139. const ::google::protobuf::Descriptor* CSVCMsg_SplitScreen_descriptor_ = NULL;
  140. const ::google::protobuf::internal::GeneratedMessageReflection*
  141. CSVCMsg_SplitScreen_reflection_ = NULL;
  142. const ::google::protobuf::Descriptor* CSVCMsg_GetCvarValue_descriptor_ = NULL;
  143. const ::google::protobuf::internal::GeneratedMessageReflection*
  144. CSVCMsg_GetCvarValue_reflection_ = NULL;
  145. const ::google::protobuf::Descriptor* CSVCMsg_Menu_descriptor_ = NULL;
  146. const ::google::protobuf::internal::GeneratedMessageReflection*
  147. CSVCMsg_Menu_reflection_ = NULL;
  148. const ::google::protobuf::Descriptor* CSVCMsg_UserMessage_descriptor_ = NULL;
  149. const ::google::protobuf::internal::GeneratedMessageReflection*
  150. CSVCMsg_UserMessage_reflection_ = NULL;
  151. const ::google::protobuf::Descriptor* CSVCMsg_PaintmapData_descriptor_ = NULL;
  152. const ::google::protobuf::internal::GeneratedMessageReflection*
  153. CSVCMsg_PaintmapData_reflection_ = NULL;
  154. const ::google::protobuf::Descriptor* CSVCMsg_GameEvent_descriptor_ = NULL;
  155. const ::google::protobuf::internal::GeneratedMessageReflection*
  156. CSVCMsg_GameEvent_reflection_ = NULL;
  157. const ::google::protobuf::Descriptor* CSVCMsg_GameEvent_key_t_descriptor_ = NULL;
  158. const ::google::protobuf::internal::GeneratedMessageReflection*
  159. CSVCMsg_GameEvent_key_t_reflection_ = NULL;
  160. const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_descriptor_ = NULL;
  161. const ::google::protobuf::internal::GeneratedMessageReflection*
  162. CSVCMsg_GameEventList_reflection_ = NULL;
  163. const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_key_t_descriptor_ = NULL;
  164. const ::google::protobuf::internal::GeneratedMessageReflection*
  165. CSVCMsg_GameEventList_key_t_reflection_ = NULL;
  166. const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_descriptor_t_descriptor_ = NULL;
  167. const ::google::protobuf::internal::GeneratedMessageReflection*
  168. CSVCMsg_GameEventList_descriptor_t_reflection_ = NULL;
  169. const ::google::protobuf::Descriptor* CSVCMsg_TempEntities_descriptor_ = NULL;
  170. const ::google::protobuf::internal::GeneratedMessageReflection*
  171. CSVCMsg_TempEntities_reflection_ = NULL;
  172. const ::google::protobuf::Descriptor* CSVCMsg_PacketEntities_descriptor_ = NULL;
  173. const ::google::protobuf::internal::GeneratedMessageReflection*
  174. CSVCMsg_PacketEntities_reflection_ = NULL;
  175. const ::google::protobuf::Descriptor* CSVCMsg_Sounds_descriptor_ = NULL;
  176. const ::google::protobuf::internal::GeneratedMessageReflection*
  177. CSVCMsg_Sounds_reflection_ = NULL;
  178. const ::google::protobuf::Descriptor* CSVCMsg_Sounds_sounddata_t_descriptor_ = NULL;
  179. const ::google::protobuf::internal::GeneratedMessageReflection*
  180. CSVCMsg_Sounds_sounddata_t_reflection_ = NULL;
  181. const ::google::protobuf::Descriptor* CSVCMsg_EntityMsg_descriptor_ = NULL;
  182. const ::google::protobuf::internal::GeneratedMessageReflection*
  183. CSVCMsg_EntityMsg_reflection_ = NULL;
  184. const ::google::protobuf::Descriptor* CSVCMsg_CmdKeyValues_descriptor_ = NULL;
  185. const ::google::protobuf::internal::GeneratedMessageReflection*
  186. CSVCMsg_CmdKeyValues_reflection_ = NULL;
  187. const ::google::protobuf::Descriptor* CSVCMsg_EncryptedData_descriptor_ = NULL;
  188. const ::google::protobuf::internal::GeneratedMessageReflection*
  189. CSVCMsg_EncryptedData_reflection_ = NULL;
  190. const ::google::protobuf::Descriptor* CSVCMsg_HltvReplay_descriptor_ = NULL;
  191. const ::google::protobuf::internal::GeneratedMessageReflection*
  192. CSVCMsg_HltvReplay_reflection_ = NULL;
  193. const ::google::protobuf::Descriptor* CCLCMsg_HltvReplay_descriptor_ = NULL;
  194. const ::google::protobuf::internal::GeneratedMessageReflection*
  195. CCLCMsg_HltvReplay_reflection_ = NULL;
  196. const ::google::protobuf::Descriptor* CSVCMsg_Broadcast_Command_descriptor_ = NULL;
  197. const ::google::protobuf::internal::GeneratedMessageReflection*
  198. CSVCMsg_Broadcast_Command_reflection_ = NULL;
  199. const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor_ = NULL;
  200. const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor_ = NULL;
  201. const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor_ = NULL;
  202. const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor_ = NULL;
  203. const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor_ = NULL;
  204. const ::google::protobuf::EnumDescriptor* ReplayEventType_t_descriptor_ = NULL;
  205. } // namespace
  206. void protobuf_AssignDesc_netmessages_2eproto() {
  207. protobuf_AddDesc_netmessages_2eproto();
  208. const ::google::protobuf::FileDescriptor* file =
  209. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  210. "netmessages.proto");
  211. GOOGLE_CHECK(file != NULL);
  212. CMsgVector_descriptor_ = file->message_type(0);
  213. static const int CMsgVector_offsets_[3] = {
  214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, x_),
  215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, y_),
  216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, z_),
  217. };
  218. CMsgVector_reflection_ =
  219. new ::google::protobuf::internal::GeneratedMessageReflection(
  220. CMsgVector_descriptor_,
  221. CMsgVector::default_instance_,
  222. CMsgVector_offsets_,
  223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, _has_bits_[0]),
  224. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, _unknown_fields_),
  225. -1,
  226. ::google::protobuf::DescriptorPool::generated_pool(),
  227. ::google::protobuf::MessageFactory::generated_factory(),
  228. sizeof(CMsgVector));
  229. CMsgVector2D_descriptor_ = file->message_type(1);
  230. static const int CMsgVector2D_offsets_[2] = {
  231. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, x_),
  232. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, y_),
  233. };
  234. CMsgVector2D_reflection_ =
  235. new ::google::protobuf::internal::GeneratedMessageReflection(
  236. CMsgVector2D_descriptor_,
  237. CMsgVector2D::default_instance_,
  238. CMsgVector2D_offsets_,
  239. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, _has_bits_[0]),
  240. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, _unknown_fields_),
  241. -1,
  242. ::google::protobuf::DescriptorPool::generated_pool(),
  243. ::google::protobuf::MessageFactory::generated_factory(),
  244. sizeof(CMsgVector2D));
  245. CMsgQAngle_descriptor_ = file->message_type(2);
  246. static const int CMsgQAngle_offsets_[3] = {
  247. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, x_),
  248. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, y_),
  249. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, z_),
  250. };
  251. CMsgQAngle_reflection_ =
  252. new ::google::protobuf::internal::GeneratedMessageReflection(
  253. CMsgQAngle_descriptor_,
  254. CMsgQAngle::default_instance_,
  255. CMsgQAngle_offsets_,
  256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, _has_bits_[0]),
  257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, _unknown_fields_),
  258. -1,
  259. ::google::protobuf::DescriptorPool::generated_pool(),
  260. ::google::protobuf::MessageFactory::generated_factory(),
  261. sizeof(CMsgQAngle));
  262. CMsgRGBA_descriptor_ = file->message_type(3);
  263. static const int CMsgRGBA_offsets_[4] = {
  264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRGBA, r_),
  265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRGBA, g_),
  266. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRGBA, b_),
  267. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRGBA, a_),
  268. };
  269. CMsgRGBA_reflection_ =
  270. new ::google::protobuf::internal::GeneratedMessageReflection(
  271. CMsgRGBA_descriptor_,
  272. CMsgRGBA::default_instance_,
  273. CMsgRGBA_offsets_,
  274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRGBA, _has_bits_[0]),
  275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRGBA, _unknown_fields_),
  276. -1,
  277. ::google::protobuf::DescriptorPool::generated_pool(),
  278. ::google::protobuf::MessageFactory::generated_factory(),
  279. sizeof(CMsgRGBA));
  280. CNETMsg_Tick_descriptor_ = file->message_type(4);
  281. static const int CNETMsg_Tick_offsets_[5] = {
  282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, tick_),
  283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_computationtime_),
  284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_computationtime_std_deviation_),
  285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_framestarttime_std_deviation_),
  286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, hltv_replay_flags_),
  287. };
  288. CNETMsg_Tick_reflection_ =
  289. new ::google::protobuf::internal::GeneratedMessageReflection(
  290. CNETMsg_Tick_descriptor_,
  291. CNETMsg_Tick::default_instance_,
  292. CNETMsg_Tick_offsets_,
  293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, _has_bits_[0]),
  294. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, _unknown_fields_),
  295. -1,
  296. ::google::protobuf::DescriptorPool::generated_pool(),
  297. ::google::protobuf::MessageFactory::generated_factory(),
  298. sizeof(CNETMsg_Tick));
  299. CNETMsg_StringCmd_descriptor_ = file->message_type(5);
  300. static const int CNETMsg_StringCmd_offsets_[1] = {
  301. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, command_),
  302. };
  303. CNETMsg_StringCmd_reflection_ =
  304. new ::google::protobuf::internal::GeneratedMessageReflection(
  305. CNETMsg_StringCmd_descriptor_,
  306. CNETMsg_StringCmd::default_instance_,
  307. CNETMsg_StringCmd_offsets_,
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, _has_bits_[0]),
  309. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, _unknown_fields_),
  310. -1,
  311. ::google::protobuf::DescriptorPool::generated_pool(),
  312. ::google::protobuf::MessageFactory::generated_factory(),
  313. sizeof(CNETMsg_StringCmd));
  314. CNETMsg_SignonState_descriptor_ = file->message_type(6);
  315. static const int CNETMsg_SignonState_offsets_[5] = {
  316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, signon_state_),
  317. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, spawn_count_),
  318. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, num_server_players_),
  319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, players_networkids_),
  320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, map_name_),
  321. };
  322. CNETMsg_SignonState_reflection_ =
  323. new ::google::protobuf::internal::GeneratedMessageReflection(
  324. CNETMsg_SignonState_descriptor_,
  325. CNETMsg_SignonState::default_instance_,
  326. CNETMsg_SignonState_offsets_,
  327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, _has_bits_[0]),
  328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, _unknown_fields_),
  329. -1,
  330. ::google::protobuf::DescriptorPool::generated_pool(),
  331. ::google::protobuf::MessageFactory::generated_factory(),
  332. sizeof(CNETMsg_SignonState));
  333. CMsg_CVars_descriptor_ = file->message_type(7);
  334. static const int CMsg_CVars_offsets_[1] = {
  335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, cvars_),
  336. };
  337. CMsg_CVars_reflection_ =
  338. new ::google::protobuf::internal::GeneratedMessageReflection(
  339. CMsg_CVars_descriptor_,
  340. CMsg_CVars::default_instance_,
  341. CMsg_CVars_offsets_,
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, _has_bits_[0]),
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, _unknown_fields_),
  344. -1,
  345. ::google::protobuf::DescriptorPool::generated_pool(),
  346. ::google::protobuf::MessageFactory::generated_factory(),
  347. sizeof(CMsg_CVars));
  348. CMsg_CVars_CVar_descriptor_ = CMsg_CVars_descriptor_->nested_type(0);
  349. static const int CMsg_CVars_CVar_offsets_[3] = {
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, name_),
  351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, value_),
  352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, dictionary_name_),
  353. };
  354. CMsg_CVars_CVar_reflection_ =
  355. new ::google::protobuf::internal::GeneratedMessageReflection(
  356. CMsg_CVars_CVar_descriptor_,
  357. CMsg_CVars_CVar::default_instance_,
  358. CMsg_CVars_CVar_offsets_,
  359. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, _has_bits_[0]),
  360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, _unknown_fields_),
  361. -1,
  362. ::google::protobuf::DescriptorPool::generated_pool(),
  363. ::google::protobuf::MessageFactory::generated_factory(),
  364. sizeof(CMsg_CVars_CVar));
  365. CNETMsg_SetConVar_descriptor_ = file->message_type(8);
  366. static const int CNETMsg_SetConVar_offsets_[1] = {
  367. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, convars_),
  368. };
  369. CNETMsg_SetConVar_reflection_ =
  370. new ::google::protobuf::internal::GeneratedMessageReflection(
  371. CNETMsg_SetConVar_descriptor_,
  372. CNETMsg_SetConVar::default_instance_,
  373. CNETMsg_SetConVar_offsets_,
  374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, _has_bits_[0]),
  375. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, _unknown_fields_),
  376. -1,
  377. ::google::protobuf::DescriptorPool::generated_pool(),
  378. ::google::protobuf::MessageFactory::generated_factory(),
  379. sizeof(CNETMsg_SetConVar));
  380. CNETMsg_NOP_descriptor_ = file->message_type(9);
  381. static const int CNETMsg_NOP_offsets_[1] = {
  382. };
  383. CNETMsg_NOP_reflection_ =
  384. new ::google::protobuf::internal::GeneratedMessageReflection(
  385. CNETMsg_NOP_descriptor_,
  386. CNETMsg_NOP::default_instance_,
  387. CNETMsg_NOP_offsets_,
  388. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_NOP, _has_bits_[0]),
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_NOP, _unknown_fields_),
  390. -1,
  391. ::google::protobuf::DescriptorPool::generated_pool(),
  392. ::google::protobuf::MessageFactory::generated_factory(),
  393. sizeof(CNETMsg_NOP));
  394. CNETMsg_Disconnect_descriptor_ = file->message_type(10);
  395. static const int CNETMsg_Disconnect_offsets_[1] = {
  396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, text_),
  397. };
  398. CNETMsg_Disconnect_reflection_ =
  399. new ::google::protobuf::internal::GeneratedMessageReflection(
  400. CNETMsg_Disconnect_descriptor_,
  401. CNETMsg_Disconnect::default_instance_,
  402. CNETMsg_Disconnect_offsets_,
  403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, _has_bits_[0]),
  404. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, _unknown_fields_),
  405. -1,
  406. ::google::protobuf::DescriptorPool::generated_pool(),
  407. ::google::protobuf::MessageFactory::generated_factory(),
  408. sizeof(CNETMsg_Disconnect));
  409. CNETMsg_File_descriptor_ = file->message_type(11);
  410. static const int CNETMsg_File_offsets_[4] = {
  411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, transfer_id_),
  412. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, file_name_),
  413. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, is_replay_demo_file_),
  414. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, deny_),
  415. };
  416. CNETMsg_File_reflection_ =
  417. new ::google::protobuf::internal::GeneratedMessageReflection(
  418. CNETMsg_File_descriptor_,
  419. CNETMsg_File::default_instance_,
  420. CNETMsg_File_offsets_,
  421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, _has_bits_[0]),
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, _unknown_fields_),
  423. -1,
  424. ::google::protobuf::DescriptorPool::generated_pool(),
  425. ::google::protobuf::MessageFactory::generated_factory(),
  426. sizeof(CNETMsg_File));
  427. CNETMsg_SplitScreenUser_descriptor_ = file->message_type(12);
  428. static const int CNETMsg_SplitScreenUser_offsets_[1] = {
  429. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, slot_),
  430. };
  431. CNETMsg_SplitScreenUser_reflection_ =
  432. new ::google::protobuf::internal::GeneratedMessageReflection(
  433. CNETMsg_SplitScreenUser_descriptor_,
  434. CNETMsg_SplitScreenUser::default_instance_,
  435. CNETMsg_SplitScreenUser_offsets_,
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, _has_bits_[0]),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, _unknown_fields_),
  438. -1,
  439. ::google::protobuf::DescriptorPool::generated_pool(),
  440. ::google::protobuf::MessageFactory::generated_factory(),
  441. sizeof(CNETMsg_SplitScreenUser));
  442. CNETMsg_PlayerAvatarData_descriptor_ = file->message_type(13);
  443. static const int CNETMsg_PlayerAvatarData_offsets_[2] = {
  444. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_PlayerAvatarData, accountid_),
  445. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_PlayerAvatarData, rgb_),
  446. };
  447. CNETMsg_PlayerAvatarData_reflection_ =
  448. new ::google::protobuf::internal::GeneratedMessageReflection(
  449. CNETMsg_PlayerAvatarData_descriptor_,
  450. CNETMsg_PlayerAvatarData::default_instance_,
  451. CNETMsg_PlayerAvatarData_offsets_,
  452. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_PlayerAvatarData, _has_bits_[0]),
  453. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_PlayerAvatarData, _unknown_fields_),
  454. -1,
  455. ::google::protobuf::DescriptorPool::generated_pool(),
  456. ::google::protobuf::MessageFactory::generated_factory(),
  457. sizeof(CNETMsg_PlayerAvatarData));
  458. CCLCMsg_ClientInfo_descriptor_ = file->message_type(14);
  459. static const int CCLCMsg_ClientInfo_offsets_[7] = {
  460. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, send_table_crc_),
  461. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, server_count_),
  462. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, is_hltv_),
  463. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, is_replay_),
  464. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, friends_id_),
  465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, friends_name_),
  466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, custom_files_),
  467. };
  468. CCLCMsg_ClientInfo_reflection_ =
  469. new ::google::protobuf::internal::GeneratedMessageReflection(
  470. CCLCMsg_ClientInfo_descriptor_,
  471. CCLCMsg_ClientInfo::default_instance_,
  472. CCLCMsg_ClientInfo_offsets_,
  473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, _has_bits_[0]),
  474. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, _unknown_fields_),
  475. -1,
  476. ::google::protobuf::DescriptorPool::generated_pool(),
  477. ::google::protobuf::MessageFactory::generated_factory(),
  478. sizeof(CCLCMsg_ClientInfo));
  479. CCLCMsg_Move_descriptor_ = file->message_type(15);
  480. static const int CCLCMsg_Move_offsets_[3] = {
  481. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, num_backup_commands_),
  482. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, num_new_commands_),
  483. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, data_),
  484. };
  485. CCLCMsg_Move_reflection_ =
  486. new ::google::protobuf::internal::GeneratedMessageReflection(
  487. CCLCMsg_Move_descriptor_,
  488. CCLCMsg_Move::default_instance_,
  489. CCLCMsg_Move_offsets_,
  490. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, _has_bits_[0]),
  491. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, _unknown_fields_),
  492. -1,
  493. ::google::protobuf::DescriptorPool::generated_pool(),
  494. ::google::protobuf::MessageFactory::generated_factory(),
  495. sizeof(CCLCMsg_Move));
  496. CCLCMsg_VoiceData_descriptor_ = file->message_type(16);
  497. static const int CCLCMsg_VoiceData_offsets_[6] = {
  498. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, data_),
  499. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, xuid_),
  500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, format_),
  501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, sequence_bytes_),
  502. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, section_number_),
  503. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, uncompressed_sample_offset_),
  504. };
  505. CCLCMsg_VoiceData_reflection_ =
  506. new ::google::protobuf::internal::GeneratedMessageReflection(
  507. CCLCMsg_VoiceData_descriptor_,
  508. CCLCMsg_VoiceData::default_instance_,
  509. CCLCMsg_VoiceData_offsets_,
  510. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, _has_bits_[0]),
  511. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, _unknown_fields_),
  512. -1,
  513. ::google::protobuf::DescriptorPool::generated_pool(),
  514. ::google::protobuf::MessageFactory::generated_factory(),
  515. sizeof(CCLCMsg_VoiceData));
  516. CCLCMsg_BaselineAck_descriptor_ = file->message_type(17);
  517. static const int CCLCMsg_BaselineAck_offsets_[2] = {
  518. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, baseline_tick_),
  519. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, baseline_nr_),
  520. };
  521. CCLCMsg_BaselineAck_reflection_ =
  522. new ::google::protobuf::internal::GeneratedMessageReflection(
  523. CCLCMsg_BaselineAck_descriptor_,
  524. CCLCMsg_BaselineAck::default_instance_,
  525. CCLCMsg_BaselineAck_offsets_,
  526. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, _has_bits_[0]),
  527. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, _unknown_fields_),
  528. -1,
  529. ::google::protobuf::DescriptorPool::generated_pool(),
  530. ::google::protobuf::MessageFactory::generated_factory(),
  531. sizeof(CCLCMsg_BaselineAck));
  532. CCLCMsg_ListenEvents_descriptor_ = file->message_type(18);
  533. static const int CCLCMsg_ListenEvents_offsets_[1] = {
  534. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, event_mask_),
  535. };
  536. CCLCMsg_ListenEvents_reflection_ =
  537. new ::google::protobuf::internal::GeneratedMessageReflection(
  538. CCLCMsg_ListenEvents_descriptor_,
  539. CCLCMsg_ListenEvents::default_instance_,
  540. CCLCMsg_ListenEvents_offsets_,
  541. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, _has_bits_[0]),
  542. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, _unknown_fields_),
  543. -1,
  544. ::google::protobuf::DescriptorPool::generated_pool(),
  545. ::google::protobuf::MessageFactory::generated_factory(),
  546. sizeof(CCLCMsg_ListenEvents));
  547. CCLCMsg_RespondCvarValue_descriptor_ = file->message_type(19);
  548. static const int CCLCMsg_RespondCvarValue_offsets_[4] = {
  549. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, cookie_),
  550. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, status_code_),
  551. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, name_),
  552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, value_),
  553. };
  554. CCLCMsg_RespondCvarValue_reflection_ =
  555. new ::google::protobuf::internal::GeneratedMessageReflection(
  556. CCLCMsg_RespondCvarValue_descriptor_,
  557. CCLCMsg_RespondCvarValue::default_instance_,
  558. CCLCMsg_RespondCvarValue_offsets_,
  559. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _has_bits_[0]),
  560. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _unknown_fields_),
  561. -1,
  562. ::google::protobuf::DescriptorPool::generated_pool(),
  563. ::google::protobuf::MessageFactory::generated_factory(),
  564. sizeof(CCLCMsg_RespondCvarValue));
  565. CCLCMsg_FileCRCCheck_descriptor_ = file->message_type(20);
  566. static const int CCLCMsg_FileCRCCheck_offsets_[11] = {
  567. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, code_path_),
  568. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, path_),
  569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, code_filename_),
  570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, filename_),
  571. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, file_fraction_),
  572. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, md5_),
  573. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, crc_),
  574. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, file_hash_type_),
  575. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, file_len_),
  576. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, pack_file_id_),
  577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, pack_file_number_),
  578. };
  579. CCLCMsg_FileCRCCheck_reflection_ =
  580. new ::google::protobuf::internal::GeneratedMessageReflection(
  581. CCLCMsg_FileCRCCheck_descriptor_,
  582. CCLCMsg_FileCRCCheck::default_instance_,
  583. CCLCMsg_FileCRCCheck_offsets_,
  584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, _has_bits_[0]),
  585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, _unknown_fields_),
  586. -1,
  587. ::google::protobuf::DescriptorPool::generated_pool(),
  588. ::google::protobuf::MessageFactory::generated_factory(),
  589. sizeof(CCLCMsg_FileCRCCheck));
  590. CCLCMsg_LoadingProgress_descriptor_ = file->message_type(21);
  591. static const int CCLCMsg_LoadingProgress_offsets_[1] = {
  592. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, progress_),
  593. };
  594. CCLCMsg_LoadingProgress_reflection_ =
  595. new ::google::protobuf::internal::GeneratedMessageReflection(
  596. CCLCMsg_LoadingProgress_descriptor_,
  597. CCLCMsg_LoadingProgress::default_instance_,
  598. CCLCMsg_LoadingProgress_offsets_,
  599. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, _has_bits_[0]),
  600. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, _unknown_fields_),
  601. -1,
  602. ::google::protobuf::DescriptorPool::generated_pool(),
  603. ::google::protobuf::MessageFactory::generated_factory(),
  604. sizeof(CCLCMsg_LoadingProgress));
  605. CCLCMsg_SplitPlayerConnect_descriptor_ = file->message_type(22);
  606. static const int CCLCMsg_SplitPlayerConnect_offsets_[1] = {
  607. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, convars_),
  608. };
  609. CCLCMsg_SplitPlayerConnect_reflection_ =
  610. new ::google::protobuf::internal::GeneratedMessageReflection(
  611. CCLCMsg_SplitPlayerConnect_descriptor_,
  612. CCLCMsg_SplitPlayerConnect::default_instance_,
  613. CCLCMsg_SplitPlayerConnect_offsets_,
  614. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, _has_bits_[0]),
  615. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, _unknown_fields_),
  616. -1,
  617. ::google::protobuf::DescriptorPool::generated_pool(),
  618. ::google::protobuf::MessageFactory::generated_factory(),
  619. sizeof(CCLCMsg_SplitPlayerConnect));
  620. CCLCMsg_CmdKeyValues_descriptor_ = file->message_type(23);
  621. static const int CCLCMsg_CmdKeyValues_offsets_[1] = {
  622. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_CmdKeyValues, keyvalues_),
  623. };
  624. CCLCMsg_CmdKeyValues_reflection_ =
  625. new ::google::protobuf::internal::GeneratedMessageReflection(
  626. CCLCMsg_CmdKeyValues_descriptor_,
  627. CCLCMsg_CmdKeyValues::default_instance_,
  628. CCLCMsg_CmdKeyValues_offsets_,
  629. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_CmdKeyValues, _has_bits_[0]),
  630. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_CmdKeyValues, _unknown_fields_),
  631. -1,
  632. ::google::protobuf::DescriptorPool::generated_pool(),
  633. ::google::protobuf::MessageFactory::generated_factory(),
  634. sizeof(CCLCMsg_CmdKeyValues));
  635. CSVCMsg_ServerInfo_descriptor_ = file->message_type(24);
  636. static const int CSVCMsg_ServerInfo_offsets_[22] = {
  637. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, protocol_),
  638. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, server_count_),
  639. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_dedicated_),
  640. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_official_valve_server_),
  641. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_hltv_),
  642. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_replay_),
  643. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_redirecting_to_proxy_relay_),
  644. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, c_os_),
  645. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, map_crc_),
  646. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, client_crc_),
  647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, string_table_crc_),
  648. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, max_clients_),
  649. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, max_classes_),
  650. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, player_slot_),
  651. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, tick_interval_),
  652. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, game_dir_),
  653. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, map_name_),
  654. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, map_group_name_),
  655. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, sky_name_),
  656. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, host_name_),
  657. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, public_ip_),
  658. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, ugc_map_id_),
  659. };
  660. CSVCMsg_ServerInfo_reflection_ =
  661. new ::google::protobuf::internal::GeneratedMessageReflection(
  662. CSVCMsg_ServerInfo_descriptor_,
  663. CSVCMsg_ServerInfo::default_instance_,
  664. CSVCMsg_ServerInfo_offsets_,
  665. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, _has_bits_[0]),
  666. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, _unknown_fields_),
  667. -1,
  668. ::google::protobuf::DescriptorPool::generated_pool(),
  669. ::google::protobuf::MessageFactory::generated_factory(),
  670. sizeof(CSVCMsg_ServerInfo));
  671. CSVCMsg_ClassInfo_descriptor_ = file->message_type(25);
  672. static const int CSVCMsg_ClassInfo_offsets_[2] = {
  673. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, create_on_client_),
  674. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, classes_),
  675. };
  676. CSVCMsg_ClassInfo_reflection_ =
  677. new ::google::protobuf::internal::GeneratedMessageReflection(
  678. CSVCMsg_ClassInfo_descriptor_,
  679. CSVCMsg_ClassInfo::default_instance_,
  680. CSVCMsg_ClassInfo_offsets_,
  681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, _has_bits_[0]),
  682. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, _unknown_fields_),
  683. -1,
  684. ::google::protobuf::DescriptorPool::generated_pool(),
  685. ::google::protobuf::MessageFactory::generated_factory(),
  686. sizeof(CSVCMsg_ClassInfo));
  687. CSVCMsg_ClassInfo_class_t_descriptor_ = CSVCMsg_ClassInfo_descriptor_->nested_type(0);
  688. static const int CSVCMsg_ClassInfo_class_t_offsets_[3] = {
  689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, class_id_),
  690. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, data_table_name_),
  691. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, class_name_),
  692. };
  693. CSVCMsg_ClassInfo_class_t_reflection_ =
  694. new ::google::protobuf::internal::GeneratedMessageReflection(
  695. CSVCMsg_ClassInfo_class_t_descriptor_,
  696. CSVCMsg_ClassInfo_class_t::default_instance_,
  697. CSVCMsg_ClassInfo_class_t_offsets_,
  698. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, _has_bits_[0]),
  699. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, _unknown_fields_),
  700. -1,
  701. ::google::protobuf::DescriptorPool::generated_pool(),
  702. ::google::protobuf::MessageFactory::generated_factory(),
  703. sizeof(CSVCMsg_ClassInfo_class_t));
  704. CSVCMsg_SendTable_descriptor_ = file->message_type(26);
  705. static const int CSVCMsg_SendTable_offsets_[4] = {
  706. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, is_end_),
  707. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, net_table_name_),
  708. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, needs_decoder_),
  709. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, props_),
  710. };
  711. CSVCMsg_SendTable_reflection_ =
  712. new ::google::protobuf::internal::GeneratedMessageReflection(
  713. CSVCMsg_SendTable_descriptor_,
  714. CSVCMsg_SendTable::default_instance_,
  715. CSVCMsg_SendTable_offsets_,
  716. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, _has_bits_[0]),
  717. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, _unknown_fields_),
  718. -1,
  719. ::google::protobuf::DescriptorPool::generated_pool(),
  720. ::google::protobuf::MessageFactory::generated_factory(),
  721. sizeof(CSVCMsg_SendTable));
  722. CSVCMsg_SendTable_sendprop_t_descriptor_ = CSVCMsg_SendTable_descriptor_->nested_type(0);
  723. static const int CSVCMsg_SendTable_sendprop_t_offsets_[9] = {
  724. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, type_),
  725. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, var_name_),
  726. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, flags_),
  727. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, priority_),
  728. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, dt_name_),
  729. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, num_elements_),
  730. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, low_value_),
  731. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, high_value_),
  732. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, num_bits_),
  733. };
  734. CSVCMsg_SendTable_sendprop_t_reflection_ =
  735. new ::google::protobuf::internal::GeneratedMessageReflection(
  736. CSVCMsg_SendTable_sendprop_t_descriptor_,
  737. CSVCMsg_SendTable_sendprop_t::default_instance_,
  738. CSVCMsg_SendTable_sendprop_t_offsets_,
  739. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _has_bits_[0]),
  740. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _unknown_fields_),
  741. -1,
  742. ::google::protobuf::DescriptorPool::generated_pool(),
  743. ::google::protobuf::MessageFactory::generated_factory(),
  744. sizeof(CSVCMsg_SendTable_sendprop_t));
  745. CSVCMsg_Print_descriptor_ = file->message_type(27);
  746. static const int CSVCMsg_Print_offsets_[1] = {
  747. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, text_),
  748. };
  749. CSVCMsg_Print_reflection_ =
  750. new ::google::protobuf::internal::GeneratedMessageReflection(
  751. CSVCMsg_Print_descriptor_,
  752. CSVCMsg_Print::default_instance_,
  753. CSVCMsg_Print_offsets_,
  754. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, _has_bits_[0]),
  755. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, _unknown_fields_),
  756. -1,
  757. ::google::protobuf::DescriptorPool::generated_pool(),
  758. ::google::protobuf::MessageFactory::generated_factory(),
  759. sizeof(CSVCMsg_Print));
  760. CSVCMsg_SetPause_descriptor_ = file->message_type(28);
  761. static const int CSVCMsg_SetPause_offsets_[1] = {
  762. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, paused_),
  763. };
  764. CSVCMsg_SetPause_reflection_ =
  765. new ::google::protobuf::internal::GeneratedMessageReflection(
  766. CSVCMsg_SetPause_descriptor_,
  767. CSVCMsg_SetPause::default_instance_,
  768. CSVCMsg_SetPause_offsets_,
  769. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, _has_bits_[0]),
  770. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, _unknown_fields_),
  771. -1,
  772. ::google::protobuf::DescriptorPool::generated_pool(),
  773. ::google::protobuf::MessageFactory::generated_factory(),
  774. sizeof(CSVCMsg_SetPause));
  775. CSVCMsg_SetView_descriptor_ = file->message_type(29);
  776. static const int CSVCMsg_SetView_offsets_[1] = {
  777. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, entity_index_),
  778. };
  779. CSVCMsg_SetView_reflection_ =
  780. new ::google::protobuf::internal::GeneratedMessageReflection(
  781. CSVCMsg_SetView_descriptor_,
  782. CSVCMsg_SetView::default_instance_,
  783. CSVCMsg_SetView_offsets_,
  784. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, _has_bits_[0]),
  785. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, _unknown_fields_),
  786. -1,
  787. ::google::protobuf::DescriptorPool::generated_pool(),
  788. ::google::protobuf::MessageFactory::generated_factory(),
  789. sizeof(CSVCMsg_SetView));
  790. CSVCMsg_CreateStringTable_descriptor_ = file->message_type(30);
  791. static const int CSVCMsg_CreateStringTable_offsets_[8] = {
  792. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, name_),
  793. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, max_entries_),
  794. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, num_entries_),
  795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_fixed_size_),
  796. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_size_),
  797. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_size_bits_),
  798. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, flags_),
  799. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, string_data_),
  800. };
  801. CSVCMsg_CreateStringTable_reflection_ =
  802. new ::google::protobuf::internal::GeneratedMessageReflection(
  803. CSVCMsg_CreateStringTable_descriptor_,
  804. CSVCMsg_CreateStringTable::default_instance_,
  805. CSVCMsg_CreateStringTable_offsets_,
  806. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, _has_bits_[0]),
  807. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, _unknown_fields_),
  808. -1,
  809. ::google::protobuf::DescriptorPool::generated_pool(),
  810. ::google::protobuf::MessageFactory::generated_factory(),
  811. sizeof(CSVCMsg_CreateStringTable));
  812. CSVCMsg_UpdateStringTable_descriptor_ = file->message_type(31);
  813. static const int CSVCMsg_UpdateStringTable_offsets_[3] = {
  814. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, table_id_),
  815. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, num_changed_entries_),
  816. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, string_data_),
  817. };
  818. CSVCMsg_UpdateStringTable_reflection_ =
  819. new ::google::protobuf::internal::GeneratedMessageReflection(
  820. CSVCMsg_UpdateStringTable_descriptor_,
  821. CSVCMsg_UpdateStringTable::default_instance_,
  822. CSVCMsg_UpdateStringTable_offsets_,
  823. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _has_bits_[0]),
  824. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _unknown_fields_),
  825. -1,
  826. ::google::protobuf::DescriptorPool::generated_pool(),
  827. ::google::protobuf::MessageFactory::generated_factory(),
  828. sizeof(CSVCMsg_UpdateStringTable));
  829. CSVCMsg_VoiceInit_descriptor_ = file->message_type(32);
  830. static const int CSVCMsg_VoiceInit_offsets_[3] = {
  831. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, quality_),
  832. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, codec_),
  833. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, version_),
  834. };
  835. CSVCMsg_VoiceInit_reflection_ =
  836. new ::google::protobuf::internal::GeneratedMessageReflection(
  837. CSVCMsg_VoiceInit_descriptor_,
  838. CSVCMsg_VoiceInit::default_instance_,
  839. CSVCMsg_VoiceInit_offsets_,
  840. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, _has_bits_[0]),
  841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, _unknown_fields_),
  842. -1,
  843. ::google::protobuf::DescriptorPool::generated_pool(),
  844. ::google::protobuf::MessageFactory::generated_factory(),
  845. sizeof(CSVCMsg_VoiceInit));
  846. CSVCMsg_VoiceData_descriptor_ = file->message_type(33);
  847. static const int CSVCMsg_VoiceData_offsets_[10] = {
  848. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, client_),
  849. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, proximity_),
  850. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, xuid_),
  851. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, audible_mask_),
  852. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, voice_data_),
  853. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, caster_),
  854. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, format_),
  855. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, sequence_bytes_),
  856. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, section_number_),
  857. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, uncompressed_sample_offset_),
  858. };
  859. CSVCMsg_VoiceData_reflection_ =
  860. new ::google::protobuf::internal::GeneratedMessageReflection(
  861. CSVCMsg_VoiceData_descriptor_,
  862. CSVCMsg_VoiceData::default_instance_,
  863. CSVCMsg_VoiceData_offsets_,
  864. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, _has_bits_[0]),
  865. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, _unknown_fields_),
  866. -1,
  867. ::google::protobuf::DescriptorPool::generated_pool(),
  868. ::google::protobuf::MessageFactory::generated_factory(),
  869. sizeof(CSVCMsg_VoiceData));
  870. CSVCMsg_FixAngle_descriptor_ = file->message_type(34);
  871. static const int CSVCMsg_FixAngle_offsets_[2] = {
  872. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, relative_),
  873. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, angle_),
  874. };
  875. CSVCMsg_FixAngle_reflection_ =
  876. new ::google::protobuf::internal::GeneratedMessageReflection(
  877. CSVCMsg_FixAngle_descriptor_,
  878. CSVCMsg_FixAngle::default_instance_,
  879. CSVCMsg_FixAngle_offsets_,
  880. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, _has_bits_[0]),
  881. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, _unknown_fields_),
  882. -1,
  883. ::google::protobuf::DescriptorPool::generated_pool(),
  884. ::google::protobuf::MessageFactory::generated_factory(),
  885. sizeof(CSVCMsg_FixAngle));
  886. CSVCMsg_CrosshairAngle_descriptor_ = file->message_type(35);
  887. static const int CSVCMsg_CrosshairAngle_offsets_[1] = {
  888. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, angle_),
  889. };
  890. CSVCMsg_CrosshairAngle_reflection_ =
  891. new ::google::protobuf::internal::GeneratedMessageReflection(
  892. CSVCMsg_CrosshairAngle_descriptor_,
  893. CSVCMsg_CrosshairAngle::default_instance_,
  894. CSVCMsg_CrosshairAngle_offsets_,
  895. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, _has_bits_[0]),
  896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, _unknown_fields_),
  897. -1,
  898. ::google::protobuf::DescriptorPool::generated_pool(),
  899. ::google::protobuf::MessageFactory::generated_factory(),
  900. sizeof(CSVCMsg_CrosshairAngle));
  901. CSVCMsg_Prefetch_descriptor_ = file->message_type(36);
  902. static const int CSVCMsg_Prefetch_offsets_[1] = {
  903. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, sound_index_),
  904. };
  905. CSVCMsg_Prefetch_reflection_ =
  906. new ::google::protobuf::internal::GeneratedMessageReflection(
  907. CSVCMsg_Prefetch_descriptor_,
  908. CSVCMsg_Prefetch::default_instance_,
  909. CSVCMsg_Prefetch_offsets_,
  910. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, _has_bits_[0]),
  911. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, _unknown_fields_),
  912. -1,
  913. ::google::protobuf::DescriptorPool::generated_pool(),
  914. ::google::protobuf::MessageFactory::generated_factory(),
  915. sizeof(CSVCMsg_Prefetch));
  916. CSVCMsg_BSPDecal_descriptor_ = file->message_type(37);
  917. static const int CSVCMsg_BSPDecal_offsets_[5] = {
  918. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, pos_),
  919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, decal_texture_index_),
  920. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, entity_index_),
  921. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, model_index_),
  922. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, low_priority_),
  923. };
  924. CSVCMsg_BSPDecal_reflection_ =
  925. new ::google::protobuf::internal::GeneratedMessageReflection(
  926. CSVCMsg_BSPDecal_descriptor_,
  927. CSVCMsg_BSPDecal::default_instance_,
  928. CSVCMsg_BSPDecal_offsets_,
  929. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, _has_bits_[0]),
  930. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, _unknown_fields_),
  931. -1,
  932. ::google::protobuf::DescriptorPool::generated_pool(),
  933. ::google::protobuf::MessageFactory::generated_factory(),
  934. sizeof(CSVCMsg_BSPDecal));
  935. CSVCMsg_SplitScreen_descriptor_ = file->message_type(38);
  936. static const int CSVCMsg_SplitScreen_offsets_[3] = {
  937. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, type_),
  938. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, slot_),
  939. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, player_index_),
  940. };
  941. CSVCMsg_SplitScreen_reflection_ =
  942. new ::google::protobuf::internal::GeneratedMessageReflection(
  943. CSVCMsg_SplitScreen_descriptor_,
  944. CSVCMsg_SplitScreen::default_instance_,
  945. CSVCMsg_SplitScreen_offsets_,
  946. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, _has_bits_[0]),
  947. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, _unknown_fields_),
  948. -1,
  949. ::google::protobuf::DescriptorPool::generated_pool(),
  950. ::google::protobuf::MessageFactory::generated_factory(),
  951. sizeof(CSVCMsg_SplitScreen));
  952. CSVCMsg_GetCvarValue_descriptor_ = file->message_type(39);
  953. static const int CSVCMsg_GetCvarValue_offsets_[2] = {
  954. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, cookie_),
  955. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, cvar_name_),
  956. };
  957. CSVCMsg_GetCvarValue_reflection_ =
  958. new ::google::protobuf::internal::GeneratedMessageReflection(
  959. CSVCMsg_GetCvarValue_descriptor_,
  960. CSVCMsg_GetCvarValue::default_instance_,
  961. CSVCMsg_GetCvarValue_offsets_,
  962. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, _has_bits_[0]),
  963. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, _unknown_fields_),
  964. -1,
  965. ::google::protobuf::DescriptorPool::generated_pool(),
  966. ::google::protobuf::MessageFactory::generated_factory(),
  967. sizeof(CSVCMsg_GetCvarValue));
  968. CSVCMsg_Menu_descriptor_ = file->message_type(40);
  969. static const int CSVCMsg_Menu_offsets_[2] = {
  970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, dialog_type_),
  971. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, menu_key_values_),
  972. };
  973. CSVCMsg_Menu_reflection_ =
  974. new ::google::protobuf::internal::GeneratedMessageReflection(
  975. CSVCMsg_Menu_descriptor_,
  976. CSVCMsg_Menu::default_instance_,
  977. CSVCMsg_Menu_offsets_,
  978. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, _has_bits_[0]),
  979. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, _unknown_fields_),
  980. -1,
  981. ::google::protobuf::DescriptorPool::generated_pool(),
  982. ::google::protobuf::MessageFactory::generated_factory(),
  983. sizeof(CSVCMsg_Menu));
  984. CSVCMsg_UserMessage_descriptor_ = file->message_type(41);
  985. static const int CSVCMsg_UserMessage_offsets_[3] = {
  986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, msg_type_),
  987. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, msg_data_),
  988. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, passthrough_),
  989. };
  990. CSVCMsg_UserMessage_reflection_ =
  991. new ::google::protobuf::internal::GeneratedMessageReflection(
  992. CSVCMsg_UserMessage_descriptor_,
  993. CSVCMsg_UserMessage::default_instance_,
  994. CSVCMsg_UserMessage_offsets_,
  995. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, _has_bits_[0]),
  996. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, _unknown_fields_),
  997. -1,
  998. ::google::protobuf::DescriptorPool::generated_pool(),
  999. ::google::protobuf::MessageFactory::generated_factory(),
  1000. sizeof(CSVCMsg_UserMessage));
  1001. CSVCMsg_PaintmapData_descriptor_ = file->message_type(42);
  1002. static const int CSVCMsg_PaintmapData_offsets_[1] = {
  1003. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PaintmapData, paintmap_),
  1004. };
  1005. CSVCMsg_PaintmapData_reflection_ =
  1006. new ::google::protobuf::internal::GeneratedMessageReflection(
  1007. CSVCMsg_PaintmapData_descriptor_,
  1008. CSVCMsg_PaintmapData::default_instance_,
  1009. CSVCMsg_PaintmapData_offsets_,
  1010. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PaintmapData, _has_bits_[0]),
  1011. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PaintmapData, _unknown_fields_),
  1012. -1,
  1013. ::google::protobuf::DescriptorPool::generated_pool(),
  1014. ::google::protobuf::MessageFactory::generated_factory(),
  1015. sizeof(CSVCMsg_PaintmapData));
  1016. CSVCMsg_GameEvent_descriptor_ = file->message_type(43);
  1017. static const int CSVCMsg_GameEvent_offsets_[4] = {
  1018. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, event_name_),
  1019. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, eventid_),
  1020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, keys_),
  1021. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, passthrough_),
  1022. };
  1023. CSVCMsg_GameEvent_reflection_ =
  1024. new ::google::protobuf::internal::GeneratedMessageReflection(
  1025. CSVCMsg_GameEvent_descriptor_,
  1026. CSVCMsg_GameEvent::default_instance_,
  1027. CSVCMsg_GameEvent_offsets_,
  1028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, _has_bits_[0]),
  1029. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, _unknown_fields_),
  1030. -1,
  1031. ::google::protobuf::DescriptorPool::generated_pool(),
  1032. ::google::protobuf::MessageFactory::generated_factory(),
  1033. sizeof(CSVCMsg_GameEvent));
  1034. CSVCMsg_GameEvent_key_t_descriptor_ = CSVCMsg_GameEvent_descriptor_->nested_type(0);
  1035. static const int CSVCMsg_GameEvent_key_t_offsets_[9] = {
  1036. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, type_),
  1037. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_string_),
  1038. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_float_),
  1039. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_long_),
  1040. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_short_),
  1041. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_byte_),
  1042. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_bool_),
  1043. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_uint64_),
  1044. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_wstring_),
  1045. };
  1046. CSVCMsg_GameEvent_key_t_reflection_ =
  1047. new ::google::protobuf::internal::GeneratedMessageReflection(
  1048. CSVCMsg_GameEvent_key_t_descriptor_,
  1049. CSVCMsg_GameEvent_key_t::default_instance_,
  1050. CSVCMsg_GameEvent_key_t_offsets_,
  1051. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _has_bits_[0]),
  1052. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _unknown_fields_),
  1053. -1,
  1054. ::google::protobuf::DescriptorPool::generated_pool(),
  1055. ::google::protobuf::MessageFactory::generated_factory(),
  1056. sizeof(CSVCMsg_GameEvent_key_t));
  1057. CSVCMsg_GameEventList_descriptor_ = file->message_type(44);
  1058. static const int CSVCMsg_GameEventList_offsets_[1] = {
  1059. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, descriptors_),
  1060. };
  1061. CSVCMsg_GameEventList_reflection_ =
  1062. new ::google::protobuf::internal::GeneratedMessageReflection(
  1063. CSVCMsg_GameEventList_descriptor_,
  1064. CSVCMsg_GameEventList::default_instance_,
  1065. CSVCMsg_GameEventList_offsets_,
  1066. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, _has_bits_[0]),
  1067. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, _unknown_fields_),
  1068. -1,
  1069. ::google::protobuf::DescriptorPool::generated_pool(),
  1070. ::google::protobuf::MessageFactory::generated_factory(),
  1071. sizeof(CSVCMsg_GameEventList));
  1072. CSVCMsg_GameEventList_key_t_descriptor_ = CSVCMsg_GameEventList_descriptor_->nested_type(0);
  1073. static const int CSVCMsg_GameEventList_key_t_offsets_[2] = {
  1074. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, type_),
  1075. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, name_),
  1076. };
  1077. CSVCMsg_GameEventList_key_t_reflection_ =
  1078. new ::google::protobuf::internal::GeneratedMessageReflection(
  1079. CSVCMsg_GameEventList_key_t_descriptor_,
  1080. CSVCMsg_GameEventList_key_t::default_instance_,
  1081. CSVCMsg_GameEventList_key_t_offsets_,
  1082. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, _has_bits_[0]),
  1083. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, _unknown_fields_),
  1084. -1,
  1085. ::google::protobuf::DescriptorPool::generated_pool(),
  1086. ::google::protobuf::MessageFactory::generated_factory(),
  1087. sizeof(CSVCMsg_GameEventList_key_t));
  1088. CSVCMsg_GameEventList_descriptor_t_descriptor_ = CSVCMsg_GameEventList_descriptor_->nested_type(1);
  1089. static const int CSVCMsg_GameEventList_descriptor_t_offsets_[3] = {
  1090. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, eventid_),
  1091. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, name_),
  1092. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, keys_),
  1093. };
  1094. CSVCMsg_GameEventList_descriptor_t_reflection_ =
  1095. new ::google::protobuf::internal::GeneratedMessageReflection(
  1096. CSVCMsg_GameEventList_descriptor_t_descriptor_,
  1097. CSVCMsg_GameEventList_descriptor_t::default_instance_,
  1098. CSVCMsg_GameEventList_descriptor_t_offsets_,
  1099. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, _has_bits_[0]),
  1100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, _unknown_fields_),
  1101. -1,
  1102. ::google::protobuf::DescriptorPool::generated_pool(),
  1103. ::google::protobuf::MessageFactory::generated_factory(),
  1104. sizeof(CSVCMsg_GameEventList_descriptor_t));
  1105. CSVCMsg_TempEntities_descriptor_ = file->message_type(45);
  1106. static const int CSVCMsg_TempEntities_offsets_[3] = {
  1107. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, reliable_),
  1108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, num_entries_),
  1109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, entity_data_),
  1110. };
  1111. CSVCMsg_TempEntities_reflection_ =
  1112. new ::google::protobuf::internal::GeneratedMessageReflection(
  1113. CSVCMsg_TempEntities_descriptor_,
  1114. CSVCMsg_TempEntities::default_instance_,
  1115. CSVCMsg_TempEntities_offsets_,
  1116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, _has_bits_[0]),
  1117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, _unknown_fields_),
  1118. -1,
  1119. ::google::protobuf::DescriptorPool::generated_pool(),
  1120. ::google::protobuf::MessageFactory::generated_factory(),
  1121. sizeof(CSVCMsg_TempEntities));
  1122. CSVCMsg_PacketEntities_descriptor_ = file->message_type(46);
  1123. static const int CSVCMsg_PacketEntities_offsets_[7] = {
  1124. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, max_entries_),
  1125. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, updated_entries_),
  1126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, is_delta_),
  1127. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, update_baseline_),
  1128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, baseline_),
  1129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, delta_from_),
  1130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, entity_data_),
  1131. };
  1132. CSVCMsg_PacketEntities_reflection_ =
  1133. new ::google::protobuf::internal::GeneratedMessageReflection(
  1134. CSVCMsg_PacketEntities_descriptor_,
  1135. CSVCMsg_PacketEntities::default_instance_,
  1136. CSVCMsg_PacketEntities_offsets_,
  1137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, _has_bits_[0]),
  1138. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, _unknown_fields_),
  1139. -1,
  1140. ::google::protobuf::DescriptorPool::generated_pool(),
  1141. ::google::protobuf::MessageFactory::generated_factory(),
  1142. sizeof(CSVCMsg_PacketEntities));
  1143. CSVCMsg_Sounds_descriptor_ = file->message_type(47);
  1144. static const int CSVCMsg_Sounds_offsets_[2] = {
  1145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, reliable_sound_),
  1146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, sounds_),
  1147. };
  1148. CSVCMsg_Sounds_reflection_ =
  1149. new ::google::protobuf::internal::GeneratedMessageReflection(
  1150. CSVCMsg_Sounds_descriptor_,
  1151. CSVCMsg_Sounds::default_instance_,
  1152. CSVCMsg_Sounds_offsets_,
  1153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, _has_bits_[0]),
  1154. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, _unknown_fields_),
  1155. -1,
  1156. ::google::protobuf::DescriptorPool::generated_pool(),
  1157. ::google::protobuf::MessageFactory::generated_factory(),
  1158. sizeof(CSVCMsg_Sounds));
  1159. CSVCMsg_Sounds_sounddata_t_descriptor_ = CSVCMsg_Sounds_descriptor_->nested_type(0);
  1160. static const int CSVCMsg_Sounds_sounddata_t_offsets_[17] = {
  1161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_x_),
  1162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_y_),
  1163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_z_),
  1164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, volume_),
  1165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, delay_value_),
  1166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sequence_number_),
  1167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, entity_index_),
  1168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, channel_),
  1169. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, pitch_),
  1170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, flags_),
  1171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_num_),
  1172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_num_handle_),
  1173. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, speaker_entity_),
  1174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, random_seed_),
  1175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_level_),
  1176. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, is_sentence_),
  1177. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, is_ambient_),
  1178. };
  1179. CSVCMsg_Sounds_sounddata_t_reflection_ =
  1180. new ::google::protobuf::internal::GeneratedMessageReflection(
  1181. CSVCMsg_Sounds_sounddata_t_descriptor_,
  1182. CSVCMsg_Sounds_sounddata_t::default_instance_,
  1183. CSVCMsg_Sounds_sounddata_t_offsets_,
  1184. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _has_bits_[0]),
  1185. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _unknown_fields_),
  1186. -1,
  1187. ::google::protobuf::DescriptorPool::generated_pool(),
  1188. ::google::protobuf::MessageFactory::generated_factory(),
  1189. sizeof(CSVCMsg_Sounds_sounddata_t));
  1190. CSVCMsg_EntityMsg_descriptor_ = file->message_type(48);
  1191. static const int CSVCMsg_EntityMsg_offsets_[3] = {
  1192. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EntityMsg, ent_index_),
  1193. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EntityMsg, class_id_),
  1194. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EntityMsg, ent_data_),
  1195. };
  1196. CSVCMsg_EntityMsg_reflection_ =
  1197. new ::google::protobuf::internal::GeneratedMessageReflection(
  1198. CSVCMsg_EntityMsg_descriptor_,
  1199. CSVCMsg_EntityMsg::default_instance_,
  1200. CSVCMsg_EntityMsg_offsets_,
  1201. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EntityMsg, _has_bits_[0]),
  1202. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EntityMsg, _unknown_fields_),
  1203. -1,
  1204. ::google::protobuf::DescriptorPool::generated_pool(),
  1205. ::google::protobuf::MessageFactory::generated_factory(),
  1206. sizeof(CSVCMsg_EntityMsg));
  1207. CSVCMsg_CmdKeyValues_descriptor_ = file->message_type(49);
  1208. static const int CSVCMsg_CmdKeyValues_offsets_[1] = {
  1209. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CmdKeyValues, keyvalues_),
  1210. };
  1211. CSVCMsg_CmdKeyValues_reflection_ =
  1212. new ::google::protobuf::internal::GeneratedMessageReflection(
  1213. CSVCMsg_CmdKeyValues_descriptor_,
  1214. CSVCMsg_CmdKeyValues::default_instance_,
  1215. CSVCMsg_CmdKeyValues_offsets_,
  1216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CmdKeyValues, _has_bits_[0]),
  1217. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CmdKeyValues, _unknown_fields_),
  1218. -1,
  1219. ::google::protobuf::DescriptorPool::generated_pool(),
  1220. ::google::protobuf::MessageFactory::generated_factory(),
  1221. sizeof(CSVCMsg_CmdKeyValues));
  1222. CSVCMsg_EncryptedData_descriptor_ = file->message_type(50);
  1223. static const int CSVCMsg_EncryptedData_offsets_[2] = {
  1224. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, encrypted_),
  1225. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, key_type_),
  1226. };
  1227. CSVCMsg_EncryptedData_reflection_ =
  1228. new ::google::protobuf::internal::GeneratedMessageReflection(
  1229. CSVCMsg_EncryptedData_descriptor_,
  1230. CSVCMsg_EncryptedData::default_instance_,
  1231. CSVCMsg_EncryptedData_offsets_,
  1232. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, _has_bits_[0]),
  1233. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_EncryptedData, _unknown_fields_),
  1234. -1,
  1235. ::google::protobuf::DescriptorPool::generated_pool(),
  1236. ::google::protobuf::MessageFactory::generated_factory(),
  1237. sizeof(CSVCMsg_EncryptedData));
  1238. CSVCMsg_HltvReplay_descriptor_ = file->message_type(51);
  1239. static const int CSVCMsg_HltvReplay_offsets_[7] = {
  1240. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, delay_),
  1241. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, primary_target_),
  1242. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, replay_stop_at_),
  1243. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, replay_start_at_),
  1244. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, replay_slowdown_begin_),
  1245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, replay_slowdown_end_),
  1246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, replay_slowdown_rate_),
  1247. };
  1248. CSVCMsg_HltvReplay_reflection_ =
  1249. new ::google::protobuf::internal::GeneratedMessageReflection(
  1250. CSVCMsg_HltvReplay_descriptor_,
  1251. CSVCMsg_HltvReplay::default_instance_,
  1252. CSVCMsg_HltvReplay_offsets_,
  1253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, _has_bits_[0]),
  1254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_HltvReplay, _unknown_fields_),
  1255. -1,
  1256. ::google::protobuf::DescriptorPool::generated_pool(),
  1257. ::google::protobuf::MessageFactory::generated_factory(),
  1258. sizeof(CSVCMsg_HltvReplay));
  1259. CCLCMsg_HltvReplay_descriptor_ = file->message_type(52);
  1260. static const int CCLCMsg_HltvReplay_offsets_[5] = {
  1261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, request_),
  1262. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, slowdown_length_),
  1263. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, slowdown_rate_),
  1264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, primary_target_ent_index_),
  1265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, event_time_),
  1266. };
  1267. CCLCMsg_HltvReplay_reflection_ =
  1268. new ::google::protobuf::internal::GeneratedMessageReflection(
  1269. CCLCMsg_HltvReplay_descriptor_,
  1270. CCLCMsg_HltvReplay::default_instance_,
  1271. CCLCMsg_HltvReplay_offsets_,
  1272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, _has_bits_[0]),
  1273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_HltvReplay, _unknown_fields_),
  1274. -1,
  1275. ::google::protobuf::DescriptorPool::generated_pool(),
  1276. ::google::protobuf::MessageFactory::generated_factory(),
  1277. sizeof(CCLCMsg_HltvReplay));
  1278. CSVCMsg_Broadcast_Command_descriptor_ = file->message_type(53);
  1279. static const int CSVCMsg_Broadcast_Command_offsets_[1] = {
  1280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Broadcast_Command, cmd_),
  1281. };
  1282. CSVCMsg_Broadcast_Command_reflection_ =
  1283. new ::google::protobuf::internal::GeneratedMessageReflection(
  1284. CSVCMsg_Broadcast_Command_descriptor_,
  1285. CSVCMsg_Broadcast_Command::default_instance_,
  1286. CSVCMsg_Broadcast_Command_offsets_,
  1287. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Broadcast_Command, _has_bits_[0]),
  1288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Broadcast_Command, _unknown_fields_),
  1289. -1,
  1290. ::google::protobuf::DescriptorPool::generated_pool(),
  1291. ::google::protobuf::MessageFactory::generated_factory(),
  1292. sizeof(CSVCMsg_Broadcast_Command));
  1293. NET_Messages_descriptor_ = file->enum_type(0);
  1294. CLC_Messages_descriptor_ = file->enum_type(1);
  1295. VoiceDataFormat_t_descriptor_ = file->enum_type(2);
  1296. ESplitScreenMessageType_descriptor_ = file->enum_type(3);
  1297. SVC_Messages_descriptor_ = file->enum_type(4);
  1298. ReplayEventType_t_descriptor_ = file->enum_type(5);
  1299. }
  1300. namespace {
  1301. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1302. inline void protobuf_AssignDescriptorsOnce() {
  1303. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1304. &protobuf_AssignDesc_netmessages_2eproto);
  1305. }
  1306. void protobuf_RegisterTypes(const ::std::string&) {
  1307. protobuf_AssignDescriptorsOnce();
  1308. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1309. CMsgVector_descriptor_, &CMsgVector::default_instance());
  1310. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1311. CMsgVector2D_descriptor_, &CMsgVector2D::default_instance());
  1312. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1313. CMsgQAngle_descriptor_, &CMsgQAngle::default_instance());
  1314. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1315. CMsgRGBA_descriptor_, &CMsgRGBA::default_instance());
  1316. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1317. CNETMsg_Tick_descriptor_, &CNETMsg_Tick::default_instance());
  1318. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1319. CNETMsg_StringCmd_descriptor_, &CNETMsg_StringCmd::default_instance());
  1320. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1321. CNETMsg_SignonState_descriptor_, &CNETMsg_SignonState::default_instance());
  1322. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1323. CMsg_CVars_descriptor_, &CMsg_CVars::default_instance());
  1324. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1325. CMsg_CVars_CVar_descriptor_, &CMsg_CVars_CVar::default_instance());
  1326. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1327. CNETMsg_SetConVar_descriptor_, &CNETMsg_SetConVar::default_instance());
  1328. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1329. CNETMsg_NOP_descriptor_, &CNETMsg_NOP::default_instance());
  1330. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1331. CNETMsg_Disconnect_descriptor_, &CNETMsg_Disconnect::default_instance());
  1332. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1333. CNETMsg_File_descriptor_, &CNETMsg_File::default_instance());
  1334. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1335. CNETMsg_SplitScreenUser_descriptor_, &CNETMsg_SplitScreenUser::default_instance());
  1336. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1337. CNETMsg_PlayerAvatarData_descriptor_, &CNETMsg_PlayerAvatarData::default_instance());
  1338. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1339. CCLCMsg_ClientInfo_descriptor_, &CCLCMsg_ClientInfo::default_instance());
  1340. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1341. CCLCMsg_Move_descriptor_, &CCLCMsg_Move::default_instance());
  1342. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1343. CCLCMsg_VoiceData_descriptor_, &CCLCMsg_VoiceData::default_instance());
  1344. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1345. CCLCMsg_BaselineAck_descriptor_, &CCLCMsg_BaselineAck::default_instance());
  1346. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1347. CCLCMsg_ListenEvents_descriptor_, &CCLCMsg_ListenEvents::default_instance());
  1348. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1349. CCLCMsg_RespondCvarValue_descriptor_, &CCLCMsg_RespondCvarValue::default_instance());
  1350. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1351. CCLCMsg_FileCRCCheck_descriptor_, &CCLCMsg_FileCRCCheck::default_instance());
  1352. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1353. CCLCMsg_LoadingProgress_descriptor_, &CCLCMsg_LoadingProgress::default_instance());
  1354. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1355. CCLCMsg_SplitPlayerConnect_descriptor_, &CCLCMsg_SplitPlayerConnect::default_instance());
  1356. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1357. CCLCMsg_CmdKeyValues_descriptor_, &CCLCMsg_CmdKeyValues::default_instance());
  1358. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1359. CSVCMsg_ServerInfo_descriptor_, &CSVCMsg_ServerInfo::default_instance());
  1360. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1361. CSVCMsg_ClassInfo_descriptor_, &CSVCMsg_ClassInfo::default_instance());
  1362. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1363. CSVCMsg_ClassInfo_class_t_descriptor_, &CSVCMsg_ClassInfo_class_t::default_instance());
  1364. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1365. CSVCMsg_SendTable_descriptor_, &CSVCMsg_SendTable::default_instance());
  1366. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1367. CSVCMsg_SendTable_sendprop_t_descriptor_, &CSVCMsg_SendTable_sendprop_t::default_instance());
  1368. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1369. CSVCMsg_Print_descriptor_, &CSVCMsg_Print::default_instance());
  1370. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1371. CSVCMsg_SetPause_descriptor_, &CSVCMsg_SetPause::default_instance());
  1372. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1373. CSVCMsg_SetView_descriptor_, &CSVCMsg_SetView::default_instance());
  1374. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1375. CSVCMsg_CreateStringTable_descriptor_, &CSVCMsg_CreateStringTable::default_instance());
  1376. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1377. CSVCMsg_UpdateStringTable_descriptor_, &CSVCMsg_UpdateStringTable::default_instance());
  1378. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1379. CSVCMsg_VoiceInit_descriptor_, &CSVCMsg_VoiceInit::default_instance());
  1380. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1381. CSVCMsg_VoiceData_descriptor_, &CSVCMsg_VoiceData::default_instance());
  1382. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1383. CSVCMsg_FixAngle_descriptor_, &CSVCMsg_FixAngle::default_instance());
  1384. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1385. CSVCMsg_CrosshairAngle_descriptor_, &CSVCMsg_CrosshairAngle::default_instance());
  1386. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1387. CSVCMsg_Prefetch_descriptor_, &CSVCMsg_Prefetch::default_instance());
  1388. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1389. CSVCMsg_BSPDecal_descriptor_, &CSVCMsg_BSPDecal::default_instance());
  1390. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1391. CSVCMsg_SplitScreen_descriptor_, &CSVCMsg_SplitScreen::default_instance());
  1392. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1393. CSVCMsg_GetCvarValue_descriptor_, &CSVCMsg_GetCvarValue::default_instance());
  1394. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1395. CSVCMsg_Menu_descriptor_, &CSVCMsg_Menu::default_instance());
  1396. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1397. CSVCMsg_UserMessage_descriptor_, &CSVCMsg_UserMessage::default_instance());
  1398. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1399. CSVCMsg_PaintmapData_descriptor_, &CSVCMsg_PaintmapData::default_instance());
  1400. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1401. CSVCMsg_GameEvent_descriptor_, &CSVCMsg_GameEvent::default_instance());
  1402. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1403. CSVCMsg_GameEvent_key_t_descriptor_, &CSVCMsg_GameEvent_key_t::default_instance());
  1404. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1405. CSVCMsg_GameEventList_descriptor_, &CSVCMsg_GameEventList::default_instance());
  1406. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1407. CSVCMsg_GameEventList_key_t_descriptor_, &CSVCMsg_GameEventList_key_t::default_instance());
  1408. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1409. CSVCMsg_GameEventList_descriptor_t_descriptor_, &CSVCMsg_GameEventList_descriptor_t::default_instance());
  1410. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1411. CSVCMsg_TempEntities_descriptor_, &CSVCMsg_TempEntities::default_instance());
  1412. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1413. CSVCMsg_PacketEntities_descriptor_, &CSVCMsg_PacketEntities::default_instance());
  1414. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1415. CSVCMsg_Sounds_descriptor_, &CSVCMsg_Sounds::default_instance());
  1416. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1417. CSVCMsg_Sounds_sounddata_t_descriptor_, &CSVCMsg_Sounds_sounddata_t::default_instance());
  1418. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1419. CSVCMsg_EntityMsg_descriptor_, &CSVCMsg_EntityMsg::default_instance());
  1420. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1421. CSVCMsg_CmdKeyValues_descriptor_, &CSVCMsg_CmdKeyValues::default_instance());
  1422. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1423. CSVCMsg_EncryptedData_descriptor_, &CSVCMsg_EncryptedData::default_instance());
  1424. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1425. CSVCMsg_HltvReplay_descriptor_, &CSVCMsg_HltvReplay::default_instance());
  1426. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1427. CCLCMsg_HltvReplay_descriptor_, &CCLCMsg_HltvReplay::default_instance());
  1428. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1429. CSVCMsg_Broadcast_Command_descriptor_, &CSVCMsg_Broadcast_Command::default_instance());
  1430. }
  1431. } // namespace
  1432. void protobuf_ShutdownFile_netmessages_2eproto() {
  1433. delete CMsgVector::default_instance_;
  1434. delete CMsgVector_reflection_;
  1435. delete CMsgVector2D::default_instance_;
  1436. delete CMsgVector2D_reflection_;
  1437. delete CMsgQAngle::default_instance_;
  1438. delete CMsgQAngle_reflection_;
  1439. delete CMsgRGBA::default_instance_;
  1440. delete CMsgRGBA_reflection_;
  1441. delete CNETMsg_Tick::default_instance_;
  1442. delete CNETMsg_Tick_reflection_;
  1443. delete CNETMsg_StringCmd::default_instance_;
  1444. delete CNETMsg_StringCmd_reflection_;
  1445. delete CNETMsg_SignonState::default_instance_;
  1446. delete CNETMsg_SignonState_reflection_;
  1447. delete CMsg_CVars::default_instance_;
  1448. delete CMsg_CVars_reflection_;
  1449. delete CMsg_CVars_CVar::default_instance_;
  1450. delete CMsg_CVars_CVar_reflection_;
  1451. delete CNETMsg_SetConVar::default_instance_;
  1452. delete CNETMsg_SetConVar_reflection_;
  1453. delete CNETMsg_NOP::default_instance_;
  1454. delete CNETMsg_NOP_reflection_;
  1455. delete CNETMsg_Disconnect::default_instance_;
  1456. delete CNETMsg_Disconnect_reflection_;
  1457. delete CNETMsg_File::default_instance_;
  1458. delete CNETMsg_File_reflection_;
  1459. delete CNETMsg_SplitScreenUser::default_instance_;
  1460. delete CNETMsg_SplitScreenUser_reflection_;
  1461. delete CNETMsg_PlayerAvatarData::default_instance_;
  1462. delete CNETMsg_PlayerAvatarData_reflection_;
  1463. delete CCLCMsg_ClientInfo::default_instance_;
  1464. delete CCLCMsg_ClientInfo_reflection_;
  1465. delete CCLCMsg_Move::default_instance_;
  1466. delete CCLCMsg_Move_reflection_;
  1467. delete CCLCMsg_VoiceData::default_instance_;
  1468. delete CCLCMsg_VoiceData_reflection_;
  1469. delete CCLCMsg_BaselineAck::default_instance_;
  1470. delete CCLCMsg_BaselineAck_reflection_;
  1471. delete CCLCMsg_ListenEvents::default_instance_;
  1472. delete CCLCMsg_ListenEvents_reflection_;
  1473. delete CCLCMsg_RespondCvarValue::default_instance_;
  1474. delete CCLCMsg_RespondCvarValue_reflection_;
  1475. delete CCLCMsg_FileCRCCheck::default_instance_;
  1476. delete CCLCMsg_FileCRCCheck_reflection_;
  1477. delete CCLCMsg_LoadingProgress::default_instance_;
  1478. delete CCLCMsg_LoadingProgress_reflection_;
  1479. delete CCLCMsg_SplitPlayerConnect::default_instance_;
  1480. delete CCLCMsg_SplitPlayerConnect_reflection_;
  1481. delete CCLCMsg_CmdKeyValues::default_instance_;
  1482. delete CCLCMsg_CmdKeyValues_reflection_;
  1483. delete CSVCMsg_ServerInfo::default_instance_;
  1484. delete CSVCMsg_ServerInfo_reflection_;
  1485. delete CSVCMsg_ClassInfo::default_instance_;
  1486. delete CSVCMsg_ClassInfo_reflection_;
  1487. delete CSVCMsg_ClassInfo_class_t::default_instance_;
  1488. delete CSVCMsg_ClassInfo_class_t_reflection_;
  1489. delete CSVCMsg_SendTable::default_instance_;
  1490. delete CSVCMsg_SendTable_reflection_;
  1491. delete CSVCMsg_SendTable_sendprop_t::default_instance_;
  1492. delete CSVCMsg_SendTable_sendprop_t_reflection_;
  1493. delete CSVCMsg_Print::default_instance_;
  1494. delete CSVCMsg_Print_reflection_;
  1495. delete CSVCMsg_SetPause::default_instance_;
  1496. delete CSVCMsg_SetPause_reflection_;
  1497. delete CSVCMsg_SetView::default_instance_;
  1498. delete CSVCMsg_SetView_reflection_;
  1499. delete CSVCMsg_CreateStringTable::default_instance_;
  1500. delete CSVCMsg_CreateStringTable_reflection_;
  1501. delete CSVCMsg_UpdateStringTable::default_instance_;
  1502. delete CSVCMsg_UpdateStringTable_reflection_;
  1503. delete CSVCMsg_VoiceInit::default_instance_;
  1504. delete CSVCMsg_VoiceInit_reflection_;
  1505. delete CSVCMsg_VoiceData::default_instance_;
  1506. delete CSVCMsg_VoiceData_reflection_;
  1507. delete CSVCMsg_FixAngle::default_instance_;
  1508. delete CSVCMsg_FixAngle_reflection_;
  1509. delete CSVCMsg_CrosshairAngle::default_instance_;
  1510. delete CSVCMsg_CrosshairAngle_reflection_;
  1511. delete CSVCMsg_Prefetch::default_instance_;
  1512. delete CSVCMsg_Prefetch_reflection_;
  1513. delete CSVCMsg_BSPDecal::default_instance_;
  1514. delete CSVCMsg_BSPDecal_reflection_;
  1515. delete CSVCMsg_SplitScreen::default_instance_;
  1516. delete CSVCMsg_SplitScreen_reflection_;
  1517. delete CSVCMsg_GetCvarValue::default_instance_;
  1518. delete CSVCMsg_GetCvarValue_reflection_;
  1519. delete CSVCMsg_Menu::default_instance_;
  1520. delete CSVCMsg_Menu_reflection_;
  1521. delete CSVCMsg_UserMessage::default_instance_;
  1522. delete CSVCMsg_UserMessage_reflection_;
  1523. delete CSVCMsg_PaintmapData::default_instance_;
  1524. delete CSVCMsg_PaintmapData_reflection_;
  1525. delete CSVCMsg_GameEvent::default_instance_;
  1526. delete CSVCMsg_GameEvent_reflection_;
  1527. delete CSVCMsg_GameEvent_key_t::default_instance_;
  1528. delete CSVCMsg_GameEvent_key_t_reflection_;
  1529. delete CSVCMsg_GameEventList::default_instance_;
  1530. delete CSVCMsg_GameEventList_reflection_;
  1531. delete CSVCMsg_GameEventList_key_t::default_instance_;
  1532. delete CSVCMsg_GameEventList_key_t_reflection_;
  1533. delete CSVCMsg_GameEventList_descriptor_t::default_instance_;
  1534. delete CSVCMsg_GameEventList_descriptor_t_reflection_;
  1535. delete CSVCMsg_TempEntities::default_instance_;
  1536. delete CSVCMsg_TempEntities_reflection_;
  1537. delete CSVCMsg_PacketEntities::default_instance_;
  1538. delete CSVCMsg_PacketEntities_reflection_;
  1539. delete CSVCMsg_Sounds::default_instance_;
  1540. delete CSVCMsg_Sounds_reflection_;
  1541. delete CSVCMsg_Sounds_sounddata_t::default_instance_;
  1542. delete CSVCMsg_Sounds_sounddata_t_reflection_;
  1543. delete CSVCMsg_EntityMsg::default_instance_;
  1544. delete CSVCMsg_EntityMsg_reflection_;
  1545. delete CSVCMsg_CmdKeyValues::default_instance_;
  1546. delete CSVCMsg_CmdKeyValues_reflection_;
  1547. delete CSVCMsg_EncryptedData::default_instance_;
  1548. delete CSVCMsg_EncryptedData_reflection_;
  1549. delete CSVCMsg_HltvReplay::default_instance_;
  1550. delete CSVCMsg_HltvReplay_reflection_;
  1551. delete CCLCMsg_HltvReplay::default_instance_;
  1552. delete CCLCMsg_HltvReplay_reflection_;
  1553. delete CSVCMsg_Broadcast_Command::default_instance_;
  1554. delete CSVCMsg_Broadcast_Command_reflection_;
  1555. }
  1556. void protobuf_AddDesc_netmessages_2eproto() {
  1557. static bool already_here = false;
  1558. if (already_here) return;
  1559. already_here = true;
  1560. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1561. ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1562. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1563. "\n\021netmessages.proto\032 google/protobuf/des"
  1564. "criptor.proto\"-\n\nCMsgVector\022\t\n\001x\030\001 \001(\002\022\t"
  1565. "\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"$\n\014CMsgVector2D\022\t\n\001"
  1566. "x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"-\n\nCMsgQAngle\022\t\n\001x\030\001 "
  1567. "\001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"6\n\010CMsgRGBA\022\t\n"
  1568. "\001r\030\001 \001(\005\022\t\n\001g\030\002 \001(\005\022\t\n\001b\030\003 \001(\005\022\t\n\001a\030\004 \001("
  1569. "\005\"\254\001\n\014CNETMsg_Tick\022\014\n\004tick\030\001 \001(\r\022\034\n\024host"
  1570. "_computationtime\030\004 \001(\r\022*\n\"host_computati"
  1571. "ontime_std_deviation\030\005 \001(\r\022)\n!host_frame"
  1572. "starttime_std_deviation\030\006 \001(\r\022\031\n\021hltv_re"
  1573. "play_flags\030\007 \001(\r\"$\n\021CNETMsg_StringCmd\022\017\n"
  1574. "\007command\030\001 \001(\t\"\212\001\n\023CNETMsg_SignonState\022\024"
  1575. "\n\014signon_state\030\001 \001(\r\022\023\n\013spawn_count\030\002 \001("
  1576. "\r\022\032\n\022num_server_players\030\003 \001(\r\022\032\n\022players"
  1577. "_networkids\030\004 \003(\t\022\020\n\010map_name\030\005 \001(\t\"k\n\nC"
  1578. "Msg_CVars\022\037\n\005cvars\030\001 \003(\0132\020.CMsg_CVars.CV"
  1579. "ar\032<\n\004CVar\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\022"
  1580. "\027\n\017dictionary_name\030\003 \001(\r\"1\n\021CNETMsg_SetC"
  1581. "onVar\022\034\n\007convars\030\001 \001(\0132\013.CMsg_CVars\"\r\n\013C"
  1582. "NETMsg_NOP\"\"\n\022CNETMsg_Disconnect\022\014\n\004text"
  1583. "\030\001 \001(\t\"a\n\014CNETMsg_File\022\023\n\013transfer_id\030\001 "
  1584. "\001(\005\022\021\n\tfile_name\030\002 \001(\t\022\033\n\023is_replay_demo"
  1585. "_file\030\003 \001(\010\022\014\n\004deny\030\004 \001(\010\"\'\n\027CNETMsg_Spl"
  1586. "itScreenUser\022\014\n\004slot\030\001 \001(\005\":\n\030CNETMsg_Pl"
  1587. "ayerAvatarData\022\021\n\taccountid\030\001 \001(\r\022\013\n\003rgb"
  1588. "\030\002 \001(\014\"\246\001\n\022CCLCMsg_ClientInfo\022\026\n\016send_ta"
  1589. "ble_crc\030\001 \001(\007\022\024\n\014server_count\030\002 \001(\r\022\017\n\007i"
  1590. "s_hltv\030\003 \001(\010\022\021\n\tis_replay\030\004 \001(\010\022\022\n\nfrien"
  1591. "ds_id\030\005 \001(\r\022\024\n\014friends_name\030\006 \001(\t\022\024\n\014cus"
  1592. "tom_files\030\007 \003(\007\"S\n\014CCLCMsg_Move\022\033\n\023num_b"
  1593. "ackup_commands\030\001 \001(\r\022\030\n\020num_new_commands"
  1594. "\030\002 \001(\r\022\014\n\004data\030\003 \001(\014\"\300\001\n\021CCLCMsg_VoiceDa"
  1595. "ta\022\014\n\004data\030\001 \001(\014\022\014\n\004xuid\030\002 \001(\006\022;\n\006format"
  1596. "\030\003 \001(\0162\022.VoiceDataFormat_t:\027VOICEDATA_FO"
  1597. "RMAT_ENGINE\022\026\n\016sequence_bytes\030\004 \001(\005\022\026\n\016s"
  1598. "ection_number\030\005 \001(\r\022\"\n\032uncompressed_samp"
  1599. "le_offset\030\006 \001(\r\"A\n\023CCLCMsg_BaselineAck\022\025"
  1600. "\n\rbaseline_tick\030\001 \001(\005\022\023\n\013baseline_nr\030\002 \001"
  1601. "(\005\"*\n\024CCLCMsg_ListenEvents\022\022\n\nevent_mask"
  1602. "\030\001 \003(\007\"\\\n\030CCLCMsg_RespondCvarValue\022\016\n\006co"
  1603. "okie\030\001 \001(\005\022\023\n\013status_code\030\002 \001(\005\022\014\n\004name\030"
  1604. "\003 \001(\t\022\r\n\005value\030\004 \001(\t\"\353\001\n\024CCLCMsg_FileCRC"
  1605. "Check\022\021\n\tcode_path\030\001 \001(\005\022\014\n\004path\030\002 \001(\t\022\025"
  1606. "\n\rcode_filename\030\003 \001(\005\022\020\n\010filename\030\004 \001(\t\022"
  1607. "\025\n\rfile_fraction\030\005 \001(\005\022\013\n\003md5\030\006 \001(\014\022\013\n\003c"
  1608. "rc\030\007 \001(\r\022\026\n\016file_hash_type\030\010 \001(\005\022\020\n\010file"
  1609. "_len\030\t \001(\005\022\024\n\014pack_file_id\030\n \001(\005\022\030\n\020pack"
  1610. "_file_number\030\013 \001(\005\"+\n\027CCLCMsg_LoadingPro"
  1611. "gress\022\020\n\010progress\030\001 \001(\005\":\n\032CCLCMsg_Split"
  1612. "PlayerConnect\022\034\n\007convars\030\001 \001(\0132\013.CMsg_CV"
  1613. "ars\")\n\024CCLCMsg_CmdKeyValues\022\021\n\tkeyvalues"
  1614. "\030\001 \001(\014\"\352\003\n\022CSVCMsg_ServerInfo\022\020\n\010protoco"
  1615. "l\030\001 \001(\005\022\024\n\014server_count\030\002 \001(\005\022\024\n\014is_dedi"
  1616. "cated\030\003 \001(\010\022 \n\030is_official_valve_server\030"
  1617. "\004 \001(\010\022\017\n\007is_hltv\030\005 \001(\010\022\021\n\tis_replay\030\006 \001("
  1618. "\010\022%\n\035is_redirecting_to_proxy_relay\030\025 \001(\010"
  1619. "\022\014\n\004c_os\030\007 \001(\005\022\017\n\007map_crc\030\010 \001(\007\022\022\n\nclien"
  1620. "t_crc\030\t \001(\007\022\030\n\020string_table_crc\030\n \001(\007\022\023\n"
  1621. "\013max_clients\030\013 \001(\005\022\023\n\013max_classes\030\014 \001(\005\022"
  1622. "\023\n\013player_slot\030\r \001(\005\022\025\n\rtick_interval\030\016 "
  1623. "\001(\002\022\020\n\010game_dir\030\017 \001(\t\022\020\n\010map_name\030\020 \001(\t\022"
  1624. "\026\n\016map_group_name\030\021 \001(\t\022\020\n\010sky_name\030\022 \001("
  1625. "\t\022\021\n\thost_name\030\023 \001(\t\022\021\n\tpublic_ip\030\024 \001(\r\022"
  1626. "\022\n\nugc_map_id\030\026 \001(\004\"\244\001\n\021CSVCMsg_ClassInf"
  1627. "o\022\030\n\020create_on_client\030\001 \001(\010\022+\n\007classes\030\002"
  1628. " \003(\0132\032.CSVCMsg_ClassInfo.class_t\032H\n\007clas"
  1629. "s_t\022\020\n\010class_id\030\001 \001(\005\022\027\n\017data_table_name"
  1630. "\030\002 \001(\t\022\022\n\nclass_name\030\003 \001(\t\"\260\002\n\021CSVCMsg_S"
  1631. "endTable\022\016\n\006is_end\030\001 \001(\010\022\026\n\016net_table_na"
  1632. "me\030\002 \001(\t\022\025\n\rneeds_decoder\030\003 \001(\010\022,\n\005props"
  1633. "\030\004 \003(\0132\035.CSVCMsg_SendTable.sendprop_t\032\255\001"
  1634. "\n\nsendprop_t\022\014\n\004type\030\001 \001(\005\022\020\n\010var_name\030\002"
  1635. " \001(\t\022\r\n\005flags\030\003 \001(\005\022\020\n\010priority\030\004 \001(\005\022\017\n"
  1636. "\007dt_name\030\005 \001(\t\022\024\n\014num_elements\030\006 \001(\005\022\021\n\t"
  1637. "low_value\030\007 \001(\002\022\022\n\nhigh_value\030\010 \001(\002\022\020\n\010n"
  1638. "um_bits\030\t \001(\005\"\035\n\rCSVCMsg_Print\022\014\n\004text\030\001"
  1639. " \001(\t\"\"\n\020CSVCMsg_SetPause\022\016\n\006paused\030\001 \001(\010"
  1640. "\"\'\n\017CSVCMsg_SetView\022\024\n\014entity_index\030\001 \001("
  1641. "\005\"\312\001\n\031CSVCMsg_CreateStringTable\022\014\n\004name\030"
  1642. "\001 \001(\t\022\023\n\013max_entries\030\002 \001(\005\022\023\n\013num_entrie"
  1643. "s\030\003 \001(\005\022\034\n\024user_data_fixed_size\030\004 \001(\010\022\026\n"
  1644. "\016user_data_size\030\005 \001(\005\022\033\n\023user_data_size_"
  1645. "bits\030\006 \001(\005\022\r\n\005flags\030\007 \001(\005\022\023\n\013string_data"
  1646. "\030\010 \001(\014\"_\n\031CSVCMsg_UpdateStringTable\022\020\n\010t"
  1647. "able_id\030\001 \001(\005\022\033\n\023num_changed_entries\030\002 \001"
  1648. "(\005\022\023\n\013string_data\030\003 \001(\014\"G\n\021CSVCMsg_Voice"
  1649. "Init\022\017\n\007quality\030\001 \001(\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007"
  1650. "version\030\003 \001(\005:\0010\"\217\002\n\021CSVCMsg_VoiceData\022\016"
  1651. "\n\006client\030\001 \001(\005\022\021\n\tproximity\030\002 \001(\010\022\014\n\004xui"
  1652. "d\030\003 \001(\006\022\024\n\014audible_mask\030\004 \001(\005\022\022\n\nvoice_d"
  1653. "ata\030\005 \001(\014\022\016\n\006caster\030\006 \001(\010\022;\n\006format\030\007 \001("
  1654. "\0162\022.VoiceDataFormat_t:\027VOICEDATA_FORMAT_"
  1655. "ENGINE\022\026\n\016sequence_bytes\030\010 \001(\005\022\026\n\016sectio"
  1656. "n_number\030\t \001(\r\022\"\n\032uncompressed_sample_of"
  1657. "fset\030\n \001(\r\"@\n\020CSVCMsg_FixAngle\022\020\n\010relati"
  1658. "ve\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.CMsgQAngle\"4\n\026"
  1659. "CSVCMsg_CrosshairAngle\022\032\n\005angle\030\001 \001(\0132\013."
  1660. "CMsgQAngle\"\'\n\020CSVCMsg_Prefetch\022\023\n\013sound_"
  1661. "index\030\001 \001(\005\"\212\001\n\020CSVCMsg_BSPDecal\022\030\n\003pos\030"
  1662. "\001 \001(\0132\013.CMsgVector\022\033\n\023decal_texture_inde"
  1663. "x\030\002 \001(\005\022\024\n\014entity_index\030\003 \001(\005\022\023\n\013model_i"
  1664. "ndex\030\004 \001(\005\022\024\n\014low_priority\030\005 \001(\010\"a\n\023CSVC"
  1665. "Msg_SplitScreen\022&\n\004type\030\001 \001(\0162\030.ESplitSc"
  1666. "reenMessageType\022\014\n\004slot\030\002 \001(\005\022\024\n\014player_"
  1667. "index\030\003 \001(\005\"9\n\024CSVCMsg_GetCvarValue\022\016\n\006c"
  1668. "ookie\030\001 \001(\005\022\021\n\tcvar_name\030\002 \001(\t\"<\n\014CSVCMs"
  1669. "g_Menu\022\023\n\013dialog_type\030\001 \001(\005\022\027\n\017menu_key_"
  1670. "values\030\002 \001(\014\"N\n\023CSVCMsg_UserMessage\022\020\n\010m"
  1671. "sg_type\030\001 \001(\005\022\020\n\010msg_data\030\002 \001(\014\022\023\n\013passt"
  1672. "hrough\030\003 \001(\005\"(\n\024CSVCMsg_PaintmapData\022\020\n\010"
  1673. "paintmap\030\001 \001(\014\"\246\002\n\021CSVCMsg_GameEvent\022\022\n\n"
  1674. "event_name\030\001 \001(\t\022\017\n\007eventid\030\002 \001(\005\022&\n\004key"
  1675. "s\030\003 \003(\0132\030.CSVCMsg_GameEvent.key_t\022\023\n\013pas"
  1676. "sthrough\030\004 \001(\005\032\256\001\n\005key_t\022\014\n\004type\030\001 \001(\005\022\022"
  1677. "\n\nval_string\030\002 \001(\t\022\021\n\tval_float\030\003 \001(\002\022\020\n"
  1678. "\010val_long\030\004 \001(\005\022\021\n\tval_short\030\005 \001(\005\022\020\n\010va"
  1679. "l_byte\030\006 \001(\005\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_ui"
  1680. "nt64\030\010 \001(\004\022\023\n\013val_wstring\030\t \001(\014\"\321\001\n\025CSVC"
  1681. "Msg_GameEventList\0228\n\013descriptors\030\001 \003(\0132#"
  1682. ".CSVCMsg_GameEventList.descriptor_t\032#\n\005k"
  1683. "ey_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032Y\n\014desc"
  1684. "riptor_t\022\017\n\007eventid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022"
  1685. "*\n\004keys\030\003 \003(\0132\034.CSVCMsg_GameEventList.ke"
  1686. "y_t\"R\n\024CSVCMsg_TempEntities\022\020\n\010reliable\030"
  1687. "\001 \001(\010\022\023\n\013num_entries\030\002 \001(\005\022\023\n\013entity_dat"
  1688. "a\030\003 \001(\014\"\254\001\n\026CSVCMsg_PacketEntities\022\023\n\013ma"
  1689. "x_entries\030\001 \001(\005\022\027\n\017updated_entries\030\002 \001(\005"
  1690. "\022\020\n\010is_delta\030\003 \001(\010\022\027\n\017update_baseline\030\004 "
  1691. "\001(\010\022\020\n\010baseline\030\005 \001(\005\022\022\n\ndelta_from\030\006 \001("
  1692. "\005\022\023\n\013entity_data\030\007 \001(\014\"\266\003\n\016CSVCMsg_Sound"
  1693. "s\022\026\n\016reliable_sound\030\001 \001(\010\022+\n\006sounds\030\002 \003("
  1694. "\0132\033.CSVCMsg_Sounds.sounddata_t\032\336\002\n\013sound"
  1695. "data_t\022\020\n\010origin_x\030\001 \001(\021\022\020\n\010origin_y\030\002 \001"
  1696. "(\021\022\020\n\010origin_z\030\003 \001(\021\022\016\n\006volume\030\004 \001(\r\022\023\n\013"
  1697. "delay_value\030\005 \001(\002\022\027\n\017sequence_number\030\006 \001"
  1698. "(\005\022\024\n\014entity_index\030\007 \001(\005\022\017\n\007channel\030\010 \001("
  1699. "\005\022\r\n\005pitch\030\t \001(\005\022\r\n\005flags\030\n \001(\005\022\021\n\tsound"
  1700. "_num\030\013 \001(\r\022\030\n\020sound_num_handle\030\014 \001(\007\022\026\n\016"
  1701. "speaker_entity\030\r \001(\005\022\023\n\013random_seed\030\016 \001("
  1702. "\005\022\023\n\013sound_level\030\017 \001(\005\022\023\n\013is_sentence\030\020 "
  1703. "\001(\010\022\022\n\nis_ambient\030\021 \001(\010\"J\n\021CSVCMsg_Entit"
  1704. "yMsg\022\021\n\tent_index\030\001 \001(\005\022\020\n\010class_id\030\002 \001("
  1705. "\005\022\020\n\010ent_data\030\003 \001(\014\")\n\024CSVCMsg_CmdKeyVal"
  1706. "ues\022\021\n\tkeyvalues\030\001 \001(\014\"<\n\025CSVCMsg_Encryp"
  1707. "tedData\022\021\n\tencrypted\030\001 \001(\014\022\020\n\010key_type\030\002"
  1708. " \001(\005\"\306\001\n\022CSVCMsg_HltvReplay\022\r\n\005delay\030\001 \001"
  1709. "(\005\022\026\n\016primary_target\030\002 \001(\005\022\026\n\016replay_sto"
  1710. "p_at\030\003 \001(\005\022\027\n\017replay_start_at\030\004 \001(\005\022\035\n\025r"
  1711. "eplay_slowdown_begin\030\005 \001(\005\022\033\n\023replay_slo"
  1712. "wdown_end\030\006 \001(\005\022\034\n\024replay_slowdown_rate\030"
  1713. "\007 \001(\002\"\213\001\n\022CCLCMsg_HltvReplay\022\017\n\007request\030"
  1714. "\001 \001(\005\022\027\n\017slowdown_length\030\002 \001(\002\022\025\n\rslowdo"
  1715. "wn_rate\030\003 \001(\002\022 \n\030primary_target_ent_inde"
  1716. "x\030\004 \001(\005\022\022\n\nevent_time\030\005 \001(\002\"(\n\031CSVCMsg_B"
  1717. "roadcast_Command\022\013\n\003cmd\030\001 \001(\t*\271\001\n\014NET_Me"
  1718. "ssages\022\013\n\007net_NOP\020\000\022\022\n\016net_Disconnect\020\001\022"
  1719. "\014\n\010net_File\020\002\022\027\n\023net_SplitScreenUser\020\003\022\014"
  1720. "\n\010net_Tick\020\004\022\021\n\rnet_StringCmd\020\005\022\021\n\rnet_S"
  1721. "etConVar\020\006\022\023\n\017net_SignonState\020\007\022\030\n\024net_P"
  1722. "layerAvatarData\020d*\224\002\n\014CLC_Messages\022\022\n\016cl"
  1723. "c_ClientInfo\020\010\022\014\n\010clc_Move\020\t\022\021\n\rclc_Voic"
  1724. "eData\020\n\022\023\n\017clc_BaselineAck\020\013\022\024\n\020clc_List"
  1725. "enEvents\020\014\022\030\n\024clc_RespondCvarValue\020\r\022\024\n\020"
  1726. "clc_FileCRCCheck\020\016\022\027\n\023clc_LoadingProgres"
  1727. "s\020\017\022\032\n\026clc_SplitPlayerConnect\020\020\022\025\n\021clc_C"
  1728. "lientMessage\020\021\022\024\n\020clc_CmdKeyValues\020\022\022\022\n\016"
  1729. "clc_HltvReplay\020\024*L\n\021VoiceDataFormat_t\022\032\n"
  1730. "\026VOICEDATA_FORMAT_STEAM\020\000\022\033\n\027VOICEDATA_F"
  1731. "ORMAT_ENGINE\020\001*y\n\027ESplitScreenMessageTyp"
  1732. "e\022\033\n\027MSG_SPLITSCREEN_ADDUSER\020\000\022\036\n\032MSG_SP"
  1733. "LITSCREEN_REMOVEUSER\020\001\022\035\n\031MSG_SPLITSCREE"
  1734. "N_TYPE_BITS\020\001\032\002\020\001*\343\004\n\014SVC_Messages\022\022\n\016sv"
  1735. "c_ServerInfo\020\010\022\021\n\rsvc_SendTable\020\t\022\021\n\rsvc"
  1736. "_ClassInfo\020\n\022\020\n\014svc_SetPause\020\013\022\031\n\025svc_Cr"
  1737. "eateStringTable\020\014\022\031\n\025svc_UpdateStringTab"
  1738. "le\020\r\022\021\n\rsvc_VoiceInit\020\016\022\021\n\rsvc_VoiceData"
  1739. "\020\017\022\r\n\tsvc_Print\020\020\022\016\n\nsvc_Sounds\020\021\022\017\n\013svc"
  1740. "_SetView\020\022\022\020\n\014svc_FixAngle\020\023\022\026\n\022svc_Cros"
  1741. "shairAngle\020\024\022\020\n\014svc_BSPDecal\020\025\022\023\n\017svc_Sp"
  1742. "litScreen\020\026\022\023\n\017svc_UserMessage\020\027\022\025\n\021svc_"
  1743. "EntityMessage\020\030\022\021\n\rsvc_GameEvent\020\031\022\026\n\022sv"
  1744. "c_PacketEntities\020\032\022\024\n\020svc_TempEntities\020\033"
  1745. "\022\020\n\014svc_Prefetch\020\034\022\014\n\010svc_Menu\020\035\022\025\n\021svc_"
  1746. "GameEventList\020\036\022\024\n\020svc_GetCvarValue\020\037\022\024\n"
  1747. "\020svc_PaintmapData\020!\022\024\n\020svc_CmdKeyValues\020"
  1748. "\"\022\025\n\021svc_EncryptedData\020#\022\022\n\016svc_HltvRepl"
  1749. "ay\020$\022\031\n\025svc_Broadcast_Command\020&*\207\001\n\021Repl"
  1750. "ayEventType_t\022\027\n\023REPLAY_EVENT_CANCEL\020\000\022\026"
  1751. "\n\022REPLAY_EVENT_DEATH\020\001\022\030\n\024REPLAY_EVENT_G"
  1752. "ENERIC\020\002\022\'\n#REPLAY_EVENT_STUCK_NEED_FULL"
  1753. "_UPDATE\020\003B\003\200\001\000", 7614);
  1754. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  1755. "netmessages.proto", &protobuf_RegisterTypes);
  1756. CMsgVector::default_instance_ = new CMsgVector();
  1757. CMsgVector2D::default_instance_ = new CMsgVector2D();
  1758. CMsgQAngle::default_instance_ = new CMsgQAngle();
  1759. CMsgRGBA::default_instance_ = new CMsgRGBA();
  1760. CNETMsg_Tick::default_instance_ = new CNETMsg_Tick();
  1761. CNETMsg_StringCmd::default_instance_ = new CNETMsg_StringCmd();
  1762. CNETMsg_SignonState::default_instance_ = new CNETMsg_SignonState();
  1763. CMsg_CVars::default_instance_ = new CMsg_CVars();
  1764. CMsg_CVars_CVar::default_instance_ = new CMsg_CVars_CVar();
  1765. CNETMsg_SetConVar::default_instance_ = new CNETMsg_SetConVar();
  1766. CNETMsg_NOP::default_instance_ = new CNETMsg_NOP();
  1767. CNETMsg_Disconnect::default_instance_ = new CNETMsg_Disconnect();
  1768. CNETMsg_File::default_instance_ = new CNETMsg_File();
  1769. CNETMsg_SplitScreenUser::default_instance_ = new CNETMsg_SplitScreenUser();
  1770. CNETMsg_PlayerAvatarData::default_instance_ = new CNETMsg_PlayerAvatarData();
  1771. CCLCMsg_ClientInfo::default_instance_ = new CCLCMsg_ClientInfo();
  1772. CCLCMsg_Move::default_instance_ = new CCLCMsg_Move();
  1773. CCLCMsg_VoiceData::default_instance_ = new CCLCMsg_VoiceData();
  1774. CCLCMsg_BaselineAck::default_instance_ = new CCLCMsg_BaselineAck();
  1775. CCLCMsg_ListenEvents::default_instance_ = new CCLCMsg_ListenEvents();
  1776. CCLCMsg_RespondCvarValue::default_instance_ = new CCLCMsg_RespondCvarValue();
  1777. CCLCMsg_FileCRCCheck::default_instance_ = new CCLCMsg_FileCRCCheck();
  1778. CCLCMsg_LoadingProgress::default_instance_ = new CCLCMsg_LoadingProgress();
  1779. CCLCMsg_SplitPlayerConnect::default_instance_ = new CCLCMsg_SplitPlayerConnect();
  1780. CCLCMsg_CmdKeyValues::default_instance_ = new CCLCMsg_CmdKeyValues();
  1781. CSVCMsg_ServerInfo::default_instance_ = new CSVCMsg_ServerInfo();
  1782. CSVCMsg_ClassInfo::default_instance_ = new CSVCMsg_ClassInfo();
  1783. CSVCMsg_ClassInfo_class_t::default_instance_ = new CSVCMsg_ClassInfo_class_t();
  1784. CSVCMsg_SendTable::default_instance_ = new CSVCMsg_SendTable();
  1785. CSVCMsg_SendTable_sendprop_t::default_instance_ = new CSVCMsg_SendTable_sendprop_t();
  1786. CSVCMsg_Print::default_instance_ = new CSVCMsg_Print();
  1787. CSVCMsg_SetPause::default_instance_ = new CSVCMsg_SetPause();
  1788. CSVCMsg_SetView::default_instance_ = new CSVCMsg_SetView();
  1789. CSVCMsg_CreateStringTable::default_instance_ = new CSVCMsg_CreateStringTable();
  1790. CSVCMsg_UpdateStringTable::default_instance_ = new CSVCMsg_UpdateStringTable();
  1791. CSVCMsg_VoiceInit::default_instance_ = new CSVCMsg_VoiceInit();
  1792. CSVCMsg_VoiceData::default_instance_ = new CSVCMsg_VoiceData();
  1793. CSVCMsg_FixAngle::default_instance_ = new CSVCMsg_FixAngle();
  1794. CSVCMsg_CrosshairAngle::default_instance_ = new CSVCMsg_CrosshairAngle();
  1795. CSVCMsg_Prefetch::default_instance_ = new CSVCMsg_Prefetch();
  1796. CSVCMsg_BSPDecal::default_instance_ = new CSVCMsg_BSPDecal();
  1797. CSVCMsg_SplitScreen::default_instance_ = new CSVCMsg_SplitScreen();
  1798. CSVCMsg_GetCvarValue::default_instance_ = new CSVCMsg_GetCvarValue();
  1799. CSVCMsg_Menu::default_instance_ = new CSVCMsg_Menu();
  1800. CSVCMsg_UserMessage::default_instance_ = new CSVCMsg_UserMessage();
  1801. CSVCMsg_PaintmapData::default_instance_ = new CSVCMsg_PaintmapData();
  1802. CSVCMsg_GameEvent::default_instance_ = new CSVCMsg_GameEvent();
  1803. CSVCMsg_GameEvent_key_t::default_instance_ = new CSVCMsg_GameEvent_key_t();
  1804. CSVCMsg_GameEventList::default_instance_ = new CSVCMsg_GameEventList();
  1805. CSVCMsg_GameEventList_key_t::default_instance_ = new CSVCMsg_GameEventList_key_t();
  1806. CSVCMsg_GameEventList_descriptor_t::default_instance_ = new CSVCMsg_GameEventList_descriptor_t();
  1807. CSVCMsg_TempEntities::default_instance_ = new CSVCMsg_TempEntities();
  1808. CSVCMsg_PacketEntities::default_instance_ = new CSVCMsg_PacketEntities();
  1809. CSVCMsg_Sounds::default_instance_ = new CSVCMsg_Sounds();
  1810. CSVCMsg_Sounds_sounddata_t::default_instance_ = new CSVCMsg_Sounds_sounddata_t();
  1811. CSVCMsg_EntityMsg::default_instance_ = new CSVCMsg_EntityMsg();
  1812. CSVCMsg_CmdKeyValues::default_instance_ = new CSVCMsg_CmdKeyValues();
  1813. CSVCMsg_EncryptedData::default_instance_ = new CSVCMsg_EncryptedData();
  1814. CSVCMsg_HltvReplay::default_instance_ = new CSVCMsg_HltvReplay();
  1815. CCLCMsg_HltvReplay::default_instance_ = new CCLCMsg_HltvReplay();
  1816. CSVCMsg_Broadcast_Command::default_instance_ = new CSVCMsg_Broadcast_Command();
  1817. CMsgVector::default_instance_->InitAsDefaultInstance();
  1818. CMsgVector2D::default_instance_->InitAsDefaultInstance();
  1819. CMsgQAngle::default_instance_->InitAsDefaultInstance();
  1820. CMsgRGBA::default_instance_->InitAsDefaultInstance();
  1821. CNETMsg_Tick::default_instance_->InitAsDefaultInstance();
  1822. CNETMsg_StringCmd::default_instance_->InitAsDefaultInstance();
  1823. CNETMsg_SignonState::default_instance_->InitAsDefaultInstance();
  1824. CMsg_CVars::default_instance_->InitAsDefaultInstance();
  1825. CMsg_CVars_CVar::default_instance_->InitAsDefaultInstance();
  1826. CNETMsg_SetConVar::default_instance_->InitAsDefaultInstance();
  1827. CNETMsg_NOP::default_instance_->InitAsDefaultInstance();
  1828. CNETMsg_Disconnect::default_instance_->InitAsDefaultInstance();
  1829. CNETMsg_File::default_instance_->InitAsDefaultInstance();
  1830. CNETMsg_SplitScreenUser::default_instance_->InitAsDefaultInstance();
  1831. CNETMsg_PlayerAvatarData::default_instance_->InitAsDefaultInstance();
  1832. CCLCMsg_ClientInfo::default_instance_->InitAsDefaultInstance();
  1833. CCLCMsg_Move::default_instance_->InitAsDefaultInstance();
  1834. CCLCMsg_VoiceData::default_instance_->InitAsDefaultInstance();
  1835. CCLCMsg_BaselineAck::default_instance_->InitAsDefaultInstance();
  1836. CCLCMsg_ListenEvents::default_instance_->InitAsDefaultInstance();
  1837. CCLCMsg_RespondCvarValue::default_instance_->InitAsDefaultInstance();
  1838. CCLCMsg_FileCRCCheck::default_instance_->InitAsDefaultInstance();
  1839. CCLCMsg_LoadingProgress::default_instance_->InitAsDefaultInstance();
  1840. CCLCMsg_SplitPlayerConnect::default_instance_->InitAsDefaultInstance();
  1841. CCLCMsg_CmdKeyValues::default_instance_->InitAsDefaultInstance();
  1842. CSVCMsg_ServerInfo::default_instance_->InitAsDefaultInstance();
  1843. CSVCMsg_ClassInfo::default_instance_->InitAsDefaultInstance();
  1844. CSVCMsg_ClassInfo_class_t::default_instance_->InitAsDefaultInstance();
  1845. CSVCMsg_SendTable::default_instance_->InitAsDefaultInstance();
  1846. CSVCMsg_SendTable_sendprop_t::default_instance_->InitAsDefaultInstance();
  1847. CSVCMsg_Print::default_instance_->InitAsDefaultInstance();
  1848. CSVCMsg_SetPause::default_instance_->InitAsDefaultInstance();
  1849. CSVCMsg_SetView::default_instance_->InitAsDefaultInstance();
  1850. CSVCMsg_CreateStringTable::default_instance_->InitAsDefaultInstance();
  1851. CSVCMsg_UpdateStringTable::default_instance_->InitAsDefaultInstance();
  1852. CSVCMsg_VoiceInit::default_instance_->InitAsDefaultInstance();
  1853. CSVCMsg_VoiceData::default_instance_->InitAsDefaultInstance();
  1854. CSVCMsg_FixAngle::default_instance_->InitAsDefaultInstance();
  1855. CSVCMsg_CrosshairAngle::default_instance_->InitAsDefaultInstance();
  1856. CSVCMsg_Prefetch::default_instance_->InitAsDefaultInstance();
  1857. CSVCMsg_BSPDecal::default_instance_->InitAsDefaultInstance();
  1858. CSVCMsg_SplitScreen::default_instance_->InitAsDefaultInstance();
  1859. CSVCMsg_GetCvarValue::default_instance_->InitAsDefaultInstance();
  1860. CSVCMsg_Menu::default_instance_->InitAsDefaultInstance();
  1861. CSVCMsg_UserMessage::default_instance_->InitAsDefaultInstance();
  1862. CSVCMsg_PaintmapData::default_instance_->InitAsDefaultInstance();
  1863. CSVCMsg_GameEvent::default_instance_->InitAsDefaultInstance();
  1864. CSVCMsg_GameEvent_key_t::default_instance_->InitAsDefaultInstance();
  1865. CSVCMsg_GameEventList::default_instance_->InitAsDefaultInstance();
  1866. CSVCMsg_GameEventList_key_t::default_instance_->InitAsDefaultInstance();
  1867. CSVCMsg_GameEventList_descriptor_t::default_instance_->InitAsDefaultInstance();
  1868. CSVCMsg_TempEntities::default_instance_->InitAsDefaultInstance();
  1869. CSVCMsg_PacketEntities::default_instance_->InitAsDefaultInstance();
  1870. CSVCMsg_Sounds::default_instance_->InitAsDefaultInstance();
  1871. CSVCMsg_Sounds_sounddata_t::default_instance_->InitAsDefaultInstance();
  1872. CSVCMsg_EntityMsg::default_instance_->InitAsDefaultInstance();
  1873. CSVCMsg_CmdKeyValues::default_instance_->InitAsDefaultInstance();
  1874. CSVCMsg_EncryptedData::default_instance_->InitAsDefaultInstance();
  1875. CSVCMsg_HltvReplay::default_instance_->InitAsDefaultInstance();
  1876. CCLCMsg_HltvReplay::default_instance_->InitAsDefaultInstance();
  1877. CSVCMsg_Broadcast_Command::default_instance_->InitAsDefaultInstance();
  1878. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_netmessages_2eproto);
  1879. }
  1880. // Force AddDescriptors() to be called at static initialization time.
  1881. struct StaticDescriptorInitializer_netmessages_2eproto {
  1882. StaticDescriptorInitializer_netmessages_2eproto() {
  1883. protobuf_AddDesc_netmessages_2eproto();
  1884. }
  1885. } static_descriptor_initializer_netmessages_2eproto_;
  1886. const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor() {
  1887. protobuf_AssignDescriptorsOnce();
  1888. return NET_Messages_descriptor_;
  1889. }
  1890. bool NET_Messages_IsValid(int value) {
  1891. switch(value) {
  1892. case 0:
  1893. case 1:
  1894. case 2:
  1895. case 3:
  1896. case 4:
  1897. case 5:
  1898. case 6:
  1899. case 7:
  1900. case 100:
  1901. return true;
  1902. default:
  1903. return false;
  1904. }
  1905. }
  1906. const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor() {
  1907. protobuf_AssignDescriptorsOnce();
  1908. return CLC_Messages_descriptor_;
  1909. }
  1910. bool CLC_Messages_IsValid(int value) {
  1911. switch(value) {
  1912. case 8:
  1913. case 9:
  1914. case 10:
  1915. case 11:
  1916. case 12:
  1917. case 13:
  1918. case 14:
  1919. case 15:
  1920. case 16:
  1921. case 17:
  1922. case 18:
  1923. case 20:
  1924. return true;
  1925. default:
  1926. return false;
  1927. }
  1928. }
  1929. const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor() {
  1930. protobuf_AssignDescriptorsOnce();
  1931. return VoiceDataFormat_t_descriptor_;
  1932. }
  1933. bool VoiceDataFormat_t_IsValid(int value) {
  1934. switch(value) {
  1935. case 0:
  1936. case 1:
  1937. return true;
  1938. default:
  1939. return false;
  1940. }
  1941. }
  1942. const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor() {
  1943. protobuf_AssignDescriptorsOnce();
  1944. return ESplitScreenMessageType_descriptor_;
  1945. }
  1946. bool ESplitScreenMessageType_IsValid(int value) {
  1947. switch(value) {
  1948. case 0:
  1949. case 1:
  1950. return true;
  1951. default:
  1952. return false;
  1953. }
  1954. }
  1955. const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor() {
  1956. protobuf_AssignDescriptorsOnce();
  1957. return SVC_Messages_descriptor_;
  1958. }
  1959. bool SVC_Messages_IsValid(int value) {
  1960. switch(value) {
  1961. case 8:
  1962. case 9:
  1963. case 10:
  1964. case 11:
  1965. case 12:
  1966. case 13:
  1967. case 14:
  1968. case 15:
  1969. case 16:
  1970. case 17:
  1971. case 18:
  1972. case 19:
  1973. case 20:
  1974. case 21:
  1975. case 22:
  1976. case 23:
  1977. case 24:
  1978. case 25:
  1979. case 26:
  1980. case 27:
  1981. case 28:
  1982. case 29:
  1983. case 30:
  1984. case 31:
  1985. case 33:
  1986. case 34:
  1987. case 35:
  1988. case 36:
  1989. case 38:
  1990. return true;
  1991. default:
  1992. return false;
  1993. }
  1994. }
  1995. const ::google::protobuf::EnumDescriptor* ReplayEventType_t_descriptor() {
  1996. protobuf_AssignDescriptorsOnce();
  1997. return ReplayEventType_t_descriptor_;
  1998. }
  1999. bool ReplayEventType_t_IsValid(int value) {
  2000. switch(value) {
  2001. case 0:
  2002. case 1:
  2003. case 2:
  2004. case 3:
  2005. return true;
  2006. default:
  2007. return false;
  2008. }
  2009. }
  2010. // ===================================================================
  2011. #ifndef _MSC_VER
  2012. const int CMsgVector::kXFieldNumber;
  2013. const int CMsgVector::kYFieldNumber;
  2014. const int CMsgVector::kZFieldNumber;
  2015. #endif // !_MSC_VER
  2016. CMsgVector::CMsgVector()
  2017. : ::google::protobuf::Message() {
  2018. SharedCtor();
  2019. }
  2020. void CMsgVector::InitAsDefaultInstance() {
  2021. }
  2022. CMsgVector::CMsgVector(const CMsgVector& from)
  2023. : ::google::protobuf::Message() {
  2024. SharedCtor();
  2025. MergeFrom(from);
  2026. }
  2027. void CMsgVector::SharedCtor() {
  2028. _cached_size_ = 0;
  2029. x_ = 0;
  2030. y_ = 0;
  2031. z_ = 0;
  2032. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2033. }
  2034. CMsgVector::~CMsgVector() {
  2035. SharedDtor();
  2036. }
  2037. void CMsgVector::SharedDtor() {
  2038. if (this != default_instance_) {
  2039. }
  2040. }
  2041. void CMsgVector::SetCachedSize(int size) const {
  2042. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2043. _cached_size_ = size;
  2044. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2045. }
  2046. const ::google::protobuf::Descriptor* CMsgVector::descriptor() {
  2047. protobuf_AssignDescriptorsOnce();
  2048. return CMsgVector_descriptor_;
  2049. }
  2050. const CMsgVector& CMsgVector::default_instance() {
  2051. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  2052. return *default_instance_;
  2053. }
  2054. CMsgVector* CMsgVector::default_instance_ = NULL;
  2055. CMsgVector* CMsgVector::New() const {
  2056. return new CMsgVector;
  2057. }
  2058. void CMsgVector::Clear() {
  2059. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2060. x_ = 0;
  2061. y_ = 0;
  2062. z_ = 0;
  2063. }
  2064. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2065. mutable_unknown_fields()->Clear();
  2066. }
  2067. bool CMsgVector::MergePartialFromCodedStream(
  2068. ::google::protobuf::io::CodedInputStream* input) {
  2069. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2070. ::google::protobuf::uint32 tag;
  2071. while ((tag = input->ReadTag()) != 0) {
  2072. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2073. // optional float x = 1;
  2074. case 1: {
  2075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2077. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2078. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2079. input, &x_)));
  2080. set_has_x();
  2081. } else {
  2082. goto handle_uninterpreted;
  2083. }
  2084. if (input->ExpectTag(21)) goto parse_y;
  2085. break;
  2086. }
  2087. // optional float y = 2;
  2088. case 2: {
  2089. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2090. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2091. parse_y:
  2092. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2093. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2094. input, &y_)));
  2095. set_has_y();
  2096. } else {
  2097. goto handle_uninterpreted;
  2098. }
  2099. if (input->ExpectTag(29)) goto parse_z;
  2100. break;
  2101. }
  2102. // optional float z = 3;
  2103. case 3: {
  2104. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2105. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2106. parse_z:
  2107. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2108. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2109. input, &z_)));
  2110. set_has_z();
  2111. } else {
  2112. goto handle_uninterpreted;
  2113. }
  2114. if (input->ExpectAtEnd()) return true;
  2115. break;
  2116. }
  2117. default: {
  2118. handle_uninterpreted:
  2119. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2120. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2121. return true;
  2122. }
  2123. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2124. input, tag, mutable_unknown_fields()));
  2125. break;
  2126. }
  2127. }
  2128. }
  2129. return true;
  2130. #undef DO_
  2131. }
  2132. void CMsgVector::SerializeWithCachedSizes(
  2133. ::google::protobuf::io::CodedOutputStream* output) const {
  2134. // optional float x = 1;
  2135. if (has_x()) {
  2136. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output);
  2137. }
  2138. // optional float y = 2;
  2139. if (has_y()) {
  2140. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output);
  2141. }
  2142. // optional float z = 3;
  2143. if (has_z()) {
  2144. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->z(), output);
  2145. }
  2146. if (!unknown_fields().empty()) {
  2147. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2148. unknown_fields(), output);
  2149. }
  2150. }
  2151. ::google::protobuf::uint8* CMsgVector::SerializeWithCachedSizesToArray(
  2152. ::google::protobuf::uint8* target) const {
  2153. // optional float x = 1;
  2154. if (has_x()) {
  2155. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target);
  2156. }
  2157. // optional float y = 2;
  2158. if (has_y()) {
  2159. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target);
  2160. }
  2161. // optional float z = 3;
  2162. if (has_z()) {
  2163. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->z(), target);
  2164. }
  2165. if (!unknown_fields().empty()) {
  2166. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2167. unknown_fields(), target);
  2168. }
  2169. return target;
  2170. }
  2171. int CMsgVector::ByteSize() const {
  2172. int total_size = 0;
  2173. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2174. // optional float x = 1;
  2175. if (has_x()) {
  2176. total_size += 1 + 4;
  2177. }
  2178. // optional float y = 2;
  2179. if (has_y()) {
  2180. total_size += 1 + 4;
  2181. }
  2182. // optional float z = 3;
  2183. if (has_z()) {
  2184. total_size += 1 + 4;
  2185. }
  2186. }
  2187. if (!unknown_fields().empty()) {
  2188. total_size +=
  2189. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2190. unknown_fields());
  2191. }
  2192. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2193. _cached_size_ = total_size;
  2194. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2195. return total_size;
  2196. }
  2197. void CMsgVector::MergeFrom(const ::google::protobuf::Message& from) {
  2198. GOOGLE_CHECK_NE(&from, this);
  2199. const CMsgVector* source =
  2200. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgVector*>(
  2201. &from);
  2202. if (source == NULL) {
  2203. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2204. } else {
  2205. MergeFrom(*source);
  2206. }
  2207. }
  2208. void CMsgVector::MergeFrom(const CMsgVector& from) {
  2209. GOOGLE_CHECK_NE(&from, this);
  2210. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2211. if (from.has_x()) {
  2212. set_x(from.x());
  2213. }
  2214. if (from.has_y()) {
  2215. set_y(from.y());
  2216. }
  2217. if (from.has_z()) {
  2218. set_z(from.z());
  2219. }
  2220. }
  2221. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2222. }
  2223. void CMsgVector::CopyFrom(const ::google::protobuf::Message& from) {
  2224. if (&from == this) return;
  2225. Clear();
  2226. MergeFrom(from);
  2227. }
  2228. void CMsgVector::CopyFrom(const CMsgVector& from) {
  2229. if (&from == this) return;
  2230. Clear();
  2231. MergeFrom(from);
  2232. }
  2233. bool CMsgVector::IsInitialized() const {
  2234. return true;
  2235. }
  2236. void CMsgVector::Swap(CMsgVector* other) {
  2237. if (other != this) {
  2238. std::swap(x_, other->x_);
  2239. std::swap(y_, other->y_);
  2240. std::swap(z_, other->z_);
  2241. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2242. _unknown_fields_.Swap(&other->_unknown_fields_);
  2243. std::swap(_cached_size_, other->_cached_size_);
  2244. }
  2245. }
  2246. ::google::protobuf::Metadata CMsgVector::GetMetadata() const {
  2247. protobuf_AssignDescriptorsOnce();
  2248. ::google::protobuf::Metadata metadata;
  2249. metadata.descriptor = CMsgVector_descriptor_;
  2250. metadata.reflection = CMsgVector_reflection_;
  2251. return metadata;
  2252. }
  2253. // ===================================================================
  2254. #ifndef _MSC_VER
  2255. const int CMsgVector2D::kXFieldNumber;
  2256. const int CMsgVector2D::kYFieldNumber;
  2257. #endif // !_MSC_VER
  2258. CMsgVector2D::CMsgVector2D()
  2259. : ::google::protobuf::Message() {
  2260. SharedCtor();
  2261. }
  2262. void CMsgVector2D::InitAsDefaultInstance() {
  2263. }
  2264. CMsgVector2D::CMsgVector2D(const CMsgVector2D& from)
  2265. : ::google::protobuf::Message() {
  2266. SharedCtor();
  2267. MergeFrom(from);
  2268. }
  2269. void CMsgVector2D::SharedCtor() {
  2270. _cached_size_ = 0;
  2271. x_ = 0;
  2272. y_ = 0;
  2273. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2274. }
  2275. CMsgVector2D::~CMsgVector2D() {
  2276. SharedDtor();
  2277. }
  2278. void CMsgVector2D::SharedDtor() {
  2279. if (this != default_instance_) {
  2280. }
  2281. }
  2282. void CMsgVector2D::SetCachedSize(int size) const {
  2283. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2284. _cached_size_ = size;
  2285. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2286. }
  2287. const ::google::protobuf::Descriptor* CMsgVector2D::descriptor() {
  2288. protobuf_AssignDescriptorsOnce();
  2289. return CMsgVector2D_descriptor_;
  2290. }
  2291. const CMsgVector2D& CMsgVector2D::default_instance() {
  2292. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  2293. return *default_instance_;
  2294. }
  2295. CMsgVector2D* CMsgVector2D::default_instance_ = NULL;
  2296. CMsgVector2D* CMsgVector2D::New() const {
  2297. return new CMsgVector2D;
  2298. }
  2299. void CMsgVector2D::Clear() {
  2300. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2301. x_ = 0;
  2302. y_ = 0;
  2303. }
  2304. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2305. mutable_unknown_fields()->Clear();
  2306. }
  2307. bool CMsgVector2D::MergePartialFromCodedStream(
  2308. ::google::protobuf::io::CodedInputStream* input) {
  2309. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2310. ::google::protobuf::uint32 tag;
  2311. while ((tag = input->ReadTag()) != 0) {
  2312. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2313. // optional float x = 1;
  2314. case 1: {
  2315. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2316. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2317. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2318. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2319. input, &x_)));
  2320. set_has_x();
  2321. } else {
  2322. goto handle_uninterpreted;
  2323. }
  2324. if (input->ExpectTag(21)) goto parse_y;
  2325. break;
  2326. }
  2327. // optional float y = 2;
  2328. case 2: {
  2329. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2330. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2331. parse_y:
  2332. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2333. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2334. input, &y_)));
  2335. set_has_y();
  2336. } else {
  2337. goto handle_uninterpreted;
  2338. }
  2339. if (input->ExpectAtEnd()) return true;
  2340. break;
  2341. }
  2342. default: {
  2343. handle_uninterpreted:
  2344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2346. return true;
  2347. }
  2348. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2349. input, tag, mutable_unknown_fields()));
  2350. break;
  2351. }
  2352. }
  2353. }
  2354. return true;
  2355. #undef DO_
  2356. }
  2357. void CMsgVector2D::SerializeWithCachedSizes(
  2358. ::google::protobuf::io::CodedOutputStream* output) const {
  2359. // optional float x = 1;
  2360. if (has_x()) {
  2361. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output);
  2362. }
  2363. // optional float y = 2;
  2364. if (has_y()) {
  2365. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output);
  2366. }
  2367. if (!unknown_fields().empty()) {
  2368. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2369. unknown_fields(), output);
  2370. }
  2371. }
  2372. ::google::protobuf::uint8* CMsgVector2D::SerializeWithCachedSizesToArray(
  2373. ::google::protobuf::uint8* target) const {
  2374. // optional float x = 1;
  2375. if (has_x()) {
  2376. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target);
  2377. }
  2378. // optional float y = 2;
  2379. if (has_y()) {
  2380. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target);
  2381. }
  2382. if (!unknown_fields().empty()) {
  2383. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2384. unknown_fields(), target);
  2385. }
  2386. return target;
  2387. }
  2388. int CMsgVector2D::ByteSize() const {
  2389. int total_size = 0;
  2390. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2391. // optional float x = 1;
  2392. if (has_x()) {
  2393. total_size += 1 + 4;
  2394. }
  2395. // optional float y = 2;
  2396. if (has_y()) {
  2397. total_size += 1 + 4;
  2398. }
  2399. }
  2400. if (!unknown_fields().empty()) {
  2401. total_size +=
  2402. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2403. unknown_fields());
  2404. }
  2405. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2406. _cached_size_ = total_size;
  2407. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2408. return total_size;
  2409. }
  2410. void CMsgVector2D::MergeFrom(const ::google::protobuf::Message& from) {
  2411. GOOGLE_CHECK_NE(&from, this);
  2412. const CMsgVector2D* source =
  2413. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgVector2D*>(
  2414. &from);
  2415. if (source == NULL) {
  2416. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2417. } else {
  2418. MergeFrom(*source);
  2419. }
  2420. }
  2421. void CMsgVector2D::MergeFrom(const CMsgVector2D& from) {
  2422. GOOGLE_CHECK_NE(&from, this);
  2423. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2424. if (from.has_x()) {
  2425. set_x(from.x());
  2426. }
  2427. if (from.has_y()) {
  2428. set_y(from.y());
  2429. }
  2430. }
  2431. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2432. }
  2433. void CMsgVector2D::CopyFrom(const ::google::protobuf::Message& from) {
  2434. if (&from == this) return;
  2435. Clear();
  2436. MergeFrom(from);
  2437. }
  2438. void CMsgVector2D::CopyFrom(const CMsgVector2D& from) {
  2439. if (&from == this) return;
  2440. Clear();
  2441. MergeFrom(from);
  2442. }
  2443. bool CMsgVector2D::IsInitialized() const {
  2444. return true;
  2445. }
  2446. void CMsgVector2D::Swap(CMsgVector2D* other) {
  2447. if (other != this) {
  2448. std::swap(x_, other->x_);
  2449. std::swap(y_, other->y_);
  2450. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2451. _unknown_fields_.Swap(&other->_unknown_fields_);
  2452. std::swap(_cached_size_, other->_cached_size_);
  2453. }
  2454. }
  2455. ::google::protobuf::Metadata CMsgVector2D::GetMetadata() const {
  2456. protobuf_AssignDescriptorsOnce();
  2457. ::google::protobuf::Metadata metadata;
  2458. metadata.descriptor = CMsgVector2D_descriptor_;
  2459. metadata.reflection = CMsgVector2D_reflection_;
  2460. return metadata;
  2461. }
  2462. // ===================================================================
  2463. #ifndef _MSC_VER
  2464. const int CMsgQAngle::kXFieldNumber;
  2465. const int CMsgQAngle::kYFieldNumber;
  2466. const int CMsgQAngle::kZFieldNumber;
  2467. #endif // !_MSC_VER
  2468. CMsgQAngle::CMsgQAngle()
  2469. : ::google::protobuf::Message() {
  2470. SharedCtor();
  2471. }
  2472. void CMsgQAngle::InitAsDefaultInstance() {
  2473. }
  2474. CMsgQAngle::CMsgQAngle(const CMsgQAngle& from)
  2475. : ::google::protobuf::Message() {
  2476. SharedCtor();
  2477. MergeFrom(from);
  2478. }
  2479. void CMsgQAngle::SharedCtor() {
  2480. _cached_size_ = 0;
  2481. x_ = 0;
  2482. y_ = 0;
  2483. z_ = 0;
  2484. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2485. }
  2486. CMsgQAngle::~CMsgQAngle() {
  2487. SharedDtor();
  2488. }
  2489. void CMsgQAngle::SharedDtor() {
  2490. if (this != default_instance_) {
  2491. }
  2492. }
  2493. void CMsgQAngle::SetCachedSize(int size) const {
  2494. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2495. _cached_size_ = size;
  2496. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2497. }
  2498. const ::google::protobuf::Descriptor* CMsgQAngle::descriptor() {
  2499. protobuf_AssignDescriptorsOnce();
  2500. return CMsgQAngle_descriptor_;
  2501. }
  2502. const CMsgQAngle& CMsgQAngle::default_instance() {
  2503. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  2504. return *default_instance_;
  2505. }
  2506. CMsgQAngle* CMsgQAngle::default_instance_ = NULL;
  2507. CMsgQAngle* CMsgQAngle::New() const {
  2508. return new CMsgQAngle;
  2509. }
  2510. void CMsgQAngle::Clear() {
  2511. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2512. x_ = 0;
  2513. y_ = 0;
  2514. z_ = 0;
  2515. }
  2516. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2517. mutable_unknown_fields()->Clear();
  2518. }
  2519. bool CMsgQAngle::MergePartialFromCodedStream(
  2520. ::google::protobuf::io::CodedInputStream* input) {
  2521. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2522. ::google::protobuf::uint32 tag;
  2523. while ((tag = input->ReadTag()) != 0) {
  2524. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2525. // optional float x = 1;
  2526. case 1: {
  2527. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2528. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2529. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2530. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2531. input, &x_)));
  2532. set_has_x();
  2533. } else {
  2534. goto handle_uninterpreted;
  2535. }
  2536. if (input->ExpectTag(21)) goto parse_y;
  2537. break;
  2538. }
  2539. // optional float y = 2;
  2540. case 2: {
  2541. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2542. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2543. parse_y:
  2544. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2545. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2546. input, &y_)));
  2547. set_has_y();
  2548. } else {
  2549. goto handle_uninterpreted;
  2550. }
  2551. if (input->ExpectTag(29)) goto parse_z;
  2552. break;
  2553. }
  2554. // optional float z = 3;
  2555. case 3: {
  2556. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2557. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  2558. parse_z:
  2559. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2560. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  2561. input, &z_)));
  2562. set_has_z();
  2563. } else {
  2564. goto handle_uninterpreted;
  2565. }
  2566. if (input->ExpectAtEnd()) return true;
  2567. break;
  2568. }
  2569. default: {
  2570. handle_uninterpreted:
  2571. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2572. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2573. return true;
  2574. }
  2575. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2576. input, tag, mutable_unknown_fields()));
  2577. break;
  2578. }
  2579. }
  2580. }
  2581. return true;
  2582. #undef DO_
  2583. }
  2584. void CMsgQAngle::SerializeWithCachedSizes(
  2585. ::google::protobuf::io::CodedOutputStream* output) const {
  2586. // optional float x = 1;
  2587. if (has_x()) {
  2588. ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output);
  2589. }
  2590. // optional float y = 2;
  2591. if (has_y()) {
  2592. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output);
  2593. }
  2594. // optional float z = 3;
  2595. if (has_z()) {
  2596. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->z(), output);
  2597. }
  2598. if (!unknown_fields().empty()) {
  2599. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2600. unknown_fields(), output);
  2601. }
  2602. }
  2603. ::google::protobuf::uint8* CMsgQAngle::SerializeWithCachedSizesToArray(
  2604. ::google::protobuf::uint8* target) const {
  2605. // optional float x = 1;
  2606. if (has_x()) {
  2607. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target);
  2608. }
  2609. // optional float y = 2;
  2610. if (has_y()) {
  2611. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target);
  2612. }
  2613. // optional float z = 3;
  2614. if (has_z()) {
  2615. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->z(), target);
  2616. }
  2617. if (!unknown_fields().empty()) {
  2618. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2619. unknown_fields(), target);
  2620. }
  2621. return target;
  2622. }
  2623. int CMsgQAngle::ByteSize() const {
  2624. int total_size = 0;
  2625. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2626. // optional float x = 1;
  2627. if (has_x()) {
  2628. total_size += 1 + 4;
  2629. }
  2630. // optional float y = 2;
  2631. if (has_y()) {
  2632. total_size += 1 + 4;
  2633. }
  2634. // optional float z = 3;
  2635. if (has_z()) {
  2636. total_size += 1 + 4;
  2637. }
  2638. }
  2639. if (!unknown_fields().empty()) {
  2640. total_size +=
  2641. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2642. unknown_fields());
  2643. }
  2644. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2645. _cached_size_ = total_size;
  2646. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2647. return total_size;
  2648. }
  2649. void CMsgQAngle::MergeFrom(const ::google::protobuf::Message& from) {
  2650. GOOGLE_CHECK_NE(&from, this);
  2651. const CMsgQAngle* source =
  2652. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgQAngle*>(
  2653. &from);
  2654. if (source == NULL) {
  2655. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2656. } else {
  2657. MergeFrom(*source);
  2658. }
  2659. }
  2660. void CMsgQAngle::MergeFrom(const CMsgQAngle& from) {
  2661. GOOGLE_CHECK_NE(&from, this);
  2662. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2663. if (from.has_x()) {
  2664. set_x(from.x());
  2665. }
  2666. if (from.has_y()) {
  2667. set_y(from.y());
  2668. }
  2669. if (from.has_z()) {
  2670. set_z(from.z());
  2671. }
  2672. }
  2673. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2674. }
  2675. void CMsgQAngle::CopyFrom(const ::google::protobuf::Message& from) {
  2676. if (&from == this) return;
  2677. Clear();
  2678. MergeFrom(from);
  2679. }
  2680. void CMsgQAngle::CopyFrom(const CMsgQAngle& from) {
  2681. if (&from == this) return;
  2682. Clear();
  2683. MergeFrom(from);
  2684. }
  2685. bool CMsgQAngle::IsInitialized() const {
  2686. return true;
  2687. }
  2688. void CMsgQAngle::Swap(CMsgQAngle* other) {
  2689. if (other != this) {
  2690. std::swap(x_, other->x_);
  2691. std::swap(y_, other->y_);
  2692. std::swap(z_, other->z_);
  2693. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2694. _unknown_fields_.Swap(&other->_unknown_fields_);
  2695. std::swap(_cached_size_, other->_cached_size_);
  2696. }
  2697. }
  2698. ::google::protobuf::Metadata CMsgQAngle::GetMetadata() const {
  2699. protobuf_AssignDescriptorsOnce();
  2700. ::google::protobuf::Metadata metadata;
  2701. metadata.descriptor = CMsgQAngle_descriptor_;
  2702. metadata.reflection = CMsgQAngle_reflection_;
  2703. return metadata;
  2704. }
  2705. // ===================================================================
  2706. #ifndef _MSC_VER
  2707. const int CMsgRGBA::kRFieldNumber;
  2708. const int CMsgRGBA::kGFieldNumber;
  2709. const int CMsgRGBA::kBFieldNumber;
  2710. const int CMsgRGBA::kAFieldNumber;
  2711. #endif // !_MSC_VER
  2712. CMsgRGBA::CMsgRGBA()
  2713. : ::google::protobuf::Message() {
  2714. SharedCtor();
  2715. }
  2716. void CMsgRGBA::InitAsDefaultInstance() {
  2717. }
  2718. CMsgRGBA::CMsgRGBA(const CMsgRGBA& from)
  2719. : ::google::protobuf::Message() {
  2720. SharedCtor();
  2721. MergeFrom(from);
  2722. }
  2723. void CMsgRGBA::SharedCtor() {
  2724. _cached_size_ = 0;
  2725. r_ = 0;
  2726. g_ = 0;
  2727. b_ = 0;
  2728. a_ = 0;
  2729. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2730. }
  2731. CMsgRGBA::~CMsgRGBA() {
  2732. SharedDtor();
  2733. }
  2734. void CMsgRGBA::SharedDtor() {
  2735. if (this != default_instance_) {
  2736. }
  2737. }
  2738. void CMsgRGBA::SetCachedSize(int size) const {
  2739. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2740. _cached_size_ = size;
  2741. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2742. }
  2743. const ::google::protobuf::Descriptor* CMsgRGBA::descriptor() {
  2744. protobuf_AssignDescriptorsOnce();
  2745. return CMsgRGBA_descriptor_;
  2746. }
  2747. const CMsgRGBA& CMsgRGBA::default_instance() {
  2748. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  2749. return *default_instance_;
  2750. }
  2751. CMsgRGBA* CMsgRGBA::default_instance_ = NULL;
  2752. CMsgRGBA* CMsgRGBA::New() const {
  2753. return new CMsgRGBA;
  2754. }
  2755. void CMsgRGBA::Clear() {
  2756. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2757. r_ = 0;
  2758. g_ = 0;
  2759. b_ = 0;
  2760. a_ = 0;
  2761. }
  2762. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2763. mutable_unknown_fields()->Clear();
  2764. }
  2765. bool CMsgRGBA::MergePartialFromCodedStream(
  2766. ::google::protobuf::io::CodedInputStream* input) {
  2767. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2768. ::google::protobuf::uint32 tag;
  2769. while ((tag = input->ReadTag()) != 0) {
  2770. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2771. // optional int32 r = 1;
  2772. case 1: {
  2773. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2774. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2775. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2776. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2777. input, &r_)));
  2778. set_has_r();
  2779. } else {
  2780. goto handle_uninterpreted;
  2781. }
  2782. if (input->ExpectTag(16)) goto parse_g;
  2783. break;
  2784. }
  2785. // optional int32 g = 2;
  2786. case 2: {
  2787. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2788. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2789. parse_g:
  2790. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2791. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2792. input, &g_)));
  2793. set_has_g();
  2794. } else {
  2795. goto handle_uninterpreted;
  2796. }
  2797. if (input->ExpectTag(24)) goto parse_b;
  2798. break;
  2799. }
  2800. // optional int32 b = 3;
  2801. case 3: {
  2802. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2803. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2804. parse_b:
  2805. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2806. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2807. input, &b_)));
  2808. set_has_b();
  2809. } else {
  2810. goto handle_uninterpreted;
  2811. }
  2812. if (input->ExpectTag(32)) goto parse_a;
  2813. break;
  2814. }
  2815. // optional int32 a = 4;
  2816. case 4: {
  2817. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2818. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2819. parse_a:
  2820. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2821. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2822. input, &a_)));
  2823. set_has_a();
  2824. } else {
  2825. goto handle_uninterpreted;
  2826. }
  2827. if (input->ExpectAtEnd()) return true;
  2828. break;
  2829. }
  2830. default: {
  2831. handle_uninterpreted:
  2832. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2833. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2834. return true;
  2835. }
  2836. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2837. input, tag, mutable_unknown_fields()));
  2838. break;
  2839. }
  2840. }
  2841. }
  2842. return true;
  2843. #undef DO_
  2844. }
  2845. void CMsgRGBA::SerializeWithCachedSizes(
  2846. ::google::protobuf::io::CodedOutputStream* output) const {
  2847. // optional int32 r = 1;
  2848. if (has_r()) {
  2849. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->r(), output);
  2850. }
  2851. // optional int32 g = 2;
  2852. if (has_g()) {
  2853. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->g(), output);
  2854. }
  2855. // optional int32 b = 3;
  2856. if (has_b()) {
  2857. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->b(), output);
  2858. }
  2859. // optional int32 a = 4;
  2860. if (has_a()) {
  2861. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->a(), output);
  2862. }
  2863. if (!unknown_fields().empty()) {
  2864. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2865. unknown_fields(), output);
  2866. }
  2867. }
  2868. ::google::protobuf::uint8* CMsgRGBA::SerializeWithCachedSizesToArray(
  2869. ::google::protobuf::uint8* target) const {
  2870. // optional int32 r = 1;
  2871. if (has_r()) {
  2872. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->r(), target);
  2873. }
  2874. // optional int32 g = 2;
  2875. if (has_g()) {
  2876. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->g(), target);
  2877. }
  2878. // optional int32 b = 3;
  2879. if (has_b()) {
  2880. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->b(), target);
  2881. }
  2882. // optional int32 a = 4;
  2883. if (has_a()) {
  2884. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->a(), target);
  2885. }
  2886. if (!unknown_fields().empty()) {
  2887. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2888. unknown_fields(), target);
  2889. }
  2890. return target;
  2891. }
  2892. int CMsgRGBA::ByteSize() const {
  2893. int total_size = 0;
  2894. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2895. // optional int32 r = 1;
  2896. if (has_r()) {
  2897. total_size += 1 +
  2898. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2899. this->r());
  2900. }
  2901. // optional int32 g = 2;
  2902. if (has_g()) {
  2903. total_size += 1 +
  2904. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2905. this->g());
  2906. }
  2907. // optional int32 b = 3;
  2908. if (has_b()) {
  2909. total_size += 1 +
  2910. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2911. this->b());
  2912. }
  2913. // optional int32 a = 4;
  2914. if (has_a()) {
  2915. total_size += 1 +
  2916. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2917. this->a());
  2918. }
  2919. }
  2920. if (!unknown_fields().empty()) {
  2921. total_size +=
  2922. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2923. unknown_fields());
  2924. }
  2925. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2926. _cached_size_ = total_size;
  2927. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2928. return total_size;
  2929. }
  2930. void CMsgRGBA::MergeFrom(const ::google::protobuf::Message& from) {
  2931. GOOGLE_CHECK_NE(&from, this);
  2932. const CMsgRGBA* source =
  2933. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgRGBA*>(
  2934. &from);
  2935. if (source == NULL) {
  2936. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2937. } else {
  2938. MergeFrom(*source);
  2939. }
  2940. }
  2941. void CMsgRGBA::MergeFrom(const CMsgRGBA& from) {
  2942. GOOGLE_CHECK_NE(&from, this);
  2943. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2944. if (from.has_r()) {
  2945. set_r(from.r());
  2946. }
  2947. if (from.has_g()) {
  2948. set_g(from.g());
  2949. }
  2950. if (from.has_b()) {
  2951. set_b(from.b());
  2952. }
  2953. if (from.has_a()) {
  2954. set_a(from.a());
  2955. }
  2956. }
  2957. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2958. }
  2959. void CMsgRGBA::CopyFrom(const ::google::protobuf::Message& from) {
  2960. if (&from == this) return;
  2961. Clear();
  2962. MergeFrom(from);
  2963. }
  2964. void CMsgRGBA::CopyFrom(const CMsgRGBA& from) {
  2965. if (&from == this) return;
  2966. Clear();
  2967. MergeFrom(from);
  2968. }
  2969. bool CMsgRGBA::IsInitialized() const {
  2970. return true;
  2971. }
  2972. void CMsgRGBA::Swap(CMsgRGBA* other) {
  2973. if (other != this) {
  2974. std::swap(r_, other->r_);
  2975. std::swap(g_, other->g_);
  2976. std::swap(b_, other->b_);
  2977. std::swap(a_, other->a_);
  2978. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2979. _unknown_fields_.Swap(&other->_unknown_fields_);
  2980. std::swap(_cached_size_, other->_cached_size_);
  2981. }
  2982. }
  2983. ::google::protobuf::Metadata CMsgRGBA::GetMetadata() const {
  2984. protobuf_AssignDescriptorsOnce();
  2985. ::google::protobuf::Metadata metadata;
  2986. metadata.descriptor = CMsgRGBA_descriptor_;
  2987. metadata.reflection = CMsgRGBA_reflection_;
  2988. return metadata;
  2989. }
  2990. // ===================================================================
  2991. #ifndef _MSC_VER
  2992. const int CNETMsg_Tick::kTickFieldNumber;
  2993. const int CNETMsg_Tick::kHostComputationtimeFieldNumber;
  2994. const int CNETMsg_Tick::kHostComputationtimeStdDeviationFieldNumber;
  2995. const int CNETMsg_Tick::kHostFramestarttimeStdDeviationFieldNumber;
  2996. const int CNETMsg_Tick::kHltvReplayFlagsFieldNumber;
  2997. #endif // !_MSC_VER
  2998. CNETMsg_Tick::CNETMsg_Tick()
  2999. : ::google::protobuf::Message() {
  3000. SharedCtor();
  3001. }
  3002. void CNETMsg_Tick::InitAsDefaultInstance() {
  3003. }
  3004. CNETMsg_Tick::CNETMsg_Tick(const CNETMsg_Tick& from)
  3005. : ::google::protobuf::Message() {
  3006. SharedCtor();
  3007. MergeFrom(from);
  3008. }
  3009. void CNETMsg_Tick::SharedCtor() {
  3010. _cached_size_ = 0;
  3011. tick_ = 0u;
  3012. host_computationtime_ = 0u;
  3013. host_computationtime_std_deviation_ = 0u;
  3014. host_framestarttime_std_deviation_ = 0u;
  3015. hltv_replay_flags_ = 0u;
  3016. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3017. }
  3018. CNETMsg_Tick::~CNETMsg_Tick() {
  3019. SharedDtor();
  3020. }
  3021. void CNETMsg_Tick::SharedDtor() {
  3022. if (this != default_instance_) {
  3023. }
  3024. }
  3025. void CNETMsg_Tick::SetCachedSize(int size) const {
  3026. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3027. _cached_size_ = size;
  3028. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3029. }
  3030. const ::google::protobuf::Descriptor* CNETMsg_Tick::descriptor() {
  3031. protobuf_AssignDescriptorsOnce();
  3032. return CNETMsg_Tick_descriptor_;
  3033. }
  3034. const CNETMsg_Tick& CNETMsg_Tick::default_instance() {
  3035. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  3036. return *default_instance_;
  3037. }
  3038. CNETMsg_Tick* CNETMsg_Tick::default_instance_ = NULL;
  3039. CNETMsg_Tick* CNETMsg_Tick::New() const {
  3040. return new CNETMsg_Tick;
  3041. }
  3042. void CNETMsg_Tick::Clear() {
  3043. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3044. tick_ = 0u;
  3045. host_computationtime_ = 0u;
  3046. host_computationtime_std_deviation_ = 0u;
  3047. host_framestarttime_std_deviation_ = 0u;
  3048. hltv_replay_flags_ = 0u;
  3049. }
  3050. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3051. mutable_unknown_fields()->Clear();
  3052. }
  3053. bool CNETMsg_Tick::MergePartialFromCodedStream(
  3054. ::google::protobuf::io::CodedInputStream* input) {
  3055. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3056. ::google::protobuf::uint32 tag;
  3057. while ((tag = input->ReadTag()) != 0) {
  3058. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3059. // optional uint32 tick = 1;
  3060. case 1: {
  3061. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3062. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3063. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3064. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3065. input, &tick_)));
  3066. set_has_tick();
  3067. } else {
  3068. goto handle_uninterpreted;
  3069. }
  3070. if (input->ExpectTag(32)) goto parse_host_computationtime;
  3071. break;
  3072. }
  3073. // optional uint32 host_computationtime = 4;
  3074. case 4: {
  3075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3077. parse_host_computationtime:
  3078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3079. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3080. input, &host_computationtime_)));
  3081. set_has_host_computationtime();
  3082. } else {
  3083. goto handle_uninterpreted;
  3084. }
  3085. if (input->ExpectTag(40)) goto parse_host_computationtime_std_deviation;
  3086. break;
  3087. }
  3088. // optional uint32 host_computationtime_std_deviation = 5;
  3089. case 5: {
  3090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3092. parse_host_computationtime_std_deviation:
  3093. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3094. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3095. input, &host_computationtime_std_deviation_)));
  3096. set_has_host_computationtime_std_deviation();
  3097. } else {
  3098. goto handle_uninterpreted;
  3099. }
  3100. if (input->ExpectTag(48)) goto parse_host_framestarttime_std_deviation;
  3101. break;
  3102. }
  3103. // optional uint32 host_framestarttime_std_deviation = 6;
  3104. case 6: {
  3105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3107. parse_host_framestarttime_std_deviation:
  3108. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3109. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3110. input, &host_framestarttime_std_deviation_)));
  3111. set_has_host_framestarttime_std_deviation();
  3112. } else {
  3113. goto handle_uninterpreted;
  3114. }
  3115. if (input->ExpectTag(56)) goto parse_hltv_replay_flags;
  3116. break;
  3117. }
  3118. // optional uint32 hltv_replay_flags = 7;
  3119. case 7: {
  3120. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3122. parse_hltv_replay_flags:
  3123. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3124. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3125. input, &hltv_replay_flags_)));
  3126. set_has_hltv_replay_flags();
  3127. } else {
  3128. goto handle_uninterpreted;
  3129. }
  3130. if (input->ExpectAtEnd()) return true;
  3131. break;
  3132. }
  3133. default: {
  3134. handle_uninterpreted:
  3135. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3136. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3137. return true;
  3138. }
  3139. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3140. input, tag, mutable_unknown_fields()));
  3141. break;
  3142. }
  3143. }
  3144. }
  3145. return true;
  3146. #undef DO_
  3147. }
  3148. void CNETMsg_Tick::SerializeWithCachedSizes(
  3149. ::google::protobuf::io::CodedOutputStream* output) const {
  3150. // optional uint32 tick = 1;
  3151. if (has_tick()) {
  3152. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->tick(), output);
  3153. }
  3154. // optional uint32 host_computationtime = 4;
  3155. if (has_host_computationtime()) {
  3156. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->host_computationtime(), output);
  3157. }
  3158. // optional uint32 host_computationtime_std_deviation = 5;
  3159. if (has_host_computationtime_std_deviation()) {
  3160. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->host_computationtime_std_deviation(), output);
  3161. }
  3162. // optional uint32 host_framestarttime_std_deviation = 6;
  3163. if (has_host_framestarttime_std_deviation()) {
  3164. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->host_framestarttime_std_deviation(), output);
  3165. }
  3166. // optional uint32 hltv_replay_flags = 7;
  3167. if (has_hltv_replay_flags()) {
  3168. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->hltv_replay_flags(), output);
  3169. }
  3170. if (!unknown_fields().empty()) {
  3171. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3172. unknown_fields(), output);
  3173. }
  3174. }
  3175. ::google::protobuf::uint8* CNETMsg_Tick::SerializeWithCachedSizesToArray(
  3176. ::google::protobuf::uint8* target) const {
  3177. // optional uint32 tick = 1;
  3178. if (has_tick()) {
  3179. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->tick(), target);
  3180. }
  3181. // optional uint32 host_computationtime = 4;
  3182. if (has_host_computationtime()) {
  3183. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->host_computationtime(), target);
  3184. }
  3185. // optional uint32 host_computationtime_std_deviation = 5;
  3186. if (has_host_computationtime_std_deviation()) {
  3187. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->host_computationtime_std_deviation(), target);
  3188. }
  3189. // optional uint32 host_framestarttime_std_deviation = 6;
  3190. if (has_host_framestarttime_std_deviation()) {
  3191. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->host_framestarttime_std_deviation(), target);
  3192. }
  3193. // optional uint32 hltv_replay_flags = 7;
  3194. if (has_hltv_replay_flags()) {
  3195. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->hltv_replay_flags(), target);
  3196. }
  3197. if (!unknown_fields().empty()) {
  3198. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3199. unknown_fields(), target);
  3200. }
  3201. return target;
  3202. }
  3203. int CNETMsg_Tick::ByteSize() const {
  3204. int total_size = 0;
  3205. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3206. // optional uint32 tick = 1;
  3207. if (has_tick()) {
  3208. total_size += 1 +
  3209. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3210. this->tick());
  3211. }
  3212. // optional uint32 host_computationtime = 4;
  3213. if (has_host_computationtime()) {
  3214. total_size += 1 +
  3215. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3216. this->host_computationtime());
  3217. }
  3218. // optional uint32 host_computationtime_std_deviation = 5;
  3219. if (has_host_computationtime_std_deviation()) {
  3220. total_size += 1 +
  3221. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3222. this->host_computationtime_std_deviation());
  3223. }
  3224. // optional uint32 host_framestarttime_std_deviation = 6;
  3225. if (has_host_framestarttime_std_deviation()) {
  3226. total_size += 1 +
  3227. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3228. this->host_framestarttime_std_deviation());
  3229. }
  3230. // optional uint32 hltv_replay_flags = 7;
  3231. if (has_hltv_replay_flags()) {
  3232. total_size += 1 +
  3233. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3234. this->hltv_replay_flags());
  3235. }
  3236. }
  3237. if (!unknown_fields().empty()) {
  3238. total_size +=
  3239. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3240. unknown_fields());
  3241. }
  3242. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3243. _cached_size_ = total_size;
  3244. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3245. return total_size;
  3246. }
  3247. void CNETMsg_Tick::MergeFrom(const ::google::protobuf::Message& from) {
  3248. GOOGLE_CHECK_NE(&from, this);
  3249. const CNETMsg_Tick* source =
  3250. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_Tick*>(
  3251. &from);
  3252. if (source == NULL) {
  3253. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3254. } else {
  3255. MergeFrom(*source);
  3256. }
  3257. }
  3258. void CNETMsg_Tick::MergeFrom(const CNETMsg_Tick& from) {
  3259. GOOGLE_CHECK_NE(&from, this);
  3260. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3261. if (from.has_tick()) {
  3262. set_tick(from.tick());
  3263. }
  3264. if (from.has_host_computationtime()) {
  3265. set_host_computationtime(from.host_computationtime());
  3266. }
  3267. if (from.has_host_computationtime_std_deviation()) {
  3268. set_host_computationtime_std_deviation(from.host_computationtime_std_deviation());
  3269. }
  3270. if (from.has_host_framestarttime_std_deviation()) {
  3271. set_host_framestarttime_std_deviation(from.host_framestarttime_std_deviation());
  3272. }
  3273. if (from.has_hltv_replay_flags()) {
  3274. set_hltv_replay_flags(from.hltv_replay_flags());
  3275. }
  3276. }
  3277. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3278. }
  3279. void CNETMsg_Tick::CopyFrom(const ::google::protobuf::Message& from) {
  3280. if (&from == this) return;
  3281. Clear();
  3282. MergeFrom(from);
  3283. }
  3284. void CNETMsg_Tick::CopyFrom(const CNETMsg_Tick& from) {
  3285. if (&from == this) return;
  3286. Clear();
  3287. MergeFrom(from);
  3288. }
  3289. bool CNETMsg_Tick::IsInitialized() const {
  3290. return true;
  3291. }
  3292. void CNETMsg_Tick::Swap(CNETMsg_Tick* other) {
  3293. if (other != this) {
  3294. std::swap(tick_, other->tick_);
  3295. std::swap(host_computationtime_, other->host_computationtime_);
  3296. std::swap(host_computationtime_std_deviation_, other->host_computationtime_std_deviation_);
  3297. std::swap(host_framestarttime_std_deviation_, other->host_framestarttime_std_deviation_);
  3298. std::swap(hltv_replay_flags_, other->hltv_replay_flags_);
  3299. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3300. _unknown_fields_.Swap(&other->_unknown_fields_);
  3301. std::swap(_cached_size_, other->_cached_size_);
  3302. }
  3303. }
  3304. ::google::protobuf::Metadata CNETMsg_Tick::GetMetadata() const {
  3305. protobuf_AssignDescriptorsOnce();
  3306. ::google::protobuf::Metadata metadata;
  3307. metadata.descriptor = CNETMsg_Tick_descriptor_;
  3308. metadata.reflection = CNETMsg_Tick_reflection_;
  3309. return metadata;
  3310. }
  3311. // ===================================================================
  3312. #ifndef _MSC_VER
  3313. const int CNETMsg_StringCmd::kCommandFieldNumber;
  3314. #endif // !_MSC_VER
  3315. CNETMsg_StringCmd::CNETMsg_StringCmd()
  3316. : ::google::protobuf::Message() {
  3317. SharedCtor();
  3318. }
  3319. void CNETMsg_StringCmd::InitAsDefaultInstance() {
  3320. }
  3321. CNETMsg_StringCmd::CNETMsg_StringCmd(const CNETMsg_StringCmd& from)
  3322. : ::google::protobuf::Message() {
  3323. SharedCtor();
  3324. MergeFrom(from);
  3325. }
  3326. void CNETMsg_StringCmd::SharedCtor() {
  3327. _cached_size_ = 0;
  3328. command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3329. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3330. }
  3331. CNETMsg_StringCmd::~CNETMsg_StringCmd() {
  3332. SharedDtor();
  3333. }
  3334. void CNETMsg_StringCmd::SharedDtor() {
  3335. if (command_ != &::google::protobuf::internal::kEmptyString) {
  3336. delete command_;
  3337. }
  3338. if (this != default_instance_) {
  3339. }
  3340. }
  3341. void CNETMsg_StringCmd::SetCachedSize(int size) const {
  3342. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3343. _cached_size_ = size;
  3344. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3345. }
  3346. const ::google::protobuf::Descriptor* CNETMsg_StringCmd::descriptor() {
  3347. protobuf_AssignDescriptorsOnce();
  3348. return CNETMsg_StringCmd_descriptor_;
  3349. }
  3350. const CNETMsg_StringCmd& CNETMsg_StringCmd::default_instance() {
  3351. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  3352. return *default_instance_;
  3353. }
  3354. CNETMsg_StringCmd* CNETMsg_StringCmd::default_instance_ = NULL;
  3355. CNETMsg_StringCmd* CNETMsg_StringCmd::New() const {
  3356. return new CNETMsg_StringCmd;
  3357. }
  3358. void CNETMsg_StringCmd::Clear() {
  3359. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3360. if (has_command()) {
  3361. if (command_ != &::google::protobuf::internal::kEmptyString) {
  3362. command_->clear();
  3363. }
  3364. }
  3365. }
  3366. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3367. mutable_unknown_fields()->Clear();
  3368. }
  3369. bool CNETMsg_StringCmd::MergePartialFromCodedStream(
  3370. ::google::protobuf::io::CodedInputStream* input) {
  3371. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3372. ::google::protobuf::uint32 tag;
  3373. while ((tag = input->ReadTag()) != 0) {
  3374. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3375. // optional string command = 1;
  3376. case 1: {
  3377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3379. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3380. input, this->mutable_command()));
  3381. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3382. this->command().data(), this->command().length(),
  3383. ::google::protobuf::internal::WireFormat::PARSE);
  3384. } else {
  3385. goto handle_uninterpreted;
  3386. }
  3387. if (input->ExpectAtEnd()) return true;
  3388. break;
  3389. }
  3390. default: {
  3391. handle_uninterpreted:
  3392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3394. return true;
  3395. }
  3396. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3397. input, tag, mutable_unknown_fields()));
  3398. break;
  3399. }
  3400. }
  3401. }
  3402. return true;
  3403. #undef DO_
  3404. }
  3405. void CNETMsg_StringCmd::SerializeWithCachedSizes(
  3406. ::google::protobuf::io::CodedOutputStream* output) const {
  3407. // optional string command = 1;
  3408. if (has_command()) {
  3409. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3410. this->command().data(), this->command().length(),
  3411. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3412. ::google::protobuf::internal::WireFormatLite::WriteString(
  3413. 1, this->command(), output);
  3414. }
  3415. if (!unknown_fields().empty()) {
  3416. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3417. unknown_fields(), output);
  3418. }
  3419. }
  3420. ::google::protobuf::uint8* CNETMsg_StringCmd::SerializeWithCachedSizesToArray(
  3421. ::google::protobuf::uint8* target) const {
  3422. // optional string command = 1;
  3423. if (has_command()) {
  3424. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3425. this->command().data(), this->command().length(),
  3426. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3427. target =
  3428. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3429. 1, this->command(), target);
  3430. }
  3431. if (!unknown_fields().empty()) {
  3432. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3433. unknown_fields(), target);
  3434. }
  3435. return target;
  3436. }
  3437. int CNETMsg_StringCmd::ByteSize() const {
  3438. int total_size = 0;
  3439. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3440. // optional string command = 1;
  3441. if (has_command()) {
  3442. total_size += 1 +
  3443. ::google::protobuf::internal::WireFormatLite::StringSize(
  3444. this->command());
  3445. }
  3446. }
  3447. if (!unknown_fields().empty()) {
  3448. total_size +=
  3449. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3450. unknown_fields());
  3451. }
  3452. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3453. _cached_size_ = total_size;
  3454. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3455. return total_size;
  3456. }
  3457. void CNETMsg_StringCmd::MergeFrom(const ::google::protobuf::Message& from) {
  3458. GOOGLE_CHECK_NE(&from, this);
  3459. const CNETMsg_StringCmd* source =
  3460. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_StringCmd*>(
  3461. &from);
  3462. if (source == NULL) {
  3463. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3464. } else {
  3465. MergeFrom(*source);
  3466. }
  3467. }
  3468. void CNETMsg_StringCmd::MergeFrom(const CNETMsg_StringCmd& from) {
  3469. GOOGLE_CHECK_NE(&from, this);
  3470. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3471. if (from.has_command()) {
  3472. set_command(from.command());
  3473. }
  3474. }
  3475. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3476. }
  3477. void CNETMsg_StringCmd::CopyFrom(const ::google::protobuf::Message& from) {
  3478. if (&from == this) return;
  3479. Clear();
  3480. MergeFrom(from);
  3481. }
  3482. void CNETMsg_StringCmd::CopyFrom(const CNETMsg_StringCmd& from) {
  3483. if (&from == this) return;
  3484. Clear();
  3485. MergeFrom(from);
  3486. }
  3487. bool CNETMsg_StringCmd::IsInitialized() const {
  3488. return true;
  3489. }
  3490. void CNETMsg_StringCmd::Swap(CNETMsg_StringCmd* other) {
  3491. if (other != this) {
  3492. std::swap(command_, other->command_);
  3493. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3494. _unknown_fields_.Swap(&other->_unknown_fields_);
  3495. std::swap(_cached_size_, other->_cached_size_);
  3496. }
  3497. }
  3498. ::google::protobuf::Metadata CNETMsg_StringCmd::GetMetadata() const {
  3499. protobuf_AssignDescriptorsOnce();
  3500. ::google::protobuf::Metadata metadata;
  3501. metadata.descriptor = CNETMsg_StringCmd_descriptor_;
  3502. metadata.reflection = CNETMsg_StringCmd_reflection_;
  3503. return metadata;
  3504. }
  3505. // ===================================================================
  3506. #ifndef _MSC_VER
  3507. const int CNETMsg_SignonState::kSignonStateFieldNumber;
  3508. const int CNETMsg_SignonState::kSpawnCountFieldNumber;
  3509. const int CNETMsg_SignonState::kNumServerPlayersFieldNumber;
  3510. const int CNETMsg_SignonState::kPlayersNetworkidsFieldNumber;
  3511. const int CNETMsg_SignonState::kMapNameFieldNumber;
  3512. #endif // !_MSC_VER
  3513. CNETMsg_SignonState::CNETMsg_SignonState()
  3514. : ::google::protobuf::Message() {
  3515. SharedCtor();
  3516. }
  3517. void CNETMsg_SignonState::InitAsDefaultInstance() {
  3518. }
  3519. CNETMsg_SignonState::CNETMsg_SignonState(const CNETMsg_SignonState& from)
  3520. : ::google::protobuf::Message() {
  3521. SharedCtor();
  3522. MergeFrom(from);
  3523. }
  3524. void CNETMsg_SignonState::SharedCtor() {
  3525. _cached_size_ = 0;
  3526. signon_state_ = 0u;
  3527. spawn_count_ = 0u;
  3528. num_server_players_ = 0u;
  3529. map_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3530. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3531. }
  3532. CNETMsg_SignonState::~CNETMsg_SignonState() {
  3533. SharedDtor();
  3534. }
  3535. void CNETMsg_SignonState::SharedDtor() {
  3536. if (map_name_ != &::google::protobuf::internal::kEmptyString) {
  3537. delete map_name_;
  3538. }
  3539. if (this != default_instance_) {
  3540. }
  3541. }
  3542. void CNETMsg_SignonState::SetCachedSize(int size) const {
  3543. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3544. _cached_size_ = size;
  3545. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3546. }
  3547. const ::google::protobuf::Descriptor* CNETMsg_SignonState::descriptor() {
  3548. protobuf_AssignDescriptorsOnce();
  3549. return CNETMsg_SignonState_descriptor_;
  3550. }
  3551. const CNETMsg_SignonState& CNETMsg_SignonState::default_instance() {
  3552. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  3553. return *default_instance_;
  3554. }
  3555. CNETMsg_SignonState* CNETMsg_SignonState::default_instance_ = NULL;
  3556. CNETMsg_SignonState* CNETMsg_SignonState::New() const {
  3557. return new CNETMsg_SignonState;
  3558. }
  3559. void CNETMsg_SignonState::Clear() {
  3560. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3561. signon_state_ = 0u;
  3562. spawn_count_ = 0u;
  3563. num_server_players_ = 0u;
  3564. if (has_map_name()) {
  3565. if (map_name_ != &::google::protobuf::internal::kEmptyString) {
  3566. map_name_->clear();
  3567. }
  3568. }
  3569. }
  3570. players_networkids_.Clear();
  3571. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3572. mutable_unknown_fields()->Clear();
  3573. }
  3574. bool CNETMsg_SignonState::MergePartialFromCodedStream(
  3575. ::google::protobuf::io::CodedInputStream* input) {
  3576. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3577. ::google::protobuf::uint32 tag;
  3578. while ((tag = input->ReadTag()) != 0) {
  3579. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3580. // optional uint32 signon_state = 1;
  3581. case 1: {
  3582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3584. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3585. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3586. input, &signon_state_)));
  3587. set_has_signon_state();
  3588. } else {
  3589. goto handle_uninterpreted;
  3590. }
  3591. if (input->ExpectTag(16)) goto parse_spawn_count;
  3592. break;
  3593. }
  3594. // optional uint32 spawn_count = 2;
  3595. case 2: {
  3596. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3597. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3598. parse_spawn_count:
  3599. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3600. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3601. input, &spawn_count_)));
  3602. set_has_spawn_count();
  3603. } else {
  3604. goto handle_uninterpreted;
  3605. }
  3606. if (input->ExpectTag(24)) goto parse_num_server_players;
  3607. break;
  3608. }
  3609. // optional uint32 num_server_players = 3;
  3610. case 3: {
  3611. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3612. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3613. parse_num_server_players:
  3614. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3615. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3616. input, &num_server_players_)));
  3617. set_has_num_server_players();
  3618. } else {
  3619. goto handle_uninterpreted;
  3620. }
  3621. if (input->ExpectTag(34)) goto parse_players_networkids;
  3622. break;
  3623. }
  3624. // repeated string players_networkids = 4;
  3625. case 4: {
  3626. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3627. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3628. parse_players_networkids:
  3629. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3630. input, this->add_players_networkids()));
  3631. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3632. this->players_networkids(this->players_networkids_size() - 1).data(),
  3633. this->players_networkids(this->players_networkids_size() - 1).length(),
  3634. ::google::protobuf::internal::WireFormat::PARSE);
  3635. } else {
  3636. goto handle_uninterpreted;
  3637. }
  3638. if (input->ExpectTag(34)) goto parse_players_networkids;
  3639. if (input->ExpectTag(42)) goto parse_map_name;
  3640. break;
  3641. }
  3642. // optional string map_name = 5;
  3643. case 5: {
  3644. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3645. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3646. parse_map_name:
  3647. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3648. input, this->mutable_map_name()));
  3649. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3650. this->map_name().data(), this->map_name().length(),
  3651. ::google::protobuf::internal::WireFormat::PARSE);
  3652. } else {
  3653. goto handle_uninterpreted;
  3654. }
  3655. if (input->ExpectAtEnd()) return true;
  3656. break;
  3657. }
  3658. default: {
  3659. handle_uninterpreted:
  3660. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3661. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3662. return true;
  3663. }
  3664. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3665. input, tag, mutable_unknown_fields()));
  3666. break;
  3667. }
  3668. }
  3669. }
  3670. return true;
  3671. #undef DO_
  3672. }
  3673. void CNETMsg_SignonState::SerializeWithCachedSizes(
  3674. ::google::protobuf::io::CodedOutputStream* output) const {
  3675. // optional uint32 signon_state = 1;
  3676. if (has_signon_state()) {
  3677. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->signon_state(), output);
  3678. }
  3679. // optional uint32 spawn_count = 2;
  3680. if (has_spawn_count()) {
  3681. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->spawn_count(), output);
  3682. }
  3683. // optional uint32 num_server_players = 3;
  3684. if (has_num_server_players()) {
  3685. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->num_server_players(), output);
  3686. }
  3687. // repeated string players_networkids = 4;
  3688. for (int i = 0; i < this->players_networkids_size(); i++) {
  3689. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3690. this->players_networkids(i).data(), this->players_networkids(i).length(),
  3691. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3692. ::google::protobuf::internal::WireFormatLite::WriteString(
  3693. 4, this->players_networkids(i), output);
  3694. }
  3695. // optional string map_name = 5;
  3696. if (has_map_name()) {
  3697. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3698. this->map_name().data(), this->map_name().length(),
  3699. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3700. ::google::protobuf::internal::WireFormatLite::WriteString(
  3701. 5, this->map_name(), output);
  3702. }
  3703. if (!unknown_fields().empty()) {
  3704. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3705. unknown_fields(), output);
  3706. }
  3707. }
  3708. ::google::protobuf::uint8* CNETMsg_SignonState::SerializeWithCachedSizesToArray(
  3709. ::google::protobuf::uint8* target) const {
  3710. // optional uint32 signon_state = 1;
  3711. if (has_signon_state()) {
  3712. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->signon_state(), target);
  3713. }
  3714. // optional uint32 spawn_count = 2;
  3715. if (has_spawn_count()) {
  3716. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->spawn_count(), target);
  3717. }
  3718. // optional uint32 num_server_players = 3;
  3719. if (has_num_server_players()) {
  3720. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->num_server_players(), target);
  3721. }
  3722. // repeated string players_networkids = 4;
  3723. for (int i = 0; i < this->players_networkids_size(); i++) {
  3724. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3725. this->players_networkids(i).data(), this->players_networkids(i).length(),
  3726. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3727. target = ::google::protobuf::internal::WireFormatLite::
  3728. WriteStringToArray(4, this->players_networkids(i), target);
  3729. }
  3730. // optional string map_name = 5;
  3731. if (has_map_name()) {
  3732. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3733. this->map_name().data(), this->map_name().length(),
  3734. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3735. target =
  3736. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3737. 5, this->map_name(), target);
  3738. }
  3739. if (!unknown_fields().empty()) {
  3740. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3741. unknown_fields(), target);
  3742. }
  3743. return target;
  3744. }
  3745. int CNETMsg_SignonState::ByteSize() const {
  3746. int total_size = 0;
  3747. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3748. // optional uint32 signon_state = 1;
  3749. if (has_signon_state()) {
  3750. total_size += 1 +
  3751. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3752. this->signon_state());
  3753. }
  3754. // optional uint32 spawn_count = 2;
  3755. if (has_spawn_count()) {
  3756. total_size += 1 +
  3757. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3758. this->spawn_count());
  3759. }
  3760. // optional uint32 num_server_players = 3;
  3761. if (has_num_server_players()) {
  3762. total_size += 1 +
  3763. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3764. this->num_server_players());
  3765. }
  3766. // optional string map_name = 5;
  3767. if (has_map_name()) {
  3768. total_size += 1 +
  3769. ::google::protobuf::internal::WireFormatLite::StringSize(
  3770. this->map_name());
  3771. }
  3772. }
  3773. // repeated string players_networkids = 4;
  3774. total_size += 1 * this->players_networkids_size();
  3775. for (int i = 0; i < this->players_networkids_size(); i++) {
  3776. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  3777. this->players_networkids(i));
  3778. }
  3779. if (!unknown_fields().empty()) {
  3780. total_size +=
  3781. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3782. unknown_fields());
  3783. }
  3784. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3785. _cached_size_ = total_size;
  3786. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3787. return total_size;
  3788. }
  3789. void CNETMsg_SignonState::MergeFrom(const ::google::protobuf::Message& from) {
  3790. GOOGLE_CHECK_NE(&from, this);
  3791. const CNETMsg_SignonState* source =
  3792. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_SignonState*>(
  3793. &from);
  3794. if (source == NULL) {
  3795. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3796. } else {
  3797. MergeFrom(*source);
  3798. }
  3799. }
  3800. void CNETMsg_SignonState::MergeFrom(const CNETMsg_SignonState& from) {
  3801. GOOGLE_CHECK_NE(&from, this);
  3802. players_networkids_.MergeFrom(from.players_networkids_);
  3803. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3804. if (from.has_signon_state()) {
  3805. set_signon_state(from.signon_state());
  3806. }
  3807. if (from.has_spawn_count()) {
  3808. set_spawn_count(from.spawn_count());
  3809. }
  3810. if (from.has_num_server_players()) {
  3811. set_num_server_players(from.num_server_players());
  3812. }
  3813. if (from.has_map_name()) {
  3814. set_map_name(from.map_name());
  3815. }
  3816. }
  3817. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3818. }
  3819. void CNETMsg_SignonState::CopyFrom(const ::google::protobuf::Message& from) {
  3820. if (&from == this) return;
  3821. Clear();
  3822. MergeFrom(from);
  3823. }
  3824. void CNETMsg_SignonState::CopyFrom(const CNETMsg_SignonState& from) {
  3825. if (&from == this) return;
  3826. Clear();
  3827. MergeFrom(from);
  3828. }
  3829. bool CNETMsg_SignonState::IsInitialized() const {
  3830. return true;
  3831. }
  3832. void CNETMsg_SignonState::Swap(CNETMsg_SignonState* other) {
  3833. if (other != this) {
  3834. std::swap(signon_state_, other->signon_state_);
  3835. std::swap(spawn_count_, other->spawn_count_);
  3836. std::swap(num_server_players_, other->num_server_players_);
  3837. players_networkids_.Swap(&other->players_networkids_);
  3838. std::swap(map_name_, other->map_name_);
  3839. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3840. _unknown_fields_.Swap(&other->_unknown_fields_);
  3841. std::swap(_cached_size_, other->_cached_size_);
  3842. }
  3843. }
  3844. ::google::protobuf::Metadata CNETMsg_SignonState::GetMetadata() const {
  3845. protobuf_AssignDescriptorsOnce();
  3846. ::google::protobuf::Metadata metadata;
  3847. metadata.descriptor = CNETMsg_SignonState_descriptor_;
  3848. metadata.reflection = CNETMsg_SignonState_reflection_;
  3849. return metadata;
  3850. }
  3851. // ===================================================================
  3852. #ifndef _MSC_VER
  3853. const int CMsg_CVars_CVar::kNameFieldNumber;
  3854. const int CMsg_CVars_CVar::kValueFieldNumber;
  3855. const int CMsg_CVars_CVar::kDictionaryNameFieldNumber;
  3856. #endif // !_MSC_VER
  3857. CMsg_CVars_CVar::CMsg_CVars_CVar()
  3858. : ::google::protobuf::Message() {
  3859. SharedCtor();
  3860. }
  3861. void CMsg_CVars_CVar::InitAsDefaultInstance() {
  3862. }
  3863. CMsg_CVars_CVar::CMsg_CVars_CVar(const CMsg_CVars_CVar& from)
  3864. : ::google::protobuf::Message() {
  3865. SharedCtor();
  3866. MergeFrom(from);
  3867. }
  3868. void CMsg_CVars_CVar::SharedCtor() {
  3869. _cached_size_ = 0;
  3870. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3871. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3872. dictionary_name_ = 0u;
  3873. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3874. }
  3875. CMsg_CVars_CVar::~CMsg_CVars_CVar() {
  3876. SharedDtor();
  3877. }
  3878. void CMsg_CVars_CVar::SharedDtor() {
  3879. if (name_ != &::google::protobuf::internal::kEmptyString) {
  3880. delete name_;
  3881. }
  3882. if (value_ != &::google::protobuf::internal::kEmptyString) {
  3883. delete value_;
  3884. }
  3885. if (this != default_instance_) {
  3886. }
  3887. }
  3888. void CMsg_CVars_CVar::SetCachedSize(int size) const {
  3889. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3890. _cached_size_ = size;
  3891. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3892. }
  3893. const ::google::protobuf::Descriptor* CMsg_CVars_CVar::descriptor() {
  3894. protobuf_AssignDescriptorsOnce();
  3895. return CMsg_CVars_CVar_descriptor_;
  3896. }
  3897. const CMsg_CVars_CVar& CMsg_CVars_CVar::default_instance() {
  3898. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  3899. return *default_instance_;
  3900. }
  3901. CMsg_CVars_CVar* CMsg_CVars_CVar::default_instance_ = NULL;
  3902. CMsg_CVars_CVar* CMsg_CVars_CVar::New() const {
  3903. return new CMsg_CVars_CVar;
  3904. }
  3905. void CMsg_CVars_CVar::Clear() {
  3906. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3907. if (has_name()) {
  3908. if (name_ != &::google::protobuf::internal::kEmptyString) {
  3909. name_->clear();
  3910. }
  3911. }
  3912. if (has_value()) {
  3913. if (value_ != &::google::protobuf::internal::kEmptyString) {
  3914. value_->clear();
  3915. }
  3916. }
  3917. dictionary_name_ = 0u;
  3918. }
  3919. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3920. mutable_unknown_fields()->Clear();
  3921. }
  3922. bool CMsg_CVars_CVar::MergePartialFromCodedStream(
  3923. ::google::protobuf::io::CodedInputStream* input) {
  3924. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3925. ::google::protobuf::uint32 tag;
  3926. while ((tag = input->ReadTag()) != 0) {
  3927. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3928. // optional string name = 1;
  3929. case 1: {
  3930. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3931. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3932. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3933. input, this->mutable_name()));
  3934. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3935. this->name().data(), this->name().length(),
  3936. ::google::protobuf::internal::WireFormat::PARSE);
  3937. } else {
  3938. goto handle_uninterpreted;
  3939. }
  3940. if (input->ExpectTag(18)) goto parse_value;
  3941. break;
  3942. }
  3943. // optional string value = 2;
  3944. case 2: {
  3945. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3946. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3947. parse_value:
  3948. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3949. input, this->mutable_value()));
  3950. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3951. this->value().data(), this->value().length(),
  3952. ::google::protobuf::internal::WireFormat::PARSE);
  3953. } else {
  3954. goto handle_uninterpreted;
  3955. }
  3956. if (input->ExpectTag(24)) goto parse_dictionary_name;
  3957. break;
  3958. }
  3959. // optional uint32 dictionary_name = 3;
  3960. case 3: {
  3961. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3962. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3963. parse_dictionary_name:
  3964. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3965. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3966. input, &dictionary_name_)));
  3967. set_has_dictionary_name();
  3968. } else {
  3969. goto handle_uninterpreted;
  3970. }
  3971. if (input->ExpectAtEnd()) return true;
  3972. break;
  3973. }
  3974. default: {
  3975. handle_uninterpreted:
  3976. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3977. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3978. return true;
  3979. }
  3980. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3981. input, tag, mutable_unknown_fields()));
  3982. break;
  3983. }
  3984. }
  3985. }
  3986. return true;
  3987. #undef DO_
  3988. }
  3989. void CMsg_CVars_CVar::SerializeWithCachedSizes(
  3990. ::google::protobuf::io::CodedOutputStream* output) const {
  3991. // optional string name = 1;
  3992. if (has_name()) {
  3993. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3994. this->name().data(), this->name().length(),
  3995. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3996. ::google::protobuf::internal::WireFormatLite::WriteString(
  3997. 1, this->name(), output);
  3998. }
  3999. // optional string value = 2;
  4000. if (has_value()) {
  4001. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4002. this->value().data(), this->value().length(),
  4003. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4004. ::google::protobuf::internal::WireFormatLite::WriteString(
  4005. 2, this->value(), output);
  4006. }
  4007. // optional uint32 dictionary_name = 3;
  4008. if (has_dictionary_name()) {
  4009. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->dictionary_name(), output);
  4010. }
  4011. if (!unknown_fields().empty()) {
  4012. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4013. unknown_fields(), output);
  4014. }
  4015. }
  4016. ::google::protobuf::uint8* CMsg_CVars_CVar::SerializeWithCachedSizesToArray(
  4017. ::google::protobuf::uint8* target) const {
  4018. // optional string name = 1;
  4019. if (has_name()) {
  4020. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4021. this->name().data(), this->name().length(),
  4022. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4023. target =
  4024. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4025. 1, this->name(), target);
  4026. }
  4027. // optional string value = 2;
  4028. if (has_value()) {
  4029. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4030. this->value().data(), this->value().length(),
  4031. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4032. target =
  4033. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4034. 2, this->value(), target);
  4035. }
  4036. // optional uint32 dictionary_name = 3;
  4037. if (has_dictionary_name()) {
  4038. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->dictionary_name(), target);
  4039. }
  4040. if (!unknown_fields().empty()) {
  4041. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4042. unknown_fields(), target);
  4043. }
  4044. return target;
  4045. }
  4046. int CMsg_CVars_CVar::ByteSize() const {
  4047. int total_size = 0;
  4048. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4049. // optional string name = 1;
  4050. if (has_name()) {
  4051. total_size += 1 +
  4052. ::google::protobuf::internal::WireFormatLite::StringSize(
  4053. this->name());
  4054. }
  4055. // optional string value = 2;
  4056. if (has_value()) {
  4057. total_size += 1 +
  4058. ::google::protobuf::internal::WireFormatLite::StringSize(
  4059. this->value());
  4060. }
  4061. // optional uint32 dictionary_name = 3;
  4062. if (has_dictionary_name()) {
  4063. total_size += 1 +
  4064. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4065. this->dictionary_name());
  4066. }
  4067. }
  4068. if (!unknown_fields().empty()) {
  4069. total_size +=
  4070. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4071. unknown_fields());
  4072. }
  4073. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4074. _cached_size_ = total_size;
  4075. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4076. return total_size;
  4077. }
  4078. void CMsg_CVars_CVar::MergeFrom(const ::google::protobuf::Message& from) {
  4079. GOOGLE_CHECK_NE(&from, this);
  4080. const CMsg_CVars_CVar* source =
  4081. ::google::protobuf::internal::dynamic_cast_if_available<const CMsg_CVars_CVar*>(
  4082. &from);
  4083. if (source == NULL) {
  4084. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4085. } else {
  4086. MergeFrom(*source);
  4087. }
  4088. }
  4089. void CMsg_CVars_CVar::MergeFrom(const CMsg_CVars_CVar& from) {
  4090. GOOGLE_CHECK_NE(&from, this);
  4091. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4092. if (from.has_name()) {
  4093. set_name(from.name());
  4094. }
  4095. if (from.has_value()) {
  4096. set_value(from.value());
  4097. }
  4098. if (from.has_dictionary_name()) {
  4099. set_dictionary_name(from.dictionary_name());
  4100. }
  4101. }
  4102. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4103. }
  4104. void CMsg_CVars_CVar::CopyFrom(const ::google::protobuf::Message& from) {
  4105. if (&from == this) return;
  4106. Clear();
  4107. MergeFrom(from);
  4108. }
  4109. void CMsg_CVars_CVar::CopyFrom(const CMsg_CVars_CVar& from) {
  4110. if (&from == this) return;
  4111. Clear();
  4112. MergeFrom(from);
  4113. }
  4114. bool CMsg_CVars_CVar::IsInitialized() const {
  4115. return true;
  4116. }
  4117. void CMsg_CVars_CVar::Swap(CMsg_CVars_CVar* other) {
  4118. if (other != this) {
  4119. std::swap(name_, other->name_);
  4120. std::swap(value_, other->value_);
  4121. std::swap(dictionary_name_, other->dictionary_name_);
  4122. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4123. _unknown_fields_.Swap(&other->_unknown_fields_);
  4124. std::swap(_cached_size_, other->_cached_size_);
  4125. }
  4126. }
  4127. ::google::protobuf::Metadata CMsg_CVars_CVar::GetMetadata() const {
  4128. protobuf_AssignDescriptorsOnce();
  4129. ::google::protobuf::Metadata metadata;
  4130. metadata.descriptor = CMsg_CVars_CVar_descriptor_;
  4131. metadata.reflection = CMsg_CVars_CVar_reflection_;
  4132. return metadata;
  4133. }
  4134. // -------------------------------------------------------------------
  4135. #ifndef _MSC_VER
  4136. const int CMsg_CVars::kCvarsFieldNumber;
  4137. #endif // !_MSC_VER
  4138. CMsg_CVars::CMsg_CVars()
  4139. : ::google::protobuf::Message() {
  4140. SharedCtor();
  4141. }
  4142. void CMsg_CVars::InitAsDefaultInstance() {
  4143. }
  4144. CMsg_CVars::CMsg_CVars(const CMsg_CVars& from)
  4145. : ::google::protobuf::Message() {
  4146. SharedCtor();
  4147. MergeFrom(from);
  4148. }
  4149. void CMsg_CVars::SharedCtor() {
  4150. _cached_size_ = 0;
  4151. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4152. }
  4153. CMsg_CVars::~CMsg_CVars() {
  4154. SharedDtor();
  4155. }
  4156. void CMsg_CVars::SharedDtor() {
  4157. if (this != default_instance_) {
  4158. }
  4159. }
  4160. void CMsg_CVars::SetCachedSize(int size) const {
  4161. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4162. _cached_size_ = size;
  4163. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4164. }
  4165. const ::google::protobuf::Descriptor* CMsg_CVars::descriptor() {
  4166. protobuf_AssignDescriptorsOnce();
  4167. return CMsg_CVars_descriptor_;
  4168. }
  4169. const CMsg_CVars& CMsg_CVars::default_instance() {
  4170. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  4171. return *default_instance_;
  4172. }
  4173. CMsg_CVars* CMsg_CVars::default_instance_ = NULL;
  4174. CMsg_CVars* CMsg_CVars::New() const {
  4175. return new CMsg_CVars;
  4176. }
  4177. void CMsg_CVars::Clear() {
  4178. cvars_.Clear();
  4179. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4180. mutable_unknown_fields()->Clear();
  4181. }
  4182. bool CMsg_CVars::MergePartialFromCodedStream(
  4183. ::google::protobuf::io::CodedInputStream* input) {
  4184. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4185. ::google::protobuf::uint32 tag;
  4186. while ((tag = input->ReadTag()) != 0) {
  4187. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4188. // repeated .CMsg_CVars.CVar cvars = 1;
  4189. case 1: {
  4190. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4191. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4192. parse_cvars:
  4193. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4194. input, add_cvars()));
  4195. } else {
  4196. goto handle_uninterpreted;
  4197. }
  4198. if (input->ExpectTag(10)) goto parse_cvars;
  4199. if (input->ExpectAtEnd()) return true;
  4200. break;
  4201. }
  4202. default: {
  4203. handle_uninterpreted:
  4204. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4205. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4206. return true;
  4207. }
  4208. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4209. input, tag, mutable_unknown_fields()));
  4210. break;
  4211. }
  4212. }
  4213. }
  4214. return true;
  4215. #undef DO_
  4216. }
  4217. void CMsg_CVars::SerializeWithCachedSizes(
  4218. ::google::protobuf::io::CodedOutputStream* output) const {
  4219. // repeated .CMsg_CVars.CVar cvars = 1;
  4220. for (int i = 0; i < this->cvars_size(); i++) {
  4221. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4222. 1, this->cvars(i), output);
  4223. }
  4224. if (!unknown_fields().empty()) {
  4225. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4226. unknown_fields(), output);
  4227. }
  4228. }
  4229. ::google::protobuf::uint8* CMsg_CVars::SerializeWithCachedSizesToArray(
  4230. ::google::protobuf::uint8* target) const {
  4231. // repeated .CMsg_CVars.CVar cvars = 1;
  4232. for (int i = 0; i < this->cvars_size(); i++) {
  4233. target = ::google::protobuf::internal::WireFormatLite::
  4234. WriteMessageNoVirtualToArray(
  4235. 1, this->cvars(i), target);
  4236. }
  4237. if (!unknown_fields().empty()) {
  4238. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4239. unknown_fields(), target);
  4240. }
  4241. return target;
  4242. }
  4243. int CMsg_CVars::ByteSize() const {
  4244. int total_size = 0;
  4245. // repeated .CMsg_CVars.CVar cvars = 1;
  4246. total_size += 1 * this->cvars_size();
  4247. for (int i = 0; i < this->cvars_size(); i++) {
  4248. total_size +=
  4249. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4250. this->cvars(i));
  4251. }
  4252. if (!unknown_fields().empty()) {
  4253. total_size +=
  4254. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4255. unknown_fields());
  4256. }
  4257. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4258. _cached_size_ = total_size;
  4259. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4260. return total_size;
  4261. }
  4262. void CMsg_CVars::MergeFrom(const ::google::protobuf::Message& from) {
  4263. GOOGLE_CHECK_NE(&from, this);
  4264. const CMsg_CVars* source =
  4265. ::google::protobuf::internal::dynamic_cast_if_available<const CMsg_CVars*>(
  4266. &from);
  4267. if (source == NULL) {
  4268. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4269. } else {
  4270. MergeFrom(*source);
  4271. }
  4272. }
  4273. void CMsg_CVars::MergeFrom(const CMsg_CVars& from) {
  4274. GOOGLE_CHECK_NE(&from, this);
  4275. cvars_.MergeFrom(from.cvars_);
  4276. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4277. }
  4278. void CMsg_CVars::CopyFrom(const ::google::protobuf::Message& from) {
  4279. if (&from == this) return;
  4280. Clear();
  4281. MergeFrom(from);
  4282. }
  4283. void CMsg_CVars::CopyFrom(const CMsg_CVars& from) {
  4284. if (&from == this) return;
  4285. Clear();
  4286. MergeFrom(from);
  4287. }
  4288. bool CMsg_CVars::IsInitialized() const {
  4289. return true;
  4290. }
  4291. void CMsg_CVars::Swap(CMsg_CVars* other) {
  4292. if (other != this) {
  4293. cvars_.Swap(&other->cvars_);
  4294. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4295. _unknown_fields_.Swap(&other->_unknown_fields_);
  4296. std::swap(_cached_size_, other->_cached_size_);
  4297. }
  4298. }
  4299. ::google::protobuf::Metadata CMsg_CVars::GetMetadata() const {
  4300. protobuf_AssignDescriptorsOnce();
  4301. ::google::protobuf::Metadata metadata;
  4302. metadata.descriptor = CMsg_CVars_descriptor_;
  4303. metadata.reflection = CMsg_CVars_reflection_;
  4304. return metadata;
  4305. }
  4306. // ===================================================================
  4307. #ifndef _MSC_VER
  4308. const int CNETMsg_SetConVar::kConvarsFieldNumber;
  4309. #endif // !_MSC_VER
  4310. CNETMsg_SetConVar::CNETMsg_SetConVar()
  4311. : ::google::protobuf::Message() {
  4312. SharedCtor();
  4313. }
  4314. void CNETMsg_SetConVar::InitAsDefaultInstance() {
  4315. convars_ = const_cast< ::CMsg_CVars*>(&::CMsg_CVars::default_instance());
  4316. }
  4317. CNETMsg_SetConVar::CNETMsg_SetConVar(const CNETMsg_SetConVar& from)
  4318. : ::google::protobuf::Message() {
  4319. SharedCtor();
  4320. MergeFrom(from);
  4321. }
  4322. void CNETMsg_SetConVar::SharedCtor() {
  4323. _cached_size_ = 0;
  4324. convars_ = NULL;
  4325. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4326. }
  4327. CNETMsg_SetConVar::~CNETMsg_SetConVar() {
  4328. SharedDtor();
  4329. }
  4330. void CNETMsg_SetConVar::SharedDtor() {
  4331. if (this != default_instance_) {
  4332. delete convars_;
  4333. }
  4334. }
  4335. void CNETMsg_SetConVar::SetCachedSize(int size) const {
  4336. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4337. _cached_size_ = size;
  4338. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4339. }
  4340. const ::google::protobuf::Descriptor* CNETMsg_SetConVar::descriptor() {
  4341. protobuf_AssignDescriptorsOnce();
  4342. return CNETMsg_SetConVar_descriptor_;
  4343. }
  4344. const CNETMsg_SetConVar& CNETMsg_SetConVar::default_instance() {
  4345. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  4346. return *default_instance_;
  4347. }
  4348. CNETMsg_SetConVar* CNETMsg_SetConVar::default_instance_ = NULL;
  4349. CNETMsg_SetConVar* CNETMsg_SetConVar::New() const {
  4350. return new CNETMsg_SetConVar;
  4351. }
  4352. void CNETMsg_SetConVar::Clear() {
  4353. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4354. if (has_convars()) {
  4355. if (convars_ != NULL) convars_->::CMsg_CVars::Clear();
  4356. }
  4357. }
  4358. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4359. mutable_unknown_fields()->Clear();
  4360. }
  4361. bool CNETMsg_SetConVar::MergePartialFromCodedStream(
  4362. ::google::protobuf::io::CodedInputStream* input) {
  4363. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4364. ::google::protobuf::uint32 tag;
  4365. while ((tag = input->ReadTag()) != 0) {
  4366. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4367. // optional .CMsg_CVars convars = 1;
  4368. case 1: {
  4369. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4370. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4371. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4372. input, mutable_convars()));
  4373. } else {
  4374. goto handle_uninterpreted;
  4375. }
  4376. if (input->ExpectAtEnd()) return true;
  4377. break;
  4378. }
  4379. default: {
  4380. handle_uninterpreted:
  4381. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4382. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4383. return true;
  4384. }
  4385. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4386. input, tag, mutable_unknown_fields()));
  4387. break;
  4388. }
  4389. }
  4390. }
  4391. return true;
  4392. #undef DO_
  4393. }
  4394. void CNETMsg_SetConVar::SerializeWithCachedSizes(
  4395. ::google::protobuf::io::CodedOutputStream* output) const {
  4396. // optional .CMsg_CVars convars = 1;
  4397. if (has_convars()) {
  4398. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4399. 1, this->convars(), output);
  4400. }
  4401. if (!unknown_fields().empty()) {
  4402. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4403. unknown_fields(), output);
  4404. }
  4405. }
  4406. ::google::protobuf::uint8* CNETMsg_SetConVar::SerializeWithCachedSizesToArray(
  4407. ::google::protobuf::uint8* target) const {
  4408. // optional .CMsg_CVars convars = 1;
  4409. if (has_convars()) {
  4410. target = ::google::protobuf::internal::WireFormatLite::
  4411. WriteMessageNoVirtualToArray(
  4412. 1, this->convars(), target);
  4413. }
  4414. if (!unknown_fields().empty()) {
  4415. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4416. unknown_fields(), target);
  4417. }
  4418. return target;
  4419. }
  4420. int CNETMsg_SetConVar::ByteSize() const {
  4421. int total_size = 0;
  4422. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4423. // optional .CMsg_CVars convars = 1;
  4424. if (has_convars()) {
  4425. total_size += 1 +
  4426. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4427. this->convars());
  4428. }
  4429. }
  4430. if (!unknown_fields().empty()) {
  4431. total_size +=
  4432. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4433. unknown_fields());
  4434. }
  4435. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4436. _cached_size_ = total_size;
  4437. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4438. return total_size;
  4439. }
  4440. void CNETMsg_SetConVar::MergeFrom(const ::google::protobuf::Message& from) {
  4441. GOOGLE_CHECK_NE(&from, this);
  4442. const CNETMsg_SetConVar* source =
  4443. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_SetConVar*>(
  4444. &from);
  4445. if (source == NULL) {
  4446. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4447. } else {
  4448. MergeFrom(*source);
  4449. }
  4450. }
  4451. void CNETMsg_SetConVar::MergeFrom(const CNETMsg_SetConVar& from) {
  4452. GOOGLE_CHECK_NE(&from, this);
  4453. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4454. if (from.has_convars()) {
  4455. mutable_convars()->::CMsg_CVars::MergeFrom(from.convars());
  4456. }
  4457. }
  4458. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4459. }
  4460. void CNETMsg_SetConVar::CopyFrom(const ::google::protobuf::Message& from) {
  4461. if (&from == this) return;
  4462. Clear();
  4463. MergeFrom(from);
  4464. }
  4465. void CNETMsg_SetConVar::CopyFrom(const CNETMsg_SetConVar& from) {
  4466. if (&from == this) return;
  4467. Clear();
  4468. MergeFrom(from);
  4469. }
  4470. bool CNETMsg_SetConVar::IsInitialized() const {
  4471. return true;
  4472. }
  4473. void CNETMsg_SetConVar::Swap(CNETMsg_SetConVar* other) {
  4474. if (other != this) {
  4475. std::swap(convars_, other->convars_);
  4476. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4477. _unknown_fields_.Swap(&other->_unknown_fields_);
  4478. std::swap(_cached_size_, other->_cached_size_);
  4479. }
  4480. }
  4481. ::google::protobuf::Metadata CNETMsg_SetConVar::GetMetadata() const {
  4482. protobuf_AssignDescriptorsOnce();
  4483. ::google::protobuf::Metadata metadata;
  4484. metadata.descriptor = CNETMsg_SetConVar_descriptor_;
  4485. metadata.reflection = CNETMsg_SetConVar_reflection_;
  4486. return metadata;
  4487. }
  4488. // ===================================================================
  4489. #ifndef _MSC_VER
  4490. #endif // !_MSC_VER
  4491. CNETMsg_NOP::CNETMsg_NOP()
  4492. : ::google::protobuf::Message() {
  4493. SharedCtor();
  4494. }
  4495. void CNETMsg_NOP::InitAsDefaultInstance() {
  4496. }
  4497. CNETMsg_NOP::CNETMsg_NOP(const CNETMsg_NOP& from)
  4498. : ::google::protobuf::Message() {
  4499. SharedCtor();
  4500. MergeFrom(from);
  4501. }
  4502. void CNETMsg_NOP::SharedCtor() {
  4503. _cached_size_ = 0;
  4504. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4505. }
  4506. CNETMsg_NOP::~CNETMsg_NOP() {
  4507. SharedDtor();
  4508. }
  4509. void CNETMsg_NOP::SharedDtor() {
  4510. if (this != default_instance_) {
  4511. }
  4512. }
  4513. void CNETMsg_NOP::SetCachedSize(int size) const {
  4514. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4515. _cached_size_ = size;
  4516. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4517. }
  4518. const ::google::protobuf::Descriptor* CNETMsg_NOP::descriptor() {
  4519. protobuf_AssignDescriptorsOnce();
  4520. return CNETMsg_NOP_descriptor_;
  4521. }
  4522. const CNETMsg_NOP& CNETMsg_NOP::default_instance() {
  4523. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  4524. return *default_instance_;
  4525. }
  4526. CNETMsg_NOP* CNETMsg_NOP::default_instance_ = NULL;
  4527. CNETMsg_NOP* CNETMsg_NOP::New() const {
  4528. return new CNETMsg_NOP;
  4529. }
  4530. void CNETMsg_NOP::Clear() {
  4531. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4532. mutable_unknown_fields()->Clear();
  4533. }
  4534. bool CNETMsg_NOP::MergePartialFromCodedStream(
  4535. ::google::protobuf::io::CodedInputStream* input) {
  4536. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4537. ::google::protobuf::uint32 tag;
  4538. while ((tag = input->ReadTag()) != 0) {
  4539. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4540. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4541. return true;
  4542. }
  4543. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4544. input, tag, mutable_unknown_fields()));
  4545. }
  4546. return true;
  4547. #undef DO_
  4548. }
  4549. void CNETMsg_NOP::SerializeWithCachedSizes(
  4550. ::google::protobuf::io::CodedOutputStream* output) const {
  4551. if (!unknown_fields().empty()) {
  4552. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4553. unknown_fields(), output);
  4554. }
  4555. }
  4556. ::google::protobuf::uint8* CNETMsg_NOP::SerializeWithCachedSizesToArray(
  4557. ::google::protobuf::uint8* target) const {
  4558. if (!unknown_fields().empty()) {
  4559. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4560. unknown_fields(), target);
  4561. }
  4562. return target;
  4563. }
  4564. int CNETMsg_NOP::ByteSize() const {
  4565. int total_size = 0;
  4566. if (!unknown_fields().empty()) {
  4567. total_size +=
  4568. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4569. unknown_fields());
  4570. }
  4571. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4572. _cached_size_ = total_size;
  4573. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4574. return total_size;
  4575. }
  4576. void CNETMsg_NOP::MergeFrom(const ::google::protobuf::Message& from) {
  4577. GOOGLE_CHECK_NE(&from, this);
  4578. const CNETMsg_NOP* source =
  4579. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_NOP*>(
  4580. &from);
  4581. if (source == NULL) {
  4582. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4583. } else {
  4584. MergeFrom(*source);
  4585. }
  4586. }
  4587. void CNETMsg_NOP::MergeFrom(const CNETMsg_NOP& from) {
  4588. GOOGLE_CHECK_NE(&from, this);
  4589. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4590. }
  4591. void CNETMsg_NOP::CopyFrom(const ::google::protobuf::Message& from) {
  4592. if (&from == this) return;
  4593. Clear();
  4594. MergeFrom(from);
  4595. }
  4596. void CNETMsg_NOP::CopyFrom(const CNETMsg_NOP& from) {
  4597. if (&from == this) return;
  4598. Clear();
  4599. MergeFrom(from);
  4600. }
  4601. bool CNETMsg_NOP::IsInitialized() const {
  4602. return true;
  4603. }
  4604. void CNETMsg_NOP::Swap(CNETMsg_NOP* other) {
  4605. if (other != this) {
  4606. _unknown_fields_.Swap(&other->_unknown_fields_);
  4607. std::swap(_cached_size_, other->_cached_size_);
  4608. }
  4609. }
  4610. ::google::protobuf::Metadata CNETMsg_NOP::GetMetadata() const {
  4611. protobuf_AssignDescriptorsOnce();
  4612. ::google::protobuf::Metadata metadata;
  4613. metadata.descriptor = CNETMsg_NOP_descriptor_;
  4614. metadata.reflection = CNETMsg_NOP_reflection_;
  4615. return metadata;
  4616. }
  4617. // ===================================================================
  4618. #ifndef _MSC_VER
  4619. const int CNETMsg_Disconnect::kTextFieldNumber;
  4620. #endif // !_MSC_VER
  4621. CNETMsg_Disconnect::CNETMsg_Disconnect()
  4622. : ::google::protobuf::Message() {
  4623. SharedCtor();
  4624. }
  4625. void CNETMsg_Disconnect::InitAsDefaultInstance() {
  4626. }
  4627. CNETMsg_Disconnect::CNETMsg_Disconnect(const CNETMsg_Disconnect& from)
  4628. : ::google::protobuf::Message() {
  4629. SharedCtor();
  4630. MergeFrom(from);
  4631. }
  4632. void CNETMsg_Disconnect::SharedCtor() {
  4633. _cached_size_ = 0;
  4634. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4635. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4636. }
  4637. CNETMsg_Disconnect::~CNETMsg_Disconnect() {
  4638. SharedDtor();
  4639. }
  4640. void CNETMsg_Disconnect::SharedDtor() {
  4641. if (text_ != &::google::protobuf::internal::kEmptyString) {
  4642. delete text_;
  4643. }
  4644. if (this != default_instance_) {
  4645. }
  4646. }
  4647. void CNETMsg_Disconnect::SetCachedSize(int size) const {
  4648. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4649. _cached_size_ = size;
  4650. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4651. }
  4652. const ::google::protobuf::Descriptor* CNETMsg_Disconnect::descriptor() {
  4653. protobuf_AssignDescriptorsOnce();
  4654. return CNETMsg_Disconnect_descriptor_;
  4655. }
  4656. const CNETMsg_Disconnect& CNETMsg_Disconnect::default_instance() {
  4657. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  4658. return *default_instance_;
  4659. }
  4660. CNETMsg_Disconnect* CNETMsg_Disconnect::default_instance_ = NULL;
  4661. CNETMsg_Disconnect* CNETMsg_Disconnect::New() const {
  4662. return new CNETMsg_Disconnect;
  4663. }
  4664. void CNETMsg_Disconnect::Clear() {
  4665. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4666. if (has_text()) {
  4667. if (text_ != &::google::protobuf::internal::kEmptyString) {
  4668. text_->clear();
  4669. }
  4670. }
  4671. }
  4672. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4673. mutable_unknown_fields()->Clear();
  4674. }
  4675. bool CNETMsg_Disconnect::MergePartialFromCodedStream(
  4676. ::google::protobuf::io::CodedInputStream* input) {
  4677. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4678. ::google::protobuf::uint32 tag;
  4679. while ((tag = input->ReadTag()) != 0) {
  4680. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4681. // optional string text = 1;
  4682. case 1: {
  4683. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4684. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4685. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4686. input, this->mutable_text()));
  4687. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4688. this->text().data(), this->text().length(),
  4689. ::google::protobuf::internal::WireFormat::PARSE);
  4690. } else {
  4691. goto handle_uninterpreted;
  4692. }
  4693. if (input->ExpectAtEnd()) return true;
  4694. break;
  4695. }
  4696. default: {
  4697. handle_uninterpreted:
  4698. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4699. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4700. return true;
  4701. }
  4702. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4703. input, tag, mutable_unknown_fields()));
  4704. break;
  4705. }
  4706. }
  4707. }
  4708. return true;
  4709. #undef DO_
  4710. }
  4711. void CNETMsg_Disconnect::SerializeWithCachedSizes(
  4712. ::google::protobuf::io::CodedOutputStream* output) const {
  4713. // optional string text = 1;
  4714. if (has_text()) {
  4715. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4716. this->text().data(), this->text().length(),
  4717. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4718. ::google::protobuf::internal::WireFormatLite::WriteString(
  4719. 1, this->text(), output);
  4720. }
  4721. if (!unknown_fields().empty()) {
  4722. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4723. unknown_fields(), output);
  4724. }
  4725. }
  4726. ::google::protobuf::uint8* CNETMsg_Disconnect::SerializeWithCachedSizesToArray(
  4727. ::google::protobuf::uint8* target) const {
  4728. // optional string text = 1;
  4729. if (has_text()) {
  4730. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4731. this->text().data(), this->text().length(),
  4732. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4733. target =
  4734. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4735. 1, this->text(), target);
  4736. }
  4737. if (!unknown_fields().empty()) {
  4738. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4739. unknown_fields(), target);
  4740. }
  4741. return target;
  4742. }
  4743. int CNETMsg_Disconnect::ByteSize() const {
  4744. int total_size = 0;
  4745. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4746. // optional string text = 1;
  4747. if (has_text()) {
  4748. total_size += 1 +
  4749. ::google::protobuf::internal::WireFormatLite::StringSize(
  4750. this->text());
  4751. }
  4752. }
  4753. if (!unknown_fields().empty()) {
  4754. total_size +=
  4755. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4756. unknown_fields());
  4757. }
  4758. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4759. _cached_size_ = total_size;
  4760. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4761. return total_size;
  4762. }
  4763. void CNETMsg_Disconnect::MergeFrom(const ::google::protobuf::Message& from) {
  4764. GOOGLE_CHECK_NE(&from, this);
  4765. const CNETMsg_Disconnect* source =
  4766. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_Disconnect*>(
  4767. &from);
  4768. if (source == NULL) {
  4769. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4770. } else {
  4771. MergeFrom(*source);
  4772. }
  4773. }
  4774. void CNETMsg_Disconnect::MergeFrom(const CNETMsg_Disconnect& from) {
  4775. GOOGLE_CHECK_NE(&from, this);
  4776. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4777. if (from.has_text()) {
  4778. set_text(from.text());
  4779. }
  4780. }
  4781. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4782. }
  4783. void CNETMsg_Disconnect::CopyFrom(const ::google::protobuf::Message& from) {
  4784. if (&from == this) return;
  4785. Clear();
  4786. MergeFrom(from);
  4787. }
  4788. void CNETMsg_Disconnect::CopyFrom(const CNETMsg_Disconnect& from) {
  4789. if (&from == this) return;
  4790. Clear();
  4791. MergeFrom(from);
  4792. }
  4793. bool CNETMsg_Disconnect::IsInitialized() const {
  4794. return true;
  4795. }
  4796. void CNETMsg_Disconnect::Swap(CNETMsg_Disconnect* other) {
  4797. if (other != this) {
  4798. std::swap(text_, other->text_);
  4799. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4800. _unknown_fields_.Swap(&other->_unknown_fields_);
  4801. std::swap(_cached_size_, other->_cached_size_);
  4802. }
  4803. }
  4804. ::google::protobuf::Metadata CNETMsg_Disconnect::GetMetadata() const {
  4805. protobuf_AssignDescriptorsOnce();
  4806. ::google::protobuf::Metadata metadata;
  4807. metadata.descriptor = CNETMsg_Disconnect_descriptor_;
  4808. metadata.reflection = CNETMsg_Disconnect_reflection_;
  4809. return metadata;
  4810. }
  4811. // ===================================================================
  4812. #ifndef _MSC_VER
  4813. const int CNETMsg_File::kTransferIdFieldNumber;
  4814. const int CNETMsg_File::kFileNameFieldNumber;
  4815. const int CNETMsg_File::kIsReplayDemoFileFieldNumber;
  4816. const int CNETMsg_File::kDenyFieldNumber;
  4817. #endif // !_MSC_VER
  4818. CNETMsg_File::CNETMsg_File()
  4819. : ::google::protobuf::Message() {
  4820. SharedCtor();
  4821. }
  4822. void CNETMsg_File::InitAsDefaultInstance() {
  4823. }
  4824. CNETMsg_File::CNETMsg_File(const CNETMsg_File& from)
  4825. : ::google::protobuf::Message() {
  4826. SharedCtor();
  4827. MergeFrom(from);
  4828. }
  4829. void CNETMsg_File::SharedCtor() {
  4830. _cached_size_ = 0;
  4831. transfer_id_ = 0;
  4832. file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4833. is_replay_demo_file_ = false;
  4834. deny_ = false;
  4835. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4836. }
  4837. CNETMsg_File::~CNETMsg_File() {
  4838. SharedDtor();
  4839. }
  4840. void CNETMsg_File::SharedDtor() {
  4841. if (file_name_ != &::google::protobuf::internal::kEmptyString) {
  4842. delete file_name_;
  4843. }
  4844. if (this != default_instance_) {
  4845. }
  4846. }
  4847. void CNETMsg_File::SetCachedSize(int size) const {
  4848. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4849. _cached_size_ = size;
  4850. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4851. }
  4852. const ::google::protobuf::Descriptor* CNETMsg_File::descriptor() {
  4853. protobuf_AssignDescriptorsOnce();
  4854. return CNETMsg_File_descriptor_;
  4855. }
  4856. const CNETMsg_File& CNETMsg_File::default_instance() {
  4857. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  4858. return *default_instance_;
  4859. }
  4860. CNETMsg_File* CNETMsg_File::default_instance_ = NULL;
  4861. CNETMsg_File* CNETMsg_File::New() const {
  4862. return new CNETMsg_File;
  4863. }
  4864. void CNETMsg_File::Clear() {
  4865. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4866. transfer_id_ = 0;
  4867. if (has_file_name()) {
  4868. if (file_name_ != &::google::protobuf::internal::kEmptyString) {
  4869. file_name_->clear();
  4870. }
  4871. }
  4872. is_replay_demo_file_ = false;
  4873. deny_ = false;
  4874. }
  4875. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4876. mutable_unknown_fields()->Clear();
  4877. }
  4878. bool CNETMsg_File::MergePartialFromCodedStream(
  4879. ::google::protobuf::io::CodedInputStream* input) {
  4880. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4881. ::google::protobuf::uint32 tag;
  4882. while ((tag = input->ReadTag()) != 0) {
  4883. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4884. // optional int32 transfer_id = 1;
  4885. case 1: {
  4886. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4887. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4888. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4889. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4890. input, &transfer_id_)));
  4891. set_has_transfer_id();
  4892. } else {
  4893. goto handle_uninterpreted;
  4894. }
  4895. if (input->ExpectTag(18)) goto parse_file_name;
  4896. break;
  4897. }
  4898. // optional string file_name = 2;
  4899. case 2: {
  4900. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4901. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4902. parse_file_name:
  4903. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4904. input, this->mutable_file_name()));
  4905. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4906. this->file_name().data(), this->file_name().length(),
  4907. ::google::protobuf::internal::WireFormat::PARSE);
  4908. } else {
  4909. goto handle_uninterpreted;
  4910. }
  4911. if (input->ExpectTag(24)) goto parse_is_replay_demo_file;
  4912. break;
  4913. }
  4914. // optional bool is_replay_demo_file = 3;
  4915. case 3: {
  4916. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4917. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4918. parse_is_replay_demo_file:
  4919. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4920. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  4921. input, &is_replay_demo_file_)));
  4922. set_has_is_replay_demo_file();
  4923. } else {
  4924. goto handle_uninterpreted;
  4925. }
  4926. if (input->ExpectTag(32)) goto parse_deny;
  4927. break;
  4928. }
  4929. // optional bool deny = 4;
  4930. case 4: {
  4931. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4932. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4933. parse_deny:
  4934. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4935. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  4936. input, &deny_)));
  4937. set_has_deny();
  4938. } else {
  4939. goto handle_uninterpreted;
  4940. }
  4941. if (input->ExpectAtEnd()) return true;
  4942. break;
  4943. }
  4944. default: {
  4945. handle_uninterpreted:
  4946. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4947. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4948. return true;
  4949. }
  4950. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4951. input, tag, mutable_unknown_fields()));
  4952. break;
  4953. }
  4954. }
  4955. }
  4956. return true;
  4957. #undef DO_
  4958. }
  4959. void CNETMsg_File::SerializeWithCachedSizes(
  4960. ::google::protobuf::io::CodedOutputStream* output) const {
  4961. // optional int32 transfer_id = 1;
  4962. if (has_transfer_id()) {
  4963. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->transfer_id(), output);
  4964. }
  4965. // optional string file_name = 2;
  4966. if (has_file_name()) {
  4967. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4968. this->file_name().data(), this->file_name().length(),
  4969. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4970. ::google::protobuf::internal::WireFormatLite::WriteString(
  4971. 2, this->file_name(), output);
  4972. }
  4973. // optional bool is_replay_demo_file = 3;
  4974. if (has_is_replay_demo_file()) {
  4975. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_replay_demo_file(), output);
  4976. }
  4977. // optional bool deny = 4;
  4978. if (has_deny()) {
  4979. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->deny(), output);
  4980. }
  4981. if (!unknown_fields().empty()) {
  4982. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4983. unknown_fields(), output);
  4984. }
  4985. }
  4986. ::google::protobuf::uint8* CNETMsg_File::SerializeWithCachedSizesToArray(
  4987. ::google::protobuf::uint8* target) const {
  4988. // optional int32 transfer_id = 1;
  4989. if (has_transfer_id()) {
  4990. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->transfer_id(), target);
  4991. }
  4992. // optional string file_name = 2;
  4993. if (has_file_name()) {
  4994. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4995. this->file_name().data(), this->file_name().length(),
  4996. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4997. target =
  4998. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4999. 2, this->file_name(), target);
  5000. }
  5001. // optional bool is_replay_demo_file = 3;
  5002. if (has_is_replay_demo_file()) {
  5003. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_replay_demo_file(), target);
  5004. }
  5005. // optional bool deny = 4;
  5006. if (has_deny()) {
  5007. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->deny(), target);
  5008. }
  5009. if (!unknown_fields().empty()) {
  5010. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5011. unknown_fields(), target);
  5012. }
  5013. return target;
  5014. }
  5015. int CNETMsg_File::ByteSize() const {
  5016. int total_size = 0;
  5017. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5018. // optional int32 transfer_id = 1;
  5019. if (has_transfer_id()) {
  5020. total_size += 1 +
  5021. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5022. this->transfer_id());
  5023. }
  5024. // optional string file_name = 2;
  5025. if (has_file_name()) {
  5026. total_size += 1 +
  5027. ::google::protobuf::internal::WireFormatLite::StringSize(
  5028. this->file_name());
  5029. }
  5030. // optional bool is_replay_demo_file = 3;
  5031. if (has_is_replay_demo_file()) {
  5032. total_size += 1 + 1;
  5033. }
  5034. // optional bool deny = 4;
  5035. if (has_deny()) {
  5036. total_size += 1 + 1;
  5037. }
  5038. }
  5039. if (!unknown_fields().empty()) {
  5040. total_size +=
  5041. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5042. unknown_fields());
  5043. }
  5044. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5045. _cached_size_ = total_size;
  5046. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5047. return total_size;
  5048. }
  5049. void CNETMsg_File::MergeFrom(const ::google::protobuf::Message& from) {
  5050. GOOGLE_CHECK_NE(&from, this);
  5051. const CNETMsg_File* source =
  5052. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_File*>(
  5053. &from);
  5054. if (source == NULL) {
  5055. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5056. } else {
  5057. MergeFrom(*source);
  5058. }
  5059. }
  5060. void CNETMsg_File::MergeFrom(const CNETMsg_File& from) {
  5061. GOOGLE_CHECK_NE(&from, this);
  5062. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5063. if (from.has_transfer_id()) {
  5064. set_transfer_id(from.transfer_id());
  5065. }
  5066. if (from.has_file_name()) {
  5067. set_file_name(from.file_name());
  5068. }
  5069. if (from.has_is_replay_demo_file()) {
  5070. set_is_replay_demo_file(from.is_replay_demo_file());
  5071. }
  5072. if (from.has_deny()) {
  5073. set_deny(from.deny());
  5074. }
  5075. }
  5076. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5077. }
  5078. void CNETMsg_File::CopyFrom(const ::google::protobuf::Message& from) {
  5079. if (&from == this) return;
  5080. Clear();
  5081. MergeFrom(from);
  5082. }
  5083. void CNETMsg_File::CopyFrom(const CNETMsg_File& from) {
  5084. if (&from == this) return;
  5085. Clear();
  5086. MergeFrom(from);
  5087. }
  5088. bool CNETMsg_File::IsInitialized() const {
  5089. return true;
  5090. }
  5091. void CNETMsg_File::Swap(CNETMsg_File* other) {
  5092. if (other != this) {
  5093. std::swap(transfer_id_, other->transfer_id_);
  5094. std::swap(file_name_, other->file_name_);
  5095. std::swap(is_replay_demo_file_, other->is_replay_demo_file_);
  5096. std::swap(deny_, other->deny_);
  5097. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5098. _unknown_fields_.Swap(&other->_unknown_fields_);
  5099. std::swap(_cached_size_, other->_cached_size_);
  5100. }
  5101. }
  5102. ::google::protobuf::Metadata CNETMsg_File::GetMetadata() const {
  5103. protobuf_AssignDescriptorsOnce();
  5104. ::google::protobuf::Metadata metadata;
  5105. metadata.descriptor = CNETMsg_File_descriptor_;
  5106. metadata.reflection = CNETMsg_File_reflection_;
  5107. return metadata;
  5108. }
  5109. // ===================================================================
  5110. #ifndef _MSC_VER
  5111. const int CNETMsg_SplitScreenUser::kSlotFieldNumber;
  5112. #endif // !_MSC_VER
  5113. CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser()
  5114. : ::google::protobuf::Message() {
  5115. SharedCtor();
  5116. }
  5117. void CNETMsg_SplitScreenUser::InitAsDefaultInstance() {
  5118. }
  5119. CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from)
  5120. : ::google::protobuf::Message() {
  5121. SharedCtor();
  5122. MergeFrom(from);
  5123. }
  5124. void CNETMsg_SplitScreenUser::SharedCtor() {
  5125. _cached_size_ = 0;
  5126. slot_ = 0;
  5127. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5128. }
  5129. CNETMsg_SplitScreenUser::~CNETMsg_SplitScreenUser() {
  5130. SharedDtor();
  5131. }
  5132. void CNETMsg_SplitScreenUser::SharedDtor() {
  5133. if (this != default_instance_) {
  5134. }
  5135. }
  5136. void CNETMsg_SplitScreenUser::SetCachedSize(int size) const {
  5137. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5138. _cached_size_ = size;
  5139. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5140. }
  5141. const ::google::protobuf::Descriptor* CNETMsg_SplitScreenUser::descriptor() {
  5142. protobuf_AssignDescriptorsOnce();
  5143. return CNETMsg_SplitScreenUser_descriptor_;
  5144. }
  5145. const CNETMsg_SplitScreenUser& CNETMsg_SplitScreenUser::default_instance() {
  5146. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  5147. return *default_instance_;
  5148. }
  5149. CNETMsg_SplitScreenUser* CNETMsg_SplitScreenUser::default_instance_ = NULL;
  5150. CNETMsg_SplitScreenUser* CNETMsg_SplitScreenUser::New() const {
  5151. return new CNETMsg_SplitScreenUser;
  5152. }
  5153. void CNETMsg_SplitScreenUser::Clear() {
  5154. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5155. slot_ = 0;
  5156. }
  5157. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5158. mutable_unknown_fields()->Clear();
  5159. }
  5160. bool CNETMsg_SplitScreenUser::MergePartialFromCodedStream(
  5161. ::google::protobuf::io::CodedInputStream* input) {
  5162. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5163. ::google::protobuf::uint32 tag;
  5164. while ((tag = input->ReadTag()) != 0) {
  5165. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5166. // optional int32 slot = 1;
  5167. case 1: {
  5168. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5169. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5170. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5171. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5172. input, &slot_)));
  5173. set_has_slot();
  5174. } else {
  5175. goto handle_uninterpreted;
  5176. }
  5177. if (input->ExpectAtEnd()) return true;
  5178. break;
  5179. }
  5180. default: {
  5181. handle_uninterpreted:
  5182. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5183. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5184. return true;
  5185. }
  5186. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5187. input, tag, mutable_unknown_fields()));
  5188. break;
  5189. }
  5190. }
  5191. }
  5192. return true;
  5193. #undef DO_
  5194. }
  5195. void CNETMsg_SplitScreenUser::SerializeWithCachedSizes(
  5196. ::google::protobuf::io::CodedOutputStream* output) const {
  5197. // optional int32 slot = 1;
  5198. if (has_slot()) {
  5199. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->slot(), output);
  5200. }
  5201. if (!unknown_fields().empty()) {
  5202. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5203. unknown_fields(), output);
  5204. }
  5205. }
  5206. ::google::protobuf::uint8* CNETMsg_SplitScreenUser::SerializeWithCachedSizesToArray(
  5207. ::google::protobuf::uint8* target) const {
  5208. // optional int32 slot = 1;
  5209. if (has_slot()) {
  5210. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->slot(), target);
  5211. }
  5212. if (!unknown_fields().empty()) {
  5213. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5214. unknown_fields(), target);
  5215. }
  5216. return target;
  5217. }
  5218. int CNETMsg_SplitScreenUser::ByteSize() const {
  5219. int total_size = 0;
  5220. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5221. // optional int32 slot = 1;
  5222. if (has_slot()) {
  5223. total_size += 1 +
  5224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5225. this->slot());
  5226. }
  5227. }
  5228. if (!unknown_fields().empty()) {
  5229. total_size +=
  5230. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5231. unknown_fields());
  5232. }
  5233. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5234. _cached_size_ = total_size;
  5235. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5236. return total_size;
  5237. }
  5238. void CNETMsg_SplitScreenUser::MergeFrom(const ::google::protobuf::Message& from) {
  5239. GOOGLE_CHECK_NE(&from, this);
  5240. const CNETMsg_SplitScreenUser* source =
  5241. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_SplitScreenUser*>(
  5242. &from);
  5243. if (source == NULL) {
  5244. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5245. } else {
  5246. MergeFrom(*source);
  5247. }
  5248. }
  5249. void CNETMsg_SplitScreenUser::MergeFrom(const CNETMsg_SplitScreenUser& from) {
  5250. GOOGLE_CHECK_NE(&from, this);
  5251. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5252. if (from.has_slot()) {
  5253. set_slot(from.slot());
  5254. }
  5255. }
  5256. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5257. }
  5258. void CNETMsg_SplitScreenUser::CopyFrom(const ::google::protobuf::Message& from) {
  5259. if (&from == this) return;
  5260. Clear();
  5261. MergeFrom(from);
  5262. }
  5263. void CNETMsg_SplitScreenUser::CopyFrom(const CNETMsg_SplitScreenUser& from) {
  5264. if (&from == this) return;
  5265. Clear();
  5266. MergeFrom(from);
  5267. }
  5268. bool CNETMsg_SplitScreenUser::IsInitialized() const {
  5269. return true;
  5270. }
  5271. void CNETMsg_SplitScreenUser::Swap(CNETMsg_SplitScreenUser* other) {
  5272. if (other != this) {
  5273. std::swap(slot_, other->slot_);
  5274. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5275. _unknown_fields_.Swap(&other->_unknown_fields_);
  5276. std::swap(_cached_size_, other->_cached_size_);
  5277. }
  5278. }
  5279. ::google::protobuf::Metadata CNETMsg_SplitScreenUser::GetMetadata() const {
  5280. protobuf_AssignDescriptorsOnce();
  5281. ::google::protobuf::Metadata metadata;
  5282. metadata.descriptor = CNETMsg_SplitScreenUser_descriptor_;
  5283. metadata.reflection = CNETMsg_SplitScreenUser_reflection_;
  5284. return metadata;
  5285. }
  5286. // ===================================================================
  5287. #ifndef _MSC_VER
  5288. const int CNETMsg_PlayerAvatarData::kAccountidFieldNumber;
  5289. const int CNETMsg_PlayerAvatarData::kRgbFieldNumber;
  5290. #endif // !_MSC_VER
  5291. CNETMsg_PlayerAvatarData::CNETMsg_PlayerAvatarData()
  5292. : ::google::protobuf::Message() {
  5293. SharedCtor();
  5294. }
  5295. void CNETMsg_PlayerAvatarData::InitAsDefaultInstance() {
  5296. }
  5297. CNETMsg_PlayerAvatarData::CNETMsg_PlayerAvatarData(const CNETMsg_PlayerAvatarData& from)
  5298. : ::google::protobuf::Message() {
  5299. SharedCtor();
  5300. MergeFrom(from);
  5301. }
  5302. void CNETMsg_PlayerAvatarData::SharedCtor() {
  5303. _cached_size_ = 0;
  5304. accountid_ = 0u;
  5305. rgb_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5306. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5307. }
  5308. CNETMsg_PlayerAvatarData::~CNETMsg_PlayerAvatarData() {
  5309. SharedDtor();
  5310. }
  5311. void CNETMsg_PlayerAvatarData::SharedDtor() {
  5312. if (rgb_ != &::google::protobuf::internal::kEmptyString) {
  5313. delete rgb_;
  5314. }
  5315. if (this != default_instance_) {
  5316. }
  5317. }
  5318. void CNETMsg_PlayerAvatarData::SetCachedSize(int size) const {
  5319. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5320. _cached_size_ = size;
  5321. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5322. }
  5323. const ::google::protobuf::Descriptor* CNETMsg_PlayerAvatarData::descriptor() {
  5324. protobuf_AssignDescriptorsOnce();
  5325. return CNETMsg_PlayerAvatarData_descriptor_;
  5326. }
  5327. const CNETMsg_PlayerAvatarData& CNETMsg_PlayerAvatarData::default_instance() {
  5328. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  5329. return *default_instance_;
  5330. }
  5331. CNETMsg_PlayerAvatarData* CNETMsg_PlayerAvatarData::default_instance_ = NULL;
  5332. CNETMsg_PlayerAvatarData* CNETMsg_PlayerAvatarData::New() const {
  5333. return new CNETMsg_PlayerAvatarData;
  5334. }
  5335. void CNETMsg_PlayerAvatarData::Clear() {
  5336. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5337. accountid_ = 0u;
  5338. if (has_rgb()) {
  5339. if (rgb_ != &::google::protobuf::internal::kEmptyString) {
  5340. rgb_->clear();
  5341. }
  5342. }
  5343. }
  5344. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5345. mutable_unknown_fields()->Clear();
  5346. }
  5347. bool CNETMsg_PlayerAvatarData::MergePartialFromCodedStream(
  5348. ::google::protobuf::io::CodedInputStream* input) {
  5349. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5350. ::google::protobuf::uint32 tag;
  5351. while ((tag = input->ReadTag()) != 0) {
  5352. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5353. // optional uint32 accountid = 1;
  5354. case 1: {
  5355. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5356. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5357. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5358. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5359. input, &accountid_)));
  5360. set_has_accountid();
  5361. } else {
  5362. goto handle_uninterpreted;
  5363. }
  5364. if (input->ExpectTag(18)) goto parse_rgb;
  5365. break;
  5366. }
  5367. // optional bytes rgb = 2;
  5368. case 2: {
  5369. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5370. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5371. parse_rgb:
  5372. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  5373. input, this->mutable_rgb()));
  5374. } else {
  5375. goto handle_uninterpreted;
  5376. }
  5377. if (input->ExpectAtEnd()) return true;
  5378. break;
  5379. }
  5380. default: {
  5381. handle_uninterpreted:
  5382. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5383. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5384. return true;
  5385. }
  5386. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5387. input, tag, mutable_unknown_fields()));
  5388. break;
  5389. }
  5390. }
  5391. }
  5392. return true;
  5393. #undef DO_
  5394. }
  5395. void CNETMsg_PlayerAvatarData::SerializeWithCachedSizes(
  5396. ::google::protobuf::io::CodedOutputStream* output) const {
  5397. // optional uint32 accountid = 1;
  5398. if (has_accountid()) {
  5399. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->accountid(), output);
  5400. }
  5401. // optional bytes rgb = 2;
  5402. if (has_rgb()) {
  5403. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  5404. 2, this->rgb(), output);
  5405. }
  5406. if (!unknown_fields().empty()) {
  5407. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5408. unknown_fields(), output);
  5409. }
  5410. }
  5411. ::google::protobuf::uint8* CNETMsg_PlayerAvatarData::SerializeWithCachedSizesToArray(
  5412. ::google::protobuf::uint8* target) const {
  5413. // optional uint32 accountid = 1;
  5414. if (has_accountid()) {
  5415. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->accountid(), target);
  5416. }
  5417. // optional bytes rgb = 2;
  5418. if (has_rgb()) {
  5419. target =
  5420. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  5421. 2, this->rgb(), target);
  5422. }
  5423. if (!unknown_fields().empty()) {
  5424. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5425. unknown_fields(), target);
  5426. }
  5427. return target;
  5428. }
  5429. int CNETMsg_PlayerAvatarData::ByteSize() const {
  5430. int total_size = 0;
  5431. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5432. // optional uint32 accountid = 1;
  5433. if (has_accountid()) {
  5434. total_size += 1 +
  5435. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5436. this->accountid());
  5437. }
  5438. // optional bytes rgb = 2;
  5439. if (has_rgb()) {
  5440. total_size += 1 +
  5441. ::google::protobuf::internal::WireFormatLite::BytesSize(
  5442. this->rgb());
  5443. }
  5444. }
  5445. if (!unknown_fields().empty()) {
  5446. total_size +=
  5447. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5448. unknown_fields());
  5449. }
  5450. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5451. _cached_size_ = total_size;
  5452. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5453. return total_size;
  5454. }
  5455. void CNETMsg_PlayerAvatarData::MergeFrom(const ::google::protobuf::Message& from) {
  5456. GOOGLE_CHECK_NE(&from, this);
  5457. const CNETMsg_PlayerAvatarData* source =
  5458. ::google::protobuf::internal::dynamic_cast_if_available<const CNETMsg_PlayerAvatarData*>(
  5459. &from);
  5460. if (source == NULL) {
  5461. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5462. } else {
  5463. MergeFrom(*source);
  5464. }
  5465. }
  5466. void CNETMsg_PlayerAvatarData::MergeFrom(const CNETMsg_PlayerAvatarData& from) {
  5467. GOOGLE_CHECK_NE(&from, this);
  5468. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5469. if (from.has_accountid()) {
  5470. set_accountid(from.accountid());
  5471. }
  5472. if (from.has_rgb()) {
  5473. set_rgb(from.rgb());
  5474. }
  5475. }
  5476. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5477. }
  5478. void CNETMsg_PlayerAvatarData::CopyFrom(const ::google::protobuf::Message& from) {
  5479. if (&from == this) return;
  5480. Clear();
  5481. MergeFrom(from);
  5482. }
  5483. void CNETMsg_PlayerAvatarData::CopyFrom(const CNETMsg_PlayerAvatarData& from) {
  5484. if (&from == this) return;
  5485. Clear();
  5486. MergeFrom(from);
  5487. }
  5488. bool CNETMsg_PlayerAvatarData::IsInitialized() const {
  5489. return true;
  5490. }
  5491. void CNETMsg_PlayerAvatarData::Swap(CNETMsg_PlayerAvatarData* other) {
  5492. if (other != this) {
  5493. std::swap(accountid_, other->accountid_);
  5494. std::swap(rgb_, other->rgb_);
  5495. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5496. _unknown_fields_.Swap(&other->_unknown_fields_);
  5497. std::swap(_cached_size_, other->_cached_size_);
  5498. }
  5499. }
  5500. ::google::protobuf::Metadata CNETMsg_PlayerAvatarData::GetMetadata() const {
  5501. protobuf_AssignDescriptorsOnce();
  5502. ::google::protobuf::Metadata metadata;
  5503. metadata.descriptor = CNETMsg_PlayerAvatarData_descriptor_;
  5504. metadata.reflection = CNETMsg_PlayerAvatarData_reflection_;
  5505. return metadata;
  5506. }
  5507. // ===================================================================
  5508. #ifndef _MSC_VER
  5509. const int CCLCMsg_ClientInfo::kSendTableCrcFieldNumber;
  5510. const int CCLCMsg_ClientInfo::kServerCountFieldNumber;
  5511. const int CCLCMsg_ClientInfo::kIsHltvFieldNumber;
  5512. const int CCLCMsg_ClientInfo::kIsReplayFieldNumber;
  5513. const int CCLCMsg_ClientInfo::kFriendsIdFieldNumber;
  5514. const int CCLCMsg_ClientInfo::kFriendsNameFieldNumber;
  5515. const int CCLCMsg_ClientInfo::kCustomFilesFieldNumber;
  5516. #endif // !_MSC_VER
  5517. CCLCMsg_ClientInfo::CCLCMsg_ClientInfo()
  5518. : ::google::protobuf::Message() {
  5519. SharedCtor();
  5520. }
  5521. void CCLCMsg_ClientInfo::InitAsDefaultInstance() {
  5522. }
  5523. CCLCMsg_ClientInfo::CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from)
  5524. : ::google::protobuf::Message() {
  5525. SharedCtor();
  5526. MergeFrom(from);
  5527. }
  5528. void CCLCMsg_ClientInfo::SharedCtor() {
  5529. _cached_size_ = 0;
  5530. send_table_crc_ = 0u;
  5531. server_count_ = 0u;
  5532. is_hltv_ = false;
  5533. is_replay_ = false;
  5534. friends_id_ = 0u;
  5535. friends_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5536. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5537. }
  5538. CCLCMsg_ClientInfo::~CCLCMsg_ClientInfo() {
  5539. SharedDtor();
  5540. }
  5541. void CCLCMsg_ClientInfo::SharedDtor() {
  5542. if (friends_name_ != &::google::protobuf::internal::kEmptyString) {
  5543. delete friends_name_;
  5544. }
  5545. if (this != default_instance_) {
  5546. }
  5547. }
  5548. void CCLCMsg_ClientInfo::SetCachedSize(int size) const {
  5549. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5550. _cached_size_ = size;
  5551. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5552. }
  5553. const ::google::protobuf::Descriptor* CCLCMsg_ClientInfo::descriptor() {
  5554. protobuf_AssignDescriptorsOnce();
  5555. return CCLCMsg_ClientInfo_descriptor_;
  5556. }
  5557. const CCLCMsg_ClientInfo& CCLCMsg_ClientInfo::default_instance() {
  5558. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  5559. return *default_instance_;
  5560. }
  5561. CCLCMsg_ClientInfo* CCLCMsg_ClientInfo::default_instance_ = NULL;
  5562. CCLCMsg_ClientInfo* CCLCMsg_ClientInfo::New() const {
  5563. return new CCLCMsg_ClientInfo;
  5564. }
  5565. void CCLCMsg_ClientInfo::Clear() {
  5566. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5567. send_table_crc_ = 0u;
  5568. server_count_ = 0u;
  5569. is_hltv_ = false;
  5570. is_replay_ = false;
  5571. friends_id_ = 0u;
  5572. if (has_friends_name()) {
  5573. if (friends_name_ != &::google::protobuf::internal::kEmptyString) {
  5574. friends_name_->clear();
  5575. }
  5576. }
  5577. }
  5578. custom_files_.Clear();
  5579. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5580. mutable_unknown_fields()->Clear();
  5581. }
  5582. bool CCLCMsg_ClientInfo::MergePartialFromCodedStream(
  5583. ::google::protobuf::io::CodedInputStream* input) {
  5584. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5585. ::google::protobuf::uint32 tag;
  5586. while ((tag = input->ReadTag()) != 0) {
  5587. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5588. // optional fixed32 send_table_crc = 1;
  5589. case 1: {
  5590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  5592. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5593. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  5594. input, &send_table_crc_)));
  5595. set_has_send_table_crc();
  5596. } else {
  5597. goto handle_uninterpreted;
  5598. }
  5599. if (input->ExpectTag(16)) goto parse_server_count;
  5600. break;
  5601. }
  5602. // optional uint32 server_count = 2;
  5603. case 2: {
  5604. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5605. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5606. parse_server_count:
  5607. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5608. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5609. input, &server_count_)));
  5610. set_has_server_count();
  5611. } else {
  5612. goto handle_uninterpreted;
  5613. }
  5614. if (input->ExpectTag(24)) goto parse_is_hltv;
  5615. break;
  5616. }
  5617. // optional bool is_hltv = 3;
  5618. case 3: {
  5619. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5620. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5621. parse_is_hltv:
  5622. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5623. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5624. input, &is_hltv_)));
  5625. set_has_is_hltv();
  5626. } else {
  5627. goto handle_uninterpreted;
  5628. }
  5629. if (input->ExpectTag(32)) goto parse_is_replay;
  5630. break;
  5631. }
  5632. // optional bool is_replay = 4;
  5633. case 4: {
  5634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5636. parse_is_replay:
  5637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5638. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5639. input, &is_replay_)));
  5640. set_has_is_replay();
  5641. } else {
  5642. goto handle_uninterpreted;
  5643. }
  5644. if (input->ExpectTag(40)) goto parse_friends_id;
  5645. break;
  5646. }
  5647. // optional uint32 friends_id = 5;
  5648. case 5: {
  5649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5651. parse_friends_id:
  5652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5653. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5654. input, &friends_id_)));
  5655. set_has_friends_id();
  5656. } else {
  5657. goto handle_uninterpreted;
  5658. }
  5659. if (input->ExpectTag(50)) goto parse_friends_name;
  5660. break;
  5661. }
  5662. // optional string friends_name = 6;
  5663. case 6: {
  5664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5666. parse_friends_name:
  5667. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5668. input, this->mutable_friends_name()));
  5669. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5670. this->friends_name().data(), this->friends_name().length(),
  5671. ::google::protobuf::internal::WireFormat::PARSE);
  5672. } else {
  5673. goto handle_uninterpreted;
  5674. }
  5675. if (input->ExpectTag(61)) goto parse_custom_files;
  5676. break;
  5677. }
  5678. // repeated fixed32 custom_files = 7;
  5679. case 7: {
  5680. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5681. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  5682. parse_custom_files:
  5683. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  5684. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  5685. 1, 61, input, this->mutable_custom_files())));
  5686. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  5687. == ::google::protobuf::internal::WireFormatLite::
  5688. WIRETYPE_LENGTH_DELIMITED) {
  5689. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  5690. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  5691. input, this->mutable_custom_files())));
  5692. } else {
  5693. goto handle_uninterpreted;
  5694. }
  5695. if (input->ExpectTag(61)) goto parse_custom_files;
  5696. if (input->ExpectAtEnd()) return true;
  5697. break;
  5698. }
  5699. default: {
  5700. handle_uninterpreted:
  5701. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5702. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5703. return true;
  5704. }
  5705. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5706. input, tag, mutable_unknown_fields()));
  5707. break;
  5708. }
  5709. }
  5710. }
  5711. return true;
  5712. #undef DO_
  5713. }
  5714. void CCLCMsg_ClientInfo::SerializeWithCachedSizes(
  5715. ::google::protobuf::io::CodedOutputStream* output) const {
  5716. // optional fixed32 send_table_crc = 1;
  5717. if (has_send_table_crc()) {
  5718. ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->send_table_crc(), output);
  5719. }
  5720. // optional uint32 server_count = 2;
  5721. if (has_server_count()) {
  5722. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->server_count(), output);
  5723. }
  5724. // optional bool is_hltv = 3;
  5725. if (has_is_hltv()) {
  5726. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_hltv(), output);
  5727. }
  5728. // optional bool is_replay = 4;
  5729. if (has_is_replay()) {
  5730. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_replay(), output);
  5731. }
  5732. // optional uint32 friends_id = 5;
  5733. if (has_friends_id()) {
  5734. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->friends_id(), output);
  5735. }
  5736. // optional string friends_name = 6;
  5737. if (has_friends_name()) {
  5738. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5739. this->friends_name().data(), this->friends_name().length(),
  5740. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5741. ::google::protobuf::internal::WireFormatLite::WriteString(
  5742. 6, this->friends_name(), output);
  5743. }
  5744. // repeated fixed32 custom_files = 7;
  5745. for (int i = 0; i < this->custom_files_size(); i++) {
  5746. ::google::protobuf::internal::WireFormatLite::WriteFixed32(
  5747. 7, this->custom_files(i), output);
  5748. }
  5749. if (!unknown_fields().empty()) {
  5750. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5751. unknown_fields(), output);
  5752. }
  5753. }
  5754. ::google::protobuf::uint8* CCLCMsg_ClientInfo::SerializeWithCachedSizesToArray(
  5755. ::google::protobuf::uint8* target) const {
  5756. // optional fixed32 send_table_crc = 1;
  5757. if (has_send_table_crc()) {
  5758. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->send_table_crc(), target);
  5759. }
  5760. // optional uint32 server_count = 2;
  5761. if (has_server_count()) {
  5762. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->server_count(), target);
  5763. }
  5764. // optional bool is_hltv = 3;
  5765. if (has_is_hltv()) {
  5766. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_hltv(), target);
  5767. }
  5768. // optional bool is_replay = 4;
  5769. if (has_is_replay()) {
  5770. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_replay(), target);
  5771. }
  5772. // optional uint32 friends_id = 5;
  5773. if (has_friends_id()) {
  5774. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->friends_id(), target);
  5775. }
  5776. // optional string friends_name = 6;
  5777. if (has_friends_name()) {
  5778. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5779. this->friends_name().data(), this->friends_name().length(),
  5780. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5781. target =
  5782. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5783. 6, this->friends_name(), target);
  5784. }
  5785. // repeated fixed32 custom_files = 7;
  5786. for (int i = 0; i < this->custom_files_size(); i++) {
  5787. target = ::google::protobuf::internal::WireFormatLite::
  5788. WriteFixed32ToArray(7, this->custom_files(i), target);
  5789. }
  5790. if (!unknown_fields().empty()) {
  5791. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5792. unknown_fields(), target);
  5793. }
  5794. return target;
  5795. }
  5796. int CCLCMsg_ClientInfo::ByteSize() const {
  5797. int total_size = 0;
  5798. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5799. // optional fixed32 send_table_crc = 1;
  5800. if (has_send_table_crc()) {
  5801. total_size += 1 + 4;
  5802. }
  5803. // optional uint32 server_count = 2;
  5804. if (has_server_count()) {
  5805. total_size += 1 +
  5806. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5807. this->server_count());
  5808. }
  5809. // optional bool is_hltv = 3;
  5810. if (has_is_hltv()) {
  5811. total_size += 1 + 1;
  5812. }
  5813. // optional bool is_replay = 4;
  5814. if (has_is_replay()) {
  5815. total_size += 1 + 1;
  5816. }
  5817. // optional uint32 friends_id = 5;
  5818. if (has_friends_id()) {
  5819. total_size += 1 +
  5820. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5821. this->friends_id());
  5822. }
  5823. // optional string friends_name = 6;
  5824. if (has_friends_name()) {
  5825. total_size += 1 +
  5826. ::google::protobuf::internal::WireFormatLite::StringSize(
  5827. this->friends_name());
  5828. }
  5829. }
  5830. // repeated fixed32 custom_files = 7;
  5831. {
  5832. int data_size = 0;
  5833. data_size = 4 * this->custom_files_size();
  5834. total_size += 1 * this->custom_files_size() + data_size;
  5835. }
  5836. if (!unknown_fields().empty()) {
  5837. total_size +=
  5838. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5839. unknown_fields());
  5840. }
  5841. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5842. _cached_size_ = total_size;
  5843. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5844. return total_size;
  5845. }
  5846. void CCLCMsg_ClientInfo::MergeFrom(const ::google::protobuf::Message& from) {
  5847. GOOGLE_CHECK_NE(&from, this);
  5848. const CCLCMsg_ClientInfo* source =
  5849. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_ClientInfo*>(
  5850. &from);
  5851. if (source == NULL) {
  5852. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5853. } else {
  5854. MergeFrom(*source);
  5855. }
  5856. }
  5857. void CCLCMsg_ClientInfo::MergeFrom(const CCLCMsg_ClientInfo& from) {
  5858. GOOGLE_CHECK_NE(&from, this);
  5859. custom_files_.MergeFrom(from.custom_files_);
  5860. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5861. if (from.has_send_table_crc()) {
  5862. set_send_table_crc(from.send_table_crc());
  5863. }
  5864. if (from.has_server_count()) {
  5865. set_server_count(from.server_count());
  5866. }
  5867. if (from.has_is_hltv()) {
  5868. set_is_hltv(from.is_hltv());
  5869. }
  5870. if (from.has_is_replay()) {
  5871. set_is_replay(from.is_replay());
  5872. }
  5873. if (from.has_friends_id()) {
  5874. set_friends_id(from.friends_id());
  5875. }
  5876. if (from.has_friends_name()) {
  5877. set_friends_name(from.friends_name());
  5878. }
  5879. }
  5880. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5881. }
  5882. void CCLCMsg_ClientInfo::CopyFrom(const ::google::protobuf::Message& from) {
  5883. if (&from == this) return;
  5884. Clear();
  5885. MergeFrom(from);
  5886. }
  5887. void CCLCMsg_ClientInfo::CopyFrom(const CCLCMsg_ClientInfo& from) {
  5888. if (&from == this) return;
  5889. Clear();
  5890. MergeFrom(from);
  5891. }
  5892. bool CCLCMsg_ClientInfo::IsInitialized() const {
  5893. return true;
  5894. }
  5895. void CCLCMsg_ClientInfo::Swap(CCLCMsg_ClientInfo* other) {
  5896. if (other != this) {
  5897. std::swap(send_table_crc_, other->send_table_crc_);
  5898. std::swap(server_count_, other->server_count_);
  5899. std::swap(is_hltv_, other->is_hltv_);
  5900. std::swap(is_replay_, other->is_replay_);
  5901. std::swap(friends_id_, other->friends_id_);
  5902. std::swap(friends_name_, other->friends_name_);
  5903. custom_files_.Swap(&other->custom_files_);
  5904. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5905. _unknown_fields_.Swap(&other->_unknown_fields_);
  5906. std::swap(_cached_size_, other->_cached_size_);
  5907. }
  5908. }
  5909. ::google::protobuf::Metadata CCLCMsg_ClientInfo::GetMetadata() const {
  5910. protobuf_AssignDescriptorsOnce();
  5911. ::google::protobuf::Metadata metadata;
  5912. metadata.descriptor = CCLCMsg_ClientInfo_descriptor_;
  5913. metadata.reflection = CCLCMsg_ClientInfo_reflection_;
  5914. return metadata;
  5915. }
  5916. // ===================================================================
  5917. #ifndef _MSC_VER
  5918. const int CCLCMsg_Move::kNumBackupCommandsFieldNumber;
  5919. const int CCLCMsg_Move::kNumNewCommandsFieldNumber;
  5920. const int CCLCMsg_Move::kDataFieldNumber;
  5921. #endif // !_MSC_VER
  5922. CCLCMsg_Move::CCLCMsg_Move()
  5923. : ::google::protobuf::Message() {
  5924. SharedCtor();
  5925. }
  5926. void CCLCMsg_Move::InitAsDefaultInstance() {
  5927. }
  5928. CCLCMsg_Move::CCLCMsg_Move(const CCLCMsg_Move& from)
  5929. : ::google::protobuf::Message() {
  5930. SharedCtor();
  5931. MergeFrom(from);
  5932. }
  5933. void CCLCMsg_Move::SharedCtor() {
  5934. _cached_size_ = 0;
  5935. num_backup_commands_ = 0u;
  5936. num_new_commands_ = 0u;
  5937. data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5938. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5939. }
  5940. CCLCMsg_Move::~CCLCMsg_Move() {
  5941. SharedDtor();
  5942. }
  5943. void CCLCMsg_Move::SharedDtor() {
  5944. if (data_ != &::google::protobuf::internal::kEmptyString) {
  5945. delete data_;
  5946. }
  5947. if (this != default_instance_) {
  5948. }
  5949. }
  5950. void CCLCMsg_Move::SetCachedSize(int size) const {
  5951. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5952. _cached_size_ = size;
  5953. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5954. }
  5955. const ::google::protobuf::Descriptor* CCLCMsg_Move::descriptor() {
  5956. protobuf_AssignDescriptorsOnce();
  5957. return CCLCMsg_Move_descriptor_;
  5958. }
  5959. const CCLCMsg_Move& CCLCMsg_Move::default_instance() {
  5960. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  5961. return *default_instance_;
  5962. }
  5963. CCLCMsg_Move* CCLCMsg_Move::default_instance_ = NULL;
  5964. CCLCMsg_Move* CCLCMsg_Move::New() const {
  5965. return new CCLCMsg_Move;
  5966. }
  5967. void CCLCMsg_Move::Clear() {
  5968. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5969. num_backup_commands_ = 0u;
  5970. num_new_commands_ = 0u;
  5971. if (has_data()) {
  5972. if (data_ != &::google::protobuf::internal::kEmptyString) {
  5973. data_->clear();
  5974. }
  5975. }
  5976. }
  5977. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5978. mutable_unknown_fields()->Clear();
  5979. }
  5980. bool CCLCMsg_Move::MergePartialFromCodedStream(
  5981. ::google::protobuf::io::CodedInputStream* input) {
  5982. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5983. ::google::protobuf::uint32 tag;
  5984. while ((tag = input->ReadTag()) != 0) {
  5985. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5986. // optional uint32 num_backup_commands = 1;
  5987. case 1: {
  5988. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5989. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5990. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5991. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5992. input, &num_backup_commands_)));
  5993. set_has_num_backup_commands();
  5994. } else {
  5995. goto handle_uninterpreted;
  5996. }
  5997. if (input->ExpectTag(16)) goto parse_num_new_commands;
  5998. break;
  5999. }
  6000. // optional uint32 num_new_commands = 2;
  6001. case 2: {
  6002. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6003. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6004. parse_num_new_commands:
  6005. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6006. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6007. input, &num_new_commands_)));
  6008. set_has_num_new_commands();
  6009. } else {
  6010. goto handle_uninterpreted;
  6011. }
  6012. if (input->ExpectTag(26)) goto parse_data;
  6013. break;
  6014. }
  6015. // optional bytes data = 3;
  6016. case 3: {
  6017. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6018. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6019. parse_data:
  6020. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  6021. input, this->mutable_data()));
  6022. } else {
  6023. goto handle_uninterpreted;
  6024. }
  6025. if (input->ExpectAtEnd()) return true;
  6026. break;
  6027. }
  6028. default: {
  6029. handle_uninterpreted:
  6030. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6031. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6032. return true;
  6033. }
  6034. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6035. input, tag, mutable_unknown_fields()));
  6036. break;
  6037. }
  6038. }
  6039. }
  6040. return true;
  6041. #undef DO_
  6042. }
  6043. void CCLCMsg_Move::SerializeWithCachedSizes(
  6044. ::google::protobuf::io::CodedOutputStream* output) const {
  6045. // optional uint32 num_backup_commands = 1;
  6046. if (has_num_backup_commands()) {
  6047. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->num_backup_commands(), output);
  6048. }
  6049. // optional uint32 num_new_commands = 2;
  6050. if (has_num_new_commands()) {
  6051. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->num_new_commands(), output);
  6052. }
  6053. // optional bytes data = 3;
  6054. if (has_data()) {
  6055. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  6056. 3, this->data(), output);
  6057. }
  6058. if (!unknown_fields().empty()) {
  6059. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6060. unknown_fields(), output);
  6061. }
  6062. }
  6063. ::google::protobuf::uint8* CCLCMsg_Move::SerializeWithCachedSizesToArray(
  6064. ::google::protobuf::uint8* target) const {
  6065. // optional uint32 num_backup_commands = 1;
  6066. if (has_num_backup_commands()) {
  6067. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->num_backup_commands(), target);
  6068. }
  6069. // optional uint32 num_new_commands = 2;
  6070. if (has_num_new_commands()) {
  6071. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->num_new_commands(), target);
  6072. }
  6073. // optional bytes data = 3;
  6074. if (has_data()) {
  6075. target =
  6076. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  6077. 3, this->data(), target);
  6078. }
  6079. if (!unknown_fields().empty()) {
  6080. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6081. unknown_fields(), target);
  6082. }
  6083. return target;
  6084. }
  6085. int CCLCMsg_Move::ByteSize() const {
  6086. int total_size = 0;
  6087. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6088. // optional uint32 num_backup_commands = 1;
  6089. if (has_num_backup_commands()) {
  6090. total_size += 1 +
  6091. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6092. this->num_backup_commands());
  6093. }
  6094. // optional uint32 num_new_commands = 2;
  6095. if (has_num_new_commands()) {
  6096. total_size += 1 +
  6097. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6098. this->num_new_commands());
  6099. }
  6100. // optional bytes data = 3;
  6101. if (has_data()) {
  6102. total_size += 1 +
  6103. ::google::protobuf::internal::WireFormatLite::BytesSize(
  6104. this->data());
  6105. }
  6106. }
  6107. if (!unknown_fields().empty()) {
  6108. total_size +=
  6109. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6110. unknown_fields());
  6111. }
  6112. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6113. _cached_size_ = total_size;
  6114. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6115. return total_size;
  6116. }
  6117. void CCLCMsg_Move::MergeFrom(const ::google::protobuf::Message& from) {
  6118. GOOGLE_CHECK_NE(&from, this);
  6119. const CCLCMsg_Move* source =
  6120. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_Move*>(
  6121. &from);
  6122. if (source == NULL) {
  6123. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6124. } else {
  6125. MergeFrom(*source);
  6126. }
  6127. }
  6128. void CCLCMsg_Move::MergeFrom(const CCLCMsg_Move& from) {
  6129. GOOGLE_CHECK_NE(&from, this);
  6130. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6131. if (from.has_num_backup_commands()) {
  6132. set_num_backup_commands(from.num_backup_commands());
  6133. }
  6134. if (from.has_num_new_commands()) {
  6135. set_num_new_commands(from.num_new_commands());
  6136. }
  6137. if (from.has_data()) {
  6138. set_data(from.data());
  6139. }
  6140. }
  6141. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6142. }
  6143. void CCLCMsg_Move::CopyFrom(const ::google::protobuf::Message& from) {
  6144. if (&from == this) return;
  6145. Clear();
  6146. MergeFrom(from);
  6147. }
  6148. void CCLCMsg_Move::CopyFrom(const CCLCMsg_Move& from) {
  6149. if (&from == this) return;
  6150. Clear();
  6151. MergeFrom(from);
  6152. }
  6153. bool CCLCMsg_Move::IsInitialized() const {
  6154. return true;
  6155. }
  6156. void CCLCMsg_Move::Swap(CCLCMsg_Move* other) {
  6157. if (other != this) {
  6158. std::swap(num_backup_commands_, other->num_backup_commands_);
  6159. std::swap(num_new_commands_, other->num_new_commands_);
  6160. std::swap(data_, other->data_);
  6161. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6162. _unknown_fields_.Swap(&other->_unknown_fields_);
  6163. std::swap(_cached_size_, other->_cached_size_);
  6164. }
  6165. }
  6166. ::google::protobuf::Metadata CCLCMsg_Move::GetMetadata() const {
  6167. protobuf_AssignDescriptorsOnce();
  6168. ::google::protobuf::Metadata metadata;
  6169. metadata.descriptor = CCLCMsg_Move_descriptor_;
  6170. metadata.reflection = CCLCMsg_Move_reflection_;
  6171. return metadata;
  6172. }
  6173. // ===================================================================
  6174. #ifndef _MSC_VER
  6175. const int CCLCMsg_VoiceData::kDataFieldNumber;
  6176. const int CCLCMsg_VoiceData::kXuidFieldNumber;
  6177. const int CCLCMsg_VoiceData::kFormatFieldNumber;
  6178. const int CCLCMsg_VoiceData::kSequenceBytesFieldNumber;
  6179. const int CCLCMsg_VoiceData::kSectionNumberFieldNumber;
  6180. const int CCLCMsg_VoiceData::kUncompressedSampleOffsetFieldNumber;
  6181. #endif // !_MSC_VER
  6182. CCLCMsg_VoiceData::CCLCMsg_VoiceData()
  6183. : ::google::protobuf::Message() {
  6184. SharedCtor();
  6185. }
  6186. void CCLCMsg_VoiceData::InitAsDefaultInstance() {
  6187. }
  6188. CCLCMsg_VoiceData::CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from)
  6189. : ::google::protobuf::Message() {
  6190. SharedCtor();
  6191. MergeFrom(from);
  6192. }
  6193. void CCLCMsg_VoiceData::SharedCtor() {
  6194. _cached_size_ = 0;
  6195. data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6196. xuid_ = GOOGLE_ULONGLONG(0);
  6197. format_ = 1;
  6198. sequence_bytes_ = 0;
  6199. section_number_ = 0u;
  6200. uncompressed_sample_offset_ = 0u;
  6201. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6202. }
  6203. CCLCMsg_VoiceData::~CCLCMsg_VoiceData() {
  6204. SharedDtor();
  6205. }
  6206. void CCLCMsg_VoiceData::SharedDtor() {
  6207. if (data_ != &::google::protobuf::internal::kEmptyString) {
  6208. delete data_;
  6209. }
  6210. if (this != default_instance_) {
  6211. }
  6212. }
  6213. void CCLCMsg_VoiceData::SetCachedSize(int size) const {
  6214. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6215. _cached_size_ = size;
  6216. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6217. }
  6218. const ::google::protobuf::Descriptor* CCLCMsg_VoiceData::descriptor() {
  6219. protobuf_AssignDescriptorsOnce();
  6220. return CCLCMsg_VoiceData_descriptor_;
  6221. }
  6222. const CCLCMsg_VoiceData& CCLCMsg_VoiceData::default_instance() {
  6223. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  6224. return *default_instance_;
  6225. }
  6226. CCLCMsg_VoiceData* CCLCMsg_VoiceData::default_instance_ = NULL;
  6227. CCLCMsg_VoiceData* CCLCMsg_VoiceData::New() const {
  6228. return new CCLCMsg_VoiceData;
  6229. }
  6230. void CCLCMsg_VoiceData::Clear() {
  6231. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6232. if (has_data()) {
  6233. if (data_ != &::google::protobuf::internal::kEmptyString) {
  6234. data_->clear();
  6235. }
  6236. }
  6237. xuid_ = GOOGLE_ULONGLONG(0);
  6238. format_ = 1;
  6239. sequence_bytes_ = 0;
  6240. section_number_ = 0u;
  6241. uncompressed_sample_offset_ = 0u;
  6242. }
  6243. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6244. mutable_unknown_fields()->Clear();
  6245. }
  6246. bool CCLCMsg_VoiceData::MergePartialFromCodedStream(
  6247. ::google::protobuf::io::CodedInputStream* input) {
  6248. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6249. ::google::protobuf::uint32 tag;
  6250. while ((tag = input->ReadTag()) != 0) {
  6251. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6252. // optional bytes data = 1;
  6253. case 1: {
  6254. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6255. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6256. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  6257. input, this->mutable_data()));
  6258. } else {
  6259. goto handle_uninterpreted;
  6260. }
  6261. if (input->ExpectTag(17)) goto parse_xuid;
  6262. break;
  6263. }
  6264. // optional fixed64 xuid = 2;
  6265. case 2: {
  6266. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6267. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  6268. parse_xuid:
  6269. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6270. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  6271. input, &xuid_)));
  6272. set_has_xuid();
  6273. } else {
  6274. goto handle_uninterpreted;
  6275. }
  6276. if (input->ExpectTag(24)) goto parse_format;
  6277. break;
  6278. }
  6279. // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_ENGINE];
  6280. case 3: {
  6281. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6282. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6283. parse_format:
  6284. int value;
  6285. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6286. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6287. input, &value)));
  6288. if (::VoiceDataFormat_t_IsValid(value)) {
  6289. set_format(static_cast< ::VoiceDataFormat_t >(value));
  6290. } else {
  6291. mutable_unknown_fields()->AddVarint(3, value);
  6292. }
  6293. } else {
  6294. goto handle_uninterpreted;
  6295. }
  6296. if (input->ExpectTag(32)) goto parse_sequence_bytes;
  6297. break;
  6298. }
  6299. // optional int32 sequence_bytes = 4;
  6300. case 4: {
  6301. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6302. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6303. parse_sequence_bytes:
  6304. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6305. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6306. input, &sequence_bytes_)));
  6307. set_has_sequence_bytes();
  6308. } else {
  6309. goto handle_uninterpreted;
  6310. }
  6311. if (input->ExpectTag(40)) goto parse_section_number;
  6312. break;
  6313. }
  6314. // optional uint32 section_number = 5;
  6315. case 5: {
  6316. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6317. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6318. parse_section_number:
  6319. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6320. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6321. input, &section_number_)));
  6322. set_has_section_number();
  6323. } else {
  6324. goto handle_uninterpreted;
  6325. }
  6326. if (input->ExpectTag(48)) goto parse_uncompressed_sample_offset;
  6327. break;
  6328. }
  6329. // optional uint32 uncompressed_sample_offset = 6;
  6330. case 6: {
  6331. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6332. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6333. parse_uncompressed_sample_offset:
  6334. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6335. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6336. input, &uncompressed_sample_offset_)));
  6337. set_has_uncompressed_sample_offset();
  6338. } else {
  6339. goto handle_uninterpreted;
  6340. }
  6341. if (input->ExpectAtEnd()) return true;
  6342. break;
  6343. }
  6344. default: {
  6345. handle_uninterpreted:
  6346. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6347. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6348. return true;
  6349. }
  6350. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6351. input, tag, mutable_unknown_fields()));
  6352. break;
  6353. }
  6354. }
  6355. }
  6356. return true;
  6357. #undef DO_
  6358. }
  6359. void CCLCMsg_VoiceData::SerializeWithCachedSizes(
  6360. ::google::protobuf::io::CodedOutputStream* output) const {
  6361. // optional bytes data = 1;
  6362. if (has_data()) {
  6363. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  6364. 1, this->data(), output);
  6365. }
  6366. // optional fixed64 xuid = 2;
  6367. if (has_xuid()) {
  6368. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->xuid(), output);
  6369. }
  6370. // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_ENGINE];
  6371. if (has_format()) {
  6372. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6373. 3, this->format(), output);
  6374. }
  6375. // optional int32 sequence_bytes = 4;
  6376. if (has_sequence_bytes()) {
  6377. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->sequence_bytes(), output);
  6378. }
  6379. // optional uint32 section_number = 5;
  6380. if (has_section_number()) {
  6381. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->section_number(), output);
  6382. }
  6383. // optional uint32 uncompressed_sample_offset = 6;
  6384. if (has_uncompressed_sample_offset()) {
  6385. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->uncompressed_sample_offset(), output);
  6386. }
  6387. if (!unknown_fields().empty()) {
  6388. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6389. unknown_fields(), output);
  6390. }
  6391. }
  6392. ::google::protobuf::uint8* CCLCMsg_VoiceData::SerializeWithCachedSizesToArray(
  6393. ::google::protobuf::uint8* target) const {
  6394. // optional bytes data = 1;
  6395. if (has_data()) {
  6396. target =
  6397. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  6398. 1, this->data(), target);
  6399. }
  6400. // optional fixed64 xuid = 2;
  6401. if (has_xuid()) {
  6402. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->xuid(), target);
  6403. }
  6404. // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_ENGINE];
  6405. if (has_format()) {
  6406. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6407. 3, this->format(), target);
  6408. }
  6409. // optional int32 sequence_bytes = 4;
  6410. if (has_sequence_bytes()) {
  6411. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->sequence_bytes(), target);
  6412. }
  6413. // optional uint32 section_number = 5;
  6414. if (has_section_number()) {
  6415. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->section_number(), target);
  6416. }
  6417. // optional uint32 uncompressed_sample_offset = 6;
  6418. if (has_uncompressed_sample_offset()) {
  6419. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->uncompressed_sample_offset(), target);
  6420. }
  6421. if (!unknown_fields().empty()) {
  6422. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6423. unknown_fields(), target);
  6424. }
  6425. return target;
  6426. }
  6427. int CCLCMsg_VoiceData::ByteSize() const {
  6428. int total_size = 0;
  6429. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6430. // optional bytes data = 1;
  6431. if (has_data()) {
  6432. total_size += 1 +
  6433. ::google::protobuf::internal::WireFormatLite::BytesSize(
  6434. this->data());
  6435. }
  6436. // optional fixed64 xuid = 2;
  6437. if (has_xuid()) {
  6438. total_size += 1 + 8;
  6439. }
  6440. // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_ENGINE];
  6441. if (has_format()) {
  6442. total_size += 1 +
  6443. ::google::protobuf::internal::WireFormatLite::EnumSize(this->format());
  6444. }
  6445. // optional int32 sequence_bytes = 4;
  6446. if (has_sequence_bytes()) {
  6447. total_size += 1 +
  6448. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6449. this->sequence_bytes());
  6450. }
  6451. // optional uint32 section_number = 5;
  6452. if (has_section_number()) {
  6453. total_size += 1 +
  6454. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6455. this->section_number());
  6456. }
  6457. // optional uint32 uncompressed_sample_offset = 6;
  6458. if (has_uncompressed_sample_offset()) {
  6459. total_size += 1 +
  6460. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6461. this->uncompressed_sample_offset());
  6462. }
  6463. }
  6464. if (!unknown_fields().empty()) {
  6465. total_size +=
  6466. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6467. unknown_fields());
  6468. }
  6469. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6470. _cached_size_ = total_size;
  6471. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6472. return total_size;
  6473. }
  6474. void CCLCMsg_VoiceData::MergeFrom(const ::google::protobuf::Message& from) {
  6475. GOOGLE_CHECK_NE(&from, this);
  6476. const CCLCMsg_VoiceData* source =
  6477. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_VoiceData*>(
  6478. &from);
  6479. if (source == NULL) {
  6480. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6481. } else {
  6482. MergeFrom(*source);
  6483. }
  6484. }
  6485. void CCLCMsg_VoiceData::MergeFrom(const CCLCMsg_VoiceData& from) {
  6486. GOOGLE_CHECK_NE(&from, this);
  6487. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6488. if (from.has_data()) {
  6489. set_data(from.data());
  6490. }
  6491. if (from.has_xuid()) {
  6492. set_xuid(from.xuid());
  6493. }
  6494. if (from.has_format()) {
  6495. set_format(from.format());
  6496. }
  6497. if (from.has_sequence_bytes()) {
  6498. set_sequence_bytes(from.sequence_bytes());
  6499. }
  6500. if (from.has_section_number()) {
  6501. set_section_number(from.section_number());
  6502. }
  6503. if (from.has_uncompressed_sample_offset()) {
  6504. set_uncompressed_sample_offset(from.uncompressed_sample_offset());
  6505. }
  6506. }
  6507. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6508. }
  6509. void CCLCMsg_VoiceData::CopyFrom(const ::google::protobuf::Message& from) {
  6510. if (&from == this) return;
  6511. Clear();
  6512. MergeFrom(from);
  6513. }
  6514. void CCLCMsg_VoiceData::CopyFrom(const CCLCMsg_VoiceData& from) {
  6515. if (&from == this) return;
  6516. Clear();
  6517. MergeFrom(from);
  6518. }
  6519. bool CCLCMsg_VoiceData::IsInitialized() const {
  6520. return true;
  6521. }
  6522. void CCLCMsg_VoiceData::Swap(CCLCMsg_VoiceData* other) {
  6523. if (other != this) {
  6524. std::swap(data_, other->data_);
  6525. std::swap(xuid_, other->xuid_);
  6526. std::swap(format_, other->format_);
  6527. std::swap(sequence_bytes_, other->sequence_bytes_);
  6528. std::swap(section_number_, other->section_number_);
  6529. std::swap(uncompressed_sample_offset_, other->uncompressed_sample_offset_);
  6530. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6531. _unknown_fields_.Swap(&other->_unknown_fields_);
  6532. std::swap(_cached_size_, other->_cached_size_);
  6533. }
  6534. }
  6535. ::google::protobuf::Metadata CCLCMsg_VoiceData::GetMetadata() const {
  6536. protobuf_AssignDescriptorsOnce();
  6537. ::google::protobuf::Metadata metadata;
  6538. metadata.descriptor = CCLCMsg_VoiceData_descriptor_;
  6539. metadata.reflection = CCLCMsg_VoiceData_reflection_;
  6540. return metadata;
  6541. }
  6542. // ===================================================================
  6543. #ifndef _MSC_VER
  6544. const int CCLCMsg_BaselineAck::kBaselineTickFieldNumber;
  6545. const int CCLCMsg_BaselineAck::kBaselineNrFieldNumber;
  6546. #endif // !_MSC_VER
  6547. CCLCMsg_BaselineAck::CCLCMsg_BaselineAck()
  6548. : ::google::protobuf::Message() {
  6549. SharedCtor();
  6550. }
  6551. void CCLCMsg_BaselineAck::InitAsDefaultInstance() {
  6552. }
  6553. CCLCMsg_BaselineAck::CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from)
  6554. : ::google::protobuf::Message() {
  6555. SharedCtor();
  6556. MergeFrom(from);
  6557. }
  6558. void CCLCMsg_BaselineAck::SharedCtor() {
  6559. _cached_size_ = 0;
  6560. baseline_tick_ = 0;
  6561. baseline_nr_ = 0;
  6562. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6563. }
  6564. CCLCMsg_BaselineAck::~CCLCMsg_BaselineAck() {
  6565. SharedDtor();
  6566. }
  6567. void CCLCMsg_BaselineAck::SharedDtor() {
  6568. if (this != default_instance_) {
  6569. }
  6570. }
  6571. void CCLCMsg_BaselineAck::SetCachedSize(int size) const {
  6572. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6573. _cached_size_ = size;
  6574. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6575. }
  6576. const ::google::protobuf::Descriptor* CCLCMsg_BaselineAck::descriptor() {
  6577. protobuf_AssignDescriptorsOnce();
  6578. return CCLCMsg_BaselineAck_descriptor_;
  6579. }
  6580. const CCLCMsg_BaselineAck& CCLCMsg_BaselineAck::default_instance() {
  6581. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  6582. return *default_instance_;
  6583. }
  6584. CCLCMsg_BaselineAck* CCLCMsg_BaselineAck::default_instance_ = NULL;
  6585. CCLCMsg_BaselineAck* CCLCMsg_BaselineAck::New() const {
  6586. return new CCLCMsg_BaselineAck;
  6587. }
  6588. void CCLCMsg_BaselineAck::Clear() {
  6589. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6590. baseline_tick_ = 0;
  6591. baseline_nr_ = 0;
  6592. }
  6593. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6594. mutable_unknown_fields()->Clear();
  6595. }
  6596. bool CCLCMsg_BaselineAck::MergePartialFromCodedStream(
  6597. ::google::protobuf::io::CodedInputStream* input) {
  6598. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6599. ::google::protobuf::uint32 tag;
  6600. while ((tag = input->ReadTag()) != 0) {
  6601. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6602. // optional int32 baseline_tick = 1;
  6603. case 1: {
  6604. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6605. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6606. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6607. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6608. input, &baseline_tick_)));
  6609. set_has_baseline_tick();
  6610. } else {
  6611. goto handle_uninterpreted;
  6612. }
  6613. if (input->ExpectTag(16)) goto parse_baseline_nr;
  6614. break;
  6615. }
  6616. // optional int32 baseline_nr = 2;
  6617. case 2: {
  6618. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6619. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6620. parse_baseline_nr:
  6621. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6622. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6623. input, &baseline_nr_)));
  6624. set_has_baseline_nr();
  6625. } else {
  6626. goto handle_uninterpreted;
  6627. }
  6628. if (input->ExpectAtEnd()) return true;
  6629. break;
  6630. }
  6631. default: {
  6632. handle_uninterpreted:
  6633. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6634. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6635. return true;
  6636. }
  6637. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6638. input, tag, mutable_unknown_fields()));
  6639. break;
  6640. }
  6641. }
  6642. }
  6643. return true;
  6644. #undef DO_
  6645. }
  6646. void CCLCMsg_BaselineAck::SerializeWithCachedSizes(
  6647. ::google::protobuf::io::CodedOutputStream* output) const {
  6648. // optional int32 baseline_tick = 1;
  6649. if (has_baseline_tick()) {
  6650. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->baseline_tick(), output);
  6651. }
  6652. // optional int32 baseline_nr = 2;
  6653. if (has_baseline_nr()) {
  6654. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->baseline_nr(), output);
  6655. }
  6656. if (!unknown_fields().empty()) {
  6657. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6658. unknown_fields(), output);
  6659. }
  6660. }
  6661. ::google::protobuf::uint8* CCLCMsg_BaselineAck::SerializeWithCachedSizesToArray(
  6662. ::google::protobuf::uint8* target) const {
  6663. // optional int32 baseline_tick = 1;
  6664. if (has_baseline_tick()) {
  6665. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->baseline_tick(), target);
  6666. }
  6667. // optional int32 baseline_nr = 2;
  6668. if (has_baseline_nr()) {
  6669. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->baseline_nr(), target);
  6670. }
  6671. if (!unknown_fields().empty()) {
  6672. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6673. unknown_fields(), target);
  6674. }
  6675. return target;
  6676. }
  6677. int CCLCMsg_BaselineAck::ByteSize() const {
  6678. int total_size = 0;
  6679. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6680. // optional int32 baseline_tick = 1;
  6681. if (has_baseline_tick()) {
  6682. total_size += 1 +
  6683. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6684. this->baseline_tick());
  6685. }
  6686. // optional int32 baseline_nr = 2;
  6687. if (has_baseline_nr()) {
  6688. total_size += 1 +
  6689. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6690. this->baseline_nr());
  6691. }
  6692. }
  6693. if (!unknown_fields().empty()) {
  6694. total_size +=
  6695. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6696. unknown_fields());
  6697. }
  6698. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6699. _cached_size_ = total_size;
  6700. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6701. return total_size;
  6702. }
  6703. void CCLCMsg_BaselineAck::MergeFrom(const ::google::protobuf::Message& from) {
  6704. GOOGLE_CHECK_NE(&from, this);
  6705. const CCLCMsg_BaselineAck* source =
  6706. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_BaselineAck*>(
  6707. &from);
  6708. if (source == NULL) {
  6709. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6710. } else {
  6711. MergeFrom(*source);
  6712. }
  6713. }
  6714. void CCLCMsg_BaselineAck::MergeFrom(const CCLCMsg_BaselineAck& from) {
  6715. GOOGLE_CHECK_NE(&from, this);
  6716. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6717. if (from.has_baseline_tick()) {
  6718. set_baseline_tick(from.baseline_tick());
  6719. }
  6720. if (from.has_baseline_nr()) {
  6721. set_baseline_nr(from.baseline_nr());
  6722. }
  6723. }
  6724. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6725. }
  6726. void CCLCMsg_BaselineAck::CopyFrom(const ::google::protobuf::Message& from) {
  6727. if (&from == this) return;
  6728. Clear();
  6729. MergeFrom(from);
  6730. }
  6731. void CCLCMsg_BaselineAck::CopyFrom(const CCLCMsg_BaselineAck& from) {
  6732. if (&from == this) return;
  6733. Clear();
  6734. MergeFrom(from);
  6735. }
  6736. bool CCLCMsg_BaselineAck::IsInitialized() const {
  6737. return true;
  6738. }
  6739. void CCLCMsg_BaselineAck::Swap(CCLCMsg_BaselineAck* other) {
  6740. if (other != this) {
  6741. std::swap(baseline_tick_, other->baseline_tick_);
  6742. std::swap(baseline_nr_, other->baseline_nr_);
  6743. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6744. _unknown_fields_.Swap(&other->_unknown_fields_);
  6745. std::swap(_cached_size_, other->_cached_size_);
  6746. }
  6747. }
  6748. ::google::protobuf::Metadata CCLCMsg_BaselineAck::GetMetadata() const {
  6749. protobuf_AssignDescriptorsOnce();
  6750. ::google::protobuf::Metadata metadata;
  6751. metadata.descriptor = CCLCMsg_BaselineAck_descriptor_;
  6752. metadata.reflection = CCLCMsg_BaselineAck_reflection_;
  6753. return metadata;
  6754. }
  6755. // ===================================================================
  6756. #ifndef _MSC_VER
  6757. const int CCLCMsg_ListenEvents::kEventMaskFieldNumber;
  6758. #endif // !_MSC_VER
  6759. CCLCMsg_ListenEvents::CCLCMsg_ListenEvents()
  6760. : ::google::protobuf::Message() {
  6761. SharedCtor();
  6762. }
  6763. void CCLCMsg_ListenEvents::InitAsDefaultInstance() {
  6764. }
  6765. CCLCMsg_ListenEvents::CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from)
  6766. : ::google::protobuf::Message() {
  6767. SharedCtor();
  6768. MergeFrom(from);
  6769. }
  6770. void CCLCMsg_ListenEvents::SharedCtor() {
  6771. _cached_size_ = 0;
  6772. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6773. }
  6774. CCLCMsg_ListenEvents::~CCLCMsg_ListenEvents() {
  6775. SharedDtor();
  6776. }
  6777. void CCLCMsg_ListenEvents::SharedDtor() {
  6778. if (this != default_instance_) {
  6779. }
  6780. }
  6781. void CCLCMsg_ListenEvents::SetCachedSize(int size) const {
  6782. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6783. _cached_size_ = size;
  6784. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6785. }
  6786. const ::google::protobuf::Descriptor* CCLCMsg_ListenEvents::descriptor() {
  6787. protobuf_AssignDescriptorsOnce();
  6788. return CCLCMsg_ListenEvents_descriptor_;
  6789. }
  6790. const CCLCMsg_ListenEvents& CCLCMsg_ListenEvents::default_instance() {
  6791. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  6792. return *default_instance_;
  6793. }
  6794. CCLCMsg_ListenEvents* CCLCMsg_ListenEvents::default_instance_ = NULL;
  6795. CCLCMsg_ListenEvents* CCLCMsg_ListenEvents::New() const {
  6796. return new CCLCMsg_ListenEvents;
  6797. }
  6798. void CCLCMsg_ListenEvents::Clear() {
  6799. event_mask_.Clear();
  6800. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6801. mutable_unknown_fields()->Clear();
  6802. }
  6803. bool CCLCMsg_ListenEvents::MergePartialFromCodedStream(
  6804. ::google::protobuf::io::CodedInputStream* input) {
  6805. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6806. ::google::protobuf::uint32 tag;
  6807. while ((tag = input->ReadTag()) != 0) {
  6808. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6809. // repeated fixed32 event_mask = 1;
  6810. case 1: {
  6811. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6812. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  6813. parse_event_mask:
  6814. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  6815. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  6816. 1, 13, input, this->mutable_event_mask())));
  6817. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  6818. == ::google::protobuf::internal::WireFormatLite::
  6819. WIRETYPE_LENGTH_DELIMITED) {
  6820. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  6821. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  6822. input, this->mutable_event_mask())));
  6823. } else {
  6824. goto handle_uninterpreted;
  6825. }
  6826. if (input->ExpectTag(13)) goto parse_event_mask;
  6827. if (input->ExpectAtEnd()) return true;
  6828. break;
  6829. }
  6830. default: {
  6831. handle_uninterpreted:
  6832. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6833. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6834. return true;
  6835. }
  6836. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6837. input, tag, mutable_unknown_fields()));
  6838. break;
  6839. }
  6840. }
  6841. }
  6842. return true;
  6843. #undef DO_
  6844. }
  6845. void CCLCMsg_ListenEvents::SerializeWithCachedSizes(
  6846. ::google::protobuf::io::CodedOutputStream* output) const {
  6847. // repeated fixed32 event_mask = 1;
  6848. for (int i = 0; i < this->event_mask_size(); i++) {
  6849. ::google::protobuf::internal::WireFormatLite::WriteFixed32(
  6850. 1, this->event_mask(i), output);
  6851. }
  6852. if (!unknown_fields().empty()) {
  6853. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6854. unknown_fields(), output);
  6855. }
  6856. }
  6857. ::google::protobuf::uint8* CCLCMsg_ListenEvents::SerializeWithCachedSizesToArray(
  6858. ::google::protobuf::uint8* target) const {
  6859. // repeated fixed32 event_mask = 1;
  6860. for (int i = 0; i < this->event_mask_size(); i++) {
  6861. target = ::google::protobuf::internal::WireFormatLite::
  6862. WriteFixed32ToArray(1, this->event_mask(i), target);
  6863. }
  6864. if (!unknown_fields().empty()) {
  6865. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6866. unknown_fields(), target);
  6867. }
  6868. return target;
  6869. }
  6870. int CCLCMsg_ListenEvents::ByteSize() const {
  6871. int total_size = 0;
  6872. // repeated fixed32 event_mask = 1;
  6873. {
  6874. int data_size = 0;
  6875. data_size = 4 * this->event_mask_size();
  6876. total_size += 1 * this->event_mask_size() + data_size;
  6877. }
  6878. if (!unknown_fields().empty()) {
  6879. total_size +=
  6880. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6881. unknown_fields());
  6882. }
  6883. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6884. _cached_size_ = total_size;
  6885. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6886. return total_size;
  6887. }
  6888. void CCLCMsg_ListenEvents::MergeFrom(const ::google::protobuf::Message& from) {
  6889. GOOGLE_CHECK_NE(&from, this);
  6890. const CCLCMsg_ListenEvents* source =
  6891. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_ListenEvents*>(
  6892. &from);
  6893. if (source == NULL) {
  6894. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6895. } else {
  6896. MergeFrom(*source);
  6897. }
  6898. }
  6899. void CCLCMsg_ListenEvents::MergeFrom(const CCLCMsg_ListenEvents& from) {
  6900. GOOGLE_CHECK_NE(&from, this);
  6901. event_mask_.MergeFrom(from.event_mask_);
  6902. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6903. }
  6904. void CCLCMsg_ListenEvents::CopyFrom(const ::google::protobuf::Message& from) {
  6905. if (&from == this) return;
  6906. Clear();
  6907. MergeFrom(from);
  6908. }
  6909. void CCLCMsg_ListenEvents::CopyFrom(const CCLCMsg_ListenEvents& from) {
  6910. if (&from == this) return;
  6911. Clear();
  6912. MergeFrom(from);
  6913. }
  6914. bool CCLCMsg_ListenEvents::IsInitialized() const {
  6915. return true;
  6916. }
  6917. void CCLCMsg_ListenEvents::Swap(CCLCMsg_ListenEvents* other) {
  6918. if (other != this) {
  6919. event_mask_.Swap(&other->event_mask_);
  6920. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6921. _unknown_fields_.Swap(&other->_unknown_fields_);
  6922. std::swap(_cached_size_, other->_cached_size_);
  6923. }
  6924. }
  6925. ::google::protobuf::Metadata CCLCMsg_ListenEvents::GetMetadata() const {
  6926. protobuf_AssignDescriptorsOnce();
  6927. ::google::protobuf::Metadata metadata;
  6928. metadata.descriptor = CCLCMsg_ListenEvents_descriptor_;
  6929. metadata.reflection = CCLCMsg_ListenEvents_reflection_;
  6930. return metadata;
  6931. }
  6932. // ===================================================================
  6933. #ifndef _MSC_VER
  6934. const int CCLCMsg_RespondCvarValue::kCookieFieldNumber;
  6935. const int CCLCMsg_RespondCvarValue::kStatusCodeFieldNumber;
  6936. const int CCLCMsg_RespondCvarValue::kNameFieldNumber;
  6937. const int CCLCMsg_RespondCvarValue::kValueFieldNumber;
  6938. #endif // !_MSC_VER
  6939. CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue()
  6940. : ::google::protobuf::Message() {
  6941. SharedCtor();
  6942. }
  6943. void CCLCMsg_RespondCvarValue::InitAsDefaultInstance() {
  6944. }
  6945. CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from)
  6946. : ::google::protobuf::Message() {
  6947. SharedCtor();
  6948. MergeFrom(from);
  6949. }
  6950. void CCLCMsg_RespondCvarValue::SharedCtor() {
  6951. _cached_size_ = 0;
  6952. cookie_ = 0;
  6953. status_code_ = 0;
  6954. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6955. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6956. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6957. }
  6958. CCLCMsg_RespondCvarValue::~CCLCMsg_RespondCvarValue() {
  6959. SharedDtor();
  6960. }
  6961. void CCLCMsg_RespondCvarValue::SharedDtor() {
  6962. if (name_ != &::google::protobuf::internal::kEmptyString) {
  6963. delete name_;
  6964. }
  6965. if (value_ != &::google::protobuf::internal::kEmptyString) {
  6966. delete value_;
  6967. }
  6968. if (this != default_instance_) {
  6969. }
  6970. }
  6971. void CCLCMsg_RespondCvarValue::SetCachedSize(int size) const {
  6972. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6973. _cached_size_ = size;
  6974. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6975. }
  6976. const ::google::protobuf::Descriptor* CCLCMsg_RespondCvarValue::descriptor() {
  6977. protobuf_AssignDescriptorsOnce();
  6978. return CCLCMsg_RespondCvarValue_descriptor_;
  6979. }
  6980. const CCLCMsg_RespondCvarValue& CCLCMsg_RespondCvarValue::default_instance() {
  6981. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  6982. return *default_instance_;
  6983. }
  6984. CCLCMsg_RespondCvarValue* CCLCMsg_RespondCvarValue::default_instance_ = NULL;
  6985. CCLCMsg_RespondCvarValue* CCLCMsg_RespondCvarValue::New() const {
  6986. return new CCLCMsg_RespondCvarValue;
  6987. }
  6988. void CCLCMsg_RespondCvarValue::Clear() {
  6989. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6990. cookie_ = 0;
  6991. status_code_ = 0;
  6992. if (has_name()) {
  6993. if (name_ != &::google::protobuf::internal::kEmptyString) {
  6994. name_->clear();
  6995. }
  6996. }
  6997. if (has_value()) {
  6998. if (value_ != &::google::protobuf::internal::kEmptyString) {
  6999. value_->clear();
  7000. }
  7001. }
  7002. }
  7003. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7004. mutable_unknown_fields()->Clear();
  7005. }
  7006. bool CCLCMsg_RespondCvarValue::MergePartialFromCodedStream(
  7007. ::google::protobuf::io::CodedInputStream* input) {
  7008. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7009. ::google::protobuf::uint32 tag;
  7010. while ((tag = input->ReadTag()) != 0) {
  7011. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7012. // optional int32 cookie = 1;
  7013. case 1: {
  7014. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7015. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7016. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7017. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7018. input, &cookie_)));
  7019. set_has_cookie();
  7020. } else {
  7021. goto handle_uninterpreted;
  7022. }
  7023. if (input->ExpectTag(16)) goto parse_status_code;
  7024. break;
  7025. }
  7026. // optional int32 status_code = 2;
  7027. case 2: {
  7028. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7029. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7030. parse_status_code:
  7031. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7032. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7033. input, &status_code_)));
  7034. set_has_status_code();
  7035. } else {
  7036. goto handle_uninterpreted;
  7037. }
  7038. if (input->ExpectTag(26)) goto parse_name;
  7039. break;
  7040. }
  7041. // optional string name = 3;
  7042. case 3: {
  7043. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7044. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7045. parse_name:
  7046. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7047. input, this->mutable_name()));
  7048. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7049. this->name().data(), this->name().length(),
  7050. ::google::protobuf::internal::WireFormat::PARSE);
  7051. } else {
  7052. goto handle_uninterpreted;
  7053. }
  7054. if (input->ExpectTag(34)) goto parse_value;
  7055. break;
  7056. }
  7057. // optional string value = 4;
  7058. case 4: {
  7059. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7060. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7061. parse_value:
  7062. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7063. input, this->mutable_value()));
  7064. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7065. this->value().data(), this->value().length(),
  7066. ::google::protobuf::internal::WireFormat::PARSE);
  7067. } else {
  7068. goto handle_uninterpreted;
  7069. }
  7070. if (input->ExpectAtEnd()) return true;
  7071. break;
  7072. }
  7073. default: {
  7074. handle_uninterpreted:
  7075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7077. return true;
  7078. }
  7079. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7080. input, tag, mutable_unknown_fields()));
  7081. break;
  7082. }
  7083. }
  7084. }
  7085. return true;
  7086. #undef DO_
  7087. }
  7088. void CCLCMsg_RespondCvarValue::SerializeWithCachedSizes(
  7089. ::google::protobuf::io::CodedOutputStream* output) const {
  7090. // optional int32 cookie = 1;
  7091. if (has_cookie()) {
  7092. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->cookie(), output);
  7093. }
  7094. // optional int32 status_code = 2;
  7095. if (has_status_code()) {
  7096. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->status_code(), output);
  7097. }
  7098. // optional string name = 3;
  7099. if (has_name()) {
  7100. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7101. this->name().data(), this->name().length(),
  7102. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7103. ::google::protobuf::internal::WireFormatLite::WriteString(
  7104. 3, this->name(), output);
  7105. }
  7106. // optional string value = 4;
  7107. if (has_value()) {
  7108. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7109. this->value().data(), this->value().length(),
  7110. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7111. ::google::protobuf::internal::WireFormatLite::WriteString(
  7112. 4, this->value(), output);
  7113. }
  7114. if (!unknown_fields().empty()) {
  7115. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7116. unknown_fields(), output);
  7117. }
  7118. }
  7119. ::google::protobuf::uint8* CCLCMsg_RespondCvarValue::SerializeWithCachedSizesToArray(
  7120. ::google::protobuf::uint8* target) const {
  7121. // optional int32 cookie = 1;
  7122. if (has_cookie()) {
  7123. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->cookie(), target);
  7124. }
  7125. // optional int32 status_code = 2;
  7126. if (has_status_code()) {
  7127. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->status_code(), target);
  7128. }
  7129. // optional string name = 3;
  7130. if (has_name()) {
  7131. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7132. this->name().data(), this->name().length(),
  7133. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7134. target =
  7135. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7136. 3, this->name(), target);
  7137. }
  7138. // optional string value = 4;
  7139. if (has_value()) {
  7140. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7141. this->value().data(), this->value().length(),
  7142. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7143. target =
  7144. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7145. 4, this->value(), target);
  7146. }
  7147. if (!unknown_fields().empty()) {
  7148. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7149. unknown_fields(), target);
  7150. }
  7151. return target;
  7152. }
  7153. int CCLCMsg_RespondCvarValue::ByteSize() const {
  7154. int total_size = 0;
  7155. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7156. // optional int32 cookie = 1;
  7157. if (has_cookie()) {
  7158. total_size += 1 +
  7159. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7160. this->cookie());
  7161. }
  7162. // optional int32 status_code = 2;
  7163. if (has_status_code()) {
  7164. total_size += 1 +
  7165. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7166. this->status_code());
  7167. }
  7168. // optional string name = 3;
  7169. if (has_name()) {
  7170. total_size += 1 +
  7171. ::google::protobuf::internal::WireFormatLite::StringSize(
  7172. this->name());
  7173. }
  7174. // optional string value = 4;
  7175. if (has_value()) {
  7176. total_size += 1 +
  7177. ::google::protobuf::internal::WireFormatLite::StringSize(
  7178. this->value());
  7179. }
  7180. }
  7181. if (!unknown_fields().empty()) {
  7182. total_size +=
  7183. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7184. unknown_fields());
  7185. }
  7186. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7187. _cached_size_ = total_size;
  7188. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7189. return total_size;
  7190. }
  7191. void CCLCMsg_RespondCvarValue::MergeFrom(const ::google::protobuf::Message& from) {
  7192. GOOGLE_CHECK_NE(&from, this);
  7193. const CCLCMsg_RespondCvarValue* source =
  7194. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_RespondCvarValue*>(
  7195. &from);
  7196. if (source == NULL) {
  7197. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7198. } else {
  7199. MergeFrom(*source);
  7200. }
  7201. }
  7202. void CCLCMsg_RespondCvarValue::MergeFrom(const CCLCMsg_RespondCvarValue& from) {
  7203. GOOGLE_CHECK_NE(&from, this);
  7204. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7205. if (from.has_cookie()) {
  7206. set_cookie(from.cookie());
  7207. }
  7208. if (from.has_status_code()) {
  7209. set_status_code(from.status_code());
  7210. }
  7211. if (from.has_name()) {
  7212. set_name(from.name());
  7213. }
  7214. if (from.has_value()) {
  7215. set_value(from.value());
  7216. }
  7217. }
  7218. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7219. }
  7220. void CCLCMsg_RespondCvarValue::CopyFrom(const ::google::protobuf::Message& from) {
  7221. if (&from == this) return;
  7222. Clear();
  7223. MergeFrom(from);
  7224. }
  7225. void CCLCMsg_RespondCvarValue::CopyFrom(const CCLCMsg_RespondCvarValue& from) {
  7226. if (&from == this) return;
  7227. Clear();
  7228. MergeFrom(from);
  7229. }
  7230. bool CCLCMsg_RespondCvarValue::IsInitialized() const {
  7231. return true;
  7232. }
  7233. void CCLCMsg_RespondCvarValue::Swap(CCLCMsg_RespondCvarValue* other) {
  7234. if (other != this) {
  7235. std::swap(cookie_, other->cookie_);
  7236. std::swap(status_code_, other->status_code_);
  7237. std::swap(name_, other->name_);
  7238. std::swap(value_, other->value_);
  7239. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7240. _unknown_fields_.Swap(&other->_unknown_fields_);
  7241. std::swap(_cached_size_, other->_cached_size_);
  7242. }
  7243. }
  7244. ::google::protobuf::Metadata CCLCMsg_RespondCvarValue::GetMetadata() const {
  7245. protobuf_AssignDescriptorsOnce();
  7246. ::google::protobuf::Metadata metadata;
  7247. metadata.descriptor = CCLCMsg_RespondCvarValue_descriptor_;
  7248. metadata.reflection = CCLCMsg_RespondCvarValue_reflection_;
  7249. return metadata;
  7250. }
  7251. // ===================================================================
  7252. #ifndef _MSC_VER
  7253. const int CCLCMsg_FileCRCCheck::kCodePathFieldNumber;
  7254. const int CCLCMsg_FileCRCCheck::kPathFieldNumber;
  7255. const int CCLCMsg_FileCRCCheck::kCodeFilenameFieldNumber;
  7256. const int CCLCMsg_FileCRCCheck::kFilenameFieldNumber;
  7257. const int CCLCMsg_FileCRCCheck::kFileFractionFieldNumber;
  7258. const int CCLCMsg_FileCRCCheck::kMd5FieldNumber;
  7259. const int CCLCMsg_FileCRCCheck::kCrcFieldNumber;
  7260. const int CCLCMsg_FileCRCCheck::kFileHashTypeFieldNumber;
  7261. const int CCLCMsg_FileCRCCheck::kFileLenFieldNumber;
  7262. const int CCLCMsg_FileCRCCheck::kPackFileIdFieldNumber;
  7263. const int CCLCMsg_FileCRCCheck::kPackFileNumberFieldNumber;
  7264. #endif // !_MSC_VER
  7265. CCLCMsg_FileCRCCheck::CCLCMsg_FileCRCCheck()
  7266. : ::google::protobuf::Message() {
  7267. SharedCtor();
  7268. }
  7269. void CCLCMsg_FileCRCCheck::InitAsDefaultInstance() {
  7270. }
  7271. CCLCMsg_FileCRCCheck::CCLCMsg_FileCRCCheck(const CCLCMsg_FileCRCCheck& from)
  7272. : ::google::protobuf::Message() {
  7273. SharedCtor();
  7274. MergeFrom(from);
  7275. }
  7276. void CCLCMsg_FileCRCCheck::SharedCtor() {
  7277. _cached_size_ = 0;
  7278. code_path_ = 0;
  7279. path_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7280. code_filename_ = 0;
  7281. filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7282. file_fraction_ = 0;
  7283. md5_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7284. crc_ = 0u;
  7285. file_hash_type_ = 0;
  7286. file_len_ = 0;
  7287. pack_file_id_ = 0;
  7288. pack_file_number_ = 0;
  7289. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7290. }
  7291. CCLCMsg_FileCRCCheck::~CCLCMsg_FileCRCCheck() {
  7292. SharedDtor();
  7293. }
  7294. void CCLCMsg_FileCRCCheck::SharedDtor() {
  7295. if (path_ != &::google::protobuf::internal::kEmptyString) {
  7296. delete path_;
  7297. }
  7298. if (filename_ != &::google::protobuf::internal::kEmptyString) {
  7299. delete filename_;
  7300. }
  7301. if (md5_ != &::google::protobuf::internal::kEmptyString) {
  7302. delete md5_;
  7303. }
  7304. if (this != default_instance_) {
  7305. }
  7306. }
  7307. void CCLCMsg_FileCRCCheck::SetCachedSize(int size) const {
  7308. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7309. _cached_size_ = size;
  7310. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7311. }
  7312. const ::google::protobuf::Descriptor* CCLCMsg_FileCRCCheck::descriptor() {
  7313. protobuf_AssignDescriptorsOnce();
  7314. return CCLCMsg_FileCRCCheck_descriptor_;
  7315. }
  7316. const CCLCMsg_FileCRCCheck& CCLCMsg_FileCRCCheck::default_instance() {
  7317. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  7318. return *default_instance_;
  7319. }
  7320. CCLCMsg_FileCRCCheck* CCLCMsg_FileCRCCheck::default_instance_ = NULL;
  7321. CCLCMsg_FileCRCCheck* CCLCMsg_FileCRCCheck::New() const {
  7322. return new CCLCMsg_FileCRCCheck;
  7323. }
  7324. void CCLCMsg_FileCRCCheck::Clear() {
  7325. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7326. code_path_ = 0;
  7327. if (has_path()) {
  7328. if (path_ != &::google::protobuf::internal::kEmptyString) {
  7329. path_->clear();
  7330. }
  7331. }
  7332. code_filename_ = 0;
  7333. if (has_filename()) {
  7334. if (filename_ != &::google::protobuf::internal::kEmptyString) {
  7335. filename_->clear();
  7336. }
  7337. }
  7338. file_fraction_ = 0;
  7339. if (has_md5()) {
  7340. if (md5_ != &::google::protobuf::internal::kEmptyString) {
  7341. md5_->clear();
  7342. }
  7343. }
  7344. crc_ = 0u;
  7345. file_hash_type_ = 0;
  7346. }
  7347. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7348. file_len_ = 0;
  7349. pack_file_id_ = 0;
  7350. pack_file_number_ = 0;
  7351. }
  7352. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7353. mutable_unknown_fields()->Clear();
  7354. }
  7355. bool CCLCMsg_FileCRCCheck::MergePartialFromCodedStream(
  7356. ::google::protobuf::io::CodedInputStream* input) {
  7357. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7358. ::google::protobuf::uint32 tag;
  7359. while ((tag = input->ReadTag()) != 0) {
  7360. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7361. // optional int32 code_path = 1;
  7362. case 1: {
  7363. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7364. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7366. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7367. input, &code_path_)));
  7368. set_has_code_path();
  7369. } else {
  7370. goto handle_uninterpreted;
  7371. }
  7372. if (input->ExpectTag(18)) goto parse_path;
  7373. break;
  7374. }
  7375. // optional string path = 2;
  7376. case 2: {
  7377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7379. parse_path:
  7380. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7381. input, this->mutable_path()));
  7382. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7383. this->path().data(), this->path().length(),
  7384. ::google::protobuf::internal::WireFormat::PARSE);
  7385. } else {
  7386. goto handle_uninterpreted;
  7387. }
  7388. if (input->ExpectTag(24)) goto parse_code_filename;
  7389. break;
  7390. }
  7391. // optional int32 code_filename = 3;
  7392. case 3: {
  7393. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7394. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7395. parse_code_filename:
  7396. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7397. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7398. input, &code_filename_)));
  7399. set_has_code_filename();
  7400. } else {
  7401. goto handle_uninterpreted;
  7402. }
  7403. if (input->ExpectTag(34)) goto parse_filename;
  7404. break;
  7405. }
  7406. // optional string filename = 4;
  7407. case 4: {
  7408. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7409. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7410. parse_filename:
  7411. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7412. input, this->mutable_filename()));
  7413. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7414. this->filename().data(), this->filename().length(),
  7415. ::google::protobuf::internal::WireFormat::PARSE);
  7416. } else {
  7417. goto handle_uninterpreted;
  7418. }
  7419. if (input->ExpectTag(40)) goto parse_file_fraction;
  7420. break;
  7421. }
  7422. // optional int32 file_fraction = 5;
  7423. case 5: {
  7424. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7425. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7426. parse_file_fraction:
  7427. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7428. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7429. input, &file_fraction_)));
  7430. set_has_file_fraction();
  7431. } else {
  7432. goto handle_uninterpreted;
  7433. }
  7434. if (input->ExpectTag(50)) goto parse_md5;
  7435. break;
  7436. }
  7437. // optional bytes md5 = 6;
  7438. case 6: {
  7439. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7440. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7441. parse_md5:
  7442. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  7443. input, this->mutable_md5()));
  7444. } else {
  7445. goto handle_uninterpreted;
  7446. }
  7447. if (input->ExpectTag(56)) goto parse_crc;
  7448. break;
  7449. }
  7450. // optional uint32 crc = 7;
  7451. case 7: {
  7452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7454. parse_crc:
  7455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7456. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  7457. input, &crc_)));
  7458. set_has_crc();
  7459. } else {
  7460. goto handle_uninterpreted;
  7461. }
  7462. if (input->ExpectTag(64)) goto parse_file_hash_type;
  7463. break;
  7464. }
  7465. // optional int32 file_hash_type = 8;
  7466. case 8: {
  7467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7469. parse_file_hash_type:
  7470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7471. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7472. input, &file_hash_type_)));
  7473. set_has_file_hash_type();
  7474. } else {
  7475. goto handle_uninterpreted;
  7476. }
  7477. if (input->ExpectTag(72)) goto parse_file_len;
  7478. break;
  7479. }
  7480. // optional int32 file_len = 9;
  7481. case 9: {
  7482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7484. parse_file_len:
  7485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7486. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7487. input, &file_len_)));
  7488. set_has_file_len();
  7489. } else {
  7490. goto handle_uninterpreted;
  7491. }
  7492. if (input->ExpectTag(80)) goto parse_pack_file_id;
  7493. break;
  7494. }
  7495. // optional int32 pack_file_id = 10;
  7496. case 10: {
  7497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7499. parse_pack_file_id:
  7500. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7501. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7502. input, &pack_file_id_)));
  7503. set_has_pack_file_id();
  7504. } else {
  7505. goto handle_uninterpreted;
  7506. }
  7507. if (input->ExpectTag(88)) goto parse_pack_file_number;
  7508. break;
  7509. }
  7510. // optional int32 pack_file_number = 11;
  7511. case 11: {
  7512. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7513. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7514. parse_pack_file_number:
  7515. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7516. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7517. input, &pack_file_number_)));
  7518. set_has_pack_file_number();
  7519. } else {
  7520. goto handle_uninterpreted;
  7521. }
  7522. if (input->ExpectAtEnd()) return true;
  7523. break;
  7524. }
  7525. default: {
  7526. handle_uninterpreted:
  7527. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7528. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7529. return true;
  7530. }
  7531. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7532. input, tag, mutable_unknown_fields()));
  7533. break;
  7534. }
  7535. }
  7536. }
  7537. return true;
  7538. #undef DO_
  7539. }
  7540. void CCLCMsg_FileCRCCheck::SerializeWithCachedSizes(
  7541. ::google::protobuf::io::CodedOutputStream* output) const {
  7542. // optional int32 code_path = 1;
  7543. if (has_code_path()) {
  7544. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->code_path(), output);
  7545. }
  7546. // optional string path = 2;
  7547. if (has_path()) {
  7548. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7549. this->path().data(), this->path().length(),
  7550. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7551. ::google::protobuf::internal::WireFormatLite::WriteString(
  7552. 2, this->path(), output);
  7553. }
  7554. // optional int32 code_filename = 3;
  7555. if (has_code_filename()) {
  7556. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->code_filename(), output);
  7557. }
  7558. // optional string filename = 4;
  7559. if (has_filename()) {
  7560. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7561. this->filename().data(), this->filename().length(),
  7562. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7563. ::google::protobuf::internal::WireFormatLite::WriteString(
  7564. 4, this->filename(), output);
  7565. }
  7566. // optional int32 file_fraction = 5;
  7567. if (has_file_fraction()) {
  7568. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->file_fraction(), output);
  7569. }
  7570. // optional bytes md5 = 6;
  7571. if (has_md5()) {
  7572. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  7573. 6, this->md5(), output);
  7574. }
  7575. // optional uint32 crc = 7;
  7576. if (has_crc()) {
  7577. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->crc(), output);
  7578. }
  7579. // optional int32 file_hash_type = 8;
  7580. if (has_file_hash_type()) {
  7581. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->file_hash_type(), output);
  7582. }
  7583. // optional int32 file_len = 9;
  7584. if (has_file_len()) {
  7585. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->file_len(), output);
  7586. }
  7587. // optional int32 pack_file_id = 10;
  7588. if (has_pack_file_id()) {
  7589. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->pack_file_id(), output);
  7590. }
  7591. // optional int32 pack_file_number = 11;
  7592. if (has_pack_file_number()) {
  7593. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->pack_file_number(), output);
  7594. }
  7595. if (!unknown_fields().empty()) {
  7596. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7597. unknown_fields(), output);
  7598. }
  7599. }
  7600. ::google::protobuf::uint8* CCLCMsg_FileCRCCheck::SerializeWithCachedSizesToArray(
  7601. ::google::protobuf::uint8* target) const {
  7602. // optional int32 code_path = 1;
  7603. if (has_code_path()) {
  7604. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->code_path(), target);
  7605. }
  7606. // optional string path = 2;
  7607. if (has_path()) {
  7608. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7609. this->path().data(), this->path().length(),
  7610. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7611. target =
  7612. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7613. 2, this->path(), target);
  7614. }
  7615. // optional int32 code_filename = 3;
  7616. if (has_code_filename()) {
  7617. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->code_filename(), target);
  7618. }
  7619. // optional string filename = 4;
  7620. if (has_filename()) {
  7621. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7622. this->filename().data(), this->filename().length(),
  7623. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7624. target =
  7625. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7626. 4, this->filename(), target);
  7627. }
  7628. // optional int32 file_fraction = 5;
  7629. if (has_file_fraction()) {
  7630. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->file_fraction(), target);
  7631. }
  7632. // optional bytes md5 = 6;
  7633. if (has_md5()) {
  7634. target =
  7635. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  7636. 6, this->md5(), target);
  7637. }
  7638. // optional uint32 crc = 7;
  7639. if (has_crc()) {
  7640. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->crc(), target);
  7641. }
  7642. // optional int32 file_hash_type = 8;
  7643. if (has_file_hash_type()) {
  7644. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->file_hash_type(), target);
  7645. }
  7646. // optional int32 file_len = 9;
  7647. if (has_file_len()) {
  7648. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->file_len(), target);
  7649. }
  7650. // optional int32 pack_file_id = 10;
  7651. if (has_pack_file_id()) {
  7652. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->pack_file_id(), target);
  7653. }
  7654. // optional int32 pack_file_number = 11;
  7655. if (has_pack_file_number()) {
  7656. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->pack_file_number(), target);
  7657. }
  7658. if (!unknown_fields().empty()) {
  7659. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7660. unknown_fields(), target);
  7661. }
  7662. return target;
  7663. }
  7664. int CCLCMsg_FileCRCCheck::ByteSize() const {
  7665. int total_size = 0;
  7666. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7667. // optional int32 code_path = 1;
  7668. if (has_code_path()) {
  7669. total_size += 1 +
  7670. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7671. this->code_path());
  7672. }
  7673. // optional string path = 2;
  7674. if (has_path()) {
  7675. total_size += 1 +
  7676. ::google::protobuf::internal::WireFormatLite::StringSize(
  7677. this->path());
  7678. }
  7679. // optional int32 code_filename = 3;
  7680. if (has_code_filename()) {
  7681. total_size += 1 +
  7682. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7683. this->code_filename());
  7684. }
  7685. // optional string filename = 4;
  7686. if (has_filename()) {
  7687. total_size += 1 +
  7688. ::google::protobuf::internal::WireFormatLite::StringSize(
  7689. this->filename());
  7690. }
  7691. // optional int32 file_fraction = 5;
  7692. if (has_file_fraction()) {
  7693. total_size += 1 +
  7694. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7695. this->file_fraction());
  7696. }
  7697. // optional bytes md5 = 6;
  7698. if (has_md5()) {
  7699. total_size += 1 +
  7700. ::google::protobuf::internal::WireFormatLite::BytesSize(
  7701. this->md5());
  7702. }
  7703. // optional uint32 crc = 7;
  7704. if (has_crc()) {
  7705. total_size += 1 +
  7706. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7707. this->crc());
  7708. }
  7709. // optional int32 file_hash_type = 8;
  7710. if (has_file_hash_type()) {
  7711. total_size += 1 +
  7712. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7713. this->file_hash_type());
  7714. }
  7715. }
  7716. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7717. // optional int32 file_len = 9;
  7718. if (has_file_len()) {
  7719. total_size += 1 +
  7720. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7721. this->file_len());
  7722. }
  7723. // optional int32 pack_file_id = 10;
  7724. if (has_pack_file_id()) {
  7725. total_size += 1 +
  7726. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7727. this->pack_file_id());
  7728. }
  7729. // optional int32 pack_file_number = 11;
  7730. if (has_pack_file_number()) {
  7731. total_size += 1 +
  7732. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7733. this->pack_file_number());
  7734. }
  7735. }
  7736. if (!unknown_fields().empty()) {
  7737. total_size +=
  7738. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7739. unknown_fields());
  7740. }
  7741. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7742. _cached_size_ = total_size;
  7743. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7744. return total_size;
  7745. }
  7746. void CCLCMsg_FileCRCCheck::MergeFrom(const ::google::protobuf::Message& from) {
  7747. GOOGLE_CHECK_NE(&from, this);
  7748. const CCLCMsg_FileCRCCheck* source =
  7749. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_FileCRCCheck*>(
  7750. &from);
  7751. if (source == NULL) {
  7752. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7753. } else {
  7754. MergeFrom(*source);
  7755. }
  7756. }
  7757. void CCLCMsg_FileCRCCheck::MergeFrom(const CCLCMsg_FileCRCCheck& from) {
  7758. GOOGLE_CHECK_NE(&from, this);
  7759. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7760. if (from.has_code_path()) {
  7761. set_code_path(from.code_path());
  7762. }
  7763. if (from.has_path()) {
  7764. set_path(from.path());
  7765. }
  7766. if (from.has_code_filename()) {
  7767. set_code_filename(from.code_filename());
  7768. }
  7769. if (from.has_filename()) {
  7770. set_filename(from.filename());
  7771. }
  7772. if (from.has_file_fraction()) {
  7773. set_file_fraction(from.file_fraction());
  7774. }
  7775. if (from.has_md5()) {
  7776. set_md5(from.md5());
  7777. }
  7778. if (from.has_crc()) {
  7779. set_crc(from.crc());
  7780. }
  7781. if (from.has_file_hash_type()) {
  7782. set_file_hash_type(from.file_hash_type());
  7783. }
  7784. }
  7785. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7786. if (from.has_file_len()) {
  7787. set_file_len(from.file_len());
  7788. }
  7789. if (from.has_pack_file_id()) {
  7790. set_pack_file_id(from.pack_file_id());
  7791. }
  7792. if (from.has_pack_file_number()) {
  7793. set_pack_file_number(from.pack_file_number());
  7794. }
  7795. }
  7796. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7797. }
  7798. void CCLCMsg_FileCRCCheck::CopyFrom(const ::google::protobuf::Message& from) {
  7799. if (&from == this) return;
  7800. Clear();
  7801. MergeFrom(from);
  7802. }
  7803. void CCLCMsg_FileCRCCheck::CopyFrom(const CCLCMsg_FileCRCCheck& from) {
  7804. if (&from == this) return;
  7805. Clear();
  7806. MergeFrom(from);
  7807. }
  7808. bool CCLCMsg_FileCRCCheck::IsInitialized() const {
  7809. return true;
  7810. }
  7811. void CCLCMsg_FileCRCCheck::Swap(CCLCMsg_FileCRCCheck* other) {
  7812. if (other != this) {
  7813. std::swap(code_path_, other->code_path_);
  7814. std::swap(path_, other->path_);
  7815. std::swap(code_filename_, other->code_filename_);
  7816. std::swap(filename_, other->filename_);
  7817. std::swap(file_fraction_, other->file_fraction_);
  7818. std::swap(md5_, other->md5_);
  7819. std::swap(crc_, other->crc_);
  7820. std::swap(file_hash_type_, other->file_hash_type_);
  7821. std::swap(file_len_, other->file_len_);
  7822. std::swap(pack_file_id_, other->pack_file_id_);
  7823. std::swap(pack_file_number_, other->pack_file_number_);
  7824. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7825. _unknown_fields_.Swap(&other->_unknown_fields_);
  7826. std::swap(_cached_size_, other->_cached_size_);
  7827. }
  7828. }
  7829. ::google::protobuf::Metadata CCLCMsg_FileCRCCheck::GetMetadata() const {
  7830. protobuf_AssignDescriptorsOnce();
  7831. ::google::protobuf::Metadata metadata;
  7832. metadata.descriptor = CCLCMsg_FileCRCCheck_descriptor_;
  7833. metadata.reflection = CCLCMsg_FileCRCCheck_reflection_;
  7834. return metadata;
  7835. }
  7836. // ===================================================================
  7837. #ifndef _MSC_VER
  7838. const int CCLCMsg_LoadingProgress::kProgressFieldNumber;
  7839. #endif // !_MSC_VER
  7840. CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress()
  7841. : ::google::protobuf::Message() {
  7842. SharedCtor();
  7843. }
  7844. void CCLCMsg_LoadingProgress::InitAsDefaultInstance() {
  7845. }
  7846. CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from)
  7847. : ::google::protobuf::Message() {
  7848. SharedCtor();
  7849. MergeFrom(from);
  7850. }
  7851. void CCLCMsg_LoadingProgress::SharedCtor() {
  7852. _cached_size_ = 0;
  7853. progress_ = 0;
  7854. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7855. }
  7856. CCLCMsg_LoadingProgress::~CCLCMsg_LoadingProgress() {
  7857. SharedDtor();
  7858. }
  7859. void CCLCMsg_LoadingProgress::SharedDtor() {
  7860. if (this != default_instance_) {
  7861. }
  7862. }
  7863. void CCLCMsg_LoadingProgress::SetCachedSize(int size) const {
  7864. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7865. _cached_size_ = size;
  7866. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7867. }
  7868. const ::google::protobuf::Descriptor* CCLCMsg_LoadingProgress::descriptor() {
  7869. protobuf_AssignDescriptorsOnce();
  7870. return CCLCMsg_LoadingProgress_descriptor_;
  7871. }
  7872. const CCLCMsg_LoadingProgress& CCLCMsg_LoadingProgress::default_instance() {
  7873. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  7874. return *default_instance_;
  7875. }
  7876. CCLCMsg_LoadingProgress* CCLCMsg_LoadingProgress::default_instance_ = NULL;
  7877. CCLCMsg_LoadingProgress* CCLCMsg_LoadingProgress::New() const {
  7878. return new CCLCMsg_LoadingProgress;
  7879. }
  7880. void CCLCMsg_LoadingProgress::Clear() {
  7881. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7882. progress_ = 0;
  7883. }
  7884. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7885. mutable_unknown_fields()->Clear();
  7886. }
  7887. bool CCLCMsg_LoadingProgress::MergePartialFromCodedStream(
  7888. ::google::protobuf::io::CodedInputStream* input) {
  7889. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7890. ::google::protobuf::uint32 tag;
  7891. while ((tag = input->ReadTag()) != 0) {
  7892. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7893. // optional int32 progress = 1;
  7894. case 1: {
  7895. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7896. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7897. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7898. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7899. input, &progress_)));
  7900. set_has_progress();
  7901. } else {
  7902. goto handle_uninterpreted;
  7903. }
  7904. if (input->ExpectAtEnd()) return true;
  7905. break;
  7906. }
  7907. default: {
  7908. handle_uninterpreted:
  7909. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7910. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7911. return true;
  7912. }
  7913. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7914. input, tag, mutable_unknown_fields()));
  7915. break;
  7916. }
  7917. }
  7918. }
  7919. return true;
  7920. #undef DO_
  7921. }
  7922. void CCLCMsg_LoadingProgress::SerializeWithCachedSizes(
  7923. ::google::protobuf::io::CodedOutputStream* output) const {
  7924. // optional int32 progress = 1;
  7925. if (has_progress()) {
  7926. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->progress(), output);
  7927. }
  7928. if (!unknown_fields().empty()) {
  7929. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7930. unknown_fields(), output);
  7931. }
  7932. }
  7933. ::google::protobuf::uint8* CCLCMsg_LoadingProgress::SerializeWithCachedSizesToArray(
  7934. ::google::protobuf::uint8* target) const {
  7935. // optional int32 progress = 1;
  7936. if (has_progress()) {
  7937. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->progress(), target);
  7938. }
  7939. if (!unknown_fields().empty()) {
  7940. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7941. unknown_fields(), target);
  7942. }
  7943. return target;
  7944. }
  7945. int CCLCMsg_LoadingProgress::ByteSize() const {
  7946. int total_size = 0;
  7947. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7948. // optional int32 progress = 1;
  7949. if (has_progress()) {
  7950. total_size += 1 +
  7951. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7952. this->progress());
  7953. }
  7954. }
  7955. if (!unknown_fields().empty()) {
  7956. total_size +=
  7957. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7958. unknown_fields());
  7959. }
  7960. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7961. _cached_size_ = total_size;
  7962. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7963. return total_size;
  7964. }
  7965. void CCLCMsg_LoadingProgress::MergeFrom(const ::google::protobuf::Message& from) {
  7966. GOOGLE_CHECK_NE(&from, this);
  7967. const CCLCMsg_LoadingProgress* source =
  7968. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_LoadingProgress*>(
  7969. &from);
  7970. if (source == NULL) {
  7971. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7972. } else {
  7973. MergeFrom(*source);
  7974. }
  7975. }
  7976. void CCLCMsg_LoadingProgress::MergeFrom(const CCLCMsg_LoadingProgress& from) {
  7977. GOOGLE_CHECK_NE(&from, this);
  7978. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7979. if (from.has_progress()) {
  7980. set_progress(from.progress());
  7981. }
  7982. }
  7983. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7984. }
  7985. void CCLCMsg_LoadingProgress::CopyFrom(const ::google::protobuf::Message& from) {
  7986. if (&from == this) return;
  7987. Clear();
  7988. MergeFrom(from);
  7989. }
  7990. void CCLCMsg_LoadingProgress::CopyFrom(const CCLCMsg_LoadingProgress& from) {
  7991. if (&from == this) return;
  7992. Clear();
  7993. MergeFrom(from);
  7994. }
  7995. bool CCLCMsg_LoadingProgress::IsInitialized() const {
  7996. return true;
  7997. }
  7998. void CCLCMsg_LoadingProgress::Swap(CCLCMsg_LoadingProgress* other) {
  7999. if (other != this) {
  8000. std::swap(progress_, other->progress_);
  8001. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8002. _unknown_fields_.Swap(&other->_unknown_fields_);
  8003. std::swap(_cached_size_, other->_cached_size_);
  8004. }
  8005. }
  8006. ::google::protobuf::Metadata CCLCMsg_LoadingProgress::GetMetadata() const {
  8007. protobuf_AssignDescriptorsOnce();
  8008. ::google::protobuf::Metadata metadata;
  8009. metadata.descriptor = CCLCMsg_LoadingProgress_descriptor_;
  8010. metadata.reflection = CCLCMsg_LoadingProgress_reflection_;
  8011. return metadata;
  8012. }
  8013. // ===================================================================
  8014. #ifndef _MSC_VER
  8015. const int CCLCMsg_SplitPlayerConnect::kConvarsFieldNumber;
  8016. #endif // !_MSC_VER
  8017. CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect()
  8018. : ::google::protobuf::Message() {
  8019. SharedCtor();
  8020. }
  8021. void CCLCMsg_SplitPlayerConnect::InitAsDefaultInstance() {
  8022. convars_ = const_cast< ::CMsg_CVars*>(&::CMsg_CVars::default_instance());
  8023. }
  8024. CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from)
  8025. : ::google::protobuf::Message() {
  8026. SharedCtor();
  8027. MergeFrom(from);
  8028. }
  8029. void CCLCMsg_SplitPlayerConnect::SharedCtor() {
  8030. _cached_size_ = 0;
  8031. convars_ = NULL;
  8032. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8033. }
  8034. CCLCMsg_SplitPlayerConnect::~CCLCMsg_SplitPlayerConnect() {
  8035. SharedDtor();
  8036. }
  8037. void CCLCMsg_SplitPlayerConnect::SharedDtor() {
  8038. if (this != default_instance_) {
  8039. delete convars_;
  8040. }
  8041. }
  8042. void CCLCMsg_SplitPlayerConnect::SetCachedSize(int size) const {
  8043. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8044. _cached_size_ = size;
  8045. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8046. }
  8047. const ::google::protobuf::Descriptor* CCLCMsg_SplitPlayerConnect::descriptor() {
  8048. protobuf_AssignDescriptorsOnce();
  8049. return CCLCMsg_SplitPlayerConnect_descriptor_;
  8050. }
  8051. const CCLCMsg_SplitPlayerConnect& CCLCMsg_SplitPlayerConnect::default_instance() {
  8052. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  8053. return *default_instance_;
  8054. }
  8055. CCLCMsg_SplitPlayerConnect* CCLCMsg_SplitPlayerConnect::default_instance_ = NULL;
  8056. CCLCMsg_SplitPlayerConnect* CCLCMsg_SplitPlayerConnect::New() const {
  8057. return new CCLCMsg_SplitPlayerConnect;
  8058. }
  8059. void CCLCMsg_SplitPlayerConnect::Clear() {
  8060. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8061. if (has_convars()) {
  8062. if (convars_ != NULL) convars_->::CMsg_CVars::Clear();
  8063. }
  8064. }
  8065. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8066. mutable_unknown_fields()->Clear();
  8067. }
  8068. bool CCLCMsg_SplitPlayerConnect::MergePartialFromCodedStream(
  8069. ::google::protobuf::io::CodedInputStream* input) {
  8070. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8071. ::google::protobuf::uint32 tag;
  8072. while ((tag = input->ReadTag()) != 0) {
  8073. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8074. // optional .CMsg_CVars convars = 1;
  8075. case 1: {
  8076. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8077. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8078. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8079. input, mutable_convars()));
  8080. } else {
  8081. goto handle_uninterpreted;
  8082. }
  8083. if (input->ExpectAtEnd()) return true;
  8084. break;
  8085. }
  8086. default: {
  8087. handle_uninterpreted:
  8088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8090. return true;
  8091. }
  8092. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8093. input, tag, mutable_unknown_fields()));
  8094. break;
  8095. }
  8096. }
  8097. }
  8098. return true;
  8099. #undef DO_
  8100. }
  8101. void CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizes(
  8102. ::google::protobuf::io::CodedOutputStream* output) const {
  8103. // optional .CMsg_CVars convars = 1;
  8104. if (has_convars()) {
  8105. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8106. 1, this->convars(), output);
  8107. }
  8108. if (!unknown_fields().empty()) {
  8109. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8110. unknown_fields(), output);
  8111. }
  8112. }
  8113. ::google::protobuf::uint8* CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizesToArray(
  8114. ::google::protobuf::uint8* target) const {
  8115. // optional .CMsg_CVars convars = 1;
  8116. if (has_convars()) {
  8117. target = ::google::protobuf::internal::WireFormatLite::
  8118. WriteMessageNoVirtualToArray(
  8119. 1, this->convars(), target);
  8120. }
  8121. if (!unknown_fields().empty()) {
  8122. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8123. unknown_fields(), target);
  8124. }
  8125. return target;
  8126. }
  8127. int CCLCMsg_SplitPlayerConnect::ByteSize() const {
  8128. int total_size = 0;
  8129. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8130. // optional .CMsg_CVars convars = 1;
  8131. if (has_convars()) {
  8132. total_size += 1 +
  8133. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8134. this->convars());
  8135. }
  8136. }
  8137. if (!unknown_fields().empty()) {
  8138. total_size +=
  8139. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8140. unknown_fields());
  8141. }
  8142. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8143. _cached_size_ = total_size;
  8144. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8145. return total_size;
  8146. }
  8147. void CCLCMsg_SplitPlayerConnect::MergeFrom(const ::google::protobuf::Message& from) {
  8148. GOOGLE_CHECK_NE(&from, this);
  8149. const CCLCMsg_SplitPlayerConnect* source =
  8150. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_SplitPlayerConnect*>(
  8151. &from);
  8152. if (source == NULL) {
  8153. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8154. } else {
  8155. MergeFrom(*source);
  8156. }
  8157. }
  8158. void CCLCMsg_SplitPlayerConnect::MergeFrom(const CCLCMsg_SplitPlayerConnect& from) {
  8159. GOOGLE_CHECK_NE(&from, this);
  8160. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8161. if (from.has_convars()) {
  8162. mutable_convars()->::CMsg_CVars::MergeFrom(from.convars());
  8163. }
  8164. }
  8165. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8166. }
  8167. void CCLCMsg_SplitPlayerConnect::CopyFrom(const ::google::protobuf::Message& from) {
  8168. if (&from == this) return;
  8169. Clear();
  8170. MergeFrom(from);
  8171. }
  8172. void CCLCMsg_SplitPlayerConnect::CopyFrom(const CCLCMsg_SplitPlayerConnect& from) {
  8173. if (&from == this) return;
  8174. Clear();
  8175. MergeFrom(from);
  8176. }
  8177. bool CCLCMsg_SplitPlayerConnect::IsInitialized() const {
  8178. return true;
  8179. }
  8180. void CCLCMsg_SplitPlayerConnect::Swap(CCLCMsg_SplitPlayerConnect* other) {
  8181. if (other != this) {
  8182. std::swap(convars_, other->convars_);
  8183. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8184. _unknown_fields_.Swap(&other->_unknown_fields_);
  8185. std::swap(_cached_size_, other->_cached_size_);
  8186. }
  8187. }
  8188. ::google::protobuf::Metadata CCLCMsg_SplitPlayerConnect::GetMetadata() const {
  8189. protobuf_AssignDescriptorsOnce();
  8190. ::google::protobuf::Metadata metadata;
  8191. metadata.descriptor = CCLCMsg_SplitPlayerConnect_descriptor_;
  8192. metadata.reflection = CCLCMsg_SplitPlayerConnect_reflection_;
  8193. return metadata;
  8194. }
  8195. // ===================================================================
  8196. #ifndef _MSC_VER
  8197. const int CCLCMsg_CmdKeyValues::kKeyvaluesFieldNumber;
  8198. #endif // !_MSC_VER
  8199. CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues()
  8200. : ::google::protobuf::Message() {
  8201. SharedCtor();
  8202. }
  8203. void CCLCMsg_CmdKeyValues::InitAsDefaultInstance() {
  8204. }
  8205. CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from)
  8206. : ::google::protobuf::Message() {
  8207. SharedCtor();
  8208. MergeFrom(from);
  8209. }
  8210. void CCLCMsg_CmdKeyValues::SharedCtor() {
  8211. _cached_size_ = 0;
  8212. keyvalues_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8213. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8214. }
  8215. CCLCMsg_CmdKeyValues::~CCLCMsg_CmdKeyValues() {
  8216. SharedDtor();
  8217. }
  8218. void CCLCMsg_CmdKeyValues::SharedDtor() {
  8219. if (keyvalues_ != &::google::protobuf::internal::kEmptyString) {
  8220. delete keyvalues_;
  8221. }
  8222. if (this != default_instance_) {
  8223. }
  8224. }
  8225. void CCLCMsg_CmdKeyValues::SetCachedSize(int size) const {
  8226. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8227. _cached_size_ = size;
  8228. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8229. }
  8230. const ::google::protobuf::Descriptor* CCLCMsg_CmdKeyValues::descriptor() {
  8231. protobuf_AssignDescriptorsOnce();
  8232. return CCLCMsg_CmdKeyValues_descriptor_;
  8233. }
  8234. const CCLCMsg_CmdKeyValues& CCLCMsg_CmdKeyValues::default_instance() {
  8235. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  8236. return *default_instance_;
  8237. }
  8238. CCLCMsg_CmdKeyValues* CCLCMsg_CmdKeyValues::default_instance_ = NULL;
  8239. CCLCMsg_CmdKeyValues* CCLCMsg_CmdKeyValues::New() const {
  8240. return new CCLCMsg_CmdKeyValues;
  8241. }
  8242. void CCLCMsg_CmdKeyValues::Clear() {
  8243. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8244. if (has_keyvalues()) {
  8245. if (keyvalues_ != &::google::protobuf::internal::kEmptyString) {
  8246. keyvalues_->clear();
  8247. }
  8248. }
  8249. }
  8250. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8251. mutable_unknown_fields()->Clear();
  8252. }
  8253. bool CCLCMsg_CmdKeyValues::MergePartialFromCodedStream(
  8254. ::google::protobuf::io::CodedInputStream* input) {
  8255. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8256. ::google::protobuf::uint32 tag;
  8257. while ((tag = input->ReadTag()) != 0) {
  8258. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8259. // optional bytes keyvalues = 1;
  8260. case 1: {
  8261. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8262. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8263. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  8264. input, this->mutable_keyvalues()));
  8265. } else {
  8266. goto handle_uninterpreted;
  8267. }
  8268. if (input->ExpectAtEnd()) return true;
  8269. break;
  8270. }
  8271. default: {
  8272. handle_uninterpreted:
  8273. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8274. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8275. return true;
  8276. }
  8277. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8278. input, tag, mutable_unknown_fields()));
  8279. break;
  8280. }
  8281. }
  8282. }
  8283. return true;
  8284. #undef DO_
  8285. }
  8286. void CCLCMsg_CmdKeyValues::SerializeWithCachedSizes(
  8287. ::google::protobuf::io::CodedOutputStream* output) const {
  8288. // optional bytes keyvalues = 1;
  8289. if (has_keyvalues()) {
  8290. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  8291. 1, this->keyvalues(), output);
  8292. }
  8293. if (!unknown_fields().empty()) {
  8294. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8295. unknown_fields(), output);
  8296. }
  8297. }
  8298. ::google::protobuf::uint8* CCLCMsg_CmdKeyValues::SerializeWithCachedSizesToArray(
  8299. ::google::protobuf::uint8* target) const {
  8300. // optional bytes keyvalues = 1;
  8301. if (has_keyvalues()) {
  8302. target =
  8303. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  8304. 1, this->keyvalues(), target);
  8305. }
  8306. if (!unknown_fields().empty()) {
  8307. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8308. unknown_fields(), target);
  8309. }
  8310. return target;
  8311. }
  8312. int CCLCMsg_CmdKeyValues::ByteSize() const {
  8313. int total_size = 0;
  8314. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8315. // optional bytes keyvalues = 1;
  8316. if (has_keyvalues()) {
  8317. total_size += 1 +
  8318. ::google::protobuf::internal::WireFormatLite::BytesSize(
  8319. this->keyvalues());
  8320. }
  8321. }
  8322. if (!unknown_fields().empty()) {
  8323. total_size +=
  8324. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8325. unknown_fields());
  8326. }
  8327. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8328. _cached_size_ = total_size;
  8329. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8330. return total_size;
  8331. }
  8332. void CCLCMsg_CmdKeyValues::MergeFrom(const ::google::protobuf::Message& from) {
  8333. GOOGLE_CHECK_NE(&from, this);
  8334. const CCLCMsg_CmdKeyValues* source =
  8335. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_CmdKeyValues*>(
  8336. &from);
  8337. if (source == NULL) {
  8338. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8339. } else {
  8340. MergeFrom(*source);
  8341. }
  8342. }
  8343. void CCLCMsg_CmdKeyValues::MergeFrom(const CCLCMsg_CmdKeyValues& from) {
  8344. GOOGLE_CHECK_NE(&from, this);
  8345. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8346. if (from.has_keyvalues()) {
  8347. set_keyvalues(from.keyvalues());
  8348. }
  8349. }
  8350. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8351. }
  8352. void CCLCMsg_CmdKeyValues::CopyFrom(const ::google::protobuf::Message& from) {
  8353. if (&from == this) return;
  8354. Clear();
  8355. MergeFrom(from);
  8356. }
  8357. void CCLCMsg_CmdKeyValues::CopyFrom(const CCLCMsg_CmdKeyValues& from) {
  8358. if (&from == this) return;
  8359. Clear();
  8360. MergeFrom(from);
  8361. }
  8362. bool CCLCMsg_CmdKeyValues::IsInitialized() const {
  8363. return true;
  8364. }
  8365. void CCLCMsg_CmdKeyValues::Swap(CCLCMsg_CmdKeyValues* other) {
  8366. if (other != this) {
  8367. std::swap(keyvalues_, other->keyvalues_);
  8368. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8369. _unknown_fields_.Swap(&other->_unknown_fields_);
  8370. std::swap(_cached_size_, other->_cached_size_);
  8371. }
  8372. }
  8373. ::google::protobuf::Metadata CCLCMsg_CmdKeyValues::GetMetadata() const {
  8374. protobuf_AssignDescriptorsOnce();
  8375. ::google::protobuf::Metadata metadata;
  8376. metadata.descriptor = CCLCMsg_CmdKeyValues_descriptor_;
  8377. metadata.reflection = CCLCMsg_CmdKeyValues_reflection_;
  8378. return metadata;
  8379. }
  8380. // ===================================================================
  8381. #ifndef _MSC_VER
  8382. const int CSVCMsg_ServerInfo::kProtocolFieldNumber;
  8383. const int CSVCMsg_ServerInfo::kServerCountFieldNumber;
  8384. const int CSVCMsg_ServerInfo::kIsDedicatedFieldNumber;
  8385. const int CSVCMsg_ServerInfo::kIsOfficialValveServerFieldNumber;
  8386. const int CSVCMsg_ServerInfo::kIsHltvFieldNumber;
  8387. const int CSVCMsg_ServerInfo::kIsReplayFieldNumber;
  8388. const int CSVCMsg_ServerInfo::kIsRedirectingToProxyRelayFieldNumber;
  8389. const int CSVCMsg_ServerInfo::kCOsFieldNumber;
  8390. const int CSVCMsg_ServerInfo::kMapCrcFieldNumber;
  8391. const int CSVCMsg_ServerInfo::kClientCrcFieldNumber;
  8392. const int CSVCMsg_ServerInfo::kStringTableCrcFieldNumber;
  8393. const int CSVCMsg_ServerInfo::kMaxClientsFieldNumber;
  8394. const int CSVCMsg_ServerInfo::kMaxClassesFieldNumber;
  8395. const int CSVCMsg_ServerInfo::kPlayerSlotFieldNumber;
  8396. const int CSVCMsg_ServerInfo::kTickIntervalFieldNumber;
  8397. const int CSVCMsg_ServerInfo::kGameDirFieldNumber;
  8398. const int CSVCMsg_ServerInfo::kMapNameFieldNumber;
  8399. const int CSVCMsg_ServerInfo::kMapGroupNameFieldNumber;
  8400. const int CSVCMsg_ServerInfo::kSkyNameFieldNumber;
  8401. const int CSVCMsg_ServerInfo::kHostNameFieldNumber;
  8402. const int CSVCMsg_ServerInfo::kPublicIpFieldNumber;
  8403. const int CSVCMsg_ServerInfo::kUgcMapIdFieldNumber;
  8404. #endif // !_MSC_VER
  8405. CSVCMsg_ServerInfo::CSVCMsg_ServerInfo()
  8406. : ::google::protobuf::Message() {
  8407. SharedCtor();
  8408. }
  8409. void CSVCMsg_ServerInfo::InitAsDefaultInstance() {
  8410. }
  8411. CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from)
  8412. : ::google::protobuf::Message() {
  8413. SharedCtor();
  8414. MergeFrom(from);
  8415. }
  8416. void CSVCMsg_ServerInfo::SharedCtor() {
  8417. _cached_size_ = 0;
  8418. protocol_ = 0;
  8419. server_count_ = 0;
  8420. is_dedicated_ = false;
  8421. is_official_valve_server_ = false;
  8422. is_hltv_ = false;
  8423. is_replay_ = false;
  8424. is_redirecting_to_proxy_relay_ = false;
  8425. c_os_ = 0;
  8426. map_crc_ = 0u;
  8427. client_crc_ = 0u;
  8428. string_table_crc_ = 0u;
  8429. max_clients_ = 0;
  8430. max_classes_ = 0;
  8431. player_slot_ = 0;
  8432. tick_interval_ = 0;
  8433. game_dir_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8434. map_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8435. map_group_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8436. sky_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8437. host_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8438. public_ip_ = 0u;
  8439. ugc_map_id_ = GOOGLE_ULONGLONG(0);
  8440. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8441. }
  8442. CSVCMsg_ServerInfo::~CSVCMsg_ServerInfo() {
  8443. SharedDtor();
  8444. }
  8445. void CSVCMsg_ServerInfo::SharedDtor() {
  8446. if (game_dir_ != &::google::protobuf::internal::kEmptyString) {
  8447. delete game_dir_;
  8448. }
  8449. if (map_name_ != &::google::protobuf::internal::kEmptyString) {
  8450. delete map_name_;
  8451. }
  8452. if (map_group_name_ != &::google::protobuf::internal::kEmptyString) {
  8453. delete map_group_name_;
  8454. }
  8455. if (sky_name_ != &::google::protobuf::internal::kEmptyString) {
  8456. delete sky_name_;
  8457. }
  8458. if (host_name_ != &::google::protobuf::internal::kEmptyString) {
  8459. delete host_name_;
  8460. }
  8461. if (this != default_instance_) {
  8462. }
  8463. }
  8464. void CSVCMsg_ServerInfo::SetCachedSize(int size) const {
  8465. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8466. _cached_size_ = size;
  8467. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8468. }
  8469. const ::google::protobuf::Descriptor* CSVCMsg_ServerInfo::descriptor() {
  8470. protobuf_AssignDescriptorsOnce();
  8471. return CSVCMsg_ServerInfo_descriptor_;
  8472. }
  8473. const CSVCMsg_ServerInfo& CSVCMsg_ServerInfo::default_instance() {
  8474. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  8475. return *default_instance_;
  8476. }
  8477. CSVCMsg_ServerInfo* CSVCMsg_ServerInfo::default_instance_ = NULL;
  8478. CSVCMsg_ServerInfo* CSVCMsg_ServerInfo::New() const {
  8479. return new CSVCMsg_ServerInfo;
  8480. }
  8481. void CSVCMsg_ServerInfo::Clear() {
  8482. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8483. protocol_ = 0;
  8484. server_count_ = 0;
  8485. is_dedicated_ = false;
  8486. is_official_valve_server_ = false;
  8487. is_hltv_ = false;
  8488. is_replay_ = false;
  8489. is_redirecting_to_proxy_relay_ = false;
  8490. c_os_ = 0;
  8491. }
  8492. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8493. map_crc_ = 0u;
  8494. client_crc_ = 0u;
  8495. string_table_crc_ = 0u;
  8496. max_clients_ = 0;
  8497. max_classes_ = 0;
  8498. player_slot_ = 0;
  8499. tick_interval_ = 0;
  8500. if (has_game_dir()) {
  8501. if (game_dir_ != &::google::protobuf::internal::kEmptyString) {
  8502. game_dir_->clear();
  8503. }
  8504. }
  8505. }
  8506. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  8507. if (has_map_name()) {
  8508. if (map_name_ != &::google::protobuf::internal::kEmptyString) {
  8509. map_name_->clear();
  8510. }
  8511. }
  8512. if (has_map_group_name()) {
  8513. if (map_group_name_ != &::google::protobuf::internal::kEmptyString) {
  8514. map_group_name_->clear();
  8515. }
  8516. }
  8517. if (has_sky_name()) {
  8518. if (sky_name_ != &::google::protobuf::internal::kEmptyString) {
  8519. sky_name_->clear();
  8520. }
  8521. }
  8522. if (has_host_name()) {
  8523. if (host_name_ != &::google::protobuf::internal::kEmptyString) {
  8524. host_name_->clear();
  8525. }
  8526. }
  8527. public_ip_ = 0u;
  8528. ugc_map_id_ = GOOGLE_ULONGLONG(0);
  8529. }
  8530. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8531. mutable_unknown_fields()->Clear();
  8532. }
  8533. bool CSVCMsg_ServerInfo::MergePartialFromCodedStream(
  8534. ::google::protobuf::io::CodedInputStream* input) {
  8535. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8536. ::google::protobuf::uint32 tag;
  8537. while ((tag = input->ReadTag()) != 0) {
  8538. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8539. // optional int32 protocol = 1;
  8540. case 1: {
  8541. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8542. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8543. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8544. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8545. input, &protocol_)));
  8546. set_has_protocol();
  8547. } else {
  8548. goto handle_uninterpreted;
  8549. }
  8550. if (input->ExpectTag(16)) goto parse_server_count;
  8551. break;
  8552. }
  8553. // optional int32 server_count = 2;
  8554. case 2: {
  8555. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8556. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8557. parse_server_count:
  8558. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8559. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8560. input, &server_count_)));
  8561. set_has_server_count();
  8562. } else {
  8563. goto handle_uninterpreted;
  8564. }
  8565. if (input->ExpectTag(24)) goto parse_is_dedicated;
  8566. break;
  8567. }
  8568. // optional bool is_dedicated = 3;
  8569. case 3: {
  8570. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8571. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8572. parse_is_dedicated:
  8573. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8574. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8575. input, &is_dedicated_)));
  8576. set_has_is_dedicated();
  8577. } else {
  8578. goto handle_uninterpreted;
  8579. }
  8580. if (input->ExpectTag(32)) goto parse_is_official_valve_server;
  8581. break;
  8582. }
  8583. // optional bool is_official_valve_server = 4;
  8584. case 4: {
  8585. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8586. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8587. parse_is_official_valve_server:
  8588. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8589. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8590. input, &is_official_valve_server_)));
  8591. set_has_is_official_valve_server();
  8592. } else {
  8593. goto handle_uninterpreted;
  8594. }
  8595. if (input->ExpectTag(40)) goto parse_is_hltv;
  8596. break;
  8597. }
  8598. // optional bool is_hltv = 5;
  8599. case 5: {
  8600. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8601. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8602. parse_is_hltv:
  8603. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8604. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8605. input, &is_hltv_)));
  8606. set_has_is_hltv();
  8607. } else {
  8608. goto handle_uninterpreted;
  8609. }
  8610. if (input->ExpectTag(48)) goto parse_is_replay;
  8611. break;
  8612. }
  8613. // optional bool is_replay = 6;
  8614. case 6: {
  8615. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8616. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8617. parse_is_replay:
  8618. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8619. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8620. input, &is_replay_)));
  8621. set_has_is_replay();
  8622. } else {
  8623. goto handle_uninterpreted;
  8624. }
  8625. if (input->ExpectTag(56)) goto parse_c_os;
  8626. break;
  8627. }
  8628. // optional int32 c_os = 7;
  8629. case 7: {
  8630. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8631. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8632. parse_c_os:
  8633. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8634. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8635. input, &c_os_)));
  8636. set_has_c_os();
  8637. } else {
  8638. goto handle_uninterpreted;
  8639. }
  8640. if (input->ExpectTag(69)) goto parse_map_crc;
  8641. break;
  8642. }
  8643. // optional fixed32 map_crc = 8;
  8644. case 8: {
  8645. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8646. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8647. parse_map_crc:
  8648. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8649. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  8650. input, &map_crc_)));
  8651. set_has_map_crc();
  8652. } else {
  8653. goto handle_uninterpreted;
  8654. }
  8655. if (input->ExpectTag(77)) goto parse_client_crc;
  8656. break;
  8657. }
  8658. // optional fixed32 client_crc = 9;
  8659. case 9: {
  8660. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8661. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8662. parse_client_crc:
  8663. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8664. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  8665. input, &client_crc_)));
  8666. set_has_client_crc();
  8667. } else {
  8668. goto handle_uninterpreted;
  8669. }
  8670. if (input->ExpectTag(85)) goto parse_string_table_crc;
  8671. break;
  8672. }
  8673. // optional fixed32 string_table_crc = 10;
  8674. case 10: {
  8675. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8676. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8677. parse_string_table_crc:
  8678. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8679. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  8680. input, &string_table_crc_)));
  8681. set_has_string_table_crc();
  8682. } else {
  8683. goto handle_uninterpreted;
  8684. }
  8685. if (input->ExpectTag(88)) goto parse_max_clients;
  8686. break;
  8687. }
  8688. // optional int32 max_clients = 11;
  8689. case 11: {
  8690. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8691. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8692. parse_max_clients:
  8693. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8694. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8695. input, &max_clients_)));
  8696. set_has_max_clients();
  8697. } else {
  8698. goto handle_uninterpreted;
  8699. }
  8700. if (input->ExpectTag(96)) goto parse_max_classes;
  8701. break;
  8702. }
  8703. // optional int32 max_classes = 12;
  8704. case 12: {
  8705. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8706. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8707. parse_max_classes:
  8708. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8709. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8710. input, &max_classes_)));
  8711. set_has_max_classes();
  8712. } else {
  8713. goto handle_uninterpreted;
  8714. }
  8715. if (input->ExpectTag(104)) goto parse_player_slot;
  8716. break;
  8717. }
  8718. // optional int32 player_slot = 13;
  8719. case 13: {
  8720. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8721. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8722. parse_player_slot:
  8723. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8724. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8725. input, &player_slot_)));
  8726. set_has_player_slot();
  8727. } else {
  8728. goto handle_uninterpreted;
  8729. }
  8730. if (input->ExpectTag(117)) goto parse_tick_interval;
  8731. break;
  8732. }
  8733. // optional float tick_interval = 14;
  8734. case 14: {
  8735. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8736. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  8737. parse_tick_interval:
  8738. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8739. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  8740. input, &tick_interval_)));
  8741. set_has_tick_interval();
  8742. } else {
  8743. goto handle_uninterpreted;
  8744. }
  8745. if (input->ExpectTag(122)) goto parse_game_dir;
  8746. break;
  8747. }
  8748. // optional string game_dir = 15;
  8749. case 15: {
  8750. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8751. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8752. parse_game_dir:
  8753. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8754. input, this->mutable_game_dir()));
  8755. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8756. this->game_dir().data(), this->game_dir().length(),
  8757. ::google::protobuf::internal::WireFormat::PARSE);
  8758. } else {
  8759. goto handle_uninterpreted;
  8760. }
  8761. if (input->ExpectTag(130)) goto parse_map_name;
  8762. break;
  8763. }
  8764. // optional string map_name = 16;
  8765. case 16: {
  8766. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8767. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8768. parse_map_name:
  8769. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8770. input, this->mutable_map_name()));
  8771. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8772. this->map_name().data(), this->map_name().length(),
  8773. ::google::protobuf::internal::WireFormat::PARSE);
  8774. } else {
  8775. goto handle_uninterpreted;
  8776. }
  8777. if (input->ExpectTag(138)) goto parse_map_group_name;
  8778. break;
  8779. }
  8780. // optional string map_group_name = 17;
  8781. case 17: {
  8782. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8783. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8784. parse_map_group_name:
  8785. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8786. input, this->mutable_map_group_name()));
  8787. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8788. this->map_group_name().data(), this->map_group_name().length(),
  8789. ::google::protobuf::internal::WireFormat::PARSE);
  8790. } else {
  8791. goto handle_uninterpreted;
  8792. }
  8793. if (input->ExpectTag(146)) goto parse_sky_name;
  8794. break;
  8795. }
  8796. // optional string sky_name = 18;
  8797. case 18: {
  8798. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8799. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8800. parse_sky_name:
  8801. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8802. input, this->mutable_sky_name()));
  8803. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8804. this->sky_name().data(), this->sky_name().length(),
  8805. ::google::protobuf::internal::WireFormat::PARSE);
  8806. } else {
  8807. goto handle_uninterpreted;
  8808. }
  8809. if (input->ExpectTag(154)) goto parse_host_name;
  8810. break;
  8811. }
  8812. // optional string host_name = 19;
  8813. case 19: {
  8814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8816. parse_host_name:
  8817. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8818. input, this->mutable_host_name()));
  8819. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8820. this->host_name().data(), this->host_name().length(),
  8821. ::google::protobuf::internal::WireFormat::PARSE);
  8822. } else {
  8823. goto handle_uninterpreted;
  8824. }
  8825. if (input->ExpectTag(160)) goto parse_public_ip;
  8826. break;
  8827. }
  8828. // optional uint32 public_ip = 20;
  8829. case 20: {
  8830. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8831. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8832. parse_public_ip:
  8833. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8834. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  8835. input, &public_ip_)));
  8836. set_has_public_ip();
  8837. } else {
  8838. goto handle_uninterpreted;
  8839. }
  8840. if (input->ExpectTag(168)) goto parse_is_redirecting_to_proxy_relay;
  8841. break;
  8842. }
  8843. // optional bool is_redirecting_to_proxy_relay = 21;
  8844. case 21: {
  8845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8847. parse_is_redirecting_to_proxy_relay:
  8848. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8849. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8850. input, &is_redirecting_to_proxy_relay_)));
  8851. set_has_is_redirecting_to_proxy_relay();
  8852. } else {
  8853. goto handle_uninterpreted;
  8854. }
  8855. if (input->ExpectTag(176)) goto parse_ugc_map_id;
  8856. break;
  8857. }
  8858. // optional uint64 ugc_map_id = 22;
  8859. case 22: {
  8860. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8861. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8862. parse_ugc_map_id:
  8863. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8864. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8865. input, &ugc_map_id_)));
  8866. set_has_ugc_map_id();
  8867. } else {
  8868. goto handle_uninterpreted;
  8869. }
  8870. if (input->ExpectAtEnd()) return true;
  8871. break;
  8872. }
  8873. default: {
  8874. handle_uninterpreted:
  8875. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8876. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8877. return true;
  8878. }
  8879. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8880. input, tag, mutable_unknown_fields()));
  8881. break;
  8882. }
  8883. }
  8884. }
  8885. return true;
  8886. #undef DO_
  8887. }
  8888. void CSVCMsg_ServerInfo::SerializeWithCachedSizes(
  8889. ::google::protobuf::io::CodedOutputStream* output) const {
  8890. // optional int32 protocol = 1;
  8891. if (has_protocol()) {
  8892. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->protocol(), output);
  8893. }
  8894. // optional int32 server_count = 2;
  8895. if (has_server_count()) {
  8896. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->server_count(), output);
  8897. }
  8898. // optional bool is_dedicated = 3;
  8899. if (has_is_dedicated()) {
  8900. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_dedicated(), output);
  8901. }
  8902. // optional bool is_official_valve_server = 4;
  8903. if (has_is_official_valve_server()) {
  8904. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_official_valve_server(), output);
  8905. }
  8906. // optional bool is_hltv = 5;
  8907. if (has_is_hltv()) {
  8908. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_hltv(), output);
  8909. }
  8910. // optional bool is_replay = 6;
  8911. if (has_is_replay()) {
  8912. ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->is_replay(), output);
  8913. }
  8914. // optional int32 c_os = 7;
  8915. if (has_c_os()) {
  8916. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->c_os(), output);
  8917. }
  8918. // optional fixed32 map_crc = 8;
  8919. if (has_map_crc()) {
  8920. ::google::protobuf::internal::WireFormatLite::WriteFixed32(8, this->map_crc(), output);
  8921. }
  8922. // optional fixed32 client_crc = 9;
  8923. if (has_client_crc()) {
  8924. ::google::protobuf::internal::WireFormatLite::WriteFixed32(9, this->client_crc(), output);
  8925. }
  8926. // optional fixed32 string_table_crc = 10;
  8927. if (has_string_table_crc()) {
  8928. ::google::protobuf::internal::WireFormatLite::WriteFixed32(10, this->string_table_crc(), output);
  8929. }
  8930. // optional int32 max_clients = 11;
  8931. if (has_max_clients()) {
  8932. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->max_clients(), output);
  8933. }
  8934. // optional int32 max_classes = 12;
  8935. if (has_max_classes()) {
  8936. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->max_classes(), output);
  8937. }
  8938. // optional int32 player_slot = 13;
  8939. if (has_player_slot()) {
  8940. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->player_slot(), output);
  8941. }
  8942. // optional float tick_interval = 14;
  8943. if (has_tick_interval()) {
  8944. ::google::protobuf::internal::WireFormatLite::WriteFloat(14, this->tick_interval(), output);
  8945. }
  8946. // optional string game_dir = 15;
  8947. if (has_game_dir()) {
  8948. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8949. this->game_dir().data(), this->game_dir().length(),
  8950. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8951. ::google::protobuf::internal::WireFormatLite::WriteString(
  8952. 15, this->game_dir(), output);
  8953. }
  8954. // optional string map_name = 16;
  8955. if (has_map_name()) {
  8956. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8957. this->map_name().data(), this->map_name().length(),
  8958. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8959. ::google::protobuf::internal::WireFormatLite::WriteString(
  8960. 16, this->map_name(), output);
  8961. }
  8962. // optional string map_group_name = 17;
  8963. if (has_map_group_name()) {
  8964. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8965. this->map_group_name().data(), this->map_group_name().length(),
  8966. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8967. ::google::protobuf::internal::WireFormatLite::WriteString(
  8968. 17, this->map_group_name(), output);
  8969. }
  8970. // optional string sky_name = 18;
  8971. if (has_sky_name()) {
  8972. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8973. this->sky_name().data(), this->sky_name().length(),
  8974. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8975. ::google::protobuf::internal::WireFormatLite::WriteString(
  8976. 18, this->sky_name(), output);
  8977. }
  8978. // optional string host_name = 19;
  8979. if (has_host_name()) {
  8980. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8981. this->host_name().data(), this->host_name().length(),
  8982. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8983. ::google::protobuf::internal::WireFormatLite::WriteString(
  8984. 19, this->host_name(), output);
  8985. }
  8986. // optional uint32 public_ip = 20;
  8987. if (has_public_ip()) {
  8988. ::google::protobuf::internal::WireFormatLite::WriteUInt32(20, this->public_ip(), output);
  8989. }
  8990. // optional bool is_redirecting_to_proxy_relay = 21;
  8991. if (has_is_redirecting_to_proxy_relay()) {
  8992. ::google::protobuf::internal::WireFormatLite::WriteBool(21, this->is_redirecting_to_proxy_relay(), output);
  8993. }
  8994. // optional uint64 ugc_map_id = 22;
  8995. if (has_ugc_map_id()) {
  8996. ::google::protobuf::internal::WireFormatLite::WriteUInt64(22, this->ugc_map_id(), output);
  8997. }
  8998. if (!unknown_fields().empty()) {
  8999. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9000. unknown_fields(), output);
  9001. }
  9002. }
  9003. ::google::protobuf::uint8* CSVCMsg_ServerInfo::SerializeWithCachedSizesToArray(
  9004. ::google::protobuf::uint8* target) const {
  9005. // optional int32 protocol = 1;
  9006. if (has_protocol()) {
  9007. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->protocol(), target);
  9008. }
  9009. // optional int32 server_count = 2;
  9010. if (has_server_count()) {
  9011. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->server_count(), target);
  9012. }
  9013. // optional bool is_dedicated = 3;
  9014. if (has_is_dedicated()) {
  9015. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_dedicated(), target);
  9016. }
  9017. // optional bool is_official_valve_server = 4;
  9018. if (has_is_official_valve_server()) {
  9019. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_official_valve_server(), target);
  9020. }
  9021. // optional bool is_hltv = 5;
  9022. if (has_is_hltv()) {
  9023. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_hltv(), target);
  9024. }
  9025. // optional bool is_replay = 6;
  9026. if (has_is_replay()) {
  9027. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->is_replay(), target);
  9028. }
  9029. // optional int32 c_os = 7;
  9030. if (has_c_os()) {
  9031. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->c_os(), target);
  9032. }
  9033. // optional fixed32 map_crc = 8;
  9034. if (has_map_crc()) {
  9035. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(8, this->map_crc(), target);
  9036. }
  9037. // optional fixed32 client_crc = 9;
  9038. if (has_client_crc()) {
  9039. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(9, this->client_crc(), target);
  9040. }
  9041. // optional fixed32 string_table_crc = 10;
  9042. if (has_string_table_crc()) {
  9043. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(10, this->string_table_crc(), target);
  9044. }
  9045. // optional int32 max_clients = 11;
  9046. if (has_max_clients()) {
  9047. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->max_clients(), target);
  9048. }
  9049. // optional int32 max_classes = 12;
  9050. if (has_max_classes()) {
  9051. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->max_classes(), target);
  9052. }
  9053. // optional int32 player_slot = 13;
  9054. if (has_player_slot()) {
  9055. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->player_slot(), target);
  9056. }
  9057. // optional float tick_interval = 14;
  9058. if (has_tick_interval()) {
  9059. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(14, this->tick_interval(), target);
  9060. }
  9061. // optional string game_dir = 15;
  9062. if (has_game_dir()) {
  9063. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9064. this->game_dir().data(), this->game_dir().length(),
  9065. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9066. target =
  9067. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9068. 15, this->game_dir(), target);
  9069. }
  9070. // optional string map_name = 16;
  9071. if (has_map_name()) {
  9072. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9073. this->map_name().data(), this->map_name().length(),
  9074. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9075. target =
  9076. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9077. 16, this->map_name(), target);
  9078. }
  9079. // optional string map_group_name = 17;
  9080. if (has_map_group_name()) {
  9081. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9082. this->map_group_name().data(), this->map_group_name().length(),
  9083. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9084. target =
  9085. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9086. 17, this->map_group_name(), target);
  9087. }
  9088. // optional string sky_name = 18;
  9089. if (has_sky_name()) {
  9090. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9091. this->sky_name().data(), this->sky_name().length(),
  9092. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9093. target =
  9094. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9095. 18, this->sky_name(), target);
  9096. }
  9097. // optional string host_name = 19;
  9098. if (has_host_name()) {
  9099. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9100. this->host_name().data(), this->host_name().length(),
  9101. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9102. target =
  9103. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9104. 19, this->host_name(), target);
  9105. }
  9106. // optional uint32 public_ip = 20;
  9107. if (has_public_ip()) {
  9108. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(20, this->public_ip(), target);
  9109. }
  9110. // optional bool is_redirecting_to_proxy_relay = 21;
  9111. if (has_is_redirecting_to_proxy_relay()) {
  9112. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(21, this->is_redirecting_to_proxy_relay(), target);
  9113. }
  9114. // optional uint64 ugc_map_id = 22;
  9115. if (has_ugc_map_id()) {
  9116. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(22, this->ugc_map_id(), 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 CSVCMsg_ServerInfo::ByteSize() const {
  9125. int total_size = 0;
  9126. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9127. // optional int32 protocol = 1;
  9128. if (has_protocol()) {
  9129. total_size += 1 +
  9130. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9131. this->protocol());
  9132. }
  9133. // optional int32 server_count = 2;
  9134. if (has_server_count()) {
  9135. total_size += 1 +
  9136. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9137. this->server_count());
  9138. }
  9139. // optional bool is_dedicated = 3;
  9140. if (has_is_dedicated()) {
  9141. total_size += 1 + 1;
  9142. }
  9143. // optional bool is_official_valve_server = 4;
  9144. if (has_is_official_valve_server()) {
  9145. total_size += 1 + 1;
  9146. }
  9147. // optional bool is_hltv = 5;
  9148. if (has_is_hltv()) {
  9149. total_size += 1 + 1;
  9150. }
  9151. // optional bool is_replay = 6;
  9152. if (has_is_replay()) {
  9153. total_size += 1 + 1;
  9154. }
  9155. // optional bool is_redirecting_to_proxy_relay = 21;
  9156. if (has_is_redirecting_to_proxy_relay()) {
  9157. total_size += 2 + 1;
  9158. }
  9159. // optional int32 c_os = 7;
  9160. if (has_c_os()) {
  9161. total_size += 1 +
  9162. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9163. this->c_os());
  9164. }
  9165. }
  9166. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9167. // optional fixed32 map_crc = 8;
  9168. if (has_map_crc()) {
  9169. total_size += 1 + 4;
  9170. }
  9171. // optional fixed32 client_crc = 9;
  9172. if (has_client_crc()) {
  9173. total_size += 1 + 4;
  9174. }
  9175. // optional fixed32 string_table_crc = 10;
  9176. if (has_string_table_crc()) {
  9177. total_size += 1 + 4;
  9178. }
  9179. // optional int32 max_clients = 11;
  9180. if (has_max_clients()) {
  9181. total_size += 1 +
  9182. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9183. this->max_clients());
  9184. }
  9185. // optional int32 max_classes = 12;
  9186. if (has_max_classes()) {
  9187. total_size += 1 +
  9188. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9189. this->max_classes());
  9190. }
  9191. // optional int32 player_slot = 13;
  9192. if (has_player_slot()) {
  9193. total_size += 1 +
  9194. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9195. this->player_slot());
  9196. }
  9197. // optional float tick_interval = 14;
  9198. if (has_tick_interval()) {
  9199. total_size += 1 + 4;
  9200. }
  9201. // optional string game_dir = 15;
  9202. if (has_game_dir()) {
  9203. total_size += 1 +
  9204. ::google::protobuf::internal::WireFormatLite::StringSize(
  9205. this->game_dir());
  9206. }
  9207. }
  9208. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  9209. // optional string map_name = 16;
  9210. if (has_map_name()) {
  9211. total_size += 2 +
  9212. ::google::protobuf::internal::WireFormatLite::StringSize(
  9213. this->map_name());
  9214. }
  9215. // optional string map_group_name = 17;
  9216. if (has_map_group_name()) {
  9217. total_size += 2 +
  9218. ::google::protobuf::internal::WireFormatLite::StringSize(
  9219. this->map_group_name());
  9220. }
  9221. // optional string sky_name = 18;
  9222. if (has_sky_name()) {
  9223. total_size += 2 +
  9224. ::google::protobuf::internal::WireFormatLite::StringSize(
  9225. this->sky_name());
  9226. }
  9227. // optional string host_name = 19;
  9228. if (has_host_name()) {
  9229. total_size += 2 +
  9230. ::google::protobuf::internal::WireFormatLite::StringSize(
  9231. this->host_name());
  9232. }
  9233. // optional uint32 public_ip = 20;
  9234. if (has_public_ip()) {
  9235. total_size += 2 +
  9236. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  9237. this->public_ip());
  9238. }
  9239. // optional uint64 ugc_map_id = 22;
  9240. if (has_ugc_map_id()) {
  9241. total_size += 2 +
  9242. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9243. this->ugc_map_id());
  9244. }
  9245. }
  9246. if (!unknown_fields().empty()) {
  9247. total_size +=
  9248. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9249. unknown_fields());
  9250. }
  9251. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9252. _cached_size_ = total_size;
  9253. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9254. return total_size;
  9255. }
  9256. void CSVCMsg_ServerInfo::MergeFrom(const ::google::protobuf::Message& from) {
  9257. GOOGLE_CHECK_NE(&from, this);
  9258. const CSVCMsg_ServerInfo* source =
  9259. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_ServerInfo*>(
  9260. &from);
  9261. if (source == NULL) {
  9262. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9263. } else {
  9264. MergeFrom(*source);
  9265. }
  9266. }
  9267. void CSVCMsg_ServerInfo::MergeFrom(const CSVCMsg_ServerInfo& from) {
  9268. GOOGLE_CHECK_NE(&from, this);
  9269. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9270. if (from.has_protocol()) {
  9271. set_protocol(from.protocol());
  9272. }
  9273. if (from.has_server_count()) {
  9274. set_server_count(from.server_count());
  9275. }
  9276. if (from.has_is_dedicated()) {
  9277. set_is_dedicated(from.is_dedicated());
  9278. }
  9279. if (from.has_is_official_valve_server()) {
  9280. set_is_official_valve_server(from.is_official_valve_server());
  9281. }
  9282. if (from.has_is_hltv()) {
  9283. set_is_hltv(from.is_hltv());
  9284. }
  9285. if (from.has_is_replay()) {
  9286. set_is_replay(from.is_replay());
  9287. }
  9288. if (from.has_is_redirecting_to_proxy_relay()) {
  9289. set_is_redirecting_to_proxy_relay(from.is_redirecting_to_proxy_relay());
  9290. }
  9291. if (from.has_c_os()) {
  9292. set_c_os(from.c_os());
  9293. }
  9294. }
  9295. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9296. if (from.has_map_crc()) {
  9297. set_map_crc(from.map_crc());
  9298. }
  9299. if (from.has_client_crc()) {
  9300. set_client_crc(from.client_crc());
  9301. }
  9302. if (from.has_string_table_crc()) {
  9303. set_string_table_crc(from.string_table_crc());
  9304. }
  9305. if (from.has_max_clients()) {
  9306. set_max_clients(from.max_clients());
  9307. }
  9308. if (from.has_max_classes()) {
  9309. set_max_classes(from.max_classes());
  9310. }
  9311. if (from.has_player_slot()) {
  9312. set_player_slot(from.player_slot());
  9313. }
  9314. if (from.has_tick_interval()) {
  9315. set_tick_interval(from.tick_interval());
  9316. }
  9317. if (from.has_game_dir()) {
  9318. set_game_dir(from.game_dir());
  9319. }
  9320. }
  9321. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  9322. if (from.has_map_name()) {
  9323. set_map_name(from.map_name());
  9324. }
  9325. if (from.has_map_group_name()) {
  9326. set_map_group_name(from.map_group_name());
  9327. }
  9328. if (from.has_sky_name()) {
  9329. set_sky_name(from.sky_name());
  9330. }
  9331. if (from.has_host_name()) {
  9332. set_host_name(from.host_name());
  9333. }
  9334. if (from.has_public_ip()) {
  9335. set_public_ip(from.public_ip());
  9336. }
  9337. if (from.has_ugc_map_id()) {
  9338. set_ugc_map_id(from.ugc_map_id());
  9339. }
  9340. }
  9341. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9342. }
  9343. void CSVCMsg_ServerInfo::CopyFrom(const ::google::protobuf::Message& from) {
  9344. if (&from == this) return;
  9345. Clear();
  9346. MergeFrom(from);
  9347. }
  9348. void CSVCMsg_ServerInfo::CopyFrom(const CSVCMsg_ServerInfo& from) {
  9349. if (&from == this) return;
  9350. Clear();
  9351. MergeFrom(from);
  9352. }
  9353. bool CSVCMsg_ServerInfo::IsInitialized() const {
  9354. return true;
  9355. }
  9356. void CSVCMsg_ServerInfo::Swap(CSVCMsg_ServerInfo* other) {
  9357. if (other != this) {
  9358. std::swap(protocol_, other->protocol_);
  9359. std::swap(server_count_, other->server_count_);
  9360. std::swap(is_dedicated_, other->is_dedicated_);
  9361. std::swap(is_official_valve_server_, other->is_official_valve_server_);
  9362. std::swap(is_hltv_, other->is_hltv_);
  9363. std::swap(is_replay_, other->is_replay_);
  9364. std::swap(is_redirecting_to_proxy_relay_, other->is_redirecting_to_proxy_relay_);
  9365. std::swap(c_os_, other->c_os_);
  9366. std::swap(map_crc_, other->map_crc_);
  9367. std::swap(client_crc_, other->client_crc_);
  9368. std::swap(string_table_crc_, other->string_table_crc_);
  9369. std::swap(max_clients_, other->max_clients_);
  9370. std::swap(max_classes_, other->max_classes_);
  9371. std::swap(player_slot_, other->player_slot_);
  9372. std::swap(tick_interval_, other->tick_interval_);
  9373. std::swap(game_dir_, other->game_dir_);
  9374. std::swap(map_name_, other->map_name_);
  9375. std::swap(map_group_name_, other->map_group_name_);
  9376. std::swap(sky_name_, other->sky_name_);
  9377. std::swap(host_name_, other->host_name_);
  9378. std::swap(public_ip_, other->public_ip_);
  9379. std::swap(ugc_map_id_, other->ugc_map_id_);
  9380. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9381. _unknown_fields_.Swap(&other->_unknown_fields_);
  9382. std::swap(_cached_size_, other->_cached_size_);
  9383. }
  9384. }
  9385. ::google::protobuf::Metadata CSVCMsg_ServerInfo::GetMetadata() const {
  9386. protobuf_AssignDescriptorsOnce();
  9387. ::google::protobuf::Metadata metadata;
  9388. metadata.descriptor = CSVCMsg_ServerInfo_descriptor_;
  9389. metadata.reflection = CSVCMsg_ServerInfo_reflection_;
  9390. return metadata;
  9391. }
  9392. // ===================================================================
  9393. #ifndef _MSC_VER
  9394. const int CSVCMsg_ClassInfo_class_t::kClassIdFieldNumber;
  9395. const int CSVCMsg_ClassInfo_class_t::kDataTableNameFieldNumber;
  9396. const int CSVCMsg_ClassInfo_class_t::kClassNameFieldNumber;
  9397. #endif // !_MSC_VER
  9398. CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t()
  9399. : ::google::protobuf::Message() {
  9400. SharedCtor();
  9401. }
  9402. void CSVCMsg_ClassInfo_class_t::InitAsDefaultInstance() {
  9403. }
  9404. CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from)
  9405. : ::google::protobuf::Message() {
  9406. SharedCtor();
  9407. MergeFrom(from);
  9408. }
  9409. void CSVCMsg_ClassInfo_class_t::SharedCtor() {
  9410. _cached_size_ = 0;
  9411. class_id_ = 0;
  9412. data_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9413. class_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9414. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9415. }
  9416. CSVCMsg_ClassInfo_class_t::~CSVCMsg_ClassInfo_class_t() {
  9417. SharedDtor();
  9418. }
  9419. void CSVCMsg_ClassInfo_class_t::SharedDtor() {
  9420. if (data_table_name_ != &::google::protobuf::internal::kEmptyString) {
  9421. delete data_table_name_;
  9422. }
  9423. if (class_name_ != &::google::protobuf::internal::kEmptyString) {
  9424. delete class_name_;
  9425. }
  9426. if (this != default_instance_) {
  9427. }
  9428. }
  9429. void CSVCMsg_ClassInfo_class_t::SetCachedSize(int size) const {
  9430. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9431. _cached_size_ = size;
  9432. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9433. }
  9434. const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo_class_t::descriptor() {
  9435. protobuf_AssignDescriptorsOnce();
  9436. return CSVCMsg_ClassInfo_class_t_descriptor_;
  9437. }
  9438. const CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo_class_t::default_instance() {
  9439. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  9440. return *default_instance_;
  9441. }
  9442. CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo_class_t::default_instance_ = NULL;
  9443. CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo_class_t::New() const {
  9444. return new CSVCMsg_ClassInfo_class_t;
  9445. }
  9446. void CSVCMsg_ClassInfo_class_t::Clear() {
  9447. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9448. class_id_ = 0;
  9449. if (has_data_table_name()) {
  9450. if (data_table_name_ != &::google::protobuf::internal::kEmptyString) {
  9451. data_table_name_->clear();
  9452. }
  9453. }
  9454. if (has_class_name()) {
  9455. if (class_name_ != &::google::protobuf::internal::kEmptyString) {
  9456. class_name_->clear();
  9457. }
  9458. }
  9459. }
  9460. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9461. mutable_unknown_fields()->Clear();
  9462. }
  9463. bool CSVCMsg_ClassInfo_class_t::MergePartialFromCodedStream(
  9464. ::google::protobuf::io::CodedInputStream* input) {
  9465. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9466. ::google::protobuf::uint32 tag;
  9467. while ((tag = input->ReadTag()) != 0) {
  9468. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9469. // optional int32 class_id = 1;
  9470. case 1: {
  9471. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9472. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9473. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9474. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9475. input, &class_id_)));
  9476. set_has_class_id();
  9477. } else {
  9478. goto handle_uninterpreted;
  9479. }
  9480. if (input->ExpectTag(18)) goto parse_data_table_name;
  9481. break;
  9482. }
  9483. // optional string data_table_name = 2;
  9484. case 2: {
  9485. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9486. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9487. parse_data_table_name:
  9488. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9489. input, this->mutable_data_table_name()));
  9490. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9491. this->data_table_name().data(), this->data_table_name().length(),
  9492. ::google::protobuf::internal::WireFormat::PARSE);
  9493. } else {
  9494. goto handle_uninterpreted;
  9495. }
  9496. if (input->ExpectTag(26)) goto parse_class_name;
  9497. break;
  9498. }
  9499. // optional string class_name = 3;
  9500. case 3: {
  9501. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9502. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9503. parse_class_name:
  9504. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9505. input, this->mutable_class_name()));
  9506. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9507. this->class_name().data(), this->class_name().length(),
  9508. ::google::protobuf::internal::WireFormat::PARSE);
  9509. } else {
  9510. goto handle_uninterpreted;
  9511. }
  9512. if (input->ExpectAtEnd()) return true;
  9513. break;
  9514. }
  9515. default: {
  9516. handle_uninterpreted:
  9517. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9518. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9519. return true;
  9520. }
  9521. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9522. input, tag, mutable_unknown_fields()));
  9523. break;
  9524. }
  9525. }
  9526. }
  9527. return true;
  9528. #undef DO_
  9529. }
  9530. void CSVCMsg_ClassInfo_class_t::SerializeWithCachedSizes(
  9531. ::google::protobuf::io::CodedOutputStream* output) const {
  9532. // optional int32 class_id = 1;
  9533. if (has_class_id()) {
  9534. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->class_id(), output);
  9535. }
  9536. // optional string data_table_name = 2;
  9537. if (has_data_table_name()) {
  9538. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9539. this->data_table_name().data(), this->data_table_name().length(),
  9540. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9541. ::google::protobuf::internal::WireFormatLite::WriteString(
  9542. 2, this->data_table_name(), output);
  9543. }
  9544. // optional string class_name = 3;
  9545. if (has_class_name()) {
  9546. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9547. this->class_name().data(), this->class_name().length(),
  9548. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9549. ::google::protobuf::internal::WireFormatLite::WriteString(
  9550. 3, this->class_name(), output);
  9551. }
  9552. if (!unknown_fields().empty()) {
  9553. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9554. unknown_fields(), output);
  9555. }
  9556. }
  9557. ::google::protobuf::uint8* CSVCMsg_ClassInfo_class_t::SerializeWithCachedSizesToArray(
  9558. ::google::protobuf::uint8* target) const {
  9559. // optional int32 class_id = 1;
  9560. if (has_class_id()) {
  9561. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->class_id(), target);
  9562. }
  9563. // optional string data_table_name = 2;
  9564. if (has_data_table_name()) {
  9565. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9566. this->data_table_name().data(), this->data_table_name().length(),
  9567. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9568. target =
  9569. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9570. 2, this->data_table_name(), target);
  9571. }
  9572. // optional string class_name = 3;
  9573. if (has_class_name()) {
  9574. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9575. this->class_name().data(), this->class_name().length(),
  9576. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9577. target =
  9578. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9579. 3, this->class_name(), target);
  9580. }
  9581. if (!unknown_fields().empty()) {
  9582. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9583. unknown_fields(), target);
  9584. }
  9585. return target;
  9586. }
  9587. int CSVCMsg_ClassInfo_class_t::ByteSize() const {
  9588. int total_size = 0;
  9589. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9590. // optional int32 class_id = 1;
  9591. if (has_class_id()) {
  9592. total_size += 1 +
  9593. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9594. this->class_id());
  9595. }
  9596. // optional string data_table_name = 2;
  9597. if (has_data_table_name()) {
  9598. total_size += 1 +
  9599. ::google::protobuf::internal::WireFormatLite::StringSize(
  9600. this->data_table_name());
  9601. }
  9602. // optional string class_name = 3;
  9603. if (has_class_name()) {
  9604. total_size += 1 +
  9605. ::google::protobuf::internal::WireFormatLite::StringSize(
  9606. this->class_name());
  9607. }
  9608. }
  9609. if (!unknown_fields().empty()) {
  9610. total_size +=
  9611. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9612. unknown_fields());
  9613. }
  9614. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9615. _cached_size_ = total_size;
  9616. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9617. return total_size;
  9618. }
  9619. void CSVCMsg_ClassInfo_class_t::MergeFrom(const ::google::protobuf::Message& from) {
  9620. GOOGLE_CHECK_NE(&from, this);
  9621. const CSVCMsg_ClassInfo_class_t* source =
  9622. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_ClassInfo_class_t*>(
  9623. &from);
  9624. if (source == NULL) {
  9625. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9626. } else {
  9627. MergeFrom(*source);
  9628. }
  9629. }
  9630. void CSVCMsg_ClassInfo_class_t::MergeFrom(const CSVCMsg_ClassInfo_class_t& from) {
  9631. GOOGLE_CHECK_NE(&from, this);
  9632. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9633. if (from.has_class_id()) {
  9634. set_class_id(from.class_id());
  9635. }
  9636. if (from.has_data_table_name()) {
  9637. set_data_table_name(from.data_table_name());
  9638. }
  9639. if (from.has_class_name()) {
  9640. set_class_name(from.class_name());
  9641. }
  9642. }
  9643. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9644. }
  9645. void CSVCMsg_ClassInfo_class_t::CopyFrom(const ::google::protobuf::Message& from) {
  9646. if (&from == this) return;
  9647. Clear();
  9648. MergeFrom(from);
  9649. }
  9650. void CSVCMsg_ClassInfo_class_t::CopyFrom(const CSVCMsg_ClassInfo_class_t& from) {
  9651. if (&from == this) return;
  9652. Clear();
  9653. MergeFrom(from);
  9654. }
  9655. bool CSVCMsg_ClassInfo_class_t::IsInitialized() const {
  9656. return true;
  9657. }
  9658. void CSVCMsg_ClassInfo_class_t::Swap(CSVCMsg_ClassInfo_class_t* other) {
  9659. if (other != this) {
  9660. std::swap(class_id_, other->class_id_);
  9661. std::swap(data_table_name_, other->data_table_name_);
  9662. std::swap(class_name_, other->class_name_);
  9663. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9664. _unknown_fields_.Swap(&other->_unknown_fields_);
  9665. std::swap(_cached_size_, other->_cached_size_);
  9666. }
  9667. }
  9668. ::google::protobuf::Metadata CSVCMsg_ClassInfo_class_t::GetMetadata() const {
  9669. protobuf_AssignDescriptorsOnce();
  9670. ::google::protobuf::Metadata metadata;
  9671. metadata.descriptor = CSVCMsg_ClassInfo_class_t_descriptor_;
  9672. metadata.reflection = CSVCMsg_ClassInfo_class_t_reflection_;
  9673. return metadata;
  9674. }
  9675. // -------------------------------------------------------------------
  9676. #ifndef _MSC_VER
  9677. const int CSVCMsg_ClassInfo::kCreateOnClientFieldNumber;
  9678. const int CSVCMsg_ClassInfo::kClassesFieldNumber;
  9679. #endif // !_MSC_VER
  9680. CSVCMsg_ClassInfo::CSVCMsg_ClassInfo()
  9681. : ::google::protobuf::Message() {
  9682. SharedCtor();
  9683. }
  9684. void CSVCMsg_ClassInfo::InitAsDefaultInstance() {
  9685. }
  9686. CSVCMsg_ClassInfo::CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from)
  9687. : ::google::protobuf::Message() {
  9688. SharedCtor();
  9689. MergeFrom(from);
  9690. }
  9691. void CSVCMsg_ClassInfo::SharedCtor() {
  9692. _cached_size_ = 0;
  9693. create_on_client_ = false;
  9694. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9695. }
  9696. CSVCMsg_ClassInfo::~CSVCMsg_ClassInfo() {
  9697. SharedDtor();
  9698. }
  9699. void CSVCMsg_ClassInfo::SharedDtor() {
  9700. if (this != default_instance_) {
  9701. }
  9702. }
  9703. void CSVCMsg_ClassInfo::SetCachedSize(int size) const {
  9704. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9705. _cached_size_ = size;
  9706. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9707. }
  9708. const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo::descriptor() {
  9709. protobuf_AssignDescriptorsOnce();
  9710. return CSVCMsg_ClassInfo_descriptor_;
  9711. }
  9712. const CSVCMsg_ClassInfo& CSVCMsg_ClassInfo::default_instance() {
  9713. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  9714. return *default_instance_;
  9715. }
  9716. CSVCMsg_ClassInfo* CSVCMsg_ClassInfo::default_instance_ = NULL;
  9717. CSVCMsg_ClassInfo* CSVCMsg_ClassInfo::New() const {
  9718. return new CSVCMsg_ClassInfo;
  9719. }
  9720. void CSVCMsg_ClassInfo::Clear() {
  9721. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9722. create_on_client_ = false;
  9723. }
  9724. classes_.Clear();
  9725. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9726. mutable_unknown_fields()->Clear();
  9727. }
  9728. bool CSVCMsg_ClassInfo::MergePartialFromCodedStream(
  9729. ::google::protobuf::io::CodedInputStream* input) {
  9730. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9731. ::google::protobuf::uint32 tag;
  9732. while ((tag = input->ReadTag()) != 0) {
  9733. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9734. // optional bool create_on_client = 1;
  9735. case 1: {
  9736. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9737. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9738. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9739. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  9740. input, &create_on_client_)));
  9741. set_has_create_on_client();
  9742. } else {
  9743. goto handle_uninterpreted;
  9744. }
  9745. if (input->ExpectTag(18)) goto parse_classes;
  9746. break;
  9747. }
  9748. // repeated .CSVCMsg_ClassInfo.class_t classes = 2;
  9749. case 2: {
  9750. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9751. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9752. parse_classes:
  9753. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9754. input, add_classes()));
  9755. } else {
  9756. goto handle_uninterpreted;
  9757. }
  9758. if (input->ExpectTag(18)) goto parse_classes;
  9759. if (input->ExpectAtEnd()) return true;
  9760. break;
  9761. }
  9762. default: {
  9763. handle_uninterpreted:
  9764. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9765. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9766. return true;
  9767. }
  9768. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9769. input, tag, mutable_unknown_fields()));
  9770. break;
  9771. }
  9772. }
  9773. }
  9774. return true;
  9775. #undef DO_
  9776. }
  9777. void CSVCMsg_ClassInfo::SerializeWithCachedSizes(
  9778. ::google::protobuf::io::CodedOutputStream* output) const {
  9779. // optional bool create_on_client = 1;
  9780. if (has_create_on_client()) {
  9781. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->create_on_client(), output);
  9782. }
  9783. // repeated .CSVCMsg_ClassInfo.class_t classes = 2;
  9784. for (int i = 0; i < this->classes_size(); i++) {
  9785. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  9786. 2, this->classes(i), output);
  9787. }
  9788. if (!unknown_fields().empty()) {
  9789. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9790. unknown_fields(), output);
  9791. }
  9792. }
  9793. ::google::protobuf::uint8* CSVCMsg_ClassInfo::SerializeWithCachedSizesToArray(
  9794. ::google::protobuf::uint8* target) const {
  9795. // optional bool create_on_client = 1;
  9796. if (has_create_on_client()) {
  9797. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->create_on_client(), target);
  9798. }
  9799. // repeated .CSVCMsg_ClassInfo.class_t classes = 2;
  9800. for (int i = 0; i < this->classes_size(); i++) {
  9801. target = ::google::protobuf::internal::WireFormatLite::
  9802. WriteMessageNoVirtualToArray(
  9803. 2, this->classes(i), target);
  9804. }
  9805. if (!unknown_fields().empty()) {
  9806. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9807. unknown_fields(), target);
  9808. }
  9809. return target;
  9810. }
  9811. int CSVCMsg_ClassInfo::ByteSize() const {
  9812. int total_size = 0;
  9813. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9814. // optional bool create_on_client = 1;
  9815. if (has_create_on_client()) {
  9816. total_size += 1 + 1;
  9817. }
  9818. }
  9819. // repeated .CSVCMsg_ClassInfo.class_t classes = 2;
  9820. total_size += 1 * this->classes_size();
  9821. for (int i = 0; i < this->classes_size(); i++) {
  9822. total_size +=
  9823. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9824. this->classes(i));
  9825. }
  9826. if (!unknown_fields().empty()) {
  9827. total_size +=
  9828. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9829. unknown_fields());
  9830. }
  9831. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9832. _cached_size_ = total_size;
  9833. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9834. return total_size;
  9835. }
  9836. void CSVCMsg_ClassInfo::MergeFrom(const ::google::protobuf::Message& from) {
  9837. GOOGLE_CHECK_NE(&from, this);
  9838. const CSVCMsg_ClassInfo* source =
  9839. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_ClassInfo*>(
  9840. &from);
  9841. if (source == NULL) {
  9842. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9843. } else {
  9844. MergeFrom(*source);
  9845. }
  9846. }
  9847. void CSVCMsg_ClassInfo::MergeFrom(const CSVCMsg_ClassInfo& from) {
  9848. GOOGLE_CHECK_NE(&from, this);
  9849. classes_.MergeFrom(from.classes_);
  9850. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9851. if (from.has_create_on_client()) {
  9852. set_create_on_client(from.create_on_client());
  9853. }
  9854. }
  9855. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9856. }
  9857. void CSVCMsg_ClassInfo::CopyFrom(const ::google::protobuf::Message& from) {
  9858. if (&from == this) return;
  9859. Clear();
  9860. MergeFrom(from);
  9861. }
  9862. void CSVCMsg_ClassInfo::CopyFrom(const CSVCMsg_ClassInfo& from) {
  9863. if (&from == this) return;
  9864. Clear();
  9865. MergeFrom(from);
  9866. }
  9867. bool CSVCMsg_ClassInfo::IsInitialized() const {
  9868. return true;
  9869. }
  9870. void CSVCMsg_ClassInfo::Swap(CSVCMsg_ClassInfo* other) {
  9871. if (other != this) {
  9872. std::swap(create_on_client_, other->create_on_client_);
  9873. classes_.Swap(&other->classes_);
  9874. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9875. _unknown_fields_.Swap(&other->_unknown_fields_);
  9876. std::swap(_cached_size_, other->_cached_size_);
  9877. }
  9878. }
  9879. ::google::protobuf::Metadata CSVCMsg_ClassInfo::GetMetadata() const {
  9880. protobuf_AssignDescriptorsOnce();
  9881. ::google::protobuf::Metadata metadata;
  9882. metadata.descriptor = CSVCMsg_ClassInfo_descriptor_;
  9883. metadata.reflection = CSVCMsg_ClassInfo_reflection_;
  9884. return metadata;
  9885. }
  9886. // ===================================================================
  9887. #ifndef _MSC_VER
  9888. const int CSVCMsg_SendTable_sendprop_t::kTypeFieldNumber;
  9889. const int CSVCMsg_SendTable_sendprop_t::kVarNameFieldNumber;
  9890. const int CSVCMsg_SendTable_sendprop_t::kFlagsFieldNumber;
  9891. const int CSVCMsg_SendTable_sendprop_t::kPriorityFieldNumber;
  9892. const int CSVCMsg_SendTable_sendprop_t::kDtNameFieldNumber;
  9893. const int CSVCMsg_SendTable_sendprop_t::kNumElementsFieldNumber;
  9894. const int CSVCMsg_SendTable_sendprop_t::kLowValueFieldNumber;
  9895. const int CSVCMsg_SendTable_sendprop_t::kHighValueFieldNumber;
  9896. const int CSVCMsg_SendTable_sendprop_t::kNumBitsFieldNumber;
  9897. #endif // !_MSC_VER
  9898. CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t()
  9899. : ::google::protobuf::Message() {
  9900. SharedCtor();
  9901. }
  9902. void CSVCMsg_SendTable_sendprop_t::InitAsDefaultInstance() {
  9903. }
  9904. CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from)
  9905. : ::google::protobuf::Message() {
  9906. SharedCtor();
  9907. MergeFrom(from);
  9908. }
  9909. void CSVCMsg_SendTable_sendprop_t::SharedCtor() {
  9910. _cached_size_ = 0;
  9911. type_ = 0;
  9912. var_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9913. flags_ = 0;
  9914. priority_ = 0;
  9915. dt_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9916. num_elements_ = 0;
  9917. low_value_ = 0;
  9918. high_value_ = 0;
  9919. num_bits_ = 0;
  9920. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9921. }
  9922. CSVCMsg_SendTable_sendprop_t::~CSVCMsg_SendTable_sendprop_t() {
  9923. SharedDtor();
  9924. }
  9925. void CSVCMsg_SendTable_sendprop_t::SharedDtor() {
  9926. if (var_name_ != &::google::protobuf::internal::kEmptyString) {
  9927. delete var_name_;
  9928. }
  9929. if (dt_name_ != &::google::protobuf::internal::kEmptyString) {
  9930. delete dt_name_;
  9931. }
  9932. if (this != default_instance_) {
  9933. }
  9934. }
  9935. void CSVCMsg_SendTable_sendprop_t::SetCachedSize(int size) const {
  9936. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9937. _cached_size_ = size;
  9938. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9939. }
  9940. const ::google::protobuf::Descriptor* CSVCMsg_SendTable_sendprop_t::descriptor() {
  9941. protobuf_AssignDescriptorsOnce();
  9942. return CSVCMsg_SendTable_sendprop_t_descriptor_;
  9943. }
  9944. const CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable_sendprop_t::default_instance() {
  9945. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  9946. return *default_instance_;
  9947. }
  9948. CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable_sendprop_t::default_instance_ = NULL;
  9949. CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable_sendprop_t::New() const {
  9950. return new CSVCMsg_SendTable_sendprop_t;
  9951. }
  9952. void CSVCMsg_SendTable_sendprop_t::Clear() {
  9953. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9954. type_ = 0;
  9955. if (has_var_name()) {
  9956. if (var_name_ != &::google::protobuf::internal::kEmptyString) {
  9957. var_name_->clear();
  9958. }
  9959. }
  9960. flags_ = 0;
  9961. priority_ = 0;
  9962. if (has_dt_name()) {
  9963. if (dt_name_ != &::google::protobuf::internal::kEmptyString) {
  9964. dt_name_->clear();
  9965. }
  9966. }
  9967. num_elements_ = 0;
  9968. low_value_ = 0;
  9969. high_value_ = 0;
  9970. }
  9971. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9972. num_bits_ = 0;
  9973. }
  9974. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9975. mutable_unknown_fields()->Clear();
  9976. }
  9977. bool CSVCMsg_SendTable_sendprop_t::MergePartialFromCodedStream(
  9978. ::google::protobuf::io::CodedInputStream* input) {
  9979. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9980. ::google::protobuf::uint32 tag;
  9981. while ((tag = input->ReadTag()) != 0) {
  9982. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9983. // optional int32 type = 1;
  9984. case 1: {
  9985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9987. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9988. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9989. input, &type_)));
  9990. set_has_type();
  9991. } else {
  9992. goto handle_uninterpreted;
  9993. }
  9994. if (input->ExpectTag(18)) goto parse_var_name;
  9995. break;
  9996. }
  9997. // optional string var_name = 2;
  9998. case 2: {
  9999. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10000. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10001. parse_var_name:
  10002. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10003. input, this->mutable_var_name()));
  10004. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10005. this->var_name().data(), this->var_name().length(),
  10006. ::google::protobuf::internal::WireFormat::PARSE);
  10007. } else {
  10008. goto handle_uninterpreted;
  10009. }
  10010. if (input->ExpectTag(24)) goto parse_flags;
  10011. break;
  10012. }
  10013. // optional int32 flags = 3;
  10014. case 3: {
  10015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10017. parse_flags:
  10018. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10019. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10020. input, &flags_)));
  10021. set_has_flags();
  10022. } else {
  10023. goto handle_uninterpreted;
  10024. }
  10025. if (input->ExpectTag(32)) goto parse_priority;
  10026. break;
  10027. }
  10028. // optional int32 priority = 4;
  10029. case 4: {
  10030. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10031. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10032. parse_priority:
  10033. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10034. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10035. input, &priority_)));
  10036. set_has_priority();
  10037. } else {
  10038. goto handle_uninterpreted;
  10039. }
  10040. if (input->ExpectTag(42)) goto parse_dt_name;
  10041. break;
  10042. }
  10043. // optional string dt_name = 5;
  10044. case 5: {
  10045. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10046. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10047. parse_dt_name:
  10048. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10049. input, this->mutable_dt_name()));
  10050. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10051. this->dt_name().data(), this->dt_name().length(),
  10052. ::google::protobuf::internal::WireFormat::PARSE);
  10053. } else {
  10054. goto handle_uninterpreted;
  10055. }
  10056. if (input->ExpectTag(48)) goto parse_num_elements;
  10057. break;
  10058. }
  10059. // optional int32 num_elements = 6;
  10060. case 6: {
  10061. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10062. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10063. parse_num_elements:
  10064. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10065. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10066. input, &num_elements_)));
  10067. set_has_num_elements();
  10068. } else {
  10069. goto handle_uninterpreted;
  10070. }
  10071. if (input->ExpectTag(61)) goto parse_low_value;
  10072. break;
  10073. }
  10074. // optional float low_value = 7;
  10075. case 7: {
  10076. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10077. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  10078. parse_low_value:
  10079. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10080. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  10081. input, &low_value_)));
  10082. set_has_low_value();
  10083. } else {
  10084. goto handle_uninterpreted;
  10085. }
  10086. if (input->ExpectTag(69)) goto parse_high_value;
  10087. break;
  10088. }
  10089. // optional float high_value = 8;
  10090. case 8: {
  10091. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10092. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  10093. parse_high_value:
  10094. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10095. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  10096. input, &high_value_)));
  10097. set_has_high_value();
  10098. } else {
  10099. goto handle_uninterpreted;
  10100. }
  10101. if (input->ExpectTag(72)) goto parse_num_bits;
  10102. break;
  10103. }
  10104. // optional int32 num_bits = 9;
  10105. case 9: {
  10106. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10107. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10108. parse_num_bits:
  10109. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10110. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10111. input, &num_bits_)));
  10112. set_has_num_bits();
  10113. } else {
  10114. goto handle_uninterpreted;
  10115. }
  10116. if (input->ExpectAtEnd()) return true;
  10117. break;
  10118. }
  10119. default: {
  10120. handle_uninterpreted:
  10121. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10122. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10123. return true;
  10124. }
  10125. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10126. input, tag, mutable_unknown_fields()));
  10127. break;
  10128. }
  10129. }
  10130. }
  10131. return true;
  10132. #undef DO_
  10133. }
  10134. void CSVCMsg_SendTable_sendprop_t::SerializeWithCachedSizes(
  10135. ::google::protobuf::io::CodedOutputStream* output) const {
  10136. // optional int32 type = 1;
  10137. if (has_type()) {
  10138. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
  10139. }
  10140. // optional string var_name = 2;
  10141. if (has_var_name()) {
  10142. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10143. this->var_name().data(), this->var_name().length(),
  10144. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10145. ::google::protobuf::internal::WireFormatLite::WriteString(
  10146. 2, this->var_name(), output);
  10147. }
  10148. // optional int32 flags = 3;
  10149. if (has_flags()) {
  10150. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->flags(), output);
  10151. }
  10152. // optional int32 priority = 4;
  10153. if (has_priority()) {
  10154. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->priority(), output);
  10155. }
  10156. // optional string dt_name = 5;
  10157. if (has_dt_name()) {
  10158. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10159. this->dt_name().data(), this->dt_name().length(),
  10160. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10161. ::google::protobuf::internal::WireFormatLite::WriteString(
  10162. 5, this->dt_name(), output);
  10163. }
  10164. // optional int32 num_elements = 6;
  10165. if (has_num_elements()) {
  10166. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->num_elements(), output);
  10167. }
  10168. // optional float low_value = 7;
  10169. if (has_low_value()) {
  10170. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->low_value(), output);
  10171. }
  10172. // optional float high_value = 8;
  10173. if (has_high_value()) {
  10174. ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->high_value(), output);
  10175. }
  10176. // optional int32 num_bits = 9;
  10177. if (has_num_bits()) {
  10178. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->num_bits(), output);
  10179. }
  10180. if (!unknown_fields().empty()) {
  10181. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10182. unknown_fields(), output);
  10183. }
  10184. }
  10185. ::google::protobuf::uint8* CSVCMsg_SendTable_sendprop_t::SerializeWithCachedSizesToArray(
  10186. ::google::protobuf::uint8* target) const {
  10187. // optional int32 type = 1;
  10188. if (has_type()) {
  10189. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target);
  10190. }
  10191. // optional string var_name = 2;
  10192. if (has_var_name()) {
  10193. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10194. this->var_name().data(), this->var_name().length(),
  10195. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10196. target =
  10197. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10198. 2, this->var_name(), target);
  10199. }
  10200. // optional int32 flags = 3;
  10201. if (has_flags()) {
  10202. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->flags(), target);
  10203. }
  10204. // optional int32 priority = 4;
  10205. if (has_priority()) {
  10206. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->priority(), target);
  10207. }
  10208. // optional string dt_name = 5;
  10209. if (has_dt_name()) {
  10210. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10211. this->dt_name().data(), this->dt_name().length(),
  10212. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10213. target =
  10214. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10215. 5, this->dt_name(), target);
  10216. }
  10217. // optional int32 num_elements = 6;
  10218. if (has_num_elements()) {
  10219. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->num_elements(), target);
  10220. }
  10221. // optional float low_value = 7;
  10222. if (has_low_value()) {
  10223. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->low_value(), target);
  10224. }
  10225. // optional float high_value = 8;
  10226. if (has_high_value()) {
  10227. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->high_value(), target);
  10228. }
  10229. // optional int32 num_bits = 9;
  10230. if (has_num_bits()) {
  10231. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->num_bits(), target);
  10232. }
  10233. if (!unknown_fields().empty()) {
  10234. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10235. unknown_fields(), target);
  10236. }
  10237. return target;
  10238. }
  10239. int CSVCMsg_SendTable_sendprop_t::ByteSize() const {
  10240. int total_size = 0;
  10241. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10242. // optional int32 type = 1;
  10243. if (has_type()) {
  10244. total_size += 1 +
  10245. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10246. this->type());
  10247. }
  10248. // optional string var_name = 2;
  10249. if (has_var_name()) {
  10250. total_size += 1 +
  10251. ::google::protobuf::internal::WireFormatLite::StringSize(
  10252. this->var_name());
  10253. }
  10254. // optional int32 flags = 3;
  10255. if (has_flags()) {
  10256. total_size += 1 +
  10257. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10258. this->flags());
  10259. }
  10260. // optional int32 priority = 4;
  10261. if (has_priority()) {
  10262. total_size += 1 +
  10263. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10264. this->priority());
  10265. }
  10266. // optional string dt_name = 5;
  10267. if (has_dt_name()) {
  10268. total_size += 1 +
  10269. ::google::protobuf::internal::WireFormatLite::StringSize(
  10270. this->dt_name());
  10271. }
  10272. // optional int32 num_elements = 6;
  10273. if (has_num_elements()) {
  10274. total_size += 1 +
  10275. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10276. this->num_elements());
  10277. }
  10278. // optional float low_value = 7;
  10279. if (has_low_value()) {
  10280. total_size += 1 + 4;
  10281. }
  10282. // optional float high_value = 8;
  10283. if (has_high_value()) {
  10284. total_size += 1 + 4;
  10285. }
  10286. }
  10287. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10288. // optional int32 num_bits = 9;
  10289. if (has_num_bits()) {
  10290. total_size += 1 +
  10291. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10292. this->num_bits());
  10293. }
  10294. }
  10295. if (!unknown_fields().empty()) {
  10296. total_size +=
  10297. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10298. unknown_fields());
  10299. }
  10300. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10301. _cached_size_ = total_size;
  10302. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10303. return total_size;
  10304. }
  10305. void CSVCMsg_SendTable_sendprop_t::MergeFrom(const ::google::protobuf::Message& from) {
  10306. GOOGLE_CHECK_NE(&from, this);
  10307. const CSVCMsg_SendTable_sendprop_t* source =
  10308. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_SendTable_sendprop_t*>(
  10309. &from);
  10310. if (source == NULL) {
  10311. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10312. } else {
  10313. MergeFrom(*source);
  10314. }
  10315. }
  10316. void CSVCMsg_SendTable_sendprop_t::MergeFrom(const CSVCMsg_SendTable_sendprop_t& from) {
  10317. GOOGLE_CHECK_NE(&from, this);
  10318. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10319. if (from.has_type()) {
  10320. set_type(from.type());
  10321. }
  10322. if (from.has_var_name()) {
  10323. set_var_name(from.var_name());
  10324. }
  10325. if (from.has_flags()) {
  10326. set_flags(from.flags());
  10327. }
  10328. if (from.has_priority()) {
  10329. set_priority(from.priority());
  10330. }
  10331. if (from.has_dt_name()) {
  10332. set_dt_name(from.dt_name());
  10333. }
  10334. if (from.has_num_elements()) {
  10335. set_num_elements(from.num_elements());
  10336. }
  10337. if (from.has_low_value()) {
  10338. set_low_value(from.low_value());
  10339. }
  10340. if (from.has_high_value()) {
  10341. set_high_value(from.high_value());
  10342. }
  10343. }
  10344. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10345. if (from.has_num_bits()) {
  10346. set_num_bits(from.num_bits());
  10347. }
  10348. }
  10349. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10350. }
  10351. void CSVCMsg_SendTable_sendprop_t::CopyFrom(const ::google::protobuf::Message& from) {
  10352. if (&from == this) return;
  10353. Clear();
  10354. MergeFrom(from);
  10355. }
  10356. void CSVCMsg_SendTable_sendprop_t::CopyFrom(const CSVCMsg_SendTable_sendprop_t& from) {
  10357. if (&from == this) return;
  10358. Clear();
  10359. MergeFrom(from);
  10360. }
  10361. bool CSVCMsg_SendTable_sendprop_t::IsInitialized() const {
  10362. return true;
  10363. }
  10364. void CSVCMsg_SendTable_sendprop_t::Swap(CSVCMsg_SendTable_sendprop_t* other) {
  10365. if (other != this) {
  10366. std::swap(type_, other->type_);
  10367. std::swap(var_name_, other->var_name_);
  10368. std::swap(flags_, other->flags_);
  10369. std::swap(priority_, other->priority_);
  10370. std::swap(dt_name_, other->dt_name_);
  10371. std::swap(num_elements_, other->num_elements_);
  10372. std::swap(low_value_, other->low_value_);
  10373. std::swap(high_value_, other->high_value_);
  10374. std::swap(num_bits_, other->num_bits_);
  10375. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10376. _unknown_fields_.Swap(&other->_unknown_fields_);
  10377. std::swap(_cached_size_, other->_cached_size_);
  10378. }
  10379. }
  10380. ::google::protobuf::Metadata CSVCMsg_SendTable_sendprop_t::GetMetadata() const {
  10381. protobuf_AssignDescriptorsOnce();
  10382. ::google::protobuf::Metadata metadata;
  10383. metadata.descriptor = CSVCMsg_SendTable_sendprop_t_descriptor_;
  10384. metadata.reflection = CSVCMsg_SendTable_sendprop_t_reflection_;
  10385. return metadata;
  10386. }
  10387. // -------------------------------------------------------------------
  10388. #ifndef _MSC_VER
  10389. const int CSVCMsg_SendTable::kIsEndFieldNumber;
  10390. const int CSVCMsg_SendTable::kNetTableNameFieldNumber;
  10391. const int CSVCMsg_SendTable::kNeedsDecoderFieldNumber;
  10392. const int CSVCMsg_SendTable::kPropsFieldNumber;
  10393. #endif // !_MSC_VER
  10394. CSVCMsg_SendTable::CSVCMsg_SendTable()
  10395. : ::google::protobuf::Message() {
  10396. SharedCtor();
  10397. }
  10398. void CSVCMsg_SendTable::InitAsDefaultInstance() {
  10399. }
  10400. CSVCMsg_SendTable::CSVCMsg_SendTable(const CSVCMsg_SendTable& from)
  10401. : ::google::protobuf::Message() {
  10402. SharedCtor();
  10403. MergeFrom(from);
  10404. }
  10405. void CSVCMsg_SendTable::SharedCtor() {
  10406. _cached_size_ = 0;
  10407. is_end_ = false;
  10408. net_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10409. needs_decoder_ = false;
  10410. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10411. }
  10412. CSVCMsg_SendTable::~CSVCMsg_SendTable() {
  10413. SharedDtor();
  10414. }
  10415. void CSVCMsg_SendTable::SharedDtor() {
  10416. if (net_table_name_ != &::google::protobuf::internal::kEmptyString) {
  10417. delete net_table_name_;
  10418. }
  10419. if (this != default_instance_) {
  10420. }
  10421. }
  10422. void CSVCMsg_SendTable::SetCachedSize(int size) const {
  10423. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10424. _cached_size_ = size;
  10425. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10426. }
  10427. const ::google::protobuf::Descriptor* CSVCMsg_SendTable::descriptor() {
  10428. protobuf_AssignDescriptorsOnce();
  10429. return CSVCMsg_SendTable_descriptor_;
  10430. }
  10431. const CSVCMsg_SendTable& CSVCMsg_SendTable::default_instance() {
  10432. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  10433. return *default_instance_;
  10434. }
  10435. CSVCMsg_SendTable* CSVCMsg_SendTable::default_instance_ = NULL;
  10436. CSVCMsg_SendTable* CSVCMsg_SendTable::New() const {
  10437. return new CSVCMsg_SendTable;
  10438. }
  10439. void CSVCMsg_SendTable::Clear() {
  10440. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10441. is_end_ = false;
  10442. if (has_net_table_name()) {
  10443. if (net_table_name_ != &::google::protobuf::internal::kEmptyString) {
  10444. net_table_name_->clear();
  10445. }
  10446. }
  10447. needs_decoder_ = false;
  10448. }
  10449. props_.Clear();
  10450. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10451. mutable_unknown_fields()->Clear();
  10452. }
  10453. bool CSVCMsg_SendTable::MergePartialFromCodedStream(
  10454. ::google::protobuf::io::CodedInputStream* input) {
  10455. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10456. ::google::protobuf::uint32 tag;
  10457. while ((tag = input->ReadTag()) != 0) {
  10458. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10459. // optional bool is_end = 1;
  10460. case 1: {
  10461. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10462. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10463. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10464. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  10465. input, &is_end_)));
  10466. set_has_is_end();
  10467. } else {
  10468. goto handle_uninterpreted;
  10469. }
  10470. if (input->ExpectTag(18)) goto parse_net_table_name;
  10471. break;
  10472. }
  10473. // optional string net_table_name = 2;
  10474. case 2: {
  10475. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10476. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10477. parse_net_table_name:
  10478. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10479. input, this->mutable_net_table_name()));
  10480. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10481. this->net_table_name().data(), this->net_table_name().length(),
  10482. ::google::protobuf::internal::WireFormat::PARSE);
  10483. } else {
  10484. goto handle_uninterpreted;
  10485. }
  10486. if (input->ExpectTag(24)) goto parse_needs_decoder;
  10487. break;
  10488. }
  10489. // optional bool needs_decoder = 3;
  10490. case 3: {
  10491. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10492. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10493. parse_needs_decoder:
  10494. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10495. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  10496. input, &needs_decoder_)));
  10497. set_has_needs_decoder();
  10498. } else {
  10499. goto handle_uninterpreted;
  10500. }
  10501. if (input->ExpectTag(34)) goto parse_props;
  10502. break;
  10503. }
  10504. // repeated .CSVCMsg_SendTable.sendprop_t props = 4;
  10505. case 4: {
  10506. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10507. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10508. parse_props:
  10509. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10510. input, add_props()));
  10511. } else {
  10512. goto handle_uninterpreted;
  10513. }
  10514. if (input->ExpectTag(34)) goto parse_props;
  10515. if (input->ExpectAtEnd()) return true;
  10516. break;
  10517. }
  10518. default: {
  10519. handle_uninterpreted:
  10520. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10521. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10522. return true;
  10523. }
  10524. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10525. input, tag, mutable_unknown_fields()));
  10526. break;
  10527. }
  10528. }
  10529. }
  10530. return true;
  10531. #undef DO_
  10532. }
  10533. void CSVCMsg_SendTable::SerializeWithCachedSizes(
  10534. ::google::protobuf::io::CodedOutputStream* output) const {
  10535. // optional bool is_end = 1;
  10536. if (has_is_end()) {
  10537. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_end(), output);
  10538. }
  10539. // optional string net_table_name = 2;
  10540. if (has_net_table_name()) {
  10541. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10542. this->net_table_name().data(), this->net_table_name().length(),
  10543. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10544. ::google::protobuf::internal::WireFormatLite::WriteString(
  10545. 2, this->net_table_name(), output);
  10546. }
  10547. // optional bool needs_decoder = 3;
  10548. if (has_needs_decoder()) {
  10549. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->needs_decoder(), output);
  10550. }
  10551. // repeated .CSVCMsg_SendTable.sendprop_t props = 4;
  10552. for (int i = 0; i < this->props_size(); i++) {
  10553. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10554. 4, this->props(i), output);
  10555. }
  10556. if (!unknown_fields().empty()) {
  10557. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10558. unknown_fields(), output);
  10559. }
  10560. }
  10561. ::google::protobuf::uint8* CSVCMsg_SendTable::SerializeWithCachedSizesToArray(
  10562. ::google::protobuf::uint8* target) const {
  10563. // optional bool is_end = 1;
  10564. if (has_is_end()) {
  10565. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_end(), target);
  10566. }
  10567. // optional string net_table_name = 2;
  10568. if (has_net_table_name()) {
  10569. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10570. this->net_table_name().data(), this->net_table_name().length(),
  10571. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10572. target =
  10573. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10574. 2, this->net_table_name(), target);
  10575. }
  10576. // optional bool needs_decoder = 3;
  10577. if (has_needs_decoder()) {
  10578. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->needs_decoder(), target);
  10579. }
  10580. // repeated .CSVCMsg_SendTable.sendprop_t props = 4;
  10581. for (int i = 0; i < this->props_size(); i++) {
  10582. target = ::google::protobuf::internal::WireFormatLite::
  10583. WriteMessageNoVirtualToArray(
  10584. 4, this->props(i), target);
  10585. }
  10586. if (!unknown_fields().empty()) {
  10587. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10588. unknown_fields(), target);
  10589. }
  10590. return target;
  10591. }
  10592. int CSVCMsg_SendTable::ByteSize() const {
  10593. int total_size = 0;
  10594. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10595. // optional bool is_end = 1;
  10596. if (has_is_end()) {
  10597. total_size += 1 + 1;
  10598. }
  10599. // optional string net_table_name = 2;
  10600. if (has_net_table_name()) {
  10601. total_size += 1 +
  10602. ::google::protobuf::internal::WireFormatLite::StringSize(
  10603. this->net_table_name());
  10604. }
  10605. // optional bool needs_decoder = 3;
  10606. if (has_needs_decoder()) {
  10607. total_size += 1 + 1;
  10608. }
  10609. }
  10610. // repeated .CSVCMsg_SendTable.sendprop_t props = 4;
  10611. total_size += 1 * this->props_size();
  10612. for (int i = 0; i < this->props_size(); i++) {
  10613. total_size +=
  10614. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10615. this->props(i));
  10616. }
  10617. if (!unknown_fields().empty()) {
  10618. total_size +=
  10619. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10620. unknown_fields());
  10621. }
  10622. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10623. _cached_size_ = total_size;
  10624. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10625. return total_size;
  10626. }
  10627. void CSVCMsg_SendTable::MergeFrom(const ::google::protobuf::Message& from) {
  10628. GOOGLE_CHECK_NE(&from, this);
  10629. const CSVCMsg_SendTable* source =
  10630. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_SendTable*>(
  10631. &from);
  10632. if (source == NULL) {
  10633. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10634. } else {
  10635. MergeFrom(*source);
  10636. }
  10637. }
  10638. void CSVCMsg_SendTable::MergeFrom(const CSVCMsg_SendTable& from) {
  10639. GOOGLE_CHECK_NE(&from, this);
  10640. props_.MergeFrom(from.props_);
  10641. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10642. if (from.has_is_end()) {
  10643. set_is_end(from.is_end());
  10644. }
  10645. if (from.has_net_table_name()) {
  10646. set_net_table_name(from.net_table_name());
  10647. }
  10648. if (from.has_needs_decoder()) {
  10649. set_needs_decoder(from.needs_decoder());
  10650. }
  10651. }
  10652. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10653. }
  10654. void CSVCMsg_SendTable::CopyFrom(const ::google::protobuf::Message& from) {
  10655. if (&from == this) return;
  10656. Clear();
  10657. MergeFrom(from);
  10658. }
  10659. void CSVCMsg_SendTable::CopyFrom(const CSVCMsg_SendTable& from) {
  10660. if (&from == this) return;
  10661. Clear();
  10662. MergeFrom(from);
  10663. }
  10664. bool CSVCMsg_SendTable::IsInitialized() const {
  10665. return true;
  10666. }
  10667. void CSVCMsg_SendTable::Swap(CSVCMsg_SendTable* other) {
  10668. if (other != this) {
  10669. std::swap(is_end_, other->is_end_);
  10670. std::swap(net_table_name_, other->net_table_name_);
  10671. std::swap(needs_decoder_, other->needs_decoder_);
  10672. props_.Swap(&other->props_);
  10673. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10674. _unknown_fields_.Swap(&other->_unknown_fields_);
  10675. std::swap(_cached_size_, other->_cached_size_);
  10676. }
  10677. }
  10678. ::google::protobuf::Metadata CSVCMsg_SendTable::GetMetadata() const {
  10679. protobuf_AssignDescriptorsOnce();
  10680. ::google::protobuf::Metadata metadata;
  10681. metadata.descriptor = CSVCMsg_SendTable_descriptor_;
  10682. metadata.reflection = CSVCMsg_SendTable_reflection_;
  10683. return metadata;
  10684. }
  10685. // ===================================================================
  10686. #ifndef _MSC_VER
  10687. const int CSVCMsg_Print::kTextFieldNumber;
  10688. #endif // !_MSC_VER
  10689. CSVCMsg_Print::CSVCMsg_Print()
  10690. : ::google::protobuf::Message() {
  10691. SharedCtor();
  10692. }
  10693. void CSVCMsg_Print::InitAsDefaultInstance() {
  10694. }
  10695. CSVCMsg_Print::CSVCMsg_Print(const CSVCMsg_Print& from)
  10696. : ::google::protobuf::Message() {
  10697. SharedCtor();
  10698. MergeFrom(from);
  10699. }
  10700. void CSVCMsg_Print::SharedCtor() {
  10701. _cached_size_ = 0;
  10702. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10703. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10704. }
  10705. CSVCMsg_Print::~CSVCMsg_Print() {
  10706. SharedDtor();
  10707. }
  10708. void CSVCMsg_Print::SharedDtor() {
  10709. if (text_ != &::google::protobuf::internal::kEmptyString) {
  10710. delete text_;
  10711. }
  10712. if (this != default_instance_) {
  10713. }
  10714. }
  10715. void CSVCMsg_Print::SetCachedSize(int size) const {
  10716. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10717. _cached_size_ = size;
  10718. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10719. }
  10720. const ::google::protobuf::Descriptor* CSVCMsg_Print::descriptor() {
  10721. protobuf_AssignDescriptorsOnce();
  10722. return CSVCMsg_Print_descriptor_;
  10723. }
  10724. const CSVCMsg_Print& CSVCMsg_Print::default_instance() {
  10725. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  10726. return *default_instance_;
  10727. }
  10728. CSVCMsg_Print* CSVCMsg_Print::default_instance_ = NULL;
  10729. CSVCMsg_Print* CSVCMsg_Print::New() const {
  10730. return new CSVCMsg_Print;
  10731. }
  10732. void CSVCMsg_Print::Clear() {
  10733. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10734. if (has_text()) {
  10735. if (text_ != &::google::protobuf::internal::kEmptyString) {
  10736. text_->clear();
  10737. }
  10738. }
  10739. }
  10740. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10741. mutable_unknown_fields()->Clear();
  10742. }
  10743. bool CSVCMsg_Print::MergePartialFromCodedStream(
  10744. ::google::protobuf::io::CodedInputStream* input) {
  10745. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10746. ::google::protobuf::uint32 tag;
  10747. while ((tag = input->ReadTag()) != 0) {
  10748. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10749. // optional string text = 1;
  10750. case 1: {
  10751. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10752. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10753. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10754. input, this->mutable_text()));
  10755. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10756. this->text().data(), this->text().length(),
  10757. ::google::protobuf::internal::WireFormat::PARSE);
  10758. } else {
  10759. goto handle_uninterpreted;
  10760. }
  10761. if (input->ExpectAtEnd()) return true;
  10762. break;
  10763. }
  10764. default: {
  10765. handle_uninterpreted:
  10766. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10767. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10768. return true;
  10769. }
  10770. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10771. input, tag, mutable_unknown_fields()));
  10772. break;
  10773. }
  10774. }
  10775. }
  10776. return true;
  10777. #undef DO_
  10778. }
  10779. void CSVCMsg_Print::SerializeWithCachedSizes(
  10780. ::google::protobuf::io::CodedOutputStream* output) const {
  10781. // optional string text = 1;
  10782. if (has_text()) {
  10783. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10784. this->text().data(), this->text().length(),
  10785. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10786. ::google::protobuf::internal::WireFormatLite::WriteString(
  10787. 1, this->text(), output);
  10788. }
  10789. if (!unknown_fields().empty()) {
  10790. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10791. unknown_fields(), output);
  10792. }
  10793. }
  10794. ::google::protobuf::uint8* CSVCMsg_Print::SerializeWithCachedSizesToArray(
  10795. ::google::protobuf::uint8* target) const {
  10796. // optional string text = 1;
  10797. if (has_text()) {
  10798. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10799. this->text().data(), this->text().length(),
  10800. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10801. target =
  10802. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10803. 1, this->text(), target);
  10804. }
  10805. if (!unknown_fields().empty()) {
  10806. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10807. unknown_fields(), target);
  10808. }
  10809. return target;
  10810. }
  10811. int CSVCMsg_Print::ByteSize() const {
  10812. int total_size = 0;
  10813. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10814. // optional string text = 1;
  10815. if (has_text()) {
  10816. total_size += 1 +
  10817. ::google::protobuf::internal::WireFormatLite::StringSize(
  10818. this->text());
  10819. }
  10820. }
  10821. if (!unknown_fields().empty()) {
  10822. total_size +=
  10823. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10824. unknown_fields());
  10825. }
  10826. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10827. _cached_size_ = total_size;
  10828. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10829. return total_size;
  10830. }
  10831. void CSVCMsg_Print::MergeFrom(const ::google::protobuf::Message& from) {
  10832. GOOGLE_CHECK_NE(&from, this);
  10833. const CSVCMsg_Print* source =
  10834. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_Print*>(
  10835. &from);
  10836. if (source == NULL) {
  10837. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10838. } else {
  10839. MergeFrom(*source);
  10840. }
  10841. }
  10842. void CSVCMsg_Print::MergeFrom(const CSVCMsg_Print& from) {
  10843. GOOGLE_CHECK_NE(&from, this);
  10844. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10845. if (from.has_text()) {
  10846. set_text(from.text());
  10847. }
  10848. }
  10849. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10850. }
  10851. void CSVCMsg_Print::CopyFrom(const ::google::protobuf::Message& from) {
  10852. if (&from == this) return;
  10853. Clear();
  10854. MergeFrom(from);
  10855. }
  10856. void CSVCMsg_Print::CopyFrom(const CSVCMsg_Print& from) {
  10857. if (&from == this) return;
  10858. Clear();
  10859. MergeFrom(from);
  10860. }
  10861. bool CSVCMsg_Print::IsInitialized() const {
  10862. return true;
  10863. }
  10864. void CSVCMsg_Print::Swap(CSVCMsg_Print* other) {
  10865. if (other != this) {
  10866. std::swap(text_, other->text_);
  10867. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10868. _unknown_fields_.Swap(&other->_unknown_fields_);
  10869. std::swap(_cached_size_, other->_cached_size_);
  10870. }
  10871. }
  10872. ::google::protobuf::Metadata CSVCMsg_Print::GetMetadata() const {
  10873. protobuf_AssignDescriptorsOnce();
  10874. ::google::protobuf::Metadata metadata;
  10875. metadata.descriptor = CSVCMsg_Print_descriptor_;
  10876. metadata.reflection = CSVCMsg_Print_reflection_;
  10877. return metadata;
  10878. }
  10879. // ===================================================================
  10880. #ifndef _MSC_VER
  10881. const int CSVCMsg_SetPause::kPausedFieldNumber;
  10882. #endif // !_MSC_VER
  10883. CSVCMsg_SetPause::CSVCMsg_SetPause()
  10884. : ::google::protobuf::Message() {
  10885. SharedCtor();
  10886. }
  10887. void CSVCMsg_SetPause::InitAsDefaultInstance() {
  10888. }
  10889. CSVCMsg_SetPause::CSVCMsg_SetPause(const CSVCMsg_SetPause& from)
  10890. : ::google::protobuf::Message() {
  10891. SharedCtor();
  10892. MergeFrom(from);
  10893. }
  10894. void CSVCMsg_SetPause::SharedCtor() {
  10895. _cached_size_ = 0;
  10896. paused_ = false;
  10897. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10898. }
  10899. CSVCMsg_SetPause::~CSVCMsg_SetPause() {
  10900. SharedDtor();
  10901. }
  10902. void CSVCMsg_SetPause::SharedDtor() {
  10903. if (this != default_instance_) {
  10904. }
  10905. }
  10906. void CSVCMsg_SetPause::SetCachedSize(int size) const {
  10907. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10908. _cached_size_ = size;
  10909. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10910. }
  10911. const ::google::protobuf::Descriptor* CSVCMsg_SetPause::descriptor() {
  10912. protobuf_AssignDescriptorsOnce();
  10913. return CSVCMsg_SetPause_descriptor_;
  10914. }
  10915. const CSVCMsg_SetPause& CSVCMsg_SetPause::default_instance() {
  10916. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  10917. return *default_instance_;
  10918. }
  10919. CSVCMsg_SetPause* CSVCMsg_SetPause::default_instance_ = NULL;
  10920. CSVCMsg_SetPause* CSVCMsg_SetPause::New() const {
  10921. return new CSVCMsg_SetPause;
  10922. }
  10923. void CSVCMsg_SetPause::Clear() {
  10924. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10925. paused_ = false;
  10926. }
  10927. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10928. mutable_unknown_fields()->Clear();
  10929. }
  10930. bool CSVCMsg_SetPause::MergePartialFromCodedStream(
  10931. ::google::protobuf::io::CodedInputStream* input) {
  10932. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10933. ::google::protobuf::uint32 tag;
  10934. while ((tag = input->ReadTag()) != 0) {
  10935. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10936. // optional bool paused = 1;
  10937. case 1: {
  10938. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10939. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10940. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10941. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  10942. input, &paused_)));
  10943. set_has_paused();
  10944. } else {
  10945. goto handle_uninterpreted;
  10946. }
  10947. if (input->ExpectAtEnd()) return true;
  10948. break;
  10949. }
  10950. default: {
  10951. handle_uninterpreted:
  10952. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10953. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10954. return true;
  10955. }
  10956. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10957. input, tag, mutable_unknown_fields()));
  10958. break;
  10959. }
  10960. }
  10961. }
  10962. return true;
  10963. #undef DO_
  10964. }
  10965. void CSVCMsg_SetPause::SerializeWithCachedSizes(
  10966. ::google::protobuf::io::CodedOutputStream* output) const {
  10967. // optional bool paused = 1;
  10968. if (has_paused()) {
  10969. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->paused(), output);
  10970. }
  10971. if (!unknown_fields().empty()) {
  10972. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10973. unknown_fields(), output);
  10974. }
  10975. }
  10976. ::google::protobuf::uint8* CSVCMsg_SetPause::SerializeWithCachedSizesToArray(
  10977. ::google::protobuf::uint8* target) const {
  10978. // optional bool paused = 1;
  10979. if (has_paused()) {
  10980. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->paused(), target);
  10981. }
  10982. if (!unknown_fields().empty()) {
  10983. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10984. unknown_fields(), target);
  10985. }
  10986. return target;
  10987. }
  10988. int CSVCMsg_SetPause::ByteSize() const {
  10989. int total_size = 0;
  10990. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10991. // optional bool paused = 1;
  10992. if (has_paused()) {
  10993. total_size += 1 + 1;
  10994. }
  10995. }
  10996. if (!unknown_fields().empty()) {
  10997. total_size +=
  10998. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10999. unknown_fields());
  11000. }
  11001. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11002. _cached_size_ = total_size;
  11003. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11004. return total_size;
  11005. }
  11006. void CSVCMsg_SetPause::MergeFrom(const ::google::protobuf::Message& from) {
  11007. GOOGLE_CHECK_NE(&from, this);
  11008. const CSVCMsg_SetPause* source =
  11009. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_SetPause*>(
  11010. &from);
  11011. if (source == NULL) {
  11012. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11013. } else {
  11014. MergeFrom(*source);
  11015. }
  11016. }
  11017. void CSVCMsg_SetPause::MergeFrom(const CSVCMsg_SetPause& from) {
  11018. GOOGLE_CHECK_NE(&from, this);
  11019. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11020. if (from.has_paused()) {
  11021. set_paused(from.paused());
  11022. }
  11023. }
  11024. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11025. }
  11026. void CSVCMsg_SetPause::CopyFrom(const ::google::protobuf::Message& from) {
  11027. if (&from == this) return;
  11028. Clear();
  11029. MergeFrom(from);
  11030. }
  11031. void CSVCMsg_SetPause::CopyFrom(const CSVCMsg_SetPause& from) {
  11032. if (&from == this) return;
  11033. Clear();
  11034. MergeFrom(from);
  11035. }
  11036. bool CSVCMsg_SetPause::IsInitialized() const {
  11037. return true;
  11038. }
  11039. void CSVCMsg_SetPause::Swap(CSVCMsg_SetPause* other) {
  11040. if (other != this) {
  11041. std::swap(paused_, other->paused_);
  11042. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11043. _unknown_fields_.Swap(&other->_unknown_fields_);
  11044. std::swap(_cached_size_, other->_cached_size_);
  11045. }
  11046. }
  11047. ::google::protobuf::Metadata CSVCMsg_SetPause::GetMetadata() const {
  11048. protobuf_AssignDescriptorsOnce();
  11049. ::google::protobuf::Metadata metadata;
  11050. metadata.descriptor = CSVCMsg_SetPause_descriptor_;
  11051. metadata.reflection = CSVCMsg_SetPause_reflection_;
  11052. return metadata;
  11053. }
  11054. // ===================================================================
  11055. #ifndef _MSC_VER
  11056. const int CSVCMsg_SetView::kEntityIndexFieldNumber;
  11057. #endif // !_MSC_VER
  11058. CSVCMsg_SetView::CSVCMsg_SetView()
  11059. : ::google::protobuf::Message() {
  11060. SharedCtor();
  11061. }
  11062. void CSVCMsg_SetView::InitAsDefaultInstance() {
  11063. }
  11064. CSVCMsg_SetView::CSVCMsg_SetView(const CSVCMsg_SetView& from)
  11065. : ::google::protobuf::Message() {
  11066. SharedCtor();
  11067. MergeFrom(from);
  11068. }
  11069. void CSVCMsg_SetView::SharedCtor() {
  11070. _cached_size_ = 0;
  11071. entity_index_ = 0;
  11072. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11073. }
  11074. CSVCMsg_SetView::~CSVCMsg_SetView() {
  11075. SharedDtor();
  11076. }
  11077. void CSVCMsg_SetView::SharedDtor() {
  11078. if (this != default_instance_) {
  11079. }
  11080. }
  11081. void CSVCMsg_SetView::SetCachedSize(int size) const {
  11082. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11083. _cached_size_ = size;
  11084. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11085. }
  11086. const ::google::protobuf::Descriptor* CSVCMsg_SetView::descriptor() {
  11087. protobuf_AssignDescriptorsOnce();
  11088. return CSVCMsg_SetView_descriptor_;
  11089. }
  11090. const CSVCMsg_SetView& CSVCMsg_SetView::default_instance() {
  11091. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  11092. return *default_instance_;
  11093. }
  11094. CSVCMsg_SetView* CSVCMsg_SetView::default_instance_ = NULL;
  11095. CSVCMsg_SetView* CSVCMsg_SetView::New() const {
  11096. return new CSVCMsg_SetView;
  11097. }
  11098. void CSVCMsg_SetView::Clear() {
  11099. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11100. entity_index_ = 0;
  11101. }
  11102. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11103. mutable_unknown_fields()->Clear();
  11104. }
  11105. bool CSVCMsg_SetView::MergePartialFromCodedStream(
  11106. ::google::protobuf::io::CodedInputStream* input) {
  11107. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11108. ::google::protobuf::uint32 tag;
  11109. while ((tag = input->ReadTag()) != 0) {
  11110. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11111. // optional int32 entity_index = 1;
  11112. case 1: {
  11113. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11114. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11115. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11116. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11117. input, &entity_index_)));
  11118. set_has_entity_index();
  11119. } else {
  11120. goto handle_uninterpreted;
  11121. }
  11122. if (input->ExpectAtEnd()) return true;
  11123. break;
  11124. }
  11125. default: {
  11126. handle_uninterpreted:
  11127. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11128. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11129. return true;
  11130. }
  11131. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11132. input, tag, mutable_unknown_fields()));
  11133. break;
  11134. }
  11135. }
  11136. }
  11137. return true;
  11138. #undef DO_
  11139. }
  11140. void CSVCMsg_SetView::SerializeWithCachedSizes(
  11141. ::google::protobuf::io::CodedOutputStream* output) const {
  11142. // optional int32 entity_index = 1;
  11143. if (has_entity_index()) {
  11144. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entity_index(), output);
  11145. }
  11146. if (!unknown_fields().empty()) {
  11147. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11148. unknown_fields(), output);
  11149. }
  11150. }
  11151. ::google::protobuf::uint8* CSVCMsg_SetView::SerializeWithCachedSizesToArray(
  11152. ::google::protobuf::uint8* target) const {
  11153. // optional int32 entity_index = 1;
  11154. if (has_entity_index()) {
  11155. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entity_index(), target);
  11156. }
  11157. if (!unknown_fields().empty()) {
  11158. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11159. unknown_fields(), target);
  11160. }
  11161. return target;
  11162. }
  11163. int CSVCMsg_SetView::ByteSize() const {
  11164. int total_size = 0;
  11165. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11166. // optional int32 entity_index = 1;
  11167. if (has_entity_index()) {
  11168. total_size += 1 +
  11169. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11170. this->entity_index());
  11171. }
  11172. }
  11173. if (!unknown_fields().empty()) {
  11174. total_size +=
  11175. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11176. unknown_fields());
  11177. }
  11178. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11179. _cached_size_ = total_size;
  11180. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11181. return total_size;
  11182. }
  11183. void CSVCMsg_SetView::MergeFrom(const ::google::protobuf::Message& from) {
  11184. GOOGLE_CHECK_NE(&from, this);
  11185. const CSVCMsg_SetView* source =
  11186. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_SetView*>(
  11187. &from);
  11188. if (source == NULL) {
  11189. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11190. } else {
  11191. MergeFrom(*source);
  11192. }
  11193. }
  11194. void CSVCMsg_SetView::MergeFrom(const CSVCMsg_SetView& from) {
  11195. GOOGLE_CHECK_NE(&from, this);
  11196. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11197. if (from.has_entity_index()) {
  11198. set_entity_index(from.entity_index());
  11199. }
  11200. }
  11201. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11202. }
  11203. void CSVCMsg_SetView::CopyFrom(const ::google::protobuf::Message& from) {
  11204. if (&from == this) return;
  11205. Clear();
  11206. MergeFrom(from);
  11207. }
  11208. void CSVCMsg_SetView::CopyFrom(const CSVCMsg_SetView& from) {
  11209. if (&from == this) return;
  11210. Clear();
  11211. MergeFrom(from);
  11212. }
  11213. bool CSVCMsg_SetView::IsInitialized() const {
  11214. return true;
  11215. }
  11216. void CSVCMsg_SetView::Swap(CSVCMsg_SetView* other) {
  11217. if (other != this) {
  11218. std::swap(entity_index_, other->entity_index_);
  11219. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11220. _unknown_fields_.Swap(&other->_unknown_fields_);
  11221. std::swap(_cached_size_, other->_cached_size_);
  11222. }
  11223. }
  11224. ::google::protobuf::Metadata CSVCMsg_SetView::GetMetadata() const {
  11225. protobuf_AssignDescriptorsOnce();
  11226. ::google::protobuf::Metadata metadata;
  11227. metadata.descriptor = CSVCMsg_SetView_descriptor_;
  11228. metadata.reflection = CSVCMsg_SetView_reflection_;
  11229. return metadata;
  11230. }
  11231. // ===================================================================
  11232. #ifndef _MSC_VER
  11233. const int CSVCMsg_CreateStringTable::kNameFieldNumber;
  11234. const int CSVCMsg_CreateStringTable::kMaxEntriesFieldNumber;
  11235. const int CSVCMsg_CreateStringTable::kNumEntriesFieldNumber;
  11236. const int CSVCMsg_CreateStringTable::kUserDataFixedSizeFieldNumber;
  11237. const int CSVCMsg_CreateStringTable::kUserDataSizeFieldNumber;
  11238. const int CSVCMsg_CreateStringTable::kUserDataSizeBitsFieldNumber;
  11239. const int CSVCMsg_CreateStringTable::kFlagsFieldNumber;
  11240. const int CSVCMsg_CreateStringTable::kStringDataFieldNumber;
  11241. #endif // !_MSC_VER
  11242. CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable()
  11243. : ::google::protobuf::Message() {
  11244. SharedCtor();
  11245. }
  11246. void CSVCMsg_CreateStringTable::InitAsDefaultInstance() {
  11247. }
  11248. CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from)
  11249. : ::google::protobuf::Message() {
  11250. SharedCtor();
  11251. MergeFrom(from);
  11252. }
  11253. void CSVCMsg_CreateStringTable::SharedCtor() {
  11254. _cached_size_ = 0;
  11255. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11256. max_entries_ = 0;
  11257. num_entries_ = 0;
  11258. user_data_fixed_size_ = false;
  11259. user_data_size_ = 0;
  11260. user_data_size_bits_ = 0;
  11261. flags_ = 0;
  11262. string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11263. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11264. }
  11265. CSVCMsg_CreateStringTable::~CSVCMsg_CreateStringTable() {
  11266. SharedDtor();
  11267. }
  11268. void CSVCMsg_CreateStringTable::SharedDtor() {
  11269. if (name_ != &::google::protobuf::internal::kEmptyString) {
  11270. delete name_;
  11271. }
  11272. if (string_data_ != &::google::protobuf::internal::kEmptyString) {
  11273. delete string_data_;
  11274. }
  11275. if (this != default_instance_) {
  11276. }
  11277. }
  11278. void CSVCMsg_CreateStringTable::SetCachedSize(int size) const {
  11279. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11280. _cached_size_ = size;
  11281. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11282. }
  11283. const ::google::protobuf::Descriptor* CSVCMsg_CreateStringTable::descriptor() {
  11284. protobuf_AssignDescriptorsOnce();
  11285. return CSVCMsg_CreateStringTable_descriptor_;
  11286. }
  11287. const CSVCMsg_CreateStringTable& CSVCMsg_CreateStringTable::default_instance() {
  11288. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  11289. return *default_instance_;
  11290. }
  11291. CSVCMsg_CreateStringTable* CSVCMsg_CreateStringTable::default_instance_ = NULL;
  11292. CSVCMsg_CreateStringTable* CSVCMsg_CreateStringTable::New() const {
  11293. return new CSVCMsg_CreateStringTable;
  11294. }
  11295. void CSVCMsg_CreateStringTable::Clear() {
  11296. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11297. if (has_name()) {
  11298. if (name_ != &::google::protobuf::internal::kEmptyString) {
  11299. name_->clear();
  11300. }
  11301. }
  11302. max_entries_ = 0;
  11303. num_entries_ = 0;
  11304. user_data_fixed_size_ = false;
  11305. user_data_size_ = 0;
  11306. user_data_size_bits_ = 0;
  11307. flags_ = 0;
  11308. if (has_string_data()) {
  11309. if (string_data_ != &::google::protobuf::internal::kEmptyString) {
  11310. string_data_->clear();
  11311. }
  11312. }
  11313. }
  11314. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11315. mutable_unknown_fields()->Clear();
  11316. }
  11317. bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream(
  11318. ::google::protobuf::io::CodedInputStream* input) {
  11319. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11320. ::google::protobuf::uint32 tag;
  11321. while ((tag = input->ReadTag()) != 0) {
  11322. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11323. // optional string name = 1;
  11324. case 1: {
  11325. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11326. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11327. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11328. input, this->mutable_name()));
  11329. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11330. this->name().data(), this->name().length(),
  11331. ::google::protobuf::internal::WireFormat::PARSE);
  11332. } else {
  11333. goto handle_uninterpreted;
  11334. }
  11335. if (input->ExpectTag(16)) goto parse_max_entries;
  11336. break;
  11337. }
  11338. // optional int32 max_entries = 2;
  11339. case 2: {
  11340. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11341. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11342. parse_max_entries:
  11343. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11344. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11345. input, &max_entries_)));
  11346. set_has_max_entries();
  11347. } else {
  11348. goto handle_uninterpreted;
  11349. }
  11350. if (input->ExpectTag(24)) goto parse_num_entries;
  11351. break;
  11352. }
  11353. // optional int32 num_entries = 3;
  11354. case 3: {
  11355. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11356. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11357. parse_num_entries:
  11358. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11359. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11360. input, &num_entries_)));
  11361. set_has_num_entries();
  11362. } else {
  11363. goto handle_uninterpreted;
  11364. }
  11365. if (input->ExpectTag(32)) goto parse_user_data_fixed_size;
  11366. break;
  11367. }
  11368. // optional bool user_data_fixed_size = 4;
  11369. case 4: {
  11370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11372. parse_user_data_fixed_size:
  11373. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11374. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  11375. input, &user_data_fixed_size_)));
  11376. set_has_user_data_fixed_size();
  11377. } else {
  11378. goto handle_uninterpreted;
  11379. }
  11380. if (input->ExpectTag(40)) goto parse_user_data_size;
  11381. break;
  11382. }
  11383. // optional int32 user_data_size = 5;
  11384. case 5: {
  11385. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11386. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11387. parse_user_data_size:
  11388. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11389. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11390. input, &user_data_size_)));
  11391. set_has_user_data_size();
  11392. } else {
  11393. goto handle_uninterpreted;
  11394. }
  11395. if (input->ExpectTag(48)) goto parse_user_data_size_bits;
  11396. break;
  11397. }
  11398. // optional int32 user_data_size_bits = 6;
  11399. case 6: {
  11400. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11401. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11402. parse_user_data_size_bits:
  11403. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11404. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11405. input, &user_data_size_bits_)));
  11406. set_has_user_data_size_bits();
  11407. } else {
  11408. goto handle_uninterpreted;
  11409. }
  11410. if (input->ExpectTag(56)) goto parse_flags;
  11411. break;
  11412. }
  11413. // optional int32 flags = 7;
  11414. case 7: {
  11415. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11416. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11417. parse_flags:
  11418. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11419. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11420. input, &flags_)));
  11421. set_has_flags();
  11422. } else {
  11423. goto handle_uninterpreted;
  11424. }
  11425. if (input->ExpectTag(66)) goto parse_string_data;
  11426. break;
  11427. }
  11428. // optional bytes string_data = 8;
  11429. case 8: {
  11430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11432. parse_string_data:
  11433. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  11434. input, this->mutable_string_data()));
  11435. } else {
  11436. goto handle_uninterpreted;
  11437. }
  11438. if (input->ExpectAtEnd()) return true;
  11439. break;
  11440. }
  11441. default: {
  11442. handle_uninterpreted:
  11443. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11444. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11445. return true;
  11446. }
  11447. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11448. input, tag, mutable_unknown_fields()));
  11449. break;
  11450. }
  11451. }
  11452. }
  11453. return true;
  11454. #undef DO_
  11455. }
  11456. void CSVCMsg_CreateStringTable::SerializeWithCachedSizes(
  11457. ::google::protobuf::io::CodedOutputStream* output) const {
  11458. // optional string name = 1;
  11459. if (has_name()) {
  11460. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11461. this->name().data(), this->name().length(),
  11462. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11463. ::google::protobuf::internal::WireFormatLite::WriteString(
  11464. 1, this->name(), output);
  11465. }
  11466. // optional int32 max_entries = 2;
  11467. if (has_max_entries()) {
  11468. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->max_entries(), output);
  11469. }
  11470. // optional int32 num_entries = 3;
  11471. if (has_num_entries()) {
  11472. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->num_entries(), output);
  11473. }
  11474. // optional bool user_data_fixed_size = 4;
  11475. if (has_user_data_fixed_size()) {
  11476. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->user_data_fixed_size(), output);
  11477. }
  11478. // optional int32 user_data_size = 5;
  11479. if (has_user_data_size()) {
  11480. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->user_data_size(), output);
  11481. }
  11482. // optional int32 user_data_size_bits = 6;
  11483. if (has_user_data_size_bits()) {
  11484. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->user_data_size_bits(), output);
  11485. }
  11486. // optional int32 flags = 7;
  11487. if (has_flags()) {
  11488. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->flags(), output);
  11489. }
  11490. // optional bytes string_data = 8;
  11491. if (has_string_data()) {
  11492. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  11493. 8, this->string_data(), output);
  11494. }
  11495. if (!unknown_fields().empty()) {
  11496. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11497. unknown_fields(), output);
  11498. }
  11499. }
  11500. ::google::protobuf::uint8* CSVCMsg_CreateStringTable::SerializeWithCachedSizesToArray(
  11501. ::google::protobuf::uint8* target) const {
  11502. // optional string name = 1;
  11503. if (has_name()) {
  11504. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11505. this->name().data(), this->name().length(),
  11506. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11507. target =
  11508. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11509. 1, this->name(), target);
  11510. }
  11511. // optional int32 max_entries = 2;
  11512. if (has_max_entries()) {
  11513. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->max_entries(), target);
  11514. }
  11515. // optional int32 num_entries = 3;
  11516. if (has_num_entries()) {
  11517. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->num_entries(), target);
  11518. }
  11519. // optional bool user_data_fixed_size = 4;
  11520. if (has_user_data_fixed_size()) {
  11521. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->user_data_fixed_size(), target);
  11522. }
  11523. // optional int32 user_data_size = 5;
  11524. if (has_user_data_size()) {
  11525. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->user_data_size(), target);
  11526. }
  11527. // optional int32 user_data_size_bits = 6;
  11528. if (has_user_data_size_bits()) {
  11529. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->user_data_size_bits(), target);
  11530. }
  11531. // optional int32 flags = 7;
  11532. if (has_flags()) {
  11533. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->flags(), target);
  11534. }
  11535. // optional bytes string_data = 8;
  11536. if (has_string_data()) {
  11537. target =
  11538. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  11539. 8, this->string_data(), target);
  11540. }
  11541. if (!unknown_fields().empty()) {
  11542. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11543. unknown_fields(), target);
  11544. }
  11545. return target;
  11546. }
  11547. int CSVCMsg_CreateStringTable::ByteSize() const {
  11548. int total_size = 0;
  11549. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11550. // optional string name = 1;
  11551. if (has_name()) {
  11552. total_size += 1 +
  11553. ::google::protobuf::internal::WireFormatLite::StringSize(
  11554. this->name());
  11555. }
  11556. // optional int32 max_entries = 2;
  11557. if (has_max_entries()) {
  11558. total_size += 1 +
  11559. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11560. this->max_entries());
  11561. }
  11562. // optional int32 num_entries = 3;
  11563. if (has_num_entries()) {
  11564. total_size += 1 +
  11565. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11566. this->num_entries());
  11567. }
  11568. // optional bool user_data_fixed_size = 4;
  11569. if (has_user_data_fixed_size()) {
  11570. total_size += 1 + 1;
  11571. }
  11572. // optional int32 user_data_size = 5;
  11573. if (has_user_data_size()) {
  11574. total_size += 1 +
  11575. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11576. this->user_data_size());
  11577. }
  11578. // optional int32 user_data_size_bits = 6;
  11579. if (has_user_data_size_bits()) {
  11580. total_size += 1 +
  11581. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11582. this->user_data_size_bits());
  11583. }
  11584. // optional int32 flags = 7;
  11585. if (has_flags()) {
  11586. total_size += 1 +
  11587. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11588. this->flags());
  11589. }
  11590. // optional bytes string_data = 8;
  11591. if (has_string_data()) {
  11592. total_size += 1 +
  11593. ::google::protobuf::internal::WireFormatLite::BytesSize(
  11594. this->string_data());
  11595. }
  11596. }
  11597. if (!unknown_fields().empty()) {
  11598. total_size +=
  11599. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11600. unknown_fields());
  11601. }
  11602. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11603. _cached_size_ = total_size;
  11604. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11605. return total_size;
  11606. }
  11607. void CSVCMsg_CreateStringTable::MergeFrom(const ::google::protobuf::Message& from) {
  11608. GOOGLE_CHECK_NE(&from, this);
  11609. const CSVCMsg_CreateStringTable* source =
  11610. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_CreateStringTable*>(
  11611. &from);
  11612. if (source == NULL) {
  11613. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11614. } else {
  11615. MergeFrom(*source);
  11616. }
  11617. }
  11618. void CSVCMsg_CreateStringTable::MergeFrom(const CSVCMsg_CreateStringTable& from) {
  11619. GOOGLE_CHECK_NE(&from, this);
  11620. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11621. if (from.has_name()) {
  11622. set_name(from.name());
  11623. }
  11624. if (from.has_max_entries()) {
  11625. set_max_entries(from.max_entries());
  11626. }
  11627. if (from.has_num_entries()) {
  11628. set_num_entries(from.num_entries());
  11629. }
  11630. if (from.has_user_data_fixed_size()) {
  11631. set_user_data_fixed_size(from.user_data_fixed_size());
  11632. }
  11633. if (from.has_user_data_size()) {
  11634. set_user_data_size(from.user_data_size());
  11635. }
  11636. if (from.has_user_data_size_bits()) {
  11637. set_user_data_size_bits(from.user_data_size_bits());
  11638. }
  11639. if (from.has_flags()) {
  11640. set_flags(from.flags());
  11641. }
  11642. if (from.has_string_data()) {
  11643. set_string_data(from.string_data());
  11644. }
  11645. }
  11646. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11647. }
  11648. void CSVCMsg_CreateStringTable::CopyFrom(const ::google::protobuf::Message& from) {
  11649. if (&from == this) return;
  11650. Clear();
  11651. MergeFrom(from);
  11652. }
  11653. void CSVCMsg_CreateStringTable::CopyFrom(const CSVCMsg_CreateStringTable& from) {
  11654. if (&from == this) return;
  11655. Clear();
  11656. MergeFrom(from);
  11657. }
  11658. bool CSVCMsg_CreateStringTable::IsInitialized() const {
  11659. return true;
  11660. }
  11661. void CSVCMsg_CreateStringTable::Swap(CSVCMsg_CreateStringTable* other) {
  11662. if (other != this) {
  11663. std::swap(name_, other->name_);
  11664. std::swap(max_entries_, other->max_entries_);
  11665. std::swap(num_entries_, other->num_entries_);
  11666. std::swap(user_data_fixed_size_, other->user_data_fixed_size_);
  11667. std::swap(user_data_size_, other->user_data_size_);
  11668. std::swap(user_data_size_bits_, other->user_data_size_bits_);
  11669. std::swap(flags_, other->flags_);
  11670. std::swap(string_data_, other->string_data_);
  11671. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11672. _unknown_fields_.Swap(&other->_unknown_fields_);
  11673. std::swap(_cached_size_, other->_cached_size_);
  11674. }
  11675. }
  11676. ::google::protobuf::Metadata CSVCMsg_CreateStringTable::GetMetadata() const {
  11677. protobuf_AssignDescriptorsOnce();
  11678. ::google::protobuf::Metadata metadata;
  11679. metadata.descriptor = CSVCMsg_CreateStringTable_descriptor_;
  11680. metadata.reflection = CSVCMsg_CreateStringTable_reflection_;
  11681. return metadata;
  11682. }
  11683. // ===================================================================
  11684. #ifndef _MSC_VER
  11685. const int CSVCMsg_UpdateStringTable::kTableIdFieldNumber;
  11686. const int CSVCMsg_UpdateStringTable::kNumChangedEntriesFieldNumber;
  11687. const int CSVCMsg_UpdateStringTable::kStringDataFieldNumber;
  11688. #endif // !_MSC_VER
  11689. CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable()
  11690. : ::google::protobuf::Message() {
  11691. SharedCtor();
  11692. }
  11693. void CSVCMsg_UpdateStringTable::InitAsDefaultInstance() {
  11694. }
  11695. CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from)
  11696. : ::google::protobuf::Message() {
  11697. SharedCtor();
  11698. MergeFrom(from);
  11699. }
  11700. void CSVCMsg_UpdateStringTable::SharedCtor() {
  11701. _cached_size_ = 0;
  11702. table_id_ = 0;
  11703. num_changed_entries_ = 0;
  11704. string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11705. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11706. }
  11707. CSVCMsg_UpdateStringTable::~CSVCMsg_UpdateStringTable() {
  11708. SharedDtor();
  11709. }
  11710. void CSVCMsg_UpdateStringTable::SharedDtor() {
  11711. if (string_data_ != &::google::protobuf::internal::kEmptyString) {
  11712. delete string_data_;
  11713. }
  11714. if (this != default_instance_) {
  11715. }
  11716. }
  11717. void CSVCMsg_UpdateStringTable::SetCachedSize(int size) const {
  11718. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11719. _cached_size_ = size;
  11720. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11721. }
  11722. const ::google::protobuf::Descriptor* CSVCMsg_UpdateStringTable::descriptor() {
  11723. protobuf_AssignDescriptorsOnce();
  11724. return CSVCMsg_UpdateStringTable_descriptor_;
  11725. }
  11726. const CSVCMsg_UpdateStringTable& CSVCMsg_UpdateStringTable::default_instance() {
  11727. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  11728. return *default_instance_;
  11729. }
  11730. CSVCMsg_UpdateStringTable* CSVCMsg_UpdateStringTable::default_instance_ = NULL;
  11731. CSVCMsg_UpdateStringTable* CSVCMsg_UpdateStringTable::New() const {
  11732. return new CSVCMsg_UpdateStringTable;
  11733. }
  11734. void CSVCMsg_UpdateStringTable::Clear() {
  11735. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11736. table_id_ = 0;
  11737. num_changed_entries_ = 0;
  11738. if (has_string_data()) {
  11739. if (string_data_ != &::google::protobuf::internal::kEmptyString) {
  11740. string_data_->clear();
  11741. }
  11742. }
  11743. }
  11744. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11745. mutable_unknown_fields()->Clear();
  11746. }
  11747. bool CSVCMsg_UpdateStringTable::MergePartialFromCodedStream(
  11748. ::google::protobuf::io::CodedInputStream* input) {
  11749. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11750. ::google::protobuf::uint32 tag;
  11751. while ((tag = input->ReadTag()) != 0) {
  11752. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11753. // optional int32 table_id = 1;
  11754. case 1: {
  11755. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11756. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11757. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11758. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11759. input, &table_id_)));
  11760. set_has_table_id();
  11761. } else {
  11762. goto handle_uninterpreted;
  11763. }
  11764. if (input->ExpectTag(16)) goto parse_num_changed_entries;
  11765. break;
  11766. }
  11767. // optional int32 num_changed_entries = 2;
  11768. case 2: {
  11769. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11770. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11771. parse_num_changed_entries:
  11772. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11773. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11774. input, &num_changed_entries_)));
  11775. set_has_num_changed_entries();
  11776. } else {
  11777. goto handle_uninterpreted;
  11778. }
  11779. if (input->ExpectTag(26)) goto parse_string_data;
  11780. break;
  11781. }
  11782. // optional bytes string_data = 3;
  11783. case 3: {
  11784. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11785. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11786. parse_string_data:
  11787. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  11788. input, this->mutable_string_data()));
  11789. } else {
  11790. goto handle_uninterpreted;
  11791. }
  11792. if (input->ExpectAtEnd()) return true;
  11793. break;
  11794. }
  11795. default: {
  11796. handle_uninterpreted:
  11797. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11798. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11799. return true;
  11800. }
  11801. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11802. input, tag, mutable_unknown_fields()));
  11803. break;
  11804. }
  11805. }
  11806. }
  11807. return true;
  11808. #undef DO_
  11809. }
  11810. void CSVCMsg_UpdateStringTable::SerializeWithCachedSizes(
  11811. ::google::protobuf::io::CodedOutputStream* output) const {
  11812. // optional int32 table_id = 1;
  11813. if (has_table_id()) {
  11814. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->table_id(), output);
  11815. }
  11816. // optional int32 num_changed_entries = 2;
  11817. if (has_num_changed_entries()) {
  11818. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_changed_entries(), output);
  11819. }
  11820. // optional bytes string_data = 3;
  11821. if (has_string_data()) {
  11822. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  11823. 3, this->string_data(), output);
  11824. }
  11825. if (!unknown_fields().empty()) {
  11826. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11827. unknown_fields(), output);
  11828. }
  11829. }
  11830. ::google::protobuf::uint8* CSVCMsg_UpdateStringTable::SerializeWithCachedSizesToArray(
  11831. ::google::protobuf::uint8* target) const {
  11832. // optional int32 table_id = 1;
  11833. if (has_table_id()) {
  11834. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->table_id(), target);
  11835. }
  11836. // optional int32 num_changed_entries = 2;
  11837. if (has_num_changed_entries()) {
  11838. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_changed_entries(), target);
  11839. }
  11840. // optional bytes string_data = 3;
  11841. if (has_string_data()) {
  11842. target =
  11843. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  11844. 3, this->string_data(), target);
  11845. }
  11846. if (!unknown_fields().empty()) {
  11847. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11848. unknown_fields(), target);
  11849. }
  11850. return target;
  11851. }
  11852. int CSVCMsg_UpdateStringTable::ByteSize() const {
  11853. int total_size = 0;
  11854. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11855. // optional int32 table_id = 1;
  11856. if (has_table_id()) {
  11857. total_size += 1 +
  11858. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11859. this->table_id());
  11860. }
  11861. // optional int32 num_changed_entries = 2;
  11862. if (has_num_changed_entries()) {
  11863. total_size += 1 +
  11864. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11865. this->num_changed_entries());
  11866. }
  11867. // optional bytes string_data = 3;
  11868. if (has_string_data()) {
  11869. total_size += 1 +
  11870. ::google::protobuf::internal::WireFormatLite::BytesSize(
  11871. this->string_data());
  11872. }
  11873. }
  11874. if (!unknown_fields().empty()) {
  11875. total_size +=
  11876. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11877. unknown_fields());
  11878. }
  11879. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11880. _cached_size_ = total_size;
  11881. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11882. return total_size;
  11883. }
  11884. void CSVCMsg_UpdateStringTable::MergeFrom(const ::google::protobuf::Message& from) {
  11885. GOOGLE_CHECK_NE(&from, this);
  11886. const CSVCMsg_UpdateStringTable* source =
  11887. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_UpdateStringTable*>(
  11888. &from);
  11889. if (source == NULL) {
  11890. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11891. } else {
  11892. MergeFrom(*source);
  11893. }
  11894. }
  11895. void CSVCMsg_UpdateStringTable::MergeFrom(const CSVCMsg_UpdateStringTable& from) {
  11896. GOOGLE_CHECK_NE(&from, this);
  11897. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11898. if (from.has_table_id()) {
  11899. set_table_id(from.table_id());
  11900. }
  11901. if (from.has_num_changed_entries()) {
  11902. set_num_changed_entries(from.num_changed_entries());
  11903. }
  11904. if (from.has_string_data()) {
  11905. set_string_data(from.string_data());
  11906. }
  11907. }
  11908. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11909. }
  11910. void CSVCMsg_UpdateStringTable::CopyFrom(const ::google::protobuf::Message& from) {
  11911. if (&from == this) return;
  11912. Clear();
  11913. MergeFrom(from);
  11914. }
  11915. void CSVCMsg_UpdateStringTable::CopyFrom(const CSVCMsg_UpdateStringTable& from) {
  11916. if (&from == this) return;
  11917. Clear();
  11918. MergeFrom(from);
  11919. }
  11920. bool CSVCMsg_UpdateStringTable::IsInitialized() const {
  11921. return true;
  11922. }
  11923. void CSVCMsg_UpdateStringTable::Swap(CSVCMsg_UpdateStringTable* other) {
  11924. if (other != this) {
  11925. std::swap(table_id_, other->table_id_);
  11926. std::swap(num_changed_entries_, other->num_changed_entries_);
  11927. std::swap(string_data_, other->string_data_);
  11928. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11929. _unknown_fields_.Swap(&other->_unknown_fields_);
  11930. std::swap(_cached_size_, other->_cached_size_);
  11931. }
  11932. }
  11933. ::google::protobuf::Metadata CSVCMsg_UpdateStringTable::GetMetadata() const {
  11934. protobuf_AssignDescriptorsOnce();
  11935. ::google::protobuf::Metadata metadata;
  11936. metadata.descriptor = CSVCMsg_UpdateStringTable_descriptor_;
  11937. metadata.reflection = CSVCMsg_UpdateStringTable_reflection_;
  11938. return metadata;
  11939. }
  11940. // ===================================================================
  11941. #ifndef _MSC_VER
  11942. const int CSVCMsg_VoiceInit::kQualityFieldNumber;
  11943. const int CSVCMsg_VoiceInit::kCodecFieldNumber;
  11944. const int CSVCMsg_VoiceInit::kVersionFieldNumber;
  11945. #endif // !_MSC_VER
  11946. CSVCMsg_VoiceInit::CSVCMsg_VoiceInit()
  11947. : ::google::protobuf::Message() {
  11948. SharedCtor();
  11949. }
  11950. void CSVCMsg_VoiceInit::InitAsDefaultInstance() {
  11951. }
  11952. CSVCMsg_VoiceInit::CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from)
  11953. : ::google::protobuf::Message() {
  11954. SharedCtor();
  11955. MergeFrom(from);
  11956. }
  11957. void CSVCMsg_VoiceInit::SharedCtor() {
  11958. _cached_size_ = 0;
  11959. quality_ = 0;
  11960. codec_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11961. version_ = 0;
  11962. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11963. }
  11964. CSVCMsg_VoiceInit::~CSVCMsg_VoiceInit() {
  11965. SharedDtor();
  11966. }
  11967. void CSVCMsg_VoiceInit::SharedDtor() {
  11968. if (codec_ != &::google::protobuf::internal::kEmptyString) {
  11969. delete codec_;
  11970. }
  11971. if (this != default_instance_) {
  11972. }
  11973. }
  11974. void CSVCMsg_VoiceInit::SetCachedSize(int size) const {
  11975. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11976. _cached_size_ = size;
  11977. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11978. }
  11979. const ::google::protobuf::Descriptor* CSVCMsg_VoiceInit::descriptor() {
  11980. protobuf_AssignDescriptorsOnce();
  11981. return CSVCMsg_VoiceInit_descriptor_;
  11982. }
  11983. const CSVCMsg_VoiceInit& CSVCMsg_VoiceInit::default_instance() {
  11984. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  11985. return *default_instance_;
  11986. }
  11987. CSVCMsg_VoiceInit* CSVCMsg_VoiceInit::default_instance_ = NULL;
  11988. CSVCMsg_VoiceInit* CSVCMsg_VoiceInit::New() const {
  11989. return new CSVCMsg_VoiceInit;
  11990. }
  11991. void CSVCMsg_VoiceInit::Clear() {
  11992. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11993. quality_ = 0;
  11994. if (has_codec()) {
  11995. if (codec_ != &::google::protobuf::internal::kEmptyString) {
  11996. codec_->clear();
  11997. }
  11998. }
  11999. version_ = 0;
  12000. }
  12001. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12002. mutable_unknown_fields()->Clear();
  12003. }
  12004. bool CSVCMsg_VoiceInit::MergePartialFromCodedStream(
  12005. ::google::protobuf::io::CodedInputStream* input) {
  12006. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12007. ::google::protobuf::uint32 tag;
  12008. while ((tag = input->ReadTag()) != 0) {
  12009. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12010. // optional int32 quality = 1;
  12011. case 1: {
  12012. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12013. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12014. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12015. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12016. input, &quality_)));
  12017. set_has_quality();
  12018. } else {
  12019. goto handle_uninterpreted;
  12020. }
  12021. if (input->ExpectTag(18)) goto parse_codec;
  12022. break;
  12023. }
  12024. // optional string codec = 2;
  12025. case 2: {
  12026. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12027. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12028. parse_codec:
  12029. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12030. input, this->mutable_codec()));
  12031. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12032. this->codec().data(), this->codec().length(),
  12033. ::google::protobuf::internal::WireFormat::PARSE);
  12034. } else {
  12035. goto handle_uninterpreted;
  12036. }
  12037. if (input->ExpectTag(24)) goto parse_version;
  12038. break;
  12039. }
  12040. // optional int32 version = 3 [default = 0];
  12041. case 3: {
  12042. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12043. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12044. parse_version:
  12045. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12046. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12047. input, &version_)));
  12048. set_has_version();
  12049. } else {
  12050. goto handle_uninterpreted;
  12051. }
  12052. if (input->ExpectAtEnd()) return true;
  12053. break;
  12054. }
  12055. default: {
  12056. handle_uninterpreted:
  12057. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12058. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12059. return true;
  12060. }
  12061. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12062. input, tag, mutable_unknown_fields()));
  12063. break;
  12064. }
  12065. }
  12066. }
  12067. return true;
  12068. #undef DO_
  12069. }
  12070. void CSVCMsg_VoiceInit::SerializeWithCachedSizes(
  12071. ::google::protobuf::io::CodedOutputStream* output) const {
  12072. // optional int32 quality = 1;
  12073. if (has_quality()) {
  12074. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->quality(), output);
  12075. }
  12076. // optional string codec = 2;
  12077. if (has_codec()) {
  12078. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12079. this->codec().data(), this->codec().length(),
  12080. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12081. ::google::protobuf::internal::WireFormatLite::WriteString(
  12082. 2, this->codec(), output);
  12083. }
  12084. // optional int32 version = 3 [default = 0];
  12085. if (has_version()) {
  12086. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->version(), output);
  12087. }
  12088. if (!unknown_fields().empty()) {
  12089. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12090. unknown_fields(), output);
  12091. }
  12092. }
  12093. ::google::protobuf::uint8* CSVCMsg_VoiceInit::SerializeWithCachedSizesToArray(
  12094. ::google::protobuf::uint8* target) const {
  12095. // optional int32 quality = 1;
  12096. if (has_quality()) {
  12097. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->quality(), target);
  12098. }
  12099. // optional string codec = 2;
  12100. if (has_codec()) {
  12101. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12102. this->codec().data(), this->codec().length(),
  12103. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12104. target =
  12105. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12106. 2, this->codec(), target);
  12107. }
  12108. // optional int32 version = 3 [default = 0];
  12109. if (has_version()) {
  12110. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->version(), target);
  12111. }
  12112. if (!unknown_fields().empty()) {
  12113. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12114. unknown_fields(), target);
  12115. }
  12116. return target;
  12117. }
  12118. int CSVCMsg_VoiceInit::ByteSize() const {
  12119. int total_size = 0;
  12120. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12121. // optional int32 quality = 1;
  12122. if (has_quality()) {
  12123. total_size += 1 +
  12124. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12125. this->quality());
  12126. }
  12127. // optional string codec = 2;
  12128. if (has_codec()) {
  12129. total_size += 1 +
  12130. ::google::protobuf::internal::WireFormatLite::StringSize(
  12131. this->codec());
  12132. }
  12133. // optional int32 version = 3 [default = 0];
  12134. if (has_version()) {
  12135. total_size += 1 +
  12136. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12137. this->version());
  12138. }
  12139. }
  12140. if (!unknown_fields().empty()) {
  12141. total_size +=
  12142. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12143. unknown_fields());
  12144. }
  12145. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12146. _cached_size_ = total_size;
  12147. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12148. return total_size;
  12149. }
  12150. void CSVCMsg_VoiceInit::MergeFrom(const ::google::protobuf::Message& from) {
  12151. GOOGLE_CHECK_NE(&from, this);
  12152. const CSVCMsg_VoiceInit* source =
  12153. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_VoiceInit*>(
  12154. &from);
  12155. if (source == NULL) {
  12156. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12157. } else {
  12158. MergeFrom(*source);
  12159. }
  12160. }
  12161. void CSVCMsg_VoiceInit::MergeFrom(const CSVCMsg_VoiceInit& from) {
  12162. GOOGLE_CHECK_NE(&from, this);
  12163. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12164. if (from.has_quality()) {
  12165. set_quality(from.quality());
  12166. }
  12167. if (from.has_codec()) {
  12168. set_codec(from.codec());
  12169. }
  12170. if (from.has_version()) {
  12171. set_version(from.version());
  12172. }
  12173. }
  12174. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12175. }
  12176. void CSVCMsg_VoiceInit::CopyFrom(const ::google::protobuf::Message& from) {
  12177. if (&from == this) return;
  12178. Clear();
  12179. MergeFrom(from);
  12180. }
  12181. void CSVCMsg_VoiceInit::CopyFrom(const CSVCMsg_VoiceInit& from) {
  12182. if (&from == this) return;
  12183. Clear();
  12184. MergeFrom(from);
  12185. }
  12186. bool CSVCMsg_VoiceInit::IsInitialized() const {
  12187. return true;
  12188. }
  12189. void CSVCMsg_VoiceInit::Swap(CSVCMsg_VoiceInit* other) {
  12190. if (other != this) {
  12191. std::swap(quality_, other->quality_);
  12192. std::swap(codec_, other->codec_);
  12193. std::swap(version_, other->version_);
  12194. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12195. _unknown_fields_.Swap(&other->_unknown_fields_);
  12196. std::swap(_cached_size_, other->_cached_size_);
  12197. }
  12198. }
  12199. ::google::protobuf::Metadata CSVCMsg_VoiceInit::GetMetadata() const {
  12200. protobuf_AssignDescriptorsOnce();
  12201. ::google::protobuf::Metadata metadata;
  12202. metadata.descriptor = CSVCMsg_VoiceInit_descriptor_;
  12203. metadata.reflection = CSVCMsg_VoiceInit_reflection_;
  12204. return metadata;
  12205. }
  12206. // ===================================================================
  12207. #ifndef _MSC_VER
  12208. const int CSVCMsg_VoiceData::kClientFieldNumber;
  12209. const int CSVCMsg_VoiceData::kProximityFieldNumber;
  12210. const int CSVCMsg_VoiceData::kXuidFieldNumber;
  12211. const int CSVCMsg_VoiceData::kAudibleMaskFieldNumber;
  12212. const int CSVCMsg_VoiceData::kVoiceDataFieldNumber;
  12213. const int CSVCMsg_VoiceData::kCasterFieldNumber;
  12214. const int CSVCMsg_VoiceData::kFormatFieldNumber;
  12215. const int CSVCMsg_VoiceData::kSequenceBytesFieldNumber;
  12216. const int CSVCMsg_VoiceData::kSectionNumberFieldNumber;
  12217. const int CSVCMsg_VoiceData::kUncompressedSampleOffsetFieldNumber;
  12218. #endif // !_MSC_VER
  12219. CSVCMsg_VoiceData::CSVCMsg_VoiceData()
  12220. : ::google::protobuf::Message() {
  12221. SharedCtor();
  12222. }
  12223. void CSVCMsg_VoiceData::InitAsDefaultInstance() {
  12224. }
  12225. CSVCMsg_VoiceData::CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from)
  12226. : ::google::protobuf::Message() {
  12227. SharedCtor();
  12228. MergeFrom(from);
  12229. }
  12230. void CSVCMsg_VoiceData::SharedCtor() {
  12231. _cached_size_ = 0;
  12232. client_ = 0;
  12233. proximity_ = false;
  12234. xuid_ = GOOGLE_ULONGLONG(0);
  12235. audible_mask_ = 0;
  12236. voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12237. caster_ = false;
  12238. format_ = 1;
  12239. sequence_bytes_ = 0;
  12240. section_number_ = 0u;
  12241. uncompressed_sample_offset_ = 0u;
  12242. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12243. }
  12244. CSVCMsg_VoiceData::~CSVCMsg_VoiceData() {
  12245. SharedDtor();
  12246. }
  12247. void CSVCMsg_VoiceData::SharedDtor() {
  12248. if (voice_data_ != &::google::protobuf::internal::kEmptyString) {
  12249. delete voice_data_;
  12250. }
  12251. if (this != default_instance_) {
  12252. }
  12253. }
  12254. void CSVCMsg_VoiceData::SetCachedSize(int size) const {
  12255. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12256. _cached_size_ = size;
  12257. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12258. }
  12259. const ::google::protobuf::Descriptor* CSVCMsg_VoiceData::descriptor() {
  12260. protobuf_AssignDescriptorsOnce();
  12261. return CSVCMsg_VoiceData_descriptor_;
  12262. }
  12263. const CSVCMsg_VoiceData& CSVCMsg_VoiceData::default_instance() {
  12264. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  12265. return *default_instance_;
  12266. }
  12267. CSVCMsg_VoiceData* CSVCMsg_VoiceData::default_instance_ = NULL;
  12268. CSVCMsg_VoiceData* CSVCMsg_VoiceData::New() const {
  12269. return new CSVCMsg_VoiceData;
  12270. }
  12271. void CSVCMsg_VoiceData::Clear() {
  12272. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12273. client_ = 0;
  12274. proximity_ = false;
  12275. xuid_ = GOOGLE_ULONGLONG(0);
  12276. audible_mask_ = 0;
  12277. if (has_voice_data()) {
  12278. if (voice_data_ != &::google::protobuf::internal::kEmptyString) {
  12279. voice_data_->clear();
  12280. }
  12281. }
  12282. caster_ = false;
  12283. format_ = 1;
  12284. sequence_bytes_ = 0;
  12285. }
  12286. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  12287. section_number_ = 0u;
  12288. uncompressed_sample_offset_ = 0u;
  12289. }
  12290. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12291. mutable_unknown_fields()->Clear();
  12292. }
  12293. bool CSVCMsg_VoiceData::MergePartialFromCodedStream(
  12294. ::google::protobuf::io::CodedInputStream* input) {
  12295. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12296. ::google::protobuf::uint32 tag;
  12297. while ((tag = input->ReadTag()) != 0) {
  12298. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12299. // optional int32 client = 1;
  12300. case 1: {
  12301. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12302. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12303. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12304. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12305. input, &client_)));
  12306. set_has_client();
  12307. } else {
  12308. goto handle_uninterpreted;
  12309. }
  12310. if (input->ExpectTag(16)) goto parse_proximity;
  12311. break;
  12312. }
  12313. // optional bool proximity = 2;
  12314. case 2: {
  12315. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12316. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12317. parse_proximity:
  12318. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12319. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  12320. input, &proximity_)));
  12321. set_has_proximity();
  12322. } else {
  12323. goto handle_uninterpreted;
  12324. }
  12325. if (input->ExpectTag(25)) goto parse_xuid;
  12326. break;
  12327. }
  12328. // optional fixed64 xuid = 3;
  12329. case 3: {
  12330. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12331. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  12332. parse_xuid:
  12333. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12334. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  12335. input, &xuid_)));
  12336. set_has_xuid();
  12337. } else {
  12338. goto handle_uninterpreted;
  12339. }
  12340. if (input->ExpectTag(32)) goto parse_audible_mask;
  12341. break;
  12342. }
  12343. // optional int32 audible_mask = 4;
  12344. case 4: {
  12345. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12346. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12347. parse_audible_mask:
  12348. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12349. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12350. input, &audible_mask_)));
  12351. set_has_audible_mask();
  12352. } else {
  12353. goto handle_uninterpreted;
  12354. }
  12355. if (input->ExpectTag(42)) goto parse_voice_data;
  12356. break;
  12357. }
  12358. // optional bytes voice_data = 5;
  12359. case 5: {
  12360. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12361. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12362. parse_voice_data:
  12363. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  12364. input, this->mutable_voice_data()));
  12365. } else {
  12366. goto handle_uninterpreted;
  12367. }
  12368. if (input->ExpectTag(48)) goto parse_caster;
  12369. break;
  12370. }
  12371. // optional bool caster = 6;
  12372. case 6: {
  12373. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12374. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12375. parse_caster:
  12376. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12377. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  12378. input, &caster_)));
  12379. set_has_caster();
  12380. } else {
  12381. goto handle_uninterpreted;
  12382. }
  12383. if (input->ExpectTag(56)) goto parse_format;
  12384. break;
  12385. }
  12386. // optional .VoiceDataFormat_t format = 7 [default = VOICEDATA_FORMAT_ENGINE];
  12387. case 7: {
  12388. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12389. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12390. parse_format:
  12391. int value;
  12392. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12393. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12394. input, &value)));
  12395. if (::VoiceDataFormat_t_IsValid(value)) {
  12396. set_format(static_cast< ::VoiceDataFormat_t >(value));
  12397. } else {
  12398. mutable_unknown_fields()->AddVarint(7, value);
  12399. }
  12400. } else {
  12401. goto handle_uninterpreted;
  12402. }
  12403. if (input->ExpectTag(64)) goto parse_sequence_bytes;
  12404. break;
  12405. }
  12406. // optional int32 sequence_bytes = 8;
  12407. case 8: {
  12408. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12409. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12410. parse_sequence_bytes:
  12411. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12412. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12413. input, &sequence_bytes_)));
  12414. set_has_sequence_bytes();
  12415. } else {
  12416. goto handle_uninterpreted;
  12417. }
  12418. if (input->ExpectTag(72)) goto parse_section_number;
  12419. break;
  12420. }
  12421. // optional uint32 section_number = 9;
  12422. case 9: {
  12423. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12424. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12425. parse_section_number:
  12426. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12427. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12428. input, &section_number_)));
  12429. set_has_section_number();
  12430. } else {
  12431. goto handle_uninterpreted;
  12432. }
  12433. if (input->ExpectTag(80)) goto parse_uncompressed_sample_offset;
  12434. break;
  12435. }
  12436. // optional uint32 uncompressed_sample_offset = 10;
  12437. case 10: {
  12438. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12439. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12440. parse_uncompressed_sample_offset:
  12441. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12442. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12443. input, &uncompressed_sample_offset_)));
  12444. set_has_uncompressed_sample_offset();
  12445. } else {
  12446. goto handle_uninterpreted;
  12447. }
  12448. if (input->ExpectAtEnd()) return true;
  12449. break;
  12450. }
  12451. default: {
  12452. handle_uninterpreted:
  12453. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12454. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12455. return true;
  12456. }
  12457. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12458. input, tag, mutable_unknown_fields()));
  12459. break;
  12460. }
  12461. }
  12462. }
  12463. return true;
  12464. #undef DO_
  12465. }
  12466. void CSVCMsg_VoiceData::SerializeWithCachedSizes(
  12467. ::google::protobuf::io::CodedOutputStream* output) const {
  12468. // optional int32 client = 1;
  12469. if (has_client()) {
  12470. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->client(), output);
  12471. }
  12472. // optional bool proximity = 2;
  12473. if (has_proximity()) {
  12474. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->proximity(), output);
  12475. }
  12476. // optional fixed64 xuid = 3;
  12477. if (has_xuid()) {
  12478. ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->xuid(), output);
  12479. }
  12480. // optional int32 audible_mask = 4;
  12481. if (has_audible_mask()) {
  12482. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->audible_mask(), output);
  12483. }
  12484. // optional bytes voice_data = 5;
  12485. if (has_voice_data()) {
  12486. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  12487. 5, this->voice_data(), output);
  12488. }
  12489. // optional bool caster = 6;
  12490. if (has_caster()) {
  12491. ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->caster(), output);
  12492. }
  12493. // optional .VoiceDataFormat_t format = 7 [default = VOICEDATA_FORMAT_ENGINE];
  12494. if (has_format()) {
  12495. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12496. 7, this->format(), output);
  12497. }
  12498. // optional int32 sequence_bytes = 8;
  12499. if (has_sequence_bytes()) {
  12500. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->sequence_bytes(), output);
  12501. }
  12502. // optional uint32 section_number = 9;
  12503. if (has_section_number()) {
  12504. ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->section_number(), output);
  12505. }
  12506. // optional uint32 uncompressed_sample_offset = 10;
  12507. if (has_uncompressed_sample_offset()) {
  12508. ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->uncompressed_sample_offset(), output);
  12509. }
  12510. if (!unknown_fields().empty()) {
  12511. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12512. unknown_fields(), output);
  12513. }
  12514. }
  12515. ::google::protobuf::uint8* CSVCMsg_VoiceData::SerializeWithCachedSizesToArray(
  12516. ::google::protobuf::uint8* target) const {
  12517. // optional int32 client = 1;
  12518. if (has_client()) {
  12519. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->client(), target);
  12520. }
  12521. // optional bool proximity = 2;
  12522. if (has_proximity()) {
  12523. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->proximity(), target);
  12524. }
  12525. // optional fixed64 xuid = 3;
  12526. if (has_xuid()) {
  12527. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->xuid(), target);
  12528. }
  12529. // optional int32 audible_mask = 4;
  12530. if (has_audible_mask()) {
  12531. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->audible_mask(), target);
  12532. }
  12533. // optional bytes voice_data = 5;
  12534. if (has_voice_data()) {
  12535. target =
  12536. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  12537. 5, this->voice_data(), target);
  12538. }
  12539. // optional bool caster = 6;
  12540. if (has_caster()) {
  12541. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->caster(), target);
  12542. }
  12543. // optional .VoiceDataFormat_t format = 7 [default = VOICEDATA_FORMAT_ENGINE];
  12544. if (has_format()) {
  12545. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12546. 7, this->format(), target);
  12547. }
  12548. // optional int32 sequence_bytes = 8;
  12549. if (has_sequence_bytes()) {
  12550. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->sequence_bytes(), target);
  12551. }
  12552. // optional uint32 section_number = 9;
  12553. if (has_section_number()) {
  12554. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->section_number(), target);
  12555. }
  12556. // optional uint32 uncompressed_sample_offset = 10;
  12557. if (has_uncompressed_sample_offset()) {
  12558. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(10, this->uncompressed_sample_offset(), target);
  12559. }
  12560. if (!unknown_fields().empty()) {
  12561. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12562. unknown_fields(), target);
  12563. }
  12564. return target;
  12565. }
  12566. int CSVCMsg_VoiceData::ByteSize() const {
  12567. int total_size = 0;
  12568. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12569. // optional int32 client = 1;
  12570. if (has_client()) {
  12571. total_size += 1 +
  12572. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12573. this->client());
  12574. }
  12575. // optional bool proximity = 2;
  12576. if (has_proximity()) {
  12577. total_size += 1 + 1;
  12578. }
  12579. // optional fixed64 xuid = 3;
  12580. if (has_xuid()) {
  12581. total_size += 1 + 8;
  12582. }
  12583. // optional int32 audible_mask = 4;
  12584. if (has_audible_mask()) {
  12585. total_size += 1 +
  12586. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12587. this->audible_mask());
  12588. }
  12589. // optional bytes voice_data = 5;
  12590. if (has_voice_data()) {
  12591. total_size += 1 +
  12592. ::google::protobuf::internal::WireFormatLite::BytesSize(
  12593. this->voice_data());
  12594. }
  12595. // optional bool caster = 6;
  12596. if (has_caster()) {
  12597. total_size += 1 + 1;
  12598. }
  12599. // optional .VoiceDataFormat_t format = 7 [default = VOICEDATA_FORMAT_ENGINE];
  12600. if (has_format()) {
  12601. total_size += 1 +
  12602. ::google::protobuf::internal::WireFormatLite::EnumSize(this->format());
  12603. }
  12604. // optional int32 sequence_bytes = 8;
  12605. if (has_sequence_bytes()) {
  12606. total_size += 1 +
  12607. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12608. this->sequence_bytes());
  12609. }
  12610. }
  12611. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  12612. // optional uint32 section_number = 9;
  12613. if (has_section_number()) {
  12614. total_size += 1 +
  12615. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12616. this->section_number());
  12617. }
  12618. // optional uint32 uncompressed_sample_offset = 10;
  12619. if (has_uncompressed_sample_offset()) {
  12620. total_size += 1 +
  12621. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12622. this->uncompressed_sample_offset());
  12623. }
  12624. }
  12625. if (!unknown_fields().empty()) {
  12626. total_size +=
  12627. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12628. unknown_fields());
  12629. }
  12630. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12631. _cached_size_ = total_size;
  12632. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12633. return total_size;
  12634. }
  12635. void CSVCMsg_VoiceData::MergeFrom(const ::google::protobuf::Message& from) {
  12636. GOOGLE_CHECK_NE(&from, this);
  12637. const CSVCMsg_VoiceData* source =
  12638. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_VoiceData*>(
  12639. &from);
  12640. if (source == NULL) {
  12641. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12642. } else {
  12643. MergeFrom(*source);
  12644. }
  12645. }
  12646. void CSVCMsg_VoiceData::MergeFrom(const CSVCMsg_VoiceData& from) {
  12647. GOOGLE_CHECK_NE(&from, this);
  12648. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12649. if (from.has_client()) {
  12650. set_client(from.client());
  12651. }
  12652. if (from.has_proximity()) {
  12653. set_proximity(from.proximity());
  12654. }
  12655. if (from.has_xuid()) {
  12656. set_xuid(from.xuid());
  12657. }
  12658. if (from.has_audible_mask()) {
  12659. set_audible_mask(from.audible_mask());
  12660. }
  12661. if (from.has_voice_data()) {
  12662. set_voice_data(from.voice_data());
  12663. }
  12664. if (from.has_caster()) {
  12665. set_caster(from.caster());
  12666. }
  12667. if (from.has_format()) {
  12668. set_format(from.format());
  12669. }
  12670. if (from.has_sequence_bytes()) {
  12671. set_sequence_bytes(from.sequence_bytes());
  12672. }
  12673. }
  12674. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  12675. if (from.has_section_number()) {
  12676. set_section_number(from.section_number());
  12677. }
  12678. if (from.has_uncompressed_sample_offset()) {
  12679. set_uncompressed_sample_offset(from.uncompressed_sample_offset());
  12680. }
  12681. }
  12682. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12683. }
  12684. void CSVCMsg_VoiceData::CopyFrom(const ::google::protobuf::Message& from) {
  12685. if (&from == this) return;
  12686. Clear();
  12687. MergeFrom(from);
  12688. }
  12689. void CSVCMsg_VoiceData::CopyFrom(const CSVCMsg_VoiceData& from) {
  12690. if (&from == this) return;
  12691. Clear();
  12692. MergeFrom(from);
  12693. }
  12694. bool CSVCMsg_VoiceData::IsInitialized() const {
  12695. return true;
  12696. }
  12697. void CSVCMsg_VoiceData::Swap(CSVCMsg_VoiceData* other) {
  12698. if (other != this) {
  12699. std::swap(client_, other->client_);
  12700. std::swap(proximity_, other->proximity_);
  12701. std::swap(xuid_, other->xuid_);
  12702. std::swap(audible_mask_, other->audible_mask_);
  12703. std::swap(voice_data_, other->voice_data_);
  12704. std::swap(caster_, other->caster_);
  12705. std::swap(format_, other->format_);
  12706. std::swap(sequence_bytes_, other->sequence_bytes_);
  12707. std::swap(section_number_, other->section_number_);
  12708. std::swap(uncompressed_sample_offset_, other->uncompressed_sample_offset_);
  12709. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12710. _unknown_fields_.Swap(&other->_unknown_fields_);
  12711. std::swap(_cached_size_, other->_cached_size_);
  12712. }
  12713. }
  12714. ::google::protobuf::Metadata CSVCMsg_VoiceData::GetMetadata() const {
  12715. protobuf_AssignDescriptorsOnce();
  12716. ::google::protobuf::Metadata metadata;
  12717. metadata.descriptor = CSVCMsg_VoiceData_descriptor_;
  12718. metadata.reflection = CSVCMsg_VoiceData_reflection_;
  12719. return metadata;
  12720. }
  12721. // ===================================================================
  12722. #ifndef _MSC_VER
  12723. const int CSVCMsg_FixAngle::kRelativeFieldNumber;
  12724. const int CSVCMsg_FixAngle::kAngleFieldNumber;
  12725. #endif // !_MSC_VER
  12726. CSVCMsg_FixAngle::CSVCMsg_FixAngle()
  12727. : ::google::protobuf::Message() {
  12728. SharedCtor();
  12729. }
  12730. void CSVCMsg_FixAngle::InitAsDefaultInstance() {
  12731. angle_ = const_cast< ::CMsgQAngle*>(&::CMsgQAngle::default_instance());
  12732. }
  12733. CSVCMsg_FixAngle::CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from)
  12734. : ::google::protobuf::Message() {
  12735. SharedCtor();
  12736. MergeFrom(from);
  12737. }
  12738. void CSVCMsg_FixAngle::SharedCtor() {
  12739. _cached_size_ = 0;
  12740. relative_ = false;
  12741. angle_ = NULL;
  12742. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12743. }
  12744. CSVCMsg_FixAngle::~CSVCMsg_FixAngle() {
  12745. SharedDtor();
  12746. }
  12747. void CSVCMsg_FixAngle::SharedDtor() {
  12748. if (this != default_instance_) {
  12749. delete angle_;
  12750. }
  12751. }
  12752. void CSVCMsg_FixAngle::SetCachedSize(int size) const {
  12753. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12754. _cached_size_ = size;
  12755. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12756. }
  12757. const ::google::protobuf::Descriptor* CSVCMsg_FixAngle::descriptor() {
  12758. protobuf_AssignDescriptorsOnce();
  12759. return CSVCMsg_FixAngle_descriptor_;
  12760. }
  12761. const CSVCMsg_FixAngle& CSVCMsg_FixAngle::default_instance() {
  12762. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  12763. return *default_instance_;
  12764. }
  12765. CSVCMsg_FixAngle* CSVCMsg_FixAngle::default_instance_ = NULL;
  12766. CSVCMsg_FixAngle* CSVCMsg_FixAngle::New() const {
  12767. return new CSVCMsg_FixAngle;
  12768. }
  12769. void CSVCMsg_FixAngle::Clear() {
  12770. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12771. relative_ = false;
  12772. if (has_angle()) {
  12773. if (angle_ != NULL) angle_->::CMsgQAngle::Clear();
  12774. }
  12775. }
  12776. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12777. mutable_unknown_fields()->Clear();
  12778. }
  12779. bool CSVCMsg_FixAngle::MergePartialFromCodedStream(
  12780. ::google::protobuf::io::CodedInputStream* input) {
  12781. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12782. ::google::protobuf::uint32 tag;
  12783. while ((tag = input->ReadTag()) != 0) {
  12784. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12785. // optional bool relative = 1;
  12786. case 1: {
  12787. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12788. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12789. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12790. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  12791. input, &relative_)));
  12792. set_has_relative();
  12793. } else {
  12794. goto handle_uninterpreted;
  12795. }
  12796. if (input->ExpectTag(18)) goto parse_angle;
  12797. break;
  12798. }
  12799. // optional .CMsgQAngle angle = 2;
  12800. case 2: {
  12801. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12802. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12803. parse_angle:
  12804. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  12805. input, mutable_angle()));
  12806. } else {
  12807. goto handle_uninterpreted;
  12808. }
  12809. if (input->ExpectAtEnd()) return true;
  12810. break;
  12811. }
  12812. default: {
  12813. handle_uninterpreted:
  12814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12816. return true;
  12817. }
  12818. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12819. input, tag, mutable_unknown_fields()));
  12820. break;
  12821. }
  12822. }
  12823. }
  12824. return true;
  12825. #undef DO_
  12826. }
  12827. void CSVCMsg_FixAngle::SerializeWithCachedSizes(
  12828. ::google::protobuf::io::CodedOutputStream* output) const {
  12829. // optional bool relative = 1;
  12830. if (has_relative()) {
  12831. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->relative(), output);
  12832. }
  12833. // optional .CMsgQAngle angle = 2;
  12834. if (has_angle()) {
  12835. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12836. 2, this->angle(), output);
  12837. }
  12838. if (!unknown_fields().empty()) {
  12839. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12840. unknown_fields(), output);
  12841. }
  12842. }
  12843. ::google::protobuf::uint8* CSVCMsg_FixAngle::SerializeWithCachedSizesToArray(
  12844. ::google::protobuf::uint8* target) const {
  12845. // optional bool relative = 1;
  12846. if (has_relative()) {
  12847. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->relative(), target);
  12848. }
  12849. // optional .CMsgQAngle angle = 2;
  12850. if (has_angle()) {
  12851. target = ::google::protobuf::internal::WireFormatLite::
  12852. WriteMessageNoVirtualToArray(
  12853. 2, this->angle(), target);
  12854. }
  12855. if (!unknown_fields().empty()) {
  12856. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12857. unknown_fields(), target);
  12858. }
  12859. return target;
  12860. }
  12861. int CSVCMsg_FixAngle::ByteSize() const {
  12862. int total_size = 0;
  12863. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12864. // optional bool relative = 1;
  12865. if (has_relative()) {
  12866. total_size += 1 + 1;
  12867. }
  12868. // optional .CMsgQAngle angle = 2;
  12869. if (has_angle()) {
  12870. total_size += 1 +
  12871. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12872. this->angle());
  12873. }
  12874. }
  12875. if (!unknown_fields().empty()) {
  12876. total_size +=
  12877. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12878. unknown_fields());
  12879. }
  12880. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12881. _cached_size_ = total_size;
  12882. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12883. return total_size;
  12884. }
  12885. void CSVCMsg_FixAngle::MergeFrom(const ::google::protobuf::Message& from) {
  12886. GOOGLE_CHECK_NE(&from, this);
  12887. const CSVCMsg_FixAngle* source =
  12888. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_FixAngle*>(
  12889. &from);
  12890. if (source == NULL) {
  12891. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12892. } else {
  12893. MergeFrom(*source);
  12894. }
  12895. }
  12896. void CSVCMsg_FixAngle::MergeFrom(const CSVCMsg_FixAngle& from) {
  12897. GOOGLE_CHECK_NE(&from, this);
  12898. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12899. if (from.has_relative()) {
  12900. set_relative(from.relative());
  12901. }
  12902. if (from.has_angle()) {
  12903. mutable_angle()->::CMsgQAngle::MergeFrom(from.angle());
  12904. }
  12905. }
  12906. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12907. }
  12908. void CSVCMsg_FixAngle::CopyFrom(const ::google::protobuf::Message& from) {
  12909. if (&from == this) return;
  12910. Clear();
  12911. MergeFrom(from);
  12912. }
  12913. void CSVCMsg_FixAngle::CopyFrom(const CSVCMsg_FixAngle& from) {
  12914. if (&from == this) return;
  12915. Clear();
  12916. MergeFrom(from);
  12917. }
  12918. bool CSVCMsg_FixAngle::IsInitialized() const {
  12919. return true;
  12920. }
  12921. void CSVCMsg_FixAngle::Swap(CSVCMsg_FixAngle* other) {
  12922. if (other != this) {
  12923. std::swap(relative_, other->relative_);
  12924. std::swap(angle_, other->angle_);
  12925. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12926. _unknown_fields_.Swap(&other->_unknown_fields_);
  12927. std::swap(_cached_size_, other->_cached_size_);
  12928. }
  12929. }
  12930. ::google::protobuf::Metadata CSVCMsg_FixAngle::GetMetadata() const {
  12931. protobuf_AssignDescriptorsOnce();
  12932. ::google::protobuf::Metadata metadata;
  12933. metadata.descriptor = CSVCMsg_FixAngle_descriptor_;
  12934. metadata.reflection = CSVCMsg_FixAngle_reflection_;
  12935. return metadata;
  12936. }
  12937. // ===================================================================
  12938. #ifndef _MSC_VER
  12939. const int CSVCMsg_CrosshairAngle::kAngleFieldNumber;
  12940. #endif // !_MSC_VER
  12941. CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle()
  12942. : ::google::protobuf::Message() {
  12943. SharedCtor();
  12944. }
  12945. void CSVCMsg_CrosshairAngle::InitAsDefaultInstance() {
  12946. angle_ = const_cast< ::CMsgQAngle*>(&::CMsgQAngle::default_instance());
  12947. }
  12948. CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from)
  12949. : ::google::protobuf::Message() {
  12950. SharedCtor();
  12951. MergeFrom(from);
  12952. }
  12953. void CSVCMsg_CrosshairAngle::SharedCtor() {
  12954. _cached_size_ = 0;
  12955. angle_ = NULL;
  12956. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12957. }
  12958. CSVCMsg_CrosshairAngle::~CSVCMsg_CrosshairAngle() {
  12959. SharedDtor();
  12960. }
  12961. void CSVCMsg_CrosshairAngle::SharedDtor() {
  12962. if (this != default_instance_) {
  12963. delete angle_;
  12964. }
  12965. }
  12966. void CSVCMsg_CrosshairAngle::SetCachedSize(int size) const {
  12967. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12968. _cached_size_ = size;
  12969. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12970. }
  12971. const ::google::protobuf::Descriptor* CSVCMsg_CrosshairAngle::descriptor() {
  12972. protobuf_AssignDescriptorsOnce();
  12973. return CSVCMsg_CrosshairAngle_descriptor_;
  12974. }
  12975. const CSVCMsg_CrosshairAngle& CSVCMsg_CrosshairAngle::default_instance() {
  12976. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  12977. return *default_instance_;
  12978. }
  12979. CSVCMsg_CrosshairAngle* CSVCMsg_CrosshairAngle::default_instance_ = NULL;
  12980. CSVCMsg_CrosshairAngle* CSVCMsg_CrosshairAngle::New() const {
  12981. return new CSVCMsg_CrosshairAngle;
  12982. }
  12983. void CSVCMsg_CrosshairAngle::Clear() {
  12984. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12985. if (has_angle()) {
  12986. if (angle_ != NULL) angle_->::CMsgQAngle::Clear();
  12987. }
  12988. }
  12989. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12990. mutable_unknown_fields()->Clear();
  12991. }
  12992. bool CSVCMsg_CrosshairAngle::MergePartialFromCodedStream(
  12993. ::google::protobuf::io::CodedInputStream* input) {
  12994. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12995. ::google::protobuf::uint32 tag;
  12996. while ((tag = input->ReadTag()) != 0) {
  12997. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12998. // optional .CMsgQAngle angle = 1;
  12999. case 1: {
  13000. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13001. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13002. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13003. input, mutable_angle()));
  13004. } else {
  13005. goto handle_uninterpreted;
  13006. }
  13007. if (input->ExpectAtEnd()) return true;
  13008. break;
  13009. }
  13010. default: {
  13011. handle_uninterpreted:
  13012. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13013. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13014. return true;
  13015. }
  13016. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13017. input, tag, mutable_unknown_fields()));
  13018. break;
  13019. }
  13020. }
  13021. }
  13022. return true;
  13023. #undef DO_
  13024. }
  13025. void CSVCMsg_CrosshairAngle::SerializeWithCachedSizes(
  13026. ::google::protobuf::io::CodedOutputStream* output) const {
  13027. // optional .CMsgQAngle angle = 1;
  13028. if (has_angle()) {
  13029. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13030. 1, this->angle(), output);
  13031. }
  13032. if (!unknown_fields().empty()) {
  13033. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13034. unknown_fields(), output);
  13035. }
  13036. }
  13037. ::google::protobuf::uint8* CSVCMsg_CrosshairAngle::SerializeWithCachedSizesToArray(
  13038. ::google::protobuf::uint8* target) const {
  13039. // optional .CMsgQAngle angle = 1;
  13040. if (has_angle()) {
  13041. target = ::google::protobuf::internal::WireFormatLite::
  13042. WriteMessageNoVirtualToArray(
  13043. 1, this->angle(), target);
  13044. }
  13045. if (!unknown_fields().empty()) {
  13046. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13047. unknown_fields(), target);
  13048. }
  13049. return target;
  13050. }
  13051. int CSVCMsg_CrosshairAngle::ByteSize() const {
  13052. int total_size = 0;
  13053. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13054. // optional .CMsgQAngle angle = 1;
  13055. if (has_angle()) {
  13056. total_size += 1 +
  13057. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13058. this->angle());
  13059. }
  13060. }
  13061. if (!unknown_fields().empty()) {
  13062. total_size +=
  13063. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13064. unknown_fields());
  13065. }
  13066. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13067. _cached_size_ = total_size;
  13068. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13069. return total_size;
  13070. }
  13071. void CSVCMsg_CrosshairAngle::MergeFrom(const ::google::protobuf::Message& from) {
  13072. GOOGLE_CHECK_NE(&from, this);
  13073. const CSVCMsg_CrosshairAngle* source =
  13074. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_CrosshairAngle*>(
  13075. &from);
  13076. if (source == NULL) {
  13077. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13078. } else {
  13079. MergeFrom(*source);
  13080. }
  13081. }
  13082. void CSVCMsg_CrosshairAngle::MergeFrom(const CSVCMsg_CrosshairAngle& from) {
  13083. GOOGLE_CHECK_NE(&from, this);
  13084. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13085. if (from.has_angle()) {
  13086. mutable_angle()->::CMsgQAngle::MergeFrom(from.angle());
  13087. }
  13088. }
  13089. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13090. }
  13091. void CSVCMsg_CrosshairAngle::CopyFrom(const ::google::protobuf::Message& from) {
  13092. if (&from == this) return;
  13093. Clear();
  13094. MergeFrom(from);
  13095. }
  13096. void CSVCMsg_CrosshairAngle::CopyFrom(const CSVCMsg_CrosshairAngle& from) {
  13097. if (&from == this) return;
  13098. Clear();
  13099. MergeFrom(from);
  13100. }
  13101. bool CSVCMsg_CrosshairAngle::IsInitialized() const {
  13102. return true;
  13103. }
  13104. void CSVCMsg_CrosshairAngle::Swap(CSVCMsg_CrosshairAngle* other) {
  13105. if (other != this) {
  13106. std::swap(angle_, other->angle_);
  13107. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13108. _unknown_fields_.Swap(&other->_unknown_fields_);
  13109. std::swap(_cached_size_, other->_cached_size_);
  13110. }
  13111. }
  13112. ::google::protobuf::Metadata CSVCMsg_CrosshairAngle::GetMetadata() const {
  13113. protobuf_AssignDescriptorsOnce();
  13114. ::google::protobuf::Metadata metadata;
  13115. metadata.descriptor = CSVCMsg_CrosshairAngle_descriptor_;
  13116. metadata.reflection = CSVCMsg_CrosshairAngle_reflection_;
  13117. return metadata;
  13118. }
  13119. // ===================================================================
  13120. #ifndef _MSC_VER
  13121. const int CSVCMsg_Prefetch::kSoundIndexFieldNumber;
  13122. #endif // !_MSC_VER
  13123. CSVCMsg_Prefetch::CSVCMsg_Prefetch()
  13124. : ::google::protobuf::Message() {
  13125. SharedCtor();
  13126. }
  13127. void CSVCMsg_Prefetch::InitAsDefaultInstance() {
  13128. }
  13129. CSVCMsg_Prefetch::CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from)
  13130. : ::google::protobuf::Message() {
  13131. SharedCtor();
  13132. MergeFrom(from);
  13133. }
  13134. void CSVCMsg_Prefetch::SharedCtor() {
  13135. _cached_size_ = 0;
  13136. sound_index_ = 0;
  13137. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13138. }
  13139. CSVCMsg_Prefetch::~CSVCMsg_Prefetch() {
  13140. SharedDtor();
  13141. }
  13142. void CSVCMsg_Prefetch::SharedDtor() {
  13143. if (this != default_instance_) {
  13144. }
  13145. }
  13146. void CSVCMsg_Prefetch::SetCachedSize(int size) const {
  13147. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13148. _cached_size_ = size;
  13149. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13150. }
  13151. const ::google::protobuf::Descriptor* CSVCMsg_Prefetch::descriptor() {
  13152. protobuf_AssignDescriptorsOnce();
  13153. return CSVCMsg_Prefetch_descriptor_;
  13154. }
  13155. const CSVCMsg_Prefetch& CSVCMsg_Prefetch::default_instance() {
  13156. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  13157. return *default_instance_;
  13158. }
  13159. CSVCMsg_Prefetch* CSVCMsg_Prefetch::default_instance_ = NULL;
  13160. CSVCMsg_Prefetch* CSVCMsg_Prefetch::New() const {
  13161. return new CSVCMsg_Prefetch;
  13162. }
  13163. void CSVCMsg_Prefetch::Clear() {
  13164. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13165. sound_index_ = 0;
  13166. }
  13167. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13168. mutable_unknown_fields()->Clear();
  13169. }
  13170. bool CSVCMsg_Prefetch::MergePartialFromCodedStream(
  13171. ::google::protobuf::io::CodedInputStream* input) {
  13172. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13173. ::google::protobuf::uint32 tag;
  13174. while ((tag = input->ReadTag()) != 0) {
  13175. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13176. // optional int32 sound_index = 1;
  13177. case 1: {
  13178. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13179. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13180. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13181. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13182. input, &sound_index_)));
  13183. set_has_sound_index();
  13184. } else {
  13185. goto handle_uninterpreted;
  13186. }
  13187. if (input->ExpectAtEnd()) return true;
  13188. break;
  13189. }
  13190. default: {
  13191. handle_uninterpreted:
  13192. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13193. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13194. return true;
  13195. }
  13196. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13197. input, tag, mutable_unknown_fields()));
  13198. break;
  13199. }
  13200. }
  13201. }
  13202. return true;
  13203. #undef DO_
  13204. }
  13205. void CSVCMsg_Prefetch::SerializeWithCachedSizes(
  13206. ::google::protobuf::io::CodedOutputStream* output) const {
  13207. // optional int32 sound_index = 1;
  13208. if (has_sound_index()) {
  13209. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->sound_index(), output);
  13210. }
  13211. if (!unknown_fields().empty()) {
  13212. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13213. unknown_fields(), output);
  13214. }
  13215. }
  13216. ::google::protobuf::uint8* CSVCMsg_Prefetch::SerializeWithCachedSizesToArray(
  13217. ::google::protobuf::uint8* target) const {
  13218. // optional int32 sound_index = 1;
  13219. if (has_sound_index()) {
  13220. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->sound_index(), target);
  13221. }
  13222. if (!unknown_fields().empty()) {
  13223. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13224. unknown_fields(), target);
  13225. }
  13226. return target;
  13227. }
  13228. int CSVCMsg_Prefetch::ByteSize() const {
  13229. int total_size = 0;
  13230. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13231. // optional int32 sound_index = 1;
  13232. if (has_sound_index()) {
  13233. total_size += 1 +
  13234. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13235. this->sound_index());
  13236. }
  13237. }
  13238. if (!unknown_fields().empty()) {
  13239. total_size +=
  13240. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13241. unknown_fields());
  13242. }
  13243. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13244. _cached_size_ = total_size;
  13245. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13246. return total_size;
  13247. }
  13248. void CSVCMsg_Prefetch::MergeFrom(const ::google::protobuf::Message& from) {
  13249. GOOGLE_CHECK_NE(&from, this);
  13250. const CSVCMsg_Prefetch* source =
  13251. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_Prefetch*>(
  13252. &from);
  13253. if (source == NULL) {
  13254. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13255. } else {
  13256. MergeFrom(*source);
  13257. }
  13258. }
  13259. void CSVCMsg_Prefetch::MergeFrom(const CSVCMsg_Prefetch& from) {
  13260. GOOGLE_CHECK_NE(&from, this);
  13261. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13262. if (from.has_sound_index()) {
  13263. set_sound_index(from.sound_index());
  13264. }
  13265. }
  13266. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13267. }
  13268. void CSVCMsg_Prefetch::CopyFrom(const ::google::protobuf::Message& from) {
  13269. if (&from == this) return;
  13270. Clear();
  13271. MergeFrom(from);
  13272. }
  13273. void CSVCMsg_Prefetch::CopyFrom(const CSVCMsg_Prefetch& from) {
  13274. if (&from == this) return;
  13275. Clear();
  13276. MergeFrom(from);
  13277. }
  13278. bool CSVCMsg_Prefetch::IsInitialized() const {
  13279. return true;
  13280. }
  13281. void CSVCMsg_Prefetch::Swap(CSVCMsg_Prefetch* other) {
  13282. if (other != this) {
  13283. std::swap(sound_index_, other->sound_index_);
  13284. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13285. _unknown_fields_.Swap(&other->_unknown_fields_);
  13286. std::swap(_cached_size_, other->_cached_size_);
  13287. }
  13288. }
  13289. ::google::protobuf::Metadata CSVCMsg_Prefetch::GetMetadata() const {
  13290. protobuf_AssignDescriptorsOnce();
  13291. ::google::protobuf::Metadata metadata;
  13292. metadata.descriptor = CSVCMsg_Prefetch_descriptor_;
  13293. metadata.reflection = CSVCMsg_Prefetch_reflection_;
  13294. return metadata;
  13295. }
  13296. // ===================================================================
  13297. #ifndef _MSC_VER
  13298. const int CSVCMsg_BSPDecal::kPosFieldNumber;
  13299. const int CSVCMsg_BSPDecal::kDecalTextureIndexFieldNumber;
  13300. const int CSVCMsg_BSPDecal::kEntityIndexFieldNumber;
  13301. const int CSVCMsg_BSPDecal::kModelIndexFieldNumber;
  13302. const int CSVCMsg_BSPDecal::kLowPriorityFieldNumber;
  13303. #endif // !_MSC_VER
  13304. CSVCMsg_BSPDecal::CSVCMsg_BSPDecal()
  13305. : ::google::protobuf::Message() {
  13306. SharedCtor();
  13307. }
  13308. void CSVCMsg_BSPDecal::InitAsDefaultInstance() {
  13309. pos_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance());
  13310. }
  13311. CSVCMsg_BSPDecal::CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from)
  13312. : ::google::protobuf::Message() {
  13313. SharedCtor();
  13314. MergeFrom(from);
  13315. }
  13316. void CSVCMsg_BSPDecal::SharedCtor() {
  13317. _cached_size_ = 0;
  13318. pos_ = NULL;
  13319. decal_texture_index_ = 0;
  13320. entity_index_ = 0;
  13321. model_index_ = 0;
  13322. low_priority_ = false;
  13323. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13324. }
  13325. CSVCMsg_BSPDecal::~CSVCMsg_BSPDecal() {
  13326. SharedDtor();
  13327. }
  13328. void CSVCMsg_BSPDecal::SharedDtor() {
  13329. if (this != default_instance_) {
  13330. delete pos_;
  13331. }
  13332. }
  13333. void CSVCMsg_BSPDecal::SetCachedSize(int size) const {
  13334. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13335. _cached_size_ = size;
  13336. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13337. }
  13338. const ::google::protobuf::Descriptor* CSVCMsg_BSPDecal::descriptor() {
  13339. protobuf_AssignDescriptorsOnce();
  13340. return CSVCMsg_BSPDecal_descriptor_;
  13341. }
  13342. const CSVCMsg_BSPDecal& CSVCMsg_BSPDecal::default_instance() {
  13343. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  13344. return *default_instance_;
  13345. }
  13346. CSVCMsg_BSPDecal* CSVCMsg_BSPDecal::default_instance_ = NULL;
  13347. CSVCMsg_BSPDecal* CSVCMsg_BSPDecal::New() const {
  13348. return new CSVCMsg_BSPDecal;
  13349. }
  13350. void CSVCMsg_BSPDecal::Clear() {
  13351. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13352. if (has_pos()) {
  13353. if (pos_ != NULL) pos_->::CMsgVector::Clear();
  13354. }
  13355. decal_texture_index_ = 0;
  13356. entity_index_ = 0;
  13357. model_index_ = 0;
  13358. low_priority_ = false;
  13359. }
  13360. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13361. mutable_unknown_fields()->Clear();
  13362. }
  13363. bool CSVCMsg_BSPDecal::MergePartialFromCodedStream(
  13364. ::google::protobuf::io::CodedInputStream* input) {
  13365. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13366. ::google::protobuf::uint32 tag;
  13367. while ((tag = input->ReadTag()) != 0) {
  13368. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13369. // optional .CMsgVector pos = 1;
  13370. case 1: {
  13371. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13372. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13373. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13374. input, mutable_pos()));
  13375. } else {
  13376. goto handle_uninterpreted;
  13377. }
  13378. if (input->ExpectTag(16)) goto parse_decal_texture_index;
  13379. break;
  13380. }
  13381. // optional int32 decal_texture_index = 2;
  13382. case 2: {
  13383. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13384. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13385. parse_decal_texture_index:
  13386. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13387. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13388. input, &decal_texture_index_)));
  13389. set_has_decal_texture_index();
  13390. } else {
  13391. goto handle_uninterpreted;
  13392. }
  13393. if (input->ExpectTag(24)) goto parse_entity_index;
  13394. break;
  13395. }
  13396. // optional int32 entity_index = 3;
  13397. case 3: {
  13398. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13399. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13400. parse_entity_index:
  13401. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13402. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13403. input, &entity_index_)));
  13404. set_has_entity_index();
  13405. } else {
  13406. goto handle_uninterpreted;
  13407. }
  13408. if (input->ExpectTag(32)) goto parse_model_index;
  13409. break;
  13410. }
  13411. // optional int32 model_index = 4;
  13412. case 4: {
  13413. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13414. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13415. parse_model_index:
  13416. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13417. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13418. input, &model_index_)));
  13419. set_has_model_index();
  13420. } else {
  13421. goto handle_uninterpreted;
  13422. }
  13423. if (input->ExpectTag(40)) goto parse_low_priority;
  13424. break;
  13425. }
  13426. // optional bool low_priority = 5;
  13427. case 5: {
  13428. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13429. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13430. parse_low_priority:
  13431. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13432. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  13433. input, &low_priority_)));
  13434. set_has_low_priority();
  13435. } else {
  13436. goto handle_uninterpreted;
  13437. }
  13438. if (input->ExpectAtEnd()) return true;
  13439. break;
  13440. }
  13441. default: {
  13442. handle_uninterpreted:
  13443. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13444. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13445. return true;
  13446. }
  13447. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13448. input, tag, mutable_unknown_fields()));
  13449. break;
  13450. }
  13451. }
  13452. }
  13453. return true;
  13454. #undef DO_
  13455. }
  13456. void CSVCMsg_BSPDecal::SerializeWithCachedSizes(
  13457. ::google::protobuf::io::CodedOutputStream* output) const {
  13458. // optional .CMsgVector pos = 1;
  13459. if (has_pos()) {
  13460. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13461. 1, this->pos(), output);
  13462. }
  13463. // optional int32 decal_texture_index = 2;
  13464. if (has_decal_texture_index()) {
  13465. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->decal_texture_index(), output);
  13466. }
  13467. // optional int32 entity_index = 3;
  13468. if (has_entity_index()) {
  13469. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->entity_index(), output);
  13470. }
  13471. // optional int32 model_index = 4;
  13472. if (has_model_index()) {
  13473. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->model_index(), output);
  13474. }
  13475. // optional bool low_priority = 5;
  13476. if (has_low_priority()) {
  13477. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->low_priority(), output);
  13478. }
  13479. if (!unknown_fields().empty()) {
  13480. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13481. unknown_fields(), output);
  13482. }
  13483. }
  13484. ::google::protobuf::uint8* CSVCMsg_BSPDecal::SerializeWithCachedSizesToArray(
  13485. ::google::protobuf::uint8* target) const {
  13486. // optional .CMsgVector pos = 1;
  13487. if (has_pos()) {
  13488. target = ::google::protobuf::internal::WireFormatLite::
  13489. WriteMessageNoVirtualToArray(
  13490. 1, this->pos(), target);
  13491. }
  13492. // optional int32 decal_texture_index = 2;
  13493. if (has_decal_texture_index()) {
  13494. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->decal_texture_index(), target);
  13495. }
  13496. // optional int32 entity_index = 3;
  13497. if (has_entity_index()) {
  13498. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->entity_index(), target);
  13499. }
  13500. // optional int32 model_index = 4;
  13501. if (has_model_index()) {
  13502. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->model_index(), target);
  13503. }
  13504. // optional bool low_priority = 5;
  13505. if (has_low_priority()) {
  13506. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->low_priority(), target);
  13507. }
  13508. if (!unknown_fields().empty()) {
  13509. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13510. unknown_fields(), target);
  13511. }
  13512. return target;
  13513. }
  13514. int CSVCMsg_BSPDecal::ByteSize() const {
  13515. int total_size = 0;
  13516. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13517. // optional .CMsgVector pos = 1;
  13518. if (has_pos()) {
  13519. total_size += 1 +
  13520. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13521. this->pos());
  13522. }
  13523. // optional int32 decal_texture_index = 2;
  13524. if (has_decal_texture_index()) {
  13525. total_size += 1 +
  13526. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13527. this->decal_texture_index());
  13528. }
  13529. // optional int32 entity_index = 3;
  13530. if (has_entity_index()) {
  13531. total_size += 1 +
  13532. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13533. this->entity_index());
  13534. }
  13535. // optional int32 model_index = 4;
  13536. if (has_model_index()) {
  13537. total_size += 1 +
  13538. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13539. this->model_index());
  13540. }
  13541. // optional bool low_priority = 5;
  13542. if (has_low_priority()) {
  13543. total_size += 1 + 1;
  13544. }
  13545. }
  13546. if (!unknown_fields().empty()) {
  13547. total_size +=
  13548. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13549. unknown_fields());
  13550. }
  13551. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13552. _cached_size_ = total_size;
  13553. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13554. return total_size;
  13555. }
  13556. void CSVCMsg_BSPDecal::MergeFrom(const ::google::protobuf::Message& from) {
  13557. GOOGLE_CHECK_NE(&from, this);
  13558. const CSVCMsg_BSPDecal* source =
  13559. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_BSPDecal*>(
  13560. &from);
  13561. if (source == NULL) {
  13562. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13563. } else {
  13564. MergeFrom(*source);
  13565. }
  13566. }
  13567. void CSVCMsg_BSPDecal::MergeFrom(const CSVCMsg_BSPDecal& from) {
  13568. GOOGLE_CHECK_NE(&from, this);
  13569. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13570. if (from.has_pos()) {
  13571. mutable_pos()->::CMsgVector::MergeFrom(from.pos());
  13572. }
  13573. if (from.has_decal_texture_index()) {
  13574. set_decal_texture_index(from.decal_texture_index());
  13575. }
  13576. if (from.has_entity_index()) {
  13577. set_entity_index(from.entity_index());
  13578. }
  13579. if (from.has_model_index()) {
  13580. set_model_index(from.model_index());
  13581. }
  13582. if (from.has_low_priority()) {
  13583. set_low_priority(from.low_priority());
  13584. }
  13585. }
  13586. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13587. }
  13588. void CSVCMsg_BSPDecal::CopyFrom(const ::google::protobuf::Message& from) {
  13589. if (&from == this) return;
  13590. Clear();
  13591. MergeFrom(from);
  13592. }
  13593. void CSVCMsg_BSPDecal::CopyFrom(const CSVCMsg_BSPDecal& from) {
  13594. if (&from == this) return;
  13595. Clear();
  13596. MergeFrom(from);
  13597. }
  13598. bool CSVCMsg_BSPDecal::IsInitialized() const {
  13599. return true;
  13600. }
  13601. void CSVCMsg_BSPDecal::Swap(CSVCMsg_BSPDecal* other) {
  13602. if (other != this) {
  13603. std::swap(pos_, other->pos_);
  13604. std::swap(decal_texture_index_, other->decal_texture_index_);
  13605. std::swap(entity_index_, other->entity_index_);
  13606. std::swap(model_index_, other->model_index_);
  13607. std::swap(low_priority_, other->low_priority_);
  13608. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13609. _unknown_fields_.Swap(&other->_unknown_fields_);
  13610. std::swap(_cached_size_, other->_cached_size_);
  13611. }
  13612. }
  13613. ::google::protobuf::Metadata CSVCMsg_BSPDecal::GetMetadata() const {
  13614. protobuf_AssignDescriptorsOnce();
  13615. ::google::protobuf::Metadata metadata;
  13616. metadata.descriptor = CSVCMsg_BSPDecal_descriptor_;
  13617. metadata.reflection = CSVCMsg_BSPDecal_reflection_;
  13618. return metadata;
  13619. }
  13620. // ===================================================================
  13621. #ifndef _MSC_VER
  13622. const int CSVCMsg_SplitScreen::kTypeFieldNumber;
  13623. const int CSVCMsg_SplitScreen::kSlotFieldNumber;
  13624. const int CSVCMsg_SplitScreen::kPlayerIndexFieldNumber;
  13625. #endif // !_MSC_VER
  13626. CSVCMsg_SplitScreen::CSVCMsg_SplitScreen()
  13627. : ::google::protobuf::Message() {
  13628. SharedCtor();
  13629. }
  13630. void CSVCMsg_SplitScreen::InitAsDefaultInstance() {
  13631. }
  13632. CSVCMsg_SplitScreen::CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from)
  13633. : ::google::protobuf::Message() {
  13634. SharedCtor();
  13635. MergeFrom(from);
  13636. }
  13637. void CSVCMsg_SplitScreen::SharedCtor() {
  13638. _cached_size_ = 0;
  13639. type_ = 0;
  13640. slot_ = 0;
  13641. player_index_ = 0;
  13642. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13643. }
  13644. CSVCMsg_SplitScreen::~CSVCMsg_SplitScreen() {
  13645. SharedDtor();
  13646. }
  13647. void CSVCMsg_SplitScreen::SharedDtor() {
  13648. if (this != default_instance_) {
  13649. }
  13650. }
  13651. void CSVCMsg_SplitScreen::SetCachedSize(int size) const {
  13652. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13653. _cached_size_ = size;
  13654. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13655. }
  13656. const ::google::protobuf::Descriptor* CSVCMsg_SplitScreen::descriptor() {
  13657. protobuf_AssignDescriptorsOnce();
  13658. return CSVCMsg_SplitScreen_descriptor_;
  13659. }
  13660. const CSVCMsg_SplitScreen& CSVCMsg_SplitScreen::default_instance() {
  13661. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  13662. return *default_instance_;
  13663. }
  13664. CSVCMsg_SplitScreen* CSVCMsg_SplitScreen::default_instance_ = NULL;
  13665. CSVCMsg_SplitScreen* CSVCMsg_SplitScreen::New() const {
  13666. return new CSVCMsg_SplitScreen;
  13667. }
  13668. void CSVCMsg_SplitScreen::Clear() {
  13669. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13670. type_ = 0;
  13671. slot_ = 0;
  13672. player_index_ = 0;
  13673. }
  13674. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13675. mutable_unknown_fields()->Clear();
  13676. }
  13677. bool CSVCMsg_SplitScreen::MergePartialFromCodedStream(
  13678. ::google::protobuf::io::CodedInputStream* input) {
  13679. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13680. ::google::protobuf::uint32 tag;
  13681. while ((tag = input->ReadTag()) != 0) {
  13682. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13683. // optional .ESplitScreenMessageType type = 1;
  13684. case 1: {
  13685. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13686. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13687. int value;
  13688. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13689. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13690. input, &value)));
  13691. if (::ESplitScreenMessageType_IsValid(value)) {
  13692. set_type(static_cast< ::ESplitScreenMessageType >(value));
  13693. } else {
  13694. mutable_unknown_fields()->AddVarint(1, value);
  13695. }
  13696. } else {
  13697. goto handle_uninterpreted;
  13698. }
  13699. if (input->ExpectTag(16)) goto parse_slot;
  13700. break;
  13701. }
  13702. // optional int32 slot = 2;
  13703. case 2: {
  13704. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13705. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13706. parse_slot:
  13707. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13708. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13709. input, &slot_)));
  13710. set_has_slot();
  13711. } else {
  13712. goto handle_uninterpreted;
  13713. }
  13714. if (input->ExpectTag(24)) goto parse_player_index;
  13715. break;
  13716. }
  13717. // optional int32 player_index = 3;
  13718. case 3: {
  13719. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13720. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13721. parse_player_index:
  13722. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13723. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13724. input, &player_index_)));
  13725. set_has_player_index();
  13726. } else {
  13727. goto handle_uninterpreted;
  13728. }
  13729. if (input->ExpectAtEnd()) return true;
  13730. break;
  13731. }
  13732. default: {
  13733. handle_uninterpreted:
  13734. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13735. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13736. return true;
  13737. }
  13738. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13739. input, tag, mutable_unknown_fields()));
  13740. break;
  13741. }
  13742. }
  13743. }
  13744. return true;
  13745. #undef DO_
  13746. }
  13747. void CSVCMsg_SplitScreen::SerializeWithCachedSizes(
  13748. ::google::protobuf::io::CodedOutputStream* output) const {
  13749. // optional .ESplitScreenMessageType type = 1;
  13750. if (has_type()) {
  13751. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13752. 1, this->type(), output);
  13753. }
  13754. // optional int32 slot = 2;
  13755. if (has_slot()) {
  13756. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->slot(), output);
  13757. }
  13758. // optional int32 player_index = 3;
  13759. if (has_player_index()) {
  13760. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_index(), output);
  13761. }
  13762. if (!unknown_fields().empty()) {
  13763. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13764. unknown_fields(), output);
  13765. }
  13766. }
  13767. ::google::protobuf::uint8* CSVCMsg_SplitScreen::SerializeWithCachedSizesToArray(
  13768. ::google::protobuf::uint8* target) const {
  13769. // optional .ESplitScreenMessageType type = 1;
  13770. if (has_type()) {
  13771. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13772. 1, this->type(), target);
  13773. }
  13774. // optional int32 slot = 2;
  13775. if (has_slot()) {
  13776. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->slot(), target);
  13777. }
  13778. // optional int32 player_index = 3;
  13779. if (has_player_index()) {
  13780. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_index(), target);
  13781. }
  13782. if (!unknown_fields().empty()) {
  13783. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13784. unknown_fields(), target);
  13785. }
  13786. return target;
  13787. }
  13788. int CSVCMsg_SplitScreen::ByteSize() const {
  13789. int total_size = 0;
  13790. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13791. // optional .ESplitScreenMessageType type = 1;
  13792. if (has_type()) {
  13793. total_size += 1 +
  13794. ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
  13795. }
  13796. // optional int32 slot = 2;
  13797. if (has_slot()) {
  13798. total_size += 1 +
  13799. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13800. this->slot());
  13801. }
  13802. // optional int32 player_index = 3;
  13803. if (has_player_index()) {
  13804. total_size += 1 +
  13805. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13806. this->player_index());
  13807. }
  13808. }
  13809. if (!unknown_fields().empty()) {
  13810. total_size +=
  13811. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13812. unknown_fields());
  13813. }
  13814. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13815. _cached_size_ = total_size;
  13816. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13817. return total_size;
  13818. }
  13819. void CSVCMsg_SplitScreen::MergeFrom(const ::google::protobuf::Message& from) {
  13820. GOOGLE_CHECK_NE(&from, this);
  13821. const CSVCMsg_SplitScreen* source =
  13822. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_SplitScreen*>(
  13823. &from);
  13824. if (source == NULL) {
  13825. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13826. } else {
  13827. MergeFrom(*source);
  13828. }
  13829. }
  13830. void CSVCMsg_SplitScreen::MergeFrom(const CSVCMsg_SplitScreen& from) {
  13831. GOOGLE_CHECK_NE(&from, this);
  13832. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13833. if (from.has_type()) {
  13834. set_type(from.type());
  13835. }
  13836. if (from.has_slot()) {
  13837. set_slot(from.slot());
  13838. }
  13839. if (from.has_player_index()) {
  13840. set_player_index(from.player_index());
  13841. }
  13842. }
  13843. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13844. }
  13845. void CSVCMsg_SplitScreen::CopyFrom(const ::google::protobuf::Message& from) {
  13846. if (&from == this) return;
  13847. Clear();
  13848. MergeFrom(from);
  13849. }
  13850. void CSVCMsg_SplitScreen::CopyFrom(const CSVCMsg_SplitScreen& from) {
  13851. if (&from == this) return;
  13852. Clear();
  13853. MergeFrom(from);
  13854. }
  13855. bool CSVCMsg_SplitScreen::IsInitialized() const {
  13856. return true;
  13857. }
  13858. void CSVCMsg_SplitScreen::Swap(CSVCMsg_SplitScreen* other) {
  13859. if (other != this) {
  13860. std::swap(type_, other->type_);
  13861. std::swap(slot_, other->slot_);
  13862. std::swap(player_index_, other->player_index_);
  13863. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13864. _unknown_fields_.Swap(&other->_unknown_fields_);
  13865. std::swap(_cached_size_, other->_cached_size_);
  13866. }
  13867. }
  13868. ::google::protobuf::Metadata CSVCMsg_SplitScreen::GetMetadata() const {
  13869. protobuf_AssignDescriptorsOnce();
  13870. ::google::protobuf::Metadata metadata;
  13871. metadata.descriptor = CSVCMsg_SplitScreen_descriptor_;
  13872. metadata.reflection = CSVCMsg_SplitScreen_reflection_;
  13873. return metadata;
  13874. }
  13875. // ===================================================================
  13876. #ifndef _MSC_VER
  13877. const int CSVCMsg_GetCvarValue::kCookieFieldNumber;
  13878. const int CSVCMsg_GetCvarValue::kCvarNameFieldNumber;
  13879. #endif // !_MSC_VER
  13880. CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue()
  13881. : ::google::protobuf::Message() {
  13882. SharedCtor();
  13883. }
  13884. void CSVCMsg_GetCvarValue::InitAsDefaultInstance() {
  13885. }
  13886. CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from)
  13887. : ::google::protobuf::Message() {
  13888. SharedCtor();
  13889. MergeFrom(from);
  13890. }
  13891. void CSVCMsg_GetCvarValue::SharedCtor() {
  13892. _cached_size_ = 0;
  13893. cookie_ = 0;
  13894. cvar_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  13895. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13896. }
  13897. CSVCMsg_GetCvarValue::~CSVCMsg_GetCvarValue() {
  13898. SharedDtor();
  13899. }
  13900. void CSVCMsg_GetCvarValue::SharedDtor() {
  13901. if (cvar_name_ != &::google::protobuf::internal::kEmptyString) {
  13902. delete cvar_name_;
  13903. }
  13904. if (this != default_instance_) {
  13905. }
  13906. }
  13907. void CSVCMsg_GetCvarValue::SetCachedSize(int size) const {
  13908. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13909. _cached_size_ = size;
  13910. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13911. }
  13912. const ::google::protobuf::Descriptor* CSVCMsg_GetCvarValue::descriptor() {
  13913. protobuf_AssignDescriptorsOnce();
  13914. return CSVCMsg_GetCvarValue_descriptor_;
  13915. }
  13916. const CSVCMsg_GetCvarValue& CSVCMsg_GetCvarValue::default_instance() {
  13917. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  13918. return *default_instance_;
  13919. }
  13920. CSVCMsg_GetCvarValue* CSVCMsg_GetCvarValue::default_instance_ = NULL;
  13921. CSVCMsg_GetCvarValue* CSVCMsg_GetCvarValue::New() const {
  13922. return new CSVCMsg_GetCvarValue;
  13923. }
  13924. void CSVCMsg_GetCvarValue::Clear() {
  13925. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13926. cookie_ = 0;
  13927. if (has_cvar_name()) {
  13928. if (cvar_name_ != &::google::protobuf::internal::kEmptyString) {
  13929. cvar_name_->clear();
  13930. }
  13931. }
  13932. }
  13933. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13934. mutable_unknown_fields()->Clear();
  13935. }
  13936. bool CSVCMsg_GetCvarValue::MergePartialFromCodedStream(
  13937. ::google::protobuf::io::CodedInputStream* input) {
  13938. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13939. ::google::protobuf::uint32 tag;
  13940. while ((tag = input->ReadTag()) != 0) {
  13941. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13942. // optional int32 cookie = 1;
  13943. case 1: {
  13944. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13945. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13946. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13947. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13948. input, &cookie_)));
  13949. set_has_cookie();
  13950. } else {
  13951. goto handle_uninterpreted;
  13952. }
  13953. if (input->ExpectTag(18)) goto parse_cvar_name;
  13954. break;
  13955. }
  13956. // optional string cvar_name = 2;
  13957. case 2: {
  13958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13960. parse_cvar_name:
  13961. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13962. input, this->mutable_cvar_name()));
  13963. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13964. this->cvar_name().data(), this->cvar_name().length(),
  13965. ::google::protobuf::internal::WireFormat::PARSE);
  13966. } else {
  13967. goto handle_uninterpreted;
  13968. }
  13969. if (input->ExpectAtEnd()) return true;
  13970. break;
  13971. }
  13972. default: {
  13973. handle_uninterpreted:
  13974. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13975. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13976. return true;
  13977. }
  13978. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13979. input, tag, mutable_unknown_fields()));
  13980. break;
  13981. }
  13982. }
  13983. }
  13984. return true;
  13985. #undef DO_
  13986. }
  13987. void CSVCMsg_GetCvarValue::SerializeWithCachedSizes(
  13988. ::google::protobuf::io::CodedOutputStream* output) const {
  13989. // optional int32 cookie = 1;
  13990. if (has_cookie()) {
  13991. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->cookie(), output);
  13992. }
  13993. // optional string cvar_name = 2;
  13994. if (has_cvar_name()) {
  13995. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13996. this->cvar_name().data(), this->cvar_name().length(),
  13997. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13998. ::google::protobuf::internal::WireFormatLite::WriteString(
  13999. 2, this->cvar_name(), output);
  14000. }
  14001. if (!unknown_fields().empty()) {
  14002. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14003. unknown_fields(), output);
  14004. }
  14005. }
  14006. ::google::protobuf::uint8* CSVCMsg_GetCvarValue::SerializeWithCachedSizesToArray(
  14007. ::google::protobuf::uint8* target) const {
  14008. // optional int32 cookie = 1;
  14009. if (has_cookie()) {
  14010. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->cookie(), target);
  14011. }
  14012. // optional string cvar_name = 2;
  14013. if (has_cvar_name()) {
  14014. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14015. this->cvar_name().data(), this->cvar_name().length(),
  14016. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14017. target =
  14018. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  14019. 2, this->cvar_name(), target);
  14020. }
  14021. if (!unknown_fields().empty()) {
  14022. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14023. unknown_fields(), target);
  14024. }
  14025. return target;
  14026. }
  14027. int CSVCMsg_GetCvarValue::ByteSize() const {
  14028. int total_size = 0;
  14029. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14030. // optional int32 cookie = 1;
  14031. if (has_cookie()) {
  14032. total_size += 1 +
  14033. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14034. this->cookie());
  14035. }
  14036. // optional string cvar_name = 2;
  14037. if (has_cvar_name()) {
  14038. total_size += 1 +
  14039. ::google::protobuf::internal::WireFormatLite::StringSize(
  14040. this->cvar_name());
  14041. }
  14042. }
  14043. if (!unknown_fields().empty()) {
  14044. total_size +=
  14045. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14046. unknown_fields());
  14047. }
  14048. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14049. _cached_size_ = total_size;
  14050. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14051. return total_size;
  14052. }
  14053. void CSVCMsg_GetCvarValue::MergeFrom(const ::google::protobuf::Message& from) {
  14054. GOOGLE_CHECK_NE(&from, this);
  14055. const CSVCMsg_GetCvarValue* source =
  14056. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_GetCvarValue*>(
  14057. &from);
  14058. if (source == NULL) {
  14059. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14060. } else {
  14061. MergeFrom(*source);
  14062. }
  14063. }
  14064. void CSVCMsg_GetCvarValue::MergeFrom(const CSVCMsg_GetCvarValue& from) {
  14065. GOOGLE_CHECK_NE(&from, this);
  14066. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14067. if (from.has_cookie()) {
  14068. set_cookie(from.cookie());
  14069. }
  14070. if (from.has_cvar_name()) {
  14071. set_cvar_name(from.cvar_name());
  14072. }
  14073. }
  14074. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14075. }
  14076. void CSVCMsg_GetCvarValue::CopyFrom(const ::google::protobuf::Message& from) {
  14077. if (&from == this) return;
  14078. Clear();
  14079. MergeFrom(from);
  14080. }
  14081. void CSVCMsg_GetCvarValue::CopyFrom(const CSVCMsg_GetCvarValue& from) {
  14082. if (&from == this) return;
  14083. Clear();
  14084. MergeFrom(from);
  14085. }
  14086. bool CSVCMsg_GetCvarValue::IsInitialized() const {
  14087. return true;
  14088. }
  14089. void CSVCMsg_GetCvarValue::Swap(CSVCMsg_GetCvarValue* other) {
  14090. if (other != this) {
  14091. std::swap(cookie_, other->cookie_);
  14092. std::swap(cvar_name_, other->cvar_name_);
  14093. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14094. _unknown_fields_.Swap(&other->_unknown_fields_);
  14095. std::swap(_cached_size_, other->_cached_size_);
  14096. }
  14097. }
  14098. ::google::protobuf::Metadata CSVCMsg_GetCvarValue::GetMetadata() const {
  14099. protobuf_AssignDescriptorsOnce();
  14100. ::google::protobuf::Metadata metadata;
  14101. metadata.descriptor = CSVCMsg_GetCvarValue_descriptor_;
  14102. metadata.reflection = CSVCMsg_GetCvarValue_reflection_;
  14103. return metadata;
  14104. }
  14105. // ===================================================================
  14106. #ifndef _MSC_VER
  14107. const int CSVCMsg_Menu::kDialogTypeFieldNumber;
  14108. const int CSVCMsg_Menu::kMenuKeyValuesFieldNumber;
  14109. #endif // !_MSC_VER
  14110. CSVCMsg_Menu::CSVCMsg_Menu()
  14111. : ::google::protobuf::Message() {
  14112. SharedCtor();
  14113. }
  14114. void CSVCMsg_Menu::InitAsDefaultInstance() {
  14115. }
  14116. CSVCMsg_Menu::CSVCMsg_Menu(const CSVCMsg_Menu& from)
  14117. : ::google::protobuf::Message() {
  14118. SharedCtor();
  14119. MergeFrom(from);
  14120. }
  14121. void CSVCMsg_Menu::SharedCtor() {
  14122. _cached_size_ = 0;
  14123. dialog_type_ = 0;
  14124. menu_key_values_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14125. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14126. }
  14127. CSVCMsg_Menu::~CSVCMsg_Menu() {
  14128. SharedDtor();
  14129. }
  14130. void CSVCMsg_Menu::SharedDtor() {
  14131. if (menu_key_values_ != &::google::protobuf::internal::kEmptyString) {
  14132. delete menu_key_values_;
  14133. }
  14134. if (this != default_instance_) {
  14135. }
  14136. }
  14137. void CSVCMsg_Menu::SetCachedSize(int size) const {
  14138. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14139. _cached_size_ = size;
  14140. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14141. }
  14142. const ::google::protobuf::Descriptor* CSVCMsg_Menu::descriptor() {
  14143. protobuf_AssignDescriptorsOnce();
  14144. return CSVCMsg_Menu_descriptor_;
  14145. }
  14146. const CSVCMsg_Menu& CSVCMsg_Menu::default_instance() {
  14147. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  14148. return *default_instance_;
  14149. }
  14150. CSVCMsg_Menu* CSVCMsg_Menu::default_instance_ = NULL;
  14151. CSVCMsg_Menu* CSVCMsg_Menu::New() const {
  14152. return new CSVCMsg_Menu;
  14153. }
  14154. void CSVCMsg_Menu::Clear() {
  14155. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14156. dialog_type_ = 0;
  14157. if (has_menu_key_values()) {
  14158. if (menu_key_values_ != &::google::protobuf::internal::kEmptyString) {
  14159. menu_key_values_->clear();
  14160. }
  14161. }
  14162. }
  14163. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14164. mutable_unknown_fields()->Clear();
  14165. }
  14166. bool CSVCMsg_Menu::MergePartialFromCodedStream(
  14167. ::google::protobuf::io::CodedInputStream* input) {
  14168. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14169. ::google::protobuf::uint32 tag;
  14170. while ((tag = input->ReadTag()) != 0) {
  14171. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14172. // optional int32 dialog_type = 1;
  14173. case 1: {
  14174. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14175. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14176. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14177. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14178. input, &dialog_type_)));
  14179. set_has_dialog_type();
  14180. } else {
  14181. goto handle_uninterpreted;
  14182. }
  14183. if (input->ExpectTag(18)) goto parse_menu_key_values;
  14184. break;
  14185. }
  14186. // optional bytes menu_key_values = 2;
  14187. case 2: {
  14188. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14189. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14190. parse_menu_key_values:
  14191. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  14192. input, this->mutable_menu_key_values()));
  14193. } else {
  14194. goto handle_uninterpreted;
  14195. }
  14196. if (input->ExpectAtEnd()) return true;
  14197. break;
  14198. }
  14199. default: {
  14200. handle_uninterpreted:
  14201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14203. return true;
  14204. }
  14205. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14206. input, tag, mutable_unknown_fields()));
  14207. break;
  14208. }
  14209. }
  14210. }
  14211. return true;
  14212. #undef DO_
  14213. }
  14214. void CSVCMsg_Menu::SerializeWithCachedSizes(
  14215. ::google::protobuf::io::CodedOutputStream* output) const {
  14216. // optional int32 dialog_type = 1;
  14217. if (has_dialog_type()) {
  14218. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dialog_type(), output);
  14219. }
  14220. // optional bytes menu_key_values = 2;
  14221. if (has_menu_key_values()) {
  14222. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  14223. 2, this->menu_key_values(), output);
  14224. }
  14225. if (!unknown_fields().empty()) {
  14226. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14227. unknown_fields(), output);
  14228. }
  14229. }
  14230. ::google::protobuf::uint8* CSVCMsg_Menu::SerializeWithCachedSizesToArray(
  14231. ::google::protobuf::uint8* target) const {
  14232. // optional int32 dialog_type = 1;
  14233. if (has_dialog_type()) {
  14234. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dialog_type(), target);
  14235. }
  14236. // optional bytes menu_key_values = 2;
  14237. if (has_menu_key_values()) {
  14238. target =
  14239. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  14240. 2, this->menu_key_values(), target);
  14241. }
  14242. if (!unknown_fields().empty()) {
  14243. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14244. unknown_fields(), target);
  14245. }
  14246. return target;
  14247. }
  14248. int CSVCMsg_Menu::ByteSize() const {
  14249. int total_size = 0;
  14250. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14251. // optional int32 dialog_type = 1;
  14252. if (has_dialog_type()) {
  14253. total_size += 1 +
  14254. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14255. this->dialog_type());
  14256. }
  14257. // optional bytes menu_key_values = 2;
  14258. if (has_menu_key_values()) {
  14259. total_size += 1 +
  14260. ::google::protobuf::internal::WireFormatLite::BytesSize(
  14261. this->menu_key_values());
  14262. }
  14263. }
  14264. if (!unknown_fields().empty()) {
  14265. total_size +=
  14266. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14267. unknown_fields());
  14268. }
  14269. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14270. _cached_size_ = total_size;
  14271. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14272. return total_size;
  14273. }
  14274. void CSVCMsg_Menu::MergeFrom(const ::google::protobuf::Message& from) {
  14275. GOOGLE_CHECK_NE(&from, this);
  14276. const CSVCMsg_Menu* source =
  14277. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_Menu*>(
  14278. &from);
  14279. if (source == NULL) {
  14280. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14281. } else {
  14282. MergeFrom(*source);
  14283. }
  14284. }
  14285. void CSVCMsg_Menu::MergeFrom(const CSVCMsg_Menu& from) {
  14286. GOOGLE_CHECK_NE(&from, this);
  14287. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14288. if (from.has_dialog_type()) {
  14289. set_dialog_type(from.dialog_type());
  14290. }
  14291. if (from.has_menu_key_values()) {
  14292. set_menu_key_values(from.menu_key_values());
  14293. }
  14294. }
  14295. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14296. }
  14297. void CSVCMsg_Menu::CopyFrom(const ::google::protobuf::Message& from) {
  14298. if (&from == this) return;
  14299. Clear();
  14300. MergeFrom(from);
  14301. }
  14302. void CSVCMsg_Menu::CopyFrom(const CSVCMsg_Menu& from) {
  14303. if (&from == this) return;
  14304. Clear();
  14305. MergeFrom(from);
  14306. }
  14307. bool CSVCMsg_Menu::IsInitialized() const {
  14308. return true;
  14309. }
  14310. void CSVCMsg_Menu::Swap(CSVCMsg_Menu* other) {
  14311. if (other != this) {
  14312. std::swap(dialog_type_, other->dialog_type_);
  14313. std::swap(menu_key_values_, other->menu_key_values_);
  14314. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14315. _unknown_fields_.Swap(&other->_unknown_fields_);
  14316. std::swap(_cached_size_, other->_cached_size_);
  14317. }
  14318. }
  14319. ::google::protobuf::Metadata CSVCMsg_Menu::GetMetadata() const {
  14320. protobuf_AssignDescriptorsOnce();
  14321. ::google::protobuf::Metadata metadata;
  14322. metadata.descriptor = CSVCMsg_Menu_descriptor_;
  14323. metadata.reflection = CSVCMsg_Menu_reflection_;
  14324. return metadata;
  14325. }
  14326. // ===================================================================
  14327. #ifndef _MSC_VER
  14328. const int CSVCMsg_UserMessage::kMsgTypeFieldNumber;
  14329. const int CSVCMsg_UserMessage::kMsgDataFieldNumber;
  14330. const int CSVCMsg_UserMessage::kPassthroughFieldNumber;
  14331. #endif // !_MSC_VER
  14332. CSVCMsg_UserMessage::CSVCMsg_UserMessage()
  14333. : ::google::protobuf::Message() {
  14334. SharedCtor();
  14335. }
  14336. void CSVCMsg_UserMessage::InitAsDefaultInstance() {
  14337. }
  14338. CSVCMsg_UserMessage::CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from)
  14339. : ::google::protobuf::Message() {
  14340. SharedCtor();
  14341. MergeFrom(from);
  14342. }
  14343. void CSVCMsg_UserMessage::SharedCtor() {
  14344. _cached_size_ = 0;
  14345. msg_type_ = 0;
  14346. msg_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14347. passthrough_ = 0;
  14348. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14349. }
  14350. CSVCMsg_UserMessage::~CSVCMsg_UserMessage() {
  14351. SharedDtor();
  14352. }
  14353. void CSVCMsg_UserMessage::SharedDtor() {
  14354. if (msg_data_ != &::google::protobuf::internal::kEmptyString) {
  14355. delete msg_data_;
  14356. }
  14357. if (this != default_instance_) {
  14358. }
  14359. }
  14360. void CSVCMsg_UserMessage::SetCachedSize(int size) const {
  14361. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14362. _cached_size_ = size;
  14363. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14364. }
  14365. const ::google::protobuf::Descriptor* CSVCMsg_UserMessage::descriptor() {
  14366. protobuf_AssignDescriptorsOnce();
  14367. return CSVCMsg_UserMessage_descriptor_;
  14368. }
  14369. const CSVCMsg_UserMessage& CSVCMsg_UserMessage::default_instance() {
  14370. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  14371. return *default_instance_;
  14372. }
  14373. CSVCMsg_UserMessage* CSVCMsg_UserMessage::default_instance_ = NULL;
  14374. CSVCMsg_UserMessage* CSVCMsg_UserMessage::New() const {
  14375. return new CSVCMsg_UserMessage;
  14376. }
  14377. void CSVCMsg_UserMessage::Clear() {
  14378. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14379. msg_type_ = 0;
  14380. if (has_msg_data()) {
  14381. if (msg_data_ != &::google::protobuf::internal::kEmptyString) {
  14382. msg_data_->clear();
  14383. }
  14384. }
  14385. passthrough_ = 0;
  14386. }
  14387. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14388. mutable_unknown_fields()->Clear();
  14389. }
  14390. bool CSVCMsg_UserMessage::MergePartialFromCodedStream(
  14391. ::google::protobuf::io::CodedInputStream* input) {
  14392. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14393. ::google::protobuf::uint32 tag;
  14394. while ((tag = input->ReadTag()) != 0) {
  14395. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14396. // optional int32 msg_type = 1;
  14397. case 1: {
  14398. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14399. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14400. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14401. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14402. input, &msg_type_)));
  14403. set_has_msg_type();
  14404. } else {
  14405. goto handle_uninterpreted;
  14406. }
  14407. if (input->ExpectTag(18)) goto parse_msg_data;
  14408. break;
  14409. }
  14410. // optional bytes msg_data = 2;
  14411. case 2: {
  14412. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14413. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14414. parse_msg_data:
  14415. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  14416. input, this->mutable_msg_data()));
  14417. } else {
  14418. goto handle_uninterpreted;
  14419. }
  14420. if (input->ExpectTag(24)) goto parse_passthrough;
  14421. break;
  14422. }
  14423. // optional int32 passthrough = 3;
  14424. case 3: {
  14425. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14426. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14427. parse_passthrough:
  14428. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14429. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14430. input, &passthrough_)));
  14431. set_has_passthrough();
  14432. } else {
  14433. goto handle_uninterpreted;
  14434. }
  14435. if (input->ExpectAtEnd()) return true;
  14436. break;
  14437. }
  14438. default: {
  14439. handle_uninterpreted:
  14440. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14441. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14442. return true;
  14443. }
  14444. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14445. input, tag, mutable_unknown_fields()));
  14446. break;
  14447. }
  14448. }
  14449. }
  14450. return true;
  14451. #undef DO_
  14452. }
  14453. void CSVCMsg_UserMessage::SerializeWithCachedSizes(
  14454. ::google::protobuf::io::CodedOutputStream* output) const {
  14455. // optional int32 msg_type = 1;
  14456. if (has_msg_type()) {
  14457. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->msg_type(), output);
  14458. }
  14459. // optional bytes msg_data = 2;
  14460. if (has_msg_data()) {
  14461. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  14462. 2, this->msg_data(), output);
  14463. }
  14464. // optional int32 passthrough = 3;
  14465. if (has_passthrough()) {
  14466. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->passthrough(), output);
  14467. }
  14468. if (!unknown_fields().empty()) {
  14469. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14470. unknown_fields(), output);
  14471. }
  14472. }
  14473. ::google::protobuf::uint8* CSVCMsg_UserMessage::SerializeWithCachedSizesToArray(
  14474. ::google::protobuf::uint8* target) const {
  14475. // optional int32 msg_type = 1;
  14476. if (has_msg_type()) {
  14477. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->msg_type(), target);
  14478. }
  14479. // optional bytes msg_data = 2;
  14480. if (has_msg_data()) {
  14481. target =
  14482. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  14483. 2, this->msg_data(), target);
  14484. }
  14485. // optional int32 passthrough = 3;
  14486. if (has_passthrough()) {
  14487. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->passthrough(), target);
  14488. }
  14489. if (!unknown_fields().empty()) {
  14490. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14491. unknown_fields(), target);
  14492. }
  14493. return target;
  14494. }
  14495. int CSVCMsg_UserMessage::ByteSize() const {
  14496. int total_size = 0;
  14497. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14498. // optional int32 msg_type = 1;
  14499. if (has_msg_type()) {
  14500. total_size += 1 +
  14501. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14502. this->msg_type());
  14503. }
  14504. // optional bytes msg_data = 2;
  14505. if (has_msg_data()) {
  14506. total_size += 1 +
  14507. ::google::protobuf::internal::WireFormatLite::BytesSize(
  14508. this->msg_data());
  14509. }
  14510. // optional int32 passthrough = 3;
  14511. if (has_passthrough()) {
  14512. total_size += 1 +
  14513. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14514. this->passthrough());
  14515. }
  14516. }
  14517. if (!unknown_fields().empty()) {
  14518. total_size +=
  14519. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14520. unknown_fields());
  14521. }
  14522. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14523. _cached_size_ = total_size;
  14524. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14525. return total_size;
  14526. }
  14527. void CSVCMsg_UserMessage::MergeFrom(const ::google::protobuf::Message& from) {
  14528. GOOGLE_CHECK_NE(&from, this);
  14529. const CSVCMsg_UserMessage* source =
  14530. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_UserMessage*>(
  14531. &from);
  14532. if (source == NULL) {
  14533. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14534. } else {
  14535. MergeFrom(*source);
  14536. }
  14537. }
  14538. void CSVCMsg_UserMessage::MergeFrom(const CSVCMsg_UserMessage& from) {
  14539. GOOGLE_CHECK_NE(&from, this);
  14540. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14541. if (from.has_msg_type()) {
  14542. set_msg_type(from.msg_type());
  14543. }
  14544. if (from.has_msg_data()) {
  14545. set_msg_data(from.msg_data());
  14546. }
  14547. if (from.has_passthrough()) {
  14548. set_passthrough(from.passthrough());
  14549. }
  14550. }
  14551. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14552. }
  14553. void CSVCMsg_UserMessage::CopyFrom(const ::google::protobuf::Message& from) {
  14554. if (&from == this) return;
  14555. Clear();
  14556. MergeFrom(from);
  14557. }
  14558. void CSVCMsg_UserMessage::CopyFrom(const CSVCMsg_UserMessage& from) {
  14559. if (&from == this) return;
  14560. Clear();
  14561. MergeFrom(from);
  14562. }
  14563. bool CSVCMsg_UserMessage::IsInitialized() const {
  14564. return true;
  14565. }
  14566. void CSVCMsg_UserMessage::Swap(CSVCMsg_UserMessage* other) {
  14567. if (other != this) {
  14568. std::swap(msg_type_, other->msg_type_);
  14569. std::swap(msg_data_, other->msg_data_);
  14570. std::swap(passthrough_, other->passthrough_);
  14571. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14572. _unknown_fields_.Swap(&other->_unknown_fields_);
  14573. std::swap(_cached_size_, other->_cached_size_);
  14574. }
  14575. }
  14576. ::google::protobuf::Metadata CSVCMsg_UserMessage::GetMetadata() const {
  14577. protobuf_AssignDescriptorsOnce();
  14578. ::google::protobuf::Metadata metadata;
  14579. metadata.descriptor = CSVCMsg_UserMessage_descriptor_;
  14580. metadata.reflection = CSVCMsg_UserMessage_reflection_;
  14581. return metadata;
  14582. }
  14583. // ===================================================================
  14584. #ifndef _MSC_VER
  14585. const int CSVCMsg_PaintmapData::kPaintmapFieldNumber;
  14586. #endif // !_MSC_VER
  14587. CSVCMsg_PaintmapData::CSVCMsg_PaintmapData()
  14588. : ::google::protobuf::Message() {
  14589. SharedCtor();
  14590. }
  14591. void CSVCMsg_PaintmapData::InitAsDefaultInstance() {
  14592. }
  14593. CSVCMsg_PaintmapData::CSVCMsg_PaintmapData(const CSVCMsg_PaintmapData& from)
  14594. : ::google::protobuf::Message() {
  14595. SharedCtor();
  14596. MergeFrom(from);
  14597. }
  14598. void CSVCMsg_PaintmapData::SharedCtor() {
  14599. _cached_size_ = 0;
  14600. paintmap_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14601. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14602. }
  14603. CSVCMsg_PaintmapData::~CSVCMsg_PaintmapData() {
  14604. SharedDtor();
  14605. }
  14606. void CSVCMsg_PaintmapData::SharedDtor() {
  14607. if (paintmap_ != &::google::protobuf::internal::kEmptyString) {
  14608. delete paintmap_;
  14609. }
  14610. if (this != default_instance_) {
  14611. }
  14612. }
  14613. void CSVCMsg_PaintmapData::SetCachedSize(int size) const {
  14614. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14615. _cached_size_ = size;
  14616. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14617. }
  14618. const ::google::protobuf::Descriptor* CSVCMsg_PaintmapData::descriptor() {
  14619. protobuf_AssignDescriptorsOnce();
  14620. return CSVCMsg_PaintmapData_descriptor_;
  14621. }
  14622. const CSVCMsg_PaintmapData& CSVCMsg_PaintmapData::default_instance() {
  14623. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  14624. return *default_instance_;
  14625. }
  14626. CSVCMsg_PaintmapData* CSVCMsg_PaintmapData::default_instance_ = NULL;
  14627. CSVCMsg_PaintmapData* CSVCMsg_PaintmapData::New() const {
  14628. return new CSVCMsg_PaintmapData;
  14629. }
  14630. void CSVCMsg_PaintmapData::Clear() {
  14631. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14632. if (has_paintmap()) {
  14633. if (paintmap_ != &::google::protobuf::internal::kEmptyString) {
  14634. paintmap_->clear();
  14635. }
  14636. }
  14637. }
  14638. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14639. mutable_unknown_fields()->Clear();
  14640. }
  14641. bool CSVCMsg_PaintmapData::MergePartialFromCodedStream(
  14642. ::google::protobuf::io::CodedInputStream* input) {
  14643. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14644. ::google::protobuf::uint32 tag;
  14645. while ((tag = input->ReadTag()) != 0) {
  14646. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14647. // optional bytes paintmap = 1;
  14648. case 1: {
  14649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14651. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  14652. input, this->mutable_paintmap()));
  14653. } else {
  14654. goto handle_uninterpreted;
  14655. }
  14656. if (input->ExpectAtEnd()) return true;
  14657. break;
  14658. }
  14659. default: {
  14660. handle_uninterpreted:
  14661. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14662. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14663. return true;
  14664. }
  14665. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14666. input, tag, mutable_unknown_fields()));
  14667. break;
  14668. }
  14669. }
  14670. }
  14671. return true;
  14672. #undef DO_
  14673. }
  14674. void CSVCMsg_PaintmapData::SerializeWithCachedSizes(
  14675. ::google::protobuf::io::CodedOutputStream* output) const {
  14676. // optional bytes paintmap = 1;
  14677. if (has_paintmap()) {
  14678. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  14679. 1, this->paintmap(), output);
  14680. }
  14681. if (!unknown_fields().empty()) {
  14682. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14683. unknown_fields(), output);
  14684. }
  14685. }
  14686. ::google::protobuf::uint8* CSVCMsg_PaintmapData::SerializeWithCachedSizesToArray(
  14687. ::google::protobuf::uint8* target) const {
  14688. // optional bytes paintmap = 1;
  14689. if (has_paintmap()) {
  14690. target =
  14691. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  14692. 1, this->paintmap(), target);
  14693. }
  14694. if (!unknown_fields().empty()) {
  14695. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14696. unknown_fields(), target);
  14697. }
  14698. return target;
  14699. }
  14700. int CSVCMsg_PaintmapData::ByteSize() const {
  14701. int total_size = 0;
  14702. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14703. // optional bytes paintmap = 1;
  14704. if (has_paintmap()) {
  14705. total_size += 1 +
  14706. ::google::protobuf::internal::WireFormatLite::BytesSize(
  14707. this->paintmap());
  14708. }
  14709. }
  14710. if (!unknown_fields().empty()) {
  14711. total_size +=
  14712. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14713. unknown_fields());
  14714. }
  14715. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14716. _cached_size_ = total_size;
  14717. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14718. return total_size;
  14719. }
  14720. void CSVCMsg_PaintmapData::MergeFrom(const ::google::protobuf::Message& from) {
  14721. GOOGLE_CHECK_NE(&from, this);
  14722. const CSVCMsg_PaintmapData* source =
  14723. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_PaintmapData*>(
  14724. &from);
  14725. if (source == NULL) {
  14726. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14727. } else {
  14728. MergeFrom(*source);
  14729. }
  14730. }
  14731. void CSVCMsg_PaintmapData::MergeFrom(const CSVCMsg_PaintmapData& from) {
  14732. GOOGLE_CHECK_NE(&from, this);
  14733. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14734. if (from.has_paintmap()) {
  14735. set_paintmap(from.paintmap());
  14736. }
  14737. }
  14738. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14739. }
  14740. void CSVCMsg_PaintmapData::CopyFrom(const ::google::protobuf::Message& from) {
  14741. if (&from == this) return;
  14742. Clear();
  14743. MergeFrom(from);
  14744. }
  14745. void CSVCMsg_PaintmapData::CopyFrom(const CSVCMsg_PaintmapData& from) {
  14746. if (&from == this) return;
  14747. Clear();
  14748. MergeFrom(from);
  14749. }
  14750. bool CSVCMsg_PaintmapData::IsInitialized() const {
  14751. return true;
  14752. }
  14753. void CSVCMsg_PaintmapData::Swap(CSVCMsg_PaintmapData* other) {
  14754. if (other != this) {
  14755. std::swap(paintmap_, other->paintmap_);
  14756. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14757. _unknown_fields_.Swap(&other->_unknown_fields_);
  14758. std::swap(_cached_size_, other->_cached_size_);
  14759. }
  14760. }
  14761. ::google::protobuf::Metadata CSVCMsg_PaintmapData::GetMetadata() const {
  14762. protobuf_AssignDescriptorsOnce();
  14763. ::google::protobuf::Metadata metadata;
  14764. metadata.descriptor = CSVCMsg_PaintmapData_descriptor_;
  14765. metadata.reflection = CSVCMsg_PaintmapData_reflection_;
  14766. return metadata;
  14767. }
  14768. // ===================================================================
  14769. #ifndef _MSC_VER
  14770. const int CSVCMsg_GameEvent_key_t::kTypeFieldNumber;
  14771. const int CSVCMsg_GameEvent_key_t::kValStringFieldNumber;
  14772. const int CSVCMsg_GameEvent_key_t::kValFloatFieldNumber;
  14773. const int CSVCMsg_GameEvent_key_t::kValLongFieldNumber;
  14774. const int CSVCMsg_GameEvent_key_t::kValShortFieldNumber;
  14775. const int CSVCMsg_GameEvent_key_t::kValByteFieldNumber;
  14776. const int CSVCMsg_GameEvent_key_t::kValBoolFieldNumber;
  14777. const int CSVCMsg_GameEvent_key_t::kValUint64FieldNumber;
  14778. const int CSVCMsg_GameEvent_key_t::kValWstringFieldNumber;
  14779. #endif // !_MSC_VER
  14780. CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t()
  14781. : ::google::protobuf::Message() {
  14782. SharedCtor();
  14783. }
  14784. void CSVCMsg_GameEvent_key_t::InitAsDefaultInstance() {
  14785. }
  14786. CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from)
  14787. : ::google::protobuf::Message() {
  14788. SharedCtor();
  14789. MergeFrom(from);
  14790. }
  14791. void CSVCMsg_GameEvent_key_t::SharedCtor() {
  14792. _cached_size_ = 0;
  14793. type_ = 0;
  14794. val_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14795. val_float_ = 0;
  14796. val_long_ = 0;
  14797. val_short_ = 0;
  14798. val_byte_ = 0;
  14799. val_bool_ = false;
  14800. val_uint64_ = GOOGLE_ULONGLONG(0);
  14801. val_wstring_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14802. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14803. }
  14804. CSVCMsg_GameEvent_key_t::~CSVCMsg_GameEvent_key_t() {
  14805. SharedDtor();
  14806. }
  14807. void CSVCMsg_GameEvent_key_t::SharedDtor() {
  14808. if (val_string_ != &::google::protobuf::internal::kEmptyString) {
  14809. delete val_string_;
  14810. }
  14811. if (val_wstring_ != &::google::protobuf::internal::kEmptyString) {
  14812. delete val_wstring_;
  14813. }
  14814. if (this != default_instance_) {
  14815. }
  14816. }
  14817. void CSVCMsg_GameEvent_key_t::SetCachedSize(int size) const {
  14818. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14819. _cached_size_ = size;
  14820. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14821. }
  14822. const ::google::protobuf::Descriptor* CSVCMsg_GameEvent_key_t::descriptor() {
  14823. protobuf_AssignDescriptorsOnce();
  14824. return CSVCMsg_GameEvent_key_t_descriptor_;
  14825. }
  14826. const CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent_key_t::default_instance() {
  14827. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  14828. return *default_instance_;
  14829. }
  14830. CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent_key_t::default_instance_ = NULL;
  14831. CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent_key_t::New() const {
  14832. return new CSVCMsg_GameEvent_key_t;
  14833. }
  14834. void CSVCMsg_GameEvent_key_t::Clear() {
  14835. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14836. type_ = 0;
  14837. if (has_val_string()) {
  14838. if (val_string_ != &::google::protobuf::internal::kEmptyString) {
  14839. val_string_->clear();
  14840. }
  14841. }
  14842. val_float_ = 0;
  14843. val_long_ = 0;
  14844. val_short_ = 0;
  14845. val_byte_ = 0;
  14846. val_bool_ = false;
  14847. val_uint64_ = GOOGLE_ULONGLONG(0);
  14848. }
  14849. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  14850. if (has_val_wstring()) {
  14851. if (val_wstring_ != &::google::protobuf::internal::kEmptyString) {
  14852. val_wstring_->clear();
  14853. }
  14854. }
  14855. }
  14856. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14857. mutable_unknown_fields()->Clear();
  14858. }
  14859. bool CSVCMsg_GameEvent_key_t::MergePartialFromCodedStream(
  14860. ::google::protobuf::io::CodedInputStream* input) {
  14861. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14862. ::google::protobuf::uint32 tag;
  14863. while ((tag = input->ReadTag()) != 0) {
  14864. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14865. // optional int32 type = 1;
  14866. case 1: {
  14867. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14868. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14869. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14870. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14871. input, &type_)));
  14872. set_has_type();
  14873. } else {
  14874. goto handle_uninterpreted;
  14875. }
  14876. if (input->ExpectTag(18)) goto parse_val_string;
  14877. break;
  14878. }
  14879. // optional string val_string = 2;
  14880. case 2: {
  14881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14883. parse_val_string:
  14884. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14885. input, this->mutable_val_string()));
  14886. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14887. this->val_string().data(), this->val_string().length(),
  14888. ::google::protobuf::internal::WireFormat::PARSE);
  14889. } else {
  14890. goto handle_uninterpreted;
  14891. }
  14892. if (input->ExpectTag(29)) goto parse_val_float;
  14893. break;
  14894. }
  14895. // optional float val_float = 3;
  14896. case 3: {
  14897. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14898. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  14899. parse_val_float:
  14900. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14901. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  14902. input, &val_float_)));
  14903. set_has_val_float();
  14904. } else {
  14905. goto handle_uninterpreted;
  14906. }
  14907. if (input->ExpectTag(32)) goto parse_val_long;
  14908. break;
  14909. }
  14910. // optional int32 val_long = 4;
  14911. case 4: {
  14912. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14913. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14914. parse_val_long:
  14915. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14916. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14917. input, &val_long_)));
  14918. set_has_val_long();
  14919. } else {
  14920. goto handle_uninterpreted;
  14921. }
  14922. if (input->ExpectTag(40)) goto parse_val_short;
  14923. break;
  14924. }
  14925. // optional int32 val_short = 5;
  14926. case 5: {
  14927. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14928. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14929. parse_val_short:
  14930. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14931. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14932. input, &val_short_)));
  14933. set_has_val_short();
  14934. } else {
  14935. goto handle_uninterpreted;
  14936. }
  14937. if (input->ExpectTag(48)) goto parse_val_byte;
  14938. break;
  14939. }
  14940. // optional int32 val_byte = 6;
  14941. case 6: {
  14942. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14943. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14944. parse_val_byte:
  14945. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14946. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14947. input, &val_byte_)));
  14948. set_has_val_byte();
  14949. } else {
  14950. goto handle_uninterpreted;
  14951. }
  14952. if (input->ExpectTag(56)) goto parse_val_bool;
  14953. break;
  14954. }
  14955. // optional bool val_bool = 7;
  14956. case 7: {
  14957. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14958. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14959. parse_val_bool:
  14960. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14961. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  14962. input, &val_bool_)));
  14963. set_has_val_bool();
  14964. } else {
  14965. goto handle_uninterpreted;
  14966. }
  14967. if (input->ExpectTag(64)) goto parse_val_uint64;
  14968. break;
  14969. }
  14970. // optional uint64 val_uint64 = 8;
  14971. case 8: {
  14972. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14973. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14974. parse_val_uint64:
  14975. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14976. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  14977. input, &val_uint64_)));
  14978. set_has_val_uint64();
  14979. } else {
  14980. goto handle_uninterpreted;
  14981. }
  14982. if (input->ExpectTag(74)) goto parse_val_wstring;
  14983. break;
  14984. }
  14985. // optional bytes val_wstring = 9;
  14986. case 9: {
  14987. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14988. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14989. parse_val_wstring:
  14990. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  14991. input, this->mutable_val_wstring()));
  14992. } else {
  14993. goto handle_uninterpreted;
  14994. }
  14995. if (input->ExpectAtEnd()) return true;
  14996. break;
  14997. }
  14998. default: {
  14999. handle_uninterpreted:
  15000. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15001. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15002. return true;
  15003. }
  15004. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15005. input, tag, mutable_unknown_fields()));
  15006. break;
  15007. }
  15008. }
  15009. }
  15010. return true;
  15011. #undef DO_
  15012. }
  15013. void CSVCMsg_GameEvent_key_t::SerializeWithCachedSizes(
  15014. ::google::protobuf::io::CodedOutputStream* output) const {
  15015. // optional int32 type = 1;
  15016. if (has_type()) {
  15017. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
  15018. }
  15019. // optional string val_string = 2;
  15020. if (has_val_string()) {
  15021. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15022. this->val_string().data(), this->val_string().length(),
  15023. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15024. ::google::protobuf::internal::WireFormatLite::WriteString(
  15025. 2, this->val_string(), output);
  15026. }
  15027. // optional float val_float = 3;
  15028. if (has_val_float()) {
  15029. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->val_float(), output);
  15030. }
  15031. // optional int32 val_long = 4;
  15032. if (has_val_long()) {
  15033. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->val_long(), output);
  15034. }
  15035. // optional int32 val_short = 5;
  15036. if (has_val_short()) {
  15037. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->val_short(), output);
  15038. }
  15039. // optional int32 val_byte = 6;
  15040. if (has_val_byte()) {
  15041. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->val_byte(), output);
  15042. }
  15043. // optional bool val_bool = 7;
  15044. if (has_val_bool()) {
  15045. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->val_bool(), output);
  15046. }
  15047. // optional uint64 val_uint64 = 8;
  15048. if (has_val_uint64()) {
  15049. ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->val_uint64(), output);
  15050. }
  15051. // optional bytes val_wstring = 9;
  15052. if (has_val_wstring()) {
  15053. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  15054. 9, this->val_wstring(), output);
  15055. }
  15056. if (!unknown_fields().empty()) {
  15057. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15058. unknown_fields(), output);
  15059. }
  15060. }
  15061. ::google::protobuf::uint8* CSVCMsg_GameEvent_key_t::SerializeWithCachedSizesToArray(
  15062. ::google::protobuf::uint8* target) const {
  15063. // optional int32 type = 1;
  15064. if (has_type()) {
  15065. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target);
  15066. }
  15067. // optional string val_string = 2;
  15068. if (has_val_string()) {
  15069. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15070. this->val_string().data(), this->val_string().length(),
  15071. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15072. target =
  15073. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15074. 2, this->val_string(), target);
  15075. }
  15076. // optional float val_float = 3;
  15077. if (has_val_float()) {
  15078. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->val_float(), target);
  15079. }
  15080. // optional int32 val_long = 4;
  15081. if (has_val_long()) {
  15082. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->val_long(), target);
  15083. }
  15084. // optional int32 val_short = 5;
  15085. if (has_val_short()) {
  15086. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->val_short(), target);
  15087. }
  15088. // optional int32 val_byte = 6;
  15089. if (has_val_byte()) {
  15090. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->val_byte(), target);
  15091. }
  15092. // optional bool val_bool = 7;
  15093. if (has_val_bool()) {
  15094. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->val_bool(), target);
  15095. }
  15096. // optional uint64 val_uint64 = 8;
  15097. if (has_val_uint64()) {
  15098. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->val_uint64(), target);
  15099. }
  15100. // optional bytes val_wstring = 9;
  15101. if (has_val_wstring()) {
  15102. target =
  15103. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  15104. 9, this->val_wstring(), target);
  15105. }
  15106. if (!unknown_fields().empty()) {
  15107. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15108. unknown_fields(), target);
  15109. }
  15110. return target;
  15111. }
  15112. int CSVCMsg_GameEvent_key_t::ByteSize() const {
  15113. int total_size = 0;
  15114. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15115. // optional int32 type = 1;
  15116. if (has_type()) {
  15117. total_size += 1 +
  15118. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15119. this->type());
  15120. }
  15121. // optional string val_string = 2;
  15122. if (has_val_string()) {
  15123. total_size += 1 +
  15124. ::google::protobuf::internal::WireFormatLite::StringSize(
  15125. this->val_string());
  15126. }
  15127. // optional float val_float = 3;
  15128. if (has_val_float()) {
  15129. total_size += 1 + 4;
  15130. }
  15131. // optional int32 val_long = 4;
  15132. if (has_val_long()) {
  15133. total_size += 1 +
  15134. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15135. this->val_long());
  15136. }
  15137. // optional int32 val_short = 5;
  15138. if (has_val_short()) {
  15139. total_size += 1 +
  15140. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15141. this->val_short());
  15142. }
  15143. // optional int32 val_byte = 6;
  15144. if (has_val_byte()) {
  15145. total_size += 1 +
  15146. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15147. this->val_byte());
  15148. }
  15149. // optional bool val_bool = 7;
  15150. if (has_val_bool()) {
  15151. total_size += 1 + 1;
  15152. }
  15153. // optional uint64 val_uint64 = 8;
  15154. if (has_val_uint64()) {
  15155. total_size += 1 +
  15156. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  15157. this->val_uint64());
  15158. }
  15159. }
  15160. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  15161. // optional bytes val_wstring = 9;
  15162. if (has_val_wstring()) {
  15163. total_size += 1 +
  15164. ::google::protobuf::internal::WireFormatLite::BytesSize(
  15165. this->val_wstring());
  15166. }
  15167. }
  15168. if (!unknown_fields().empty()) {
  15169. total_size +=
  15170. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15171. unknown_fields());
  15172. }
  15173. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15174. _cached_size_ = total_size;
  15175. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15176. return total_size;
  15177. }
  15178. void CSVCMsg_GameEvent_key_t::MergeFrom(const ::google::protobuf::Message& from) {
  15179. GOOGLE_CHECK_NE(&from, this);
  15180. const CSVCMsg_GameEvent_key_t* source =
  15181. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_GameEvent_key_t*>(
  15182. &from);
  15183. if (source == NULL) {
  15184. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15185. } else {
  15186. MergeFrom(*source);
  15187. }
  15188. }
  15189. void CSVCMsg_GameEvent_key_t::MergeFrom(const CSVCMsg_GameEvent_key_t& from) {
  15190. GOOGLE_CHECK_NE(&from, this);
  15191. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15192. if (from.has_type()) {
  15193. set_type(from.type());
  15194. }
  15195. if (from.has_val_string()) {
  15196. set_val_string(from.val_string());
  15197. }
  15198. if (from.has_val_float()) {
  15199. set_val_float(from.val_float());
  15200. }
  15201. if (from.has_val_long()) {
  15202. set_val_long(from.val_long());
  15203. }
  15204. if (from.has_val_short()) {
  15205. set_val_short(from.val_short());
  15206. }
  15207. if (from.has_val_byte()) {
  15208. set_val_byte(from.val_byte());
  15209. }
  15210. if (from.has_val_bool()) {
  15211. set_val_bool(from.val_bool());
  15212. }
  15213. if (from.has_val_uint64()) {
  15214. set_val_uint64(from.val_uint64());
  15215. }
  15216. }
  15217. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  15218. if (from.has_val_wstring()) {
  15219. set_val_wstring(from.val_wstring());
  15220. }
  15221. }
  15222. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15223. }
  15224. void CSVCMsg_GameEvent_key_t::CopyFrom(const ::google::protobuf::Message& from) {
  15225. if (&from == this) return;
  15226. Clear();
  15227. MergeFrom(from);
  15228. }
  15229. void CSVCMsg_GameEvent_key_t::CopyFrom(const CSVCMsg_GameEvent_key_t& from) {
  15230. if (&from == this) return;
  15231. Clear();
  15232. MergeFrom(from);
  15233. }
  15234. bool CSVCMsg_GameEvent_key_t::IsInitialized() const {
  15235. return true;
  15236. }
  15237. void CSVCMsg_GameEvent_key_t::Swap(CSVCMsg_GameEvent_key_t* other) {
  15238. if (other != this) {
  15239. std::swap(type_, other->type_);
  15240. std::swap(val_string_, other->val_string_);
  15241. std::swap(val_float_, other->val_float_);
  15242. std::swap(val_long_, other->val_long_);
  15243. std::swap(val_short_, other->val_short_);
  15244. std::swap(val_byte_, other->val_byte_);
  15245. std::swap(val_bool_, other->val_bool_);
  15246. std::swap(val_uint64_, other->val_uint64_);
  15247. std::swap(val_wstring_, other->val_wstring_);
  15248. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15249. _unknown_fields_.Swap(&other->_unknown_fields_);
  15250. std::swap(_cached_size_, other->_cached_size_);
  15251. }
  15252. }
  15253. ::google::protobuf::Metadata CSVCMsg_GameEvent_key_t::GetMetadata() const {
  15254. protobuf_AssignDescriptorsOnce();
  15255. ::google::protobuf::Metadata metadata;
  15256. metadata.descriptor = CSVCMsg_GameEvent_key_t_descriptor_;
  15257. metadata.reflection = CSVCMsg_GameEvent_key_t_reflection_;
  15258. return metadata;
  15259. }
  15260. // -------------------------------------------------------------------
  15261. #ifndef _MSC_VER
  15262. const int CSVCMsg_GameEvent::kEventNameFieldNumber;
  15263. const int CSVCMsg_GameEvent::kEventidFieldNumber;
  15264. const int CSVCMsg_GameEvent::kKeysFieldNumber;
  15265. const int CSVCMsg_GameEvent::kPassthroughFieldNumber;
  15266. #endif // !_MSC_VER
  15267. CSVCMsg_GameEvent::CSVCMsg_GameEvent()
  15268. : ::google::protobuf::Message() {
  15269. SharedCtor();
  15270. }
  15271. void CSVCMsg_GameEvent::InitAsDefaultInstance() {
  15272. }
  15273. CSVCMsg_GameEvent::CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from)
  15274. : ::google::protobuf::Message() {
  15275. SharedCtor();
  15276. MergeFrom(from);
  15277. }
  15278. void CSVCMsg_GameEvent::SharedCtor() {
  15279. _cached_size_ = 0;
  15280. event_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15281. eventid_ = 0;
  15282. passthrough_ = 0;
  15283. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15284. }
  15285. CSVCMsg_GameEvent::~CSVCMsg_GameEvent() {
  15286. SharedDtor();
  15287. }
  15288. void CSVCMsg_GameEvent::SharedDtor() {
  15289. if (event_name_ != &::google::protobuf::internal::kEmptyString) {
  15290. delete event_name_;
  15291. }
  15292. if (this != default_instance_) {
  15293. }
  15294. }
  15295. void CSVCMsg_GameEvent::SetCachedSize(int size) const {
  15296. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15297. _cached_size_ = size;
  15298. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15299. }
  15300. const ::google::protobuf::Descriptor* CSVCMsg_GameEvent::descriptor() {
  15301. protobuf_AssignDescriptorsOnce();
  15302. return CSVCMsg_GameEvent_descriptor_;
  15303. }
  15304. const CSVCMsg_GameEvent& CSVCMsg_GameEvent::default_instance() {
  15305. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  15306. return *default_instance_;
  15307. }
  15308. CSVCMsg_GameEvent* CSVCMsg_GameEvent::default_instance_ = NULL;
  15309. CSVCMsg_GameEvent* CSVCMsg_GameEvent::New() const {
  15310. return new CSVCMsg_GameEvent;
  15311. }
  15312. void CSVCMsg_GameEvent::Clear() {
  15313. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15314. if (has_event_name()) {
  15315. if (event_name_ != &::google::protobuf::internal::kEmptyString) {
  15316. event_name_->clear();
  15317. }
  15318. }
  15319. eventid_ = 0;
  15320. passthrough_ = 0;
  15321. }
  15322. keys_.Clear();
  15323. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15324. mutable_unknown_fields()->Clear();
  15325. }
  15326. bool CSVCMsg_GameEvent::MergePartialFromCodedStream(
  15327. ::google::protobuf::io::CodedInputStream* input) {
  15328. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15329. ::google::protobuf::uint32 tag;
  15330. while ((tag = input->ReadTag()) != 0) {
  15331. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15332. // optional string event_name = 1;
  15333. case 1: {
  15334. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15335. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15336. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15337. input, this->mutable_event_name()));
  15338. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15339. this->event_name().data(), this->event_name().length(),
  15340. ::google::protobuf::internal::WireFormat::PARSE);
  15341. } else {
  15342. goto handle_uninterpreted;
  15343. }
  15344. if (input->ExpectTag(16)) goto parse_eventid;
  15345. break;
  15346. }
  15347. // optional int32 eventid = 2;
  15348. case 2: {
  15349. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15350. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15351. parse_eventid:
  15352. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15353. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15354. input, &eventid_)));
  15355. set_has_eventid();
  15356. } else {
  15357. goto handle_uninterpreted;
  15358. }
  15359. if (input->ExpectTag(26)) goto parse_keys;
  15360. break;
  15361. }
  15362. // repeated .CSVCMsg_GameEvent.key_t keys = 3;
  15363. case 3: {
  15364. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15365. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15366. parse_keys:
  15367. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  15368. input, add_keys()));
  15369. } else {
  15370. goto handle_uninterpreted;
  15371. }
  15372. if (input->ExpectTag(26)) goto parse_keys;
  15373. if (input->ExpectTag(32)) goto parse_passthrough;
  15374. break;
  15375. }
  15376. // optional int32 passthrough = 4;
  15377. case 4: {
  15378. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15379. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15380. parse_passthrough:
  15381. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15382. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15383. input, &passthrough_)));
  15384. set_has_passthrough();
  15385. } else {
  15386. goto handle_uninterpreted;
  15387. }
  15388. if (input->ExpectAtEnd()) return true;
  15389. break;
  15390. }
  15391. default: {
  15392. handle_uninterpreted:
  15393. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15394. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15395. return true;
  15396. }
  15397. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15398. input, tag, mutable_unknown_fields()));
  15399. break;
  15400. }
  15401. }
  15402. }
  15403. return true;
  15404. #undef DO_
  15405. }
  15406. void CSVCMsg_GameEvent::SerializeWithCachedSizes(
  15407. ::google::protobuf::io::CodedOutputStream* output) const {
  15408. // optional string event_name = 1;
  15409. if (has_event_name()) {
  15410. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15411. this->event_name().data(), this->event_name().length(),
  15412. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15413. ::google::protobuf::internal::WireFormatLite::WriteString(
  15414. 1, this->event_name(), output);
  15415. }
  15416. // optional int32 eventid = 2;
  15417. if (has_eventid()) {
  15418. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->eventid(), output);
  15419. }
  15420. // repeated .CSVCMsg_GameEvent.key_t keys = 3;
  15421. for (int i = 0; i < this->keys_size(); i++) {
  15422. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15423. 3, this->keys(i), output);
  15424. }
  15425. // optional int32 passthrough = 4;
  15426. if (has_passthrough()) {
  15427. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->passthrough(), output);
  15428. }
  15429. if (!unknown_fields().empty()) {
  15430. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15431. unknown_fields(), output);
  15432. }
  15433. }
  15434. ::google::protobuf::uint8* CSVCMsg_GameEvent::SerializeWithCachedSizesToArray(
  15435. ::google::protobuf::uint8* target) const {
  15436. // optional string event_name = 1;
  15437. if (has_event_name()) {
  15438. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15439. this->event_name().data(), this->event_name().length(),
  15440. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15441. target =
  15442. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15443. 1, this->event_name(), target);
  15444. }
  15445. // optional int32 eventid = 2;
  15446. if (has_eventid()) {
  15447. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->eventid(), target);
  15448. }
  15449. // repeated .CSVCMsg_GameEvent.key_t keys = 3;
  15450. for (int i = 0; i < this->keys_size(); i++) {
  15451. target = ::google::protobuf::internal::WireFormatLite::
  15452. WriteMessageNoVirtualToArray(
  15453. 3, this->keys(i), target);
  15454. }
  15455. // optional int32 passthrough = 4;
  15456. if (has_passthrough()) {
  15457. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->passthrough(), target);
  15458. }
  15459. if (!unknown_fields().empty()) {
  15460. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15461. unknown_fields(), target);
  15462. }
  15463. return target;
  15464. }
  15465. int CSVCMsg_GameEvent::ByteSize() const {
  15466. int total_size = 0;
  15467. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15468. // optional string event_name = 1;
  15469. if (has_event_name()) {
  15470. total_size += 1 +
  15471. ::google::protobuf::internal::WireFormatLite::StringSize(
  15472. this->event_name());
  15473. }
  15474. // optional int32 eventid = 2;
  15475. if (has_eventid()) {
  15476. total_size += 1 +
  15477. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15478. this->eventid());
  15479. }
  15480. // optional int32 passthrough = 4;
  15481. if (has_passthrough()) {
  15482. total_size += 1 +
  15483. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15484. this->passthrough());
  15485. }
  15486. }
  15487. // repeated .CSVCMsg_GameEvent.key_t keys = 3;
  15488. total_size += 1 * this->keys_size();
  15489. for (int i = 0; i < this->keys_size(); i++) {
  15490. total_size +=
  15491. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15492. this->keys(i));
  15493. }
  15494. if (!unknown_fields().empty()) {
  15495. total_size +=
  15496. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15497. unknown_fields());
  15498. }
  15499. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15500. _cached_size_ = total_size;
  15501. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15502. return total_size;
  15503. }
  15504. void CSVCMsg_GameEvent::MergeFrom(const ::google::protobuf::Message& from) {
  15505. GOOGLE_CHECK_NE(&from, this);
  15506. const CSVCMsg_GameEvent* source =
  15507. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_GameEvent*>(
  15508. &from);
  15509. if (source == NULL) {
  15510. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15511. } else {
  15512. MergeFrom(*source);
  15513. }
  15514. }
  15515. void CSVCMsg_GameEvent::MergeFrom(const CSVCMsg_GameEvent& from) {
  15516. GOOGLE_CHECK_NE(&from, this);
  15517. keys_.MergeFrom(from.keys_);
  15518. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15519. if (from.has_event_name()) {
  15520. set_event_name(from.event_name());
  15521. }
  15522. if (from.has_eventid()) {
  15523. set_eventid(from.eventid());
  15524. }
  15525. if (from.has_passthrough()) {
  15526. set_passthrough(from.passthrough());
  15527. }
  15528. }
  15529. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15530. }
  15531. void CSVCMsg_GameEvent::CopyFrom(const ::google::protobuf::Message& from) {
  15532. if (&from == this) return;
  15533. Clear();
  15534. MergeFrom(from);
  15535. }
  15536. void CSVCMsg_GameEvent::CopyFrom(const CSVCMsg_GameEvent& from) {
  15537. if (&from == this) return;
  15538. Clear();
  15539. MergeFrom(from);
  15540. }
  15541. bool CSVCMsg_GameEvent::IsInitialized() const {
  15542. return true;
  15543. }
  15544. void CSVCMsg_GameEvent::Swap(CSVCMsg_GameEvent* other) {
  15545. if (other != this) {
  15546. std::swap(event_name_, other->event_name_);
  15547. std::swap(eventid_, other->eventid_);
  15548. keys_.Swap(&other->keys_);
  15549. std::swap(passthrough_, other->passthrough_);
  15550. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15551. _unknown_fields_.Swap(&other->_unknown_fields_);
  15552. std::swap(_cached_size_, other->_cached_size_);
  15553. }
  15554. }
  15555. ::google::protobuf::Metadata CSVCMsg_GameEvent::GetMetadata() const {
  15556. protobuf_AssignDescriptorsOnce();
  15557. ::google::protobuf::Metadata metadata;
  15558. metadata.descriptor = CSVCMsg_GameEvent_descriptor_;
  15559. metadata.reflection = CSVCMsg_GameEvent_reflection_;
  15560. return metadata;
  15561. }
  15562. // ===================================================================
  15563. #ifndef _MSC_VER
  15564. const int CSVCMsg_GameEventList_key_t::kTypeFieldNumber;
  15565. const int CSVCMsg_GameEventList_key_t::kNameFieldNumber;
  15566. #endif // !_MSC_VER
  15567. CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t()
  15568. : ::google::protobuf::Message() {
  15569. SharedCtor();
  15570. }
  15571. void CSVCMsg_GameEventList_key_t::InitAsDefaultInstance() {
  15572. }
  15573. CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from)
  15574. : ::google::protobuf::Message() {
  15575. SharedCtor();
  15576. MergeFrom(from);
  15577. }
  15578. void CSVCMsg_GameEventList_key_t::SharedCtor() {
  15579. _cached_size_ = 0;
  15580. type_ = 0;
  15581. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15582. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15583. }
  15584. CSVCMsg_GameEventList_key_t::~CSVCMsg_GameEventList_key_t() {
  15585. SharedDtor();
  15586. }
  15587. void CSVCMsg_GameEventList_key_t::SharedDtor() {
  15588. if (name_ != &::google::protobuf::internal::kEmptyString) {
  15589. delete name_;
  15590. }
  15591. if (this != default_instance_) {
  15592. }
  15593. }
  15594. void CSVCMsg_GameEventList_key_t::SetCachedSize(int size) const {
  15595. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15596. _cached_size_ = size;
  15597. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15598. }
  15599. const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_key_t::descriptor() {
  15600. protobuf_AssignDescriptorsOnce();
  15601. return CSVCMsg_GameEventList_key_t_descriptor_;
  15602. }
  15603. const CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_key_t::default_instance() {
  15604. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  15605. return *default_instance_;
  15606. }
  15607. CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_key_t::default_instance_ = NULL;
  15608. CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_key_t::New() const {
  15609. return new CSVCMsg_GameEventList_key_t;
  15610. }
  15611. void CSVCMsg_GameEventList_key_t::Clear() {
  15612. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15613. type_ = 0;
  15614. if (has_name()) {
  15615. if (name_ != &::google::protobuf::internal::kEmptyString) {
  15616. name_->clear();
  15617. }
  15618. }
  15619. }
  15620. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15621. mutable_unknown_fields()->Clear();
  15622. }
  15623. bool CSVCMsg_GameEventList_key_t::MergePartialFromCodedStream(
  15624. ::google::protobuf::io::CodedInputStream* input) {
  15625. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15626. ::google::protobuf::uint32 tag;
  15627. while ((tag = input->ReadTag()) != 0) {
  15628. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15629. // optional int32 type = 1;
  15630. case 1: {
  15631. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15632. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15633. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15634. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15635. input, &type_)));
  15636. set_has_type();
  15637. } else {
  15638. goto handle_uninterpreted;
  15639. }
  15640. if (input->ExpectTag(18)) goto parse_name;
  15641. break;
  15642. }
  15643. // optional string name = 2;
  15644. case 2: {
  15645. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15646. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15647. parse_name:
  15648. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15649. input, this->mutable_name()));
  15650. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15651. this->name().data(), this->name().length(),
  15652. ::google::protobuf::internal::WireFormat::PARSE);
  15653. } else {
  15654. goto handle_uninterpreted;
  15655. }
  15656. if (input->ExpectAtEnd()) return true;
  15657. break;
  15658. }
  15659. default: {
  15660. handle_uninterpreted:
  15661. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15662. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15663. return true;
  15664. }
  15665. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15666. input, tag, mutable_unknown_fields()));
  15667. break;
  15668. }
  15669. }
  15670. }
  15671. return true;
  15672. #undef DO_
  15673. }
  15674. void CSVCMsg_GameEventList_key_t::SerializeWithCachedSizes(
  15675. ::google::protobuf::io::CodedOutputStream* output) const {
  15676. // optional int32 type = 1;
  15677. if (has_type()) {
  15678. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
  15679. }
  15680. // optional string name = 2;
  15681. if (has_name()) {
  15682. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15683. this->name().data(), this->name().length(),
  15684. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15685. ::google::protobuf::internal::WireFormatLite::WriteString(
  15686. 2, this->name(), output);
  15687. }
  15688. if (!unknown_fields().empty()) {
  15689. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15690. unknown_fields(), output);
  15691. }
  15692. }
  15693. ::google::protobuf::uint8* CSVCMsg_GameEventList_key_t::SerializeWithCachedSizesToArray(
  15694. ::google::protobuf::uint8* target) const {
  15695. // optional int32 type = 1;
  15696. if (has_type()) {
  15697. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target);
  15698. }
  15699. // optional string name = 2;
  15700. if (has_name()) {
  15701. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15702. this->name().data(), this->name().length(),
  15703. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15704. target =
  15705. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15706. 2, this->name(), target);
  15707. }
  15708. if (!unknown_fields().empty()) {
  15709. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15710. unknown_fields(), target);
  15711. }
  15712. return target;
  15713. }
  15714. int CSVCMsg_GameEventList_key_t::ByteSize() const {
  15715. int total_size = 0;
  15716. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15717. // optional int32 type = 1;
  15718. if (has_type()) {
  15719. total_size += 1 +
  15720. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15721. this->type());
  15722. }
  15723. // optional string name = 2;
  15724. if (has_name()) {
  15725. total_size += 1 +
  15726. ::google::protobuf::internal::WireFormatLite::StringSize(
  15727. this->name());
  15728. }
  15729. }
  15730. if (!unknown_fields().empty()) {
  15731. total_size +=
  15732. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15733. unknown_fields());
  15734. }
  15735. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15736. _cached_size_ = total_size;
  15737. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15738. return total_size;
  15739. }
  15740. void CSVCMsg_GameEventList_key_t::MergeFrom(const ::google::protobuf::Message& from) {
  15741. GOOGLE_CHECK_NE(&from, this);
  15742. const CSVCMsg_GameEventList_key_t* source =
  15743. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_GameEventList_key_t*>(
  15744. &from);
  15745. if (source == NULL) {
  15746. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15747. } else {
  15748. MergeFrom(*source);
  15749. }
  15750. }
  15751. void CSVCMsg_GameEventList_key_t::MergeFrom(const CSVCMsg_GameEventList_key_t& from) {
  15752. GOOGLE_CHECK_NE(&from, this);
  15753. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15754. if (from.has_type()) {
  15755. set_type(from.type());
  15756. }
  15757. if (from.has_name()) {
  15758. set_name(from.name());
  15759. }
  15760. }
  15761. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15762. }
  15763. void CSVCMsg_GameEventList_key_t::CopyFrom(const ::google::protobuf::Message& from) {
  15764. if (&from == this) return;
  15765. Clear();
  15766. MergeFrom(from);
  15767. }
  15768. void CSVCMsg_GameEventList_key_t::CopyFrom(const CSVCMsg_GameEventList_key_t& from) {
  15769. if (&from == this) return;
  15770. Clear();
  15771. MergeFrom(from);
  15772. }
  15773. bool CSVCMsg_GameEventList_key_t::IsInitialized() const {
  15774. return true;
  15775. }
  15776. void CSVCMsg_GameEventList_key_t::Swap(CSVCMsg_GameEventList_key_t* other) {
  15777. if (other != this) {
  15778. std::swap(type_, other->type_);
  15779. std::swap(name_, other->name_);
  15780. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15781. _unknown_fields_.Swap(&other->_unknown_fields_);
  15782. std::swap(_cached_size_, other->_cached_size_);
  15783. }
  15784. }
  15785. ::google::protobuf::Metadata CSVCMsg_GameEventList_key_t::GetMetadata() const {
  15786. protobuf_AssignDescriptorsOnce();
  15787. ::google::protobuf::Metadata metadata;
  15788. metadata.descriptor = CSVCMsg_GameEventList_key_t_descriptor_;
  15789. metadata.reflection = CSVCMsg_GameEventList_key_t_reflection_;
  15790. return metadata;
  15791. }
  15792. // -------------------------------------------------------------------
  15793. #ifndef _MSC_VER
  15794. const int CSVCMsg_GameEventList_descriptor_t::kEventidFieldNumber;
  15795. const int CSVCMsg_GameEventList_descriptor_t::kNameFieldNumber;
  15796. const int CSVCMsg_GameEventList_descriptor_t::kKeysFieldNumber;
  15797. #endif // !_MSC_VER
  15798. CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t()
  15799. : ::google::protobuf::Message() {
  15800. SharedCtor();
  15801. }
  15802. void CSVCMsg_GameEventList_descriptor_t::InitAsDefaultInstance() {
  15803. }
  15804. CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from)
  15805. : ::google::protobuf::Message() {
  15806. SharedCtor();
  15807. MergeFrom(from);
  15808. }
  15809. void CSVCMsg_GameEventList_descriptor_t::SharedCtor() {
  15810. _cached_size_ = 0;
  15811. eventid_ = 0;
  15812. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15813. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15814. }
  15815. CSVCMsg_GameEventList_descriptor_t::~CSVCMsg_GameEventList_descriptor_t() {
  15816. SharedDtor();
  15817. }
  15818. void CSVCMsg_GameEventList_descriptor_t::SharedDtor() {
  15819. if (name_ != &::google::protobuf::internal::kEmptyString) {
  15820. delete name_;
  15821. }
  15822. if (this != default_instance_) {
  15823. }
  15824. }
  15825. void CSVCMsg_GameEventList_descriptor_t::SetCachedSize(int size) const {
  15826. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15827. _cached_size_ = size;
  15828. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15829. }
  15830. const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_descriptor_t::descriptor() {
  15831. protobuf_AssignDescriptorsOnce();
  15832. return CSVCMsg_GameEventList_descriptor_t_descriptor_;
  15833. }
  15834. const CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList_descriptor_t::default_instance() {
  15835. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  15836. return *default_instance_;
  15837. }
  15838. CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList_descriptor_t::default_instance_ = NULL;
  15839. CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList_descriptor_t::New() const {
  15840. return new CSVCMsg_GameEventList_descriptor_t;
  15841. }
  15842. void CSVCMsg_GameEventList_descriptor_t::Clear() {
  15843. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15844. eventid_ = 0;
  15845. if (has_name()) {
  15846. if (name_ != &::google::protobuf::internal::kEmptyString) {
  15847. name_->clear();
  15848. }
  15849. }
  15850. }
  15851. keys_.Clear();
  15852. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15853. mutable_unknown_fields()->Clear();
  15854. }
  15855. bool CSVCMsg_GameEventList_descriptor_t::MergePartialFromCodedStream(
  15856. ::google::protobuf::io::CodedInputStream* input) {
  15857. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15858. ::google::protobuf::uint32 tag;
  15859. while ((tag = input->ReadTag()) != 0) {
  15860. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15861. // optional int32 eventid = 1;
  15862. case 1: {
  15863. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15864. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15866. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15867. input, &eventid_)));
  15868. set_has_eventid();
  15869. } else {
  15870. goto handle_uninterpreted;
  15871. }
  15872. if (input->ExpectTag(18)) goto parse_name;
  15873. break;
  15874. }
  15875. // optional string name = 2;
  15876. case 2: {
  15877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15879. parse_name:
  15880. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15881. input, this->mutable_name()));
  15882. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15883. this->name().data(), this->name().length(),
  15884. ::google::protobuf::internal::WireFormat::PARSE);
  15885. } else {
  15886. goto handle_uninterpreted;
  15887. }
  15888. if (input->ExpectTag(26)) goto parse_keys;
  15889. break;
  15890. }
  15891. // repeated .CSVCMsg_GameEventList.key_t keys = 3;
  15892. case 3: {
  15893. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15894. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15895. parse_keys:
  15896. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  15897. input, add_keys()));
  15898. } else {
  15899. goto handle_uninterpreted;
  15900. }
  15901. if (input->ExpectTag(26)) goto parse_keys;
  15902. if (input->ExpectAtEnd()) return true;
  15903. break;
  15904. }
  15905. default: {
  15906. handle_uninterpreted:
  15907. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15908. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15909. return true;
  15910. }
  15911. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15912. input, tag, mutable_unknown_fields()));
  15913. break;
  15914. }
  15915. }
  15916. }
  15917. return true;
  15918. #undef DO_
  15919. }
  15920. void CSVCMsg_GameEventList_descriptor_t::SerializeWithCachedSizes(
  15921. ::google::protobuf::io::CodedOutputStream* output) const {
  15922. // optional int32 eventid = 1;
  15923. if (has_eventid()) {
  15924. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eventid(), output);
  15925. }
  15926. // optional string name = 2;
  15927. if (has_name()) {
  15928. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15929. this->name().data(), this->name().length(),
  15930. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15931. ::google::protobuf::internal::WireFormatLite::WriteString(
  15932. 2, this->name(), output);
  15933. }
  15934. // repeated .CSVCMsg_GameEventList.key_t keys = 3;
  15935. for (int i = 0; i < this->keys_size(); i++) {
  15936. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15937. 3, this->keys(i), output);
  15938. }
  15939. if (!unknown_fields().empty()) {
  15940. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15941. unknown_fields(), output);
  15942. }
  15943. }
  15944. ::google::protobuf::uint8* CSVCMsg_GameEventList_descriptor_t::SerializeWithCachedSizesToArray(
  15945. ::google::protobuf::uint8* target) const {
  15946. // optional int32 eventid = 1;
  15947. if (has_eventid()) {
  15948. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eventid(), target);
  15949. }
  15950. // optional string name = 2;
  15951. if (has_name()) {
  15952. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15953. this->name().data(), this->name().length(),
  15954. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15955. target =
  15956. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15957. 2, this->name(), target);
  15958. }
  15959. // repeated .CSVCMsg_GameEventList.key_t keys = 3;
  15960. for (int i = 0; i < this->keys_size(); i++) {
  15961. target = ::google::protobuf::internal::WireFormatLite::
  15962. WriteMessageNoVirtualToArray(
  15963. 3, this->keys(i), target);
  15964. }
  15965. if (!unknown_fields().empty()) {
  15966. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15967. unknown_fields(), target);
  15968. }
  15969. return target;
  15970. }
  15971. int CSVCMsg_GameEventList_descriptor_t::ByteSize() const {
  15972. int total_size = 0;
  15973. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15974. // optional int32 eventid = 1;
  15975. if (has_eventid()) {
  15976. total_size += 1 +
  15977. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15978. this->eventid());
  15979. }
  15980. // optional string name = 2;
  15981. if (has_name()) {
  15982. total_size += 1 +
  15983. ::google::protobuf::internal::WireFormatLite::StringSize(
  15984. this->name());
  15985. }
  15986. }
  15987. // repeated .CSVCMsg_GameEventList.key_t keys = 3;
  15988. total_size += 1 * this->keys_size();
  15989. for (int i = 0; i < this->keys_size(); i++) {
  15990. total_size +=
  15991. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15992. this->keys(i));
  15993. }
  15994. if (!unknown_fields().empty()) {
  15995. total_size +=
  15996. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15997. unknown_fields());
  15998. }
  15999. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16000. _cached_size_ = total_size;
  16001. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16002. return total_size;
  16003. }
  16004. void CSVCMsg_GameEventList_descriptor_t::MergeFrom(const ::google::protobuf::Message& from) {
  16005. GOOGLE_CHECK_NE(&from, this);
  16006. const CSVCMsg_GameEventList_descriptor_t* source =
  16007. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_GameEventList_descriptor_t*>(
  16008. &from);
  16009. if (source == NULL) {
  16010. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16011. } else {
  16012. MergeFrom(*source);
  16013. }
  16014. }
  16015. void CSVCMsg_GameEventList_descriptor_t::MergeFrom(const CSVCMsg_GameEventList_descriptor_t& from) {
  16016. GOOGLE_CHECK_NE(&from, this);
  16017. keys_.MergeFrom(from.keys_);
  16018. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16019. if (from.has_eventid()) {
  16020. set_eventid(from.eventid());
  16021. }
  16022. if (from.has_name()) {
  16023. set_name(from.name());
  16024. }
  16025. }
  16026. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16027. }
  16028. void CSVCMsg_GameEventList_descriptor_t::CopyFrom(const ::google::protobuf::Message& from) {
  16029. if (&from == this) return;
  16030. Clear();
  16031. MergeFrom(from);
  16032. }
  16033. void CSVCMsg_GameEventList_descriptor_t::CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from) {
  16034. if (&from == this) return;
  16035. Clear();
  16036. MergeFrom(from);
  16037. }
  16038. bool CSVCMsg_GameEventList_descriptor_t::IsInitialized() const {
  16039. return true;
  16040. }
  16041. void CSVCMsg_GameEventList_descriptor_t::Swap(CSVCMsg_GameEventList_descriptor_t* other) {
  16042. if (other != this) {
  16043. std::swap(eventid_, other->eventid_);
  16044. std::swap(name_, other->name_);
  16045. keys_.Swap(&other->keys_);
  16046. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16047. _unknown_fields_.Swap(&other->_unknown_fields_);
  16048. std::swap(_cached_size_, other->_cached_size_);
  16049. }
  16050. }
  16051. ::google::protobuf::Metadata CSVCMsg_GameEventList_descriptor_t::GetMetadata() const {
  16052. protobuf_AssignDescriptorsOnce();
  16053. ::google::protobuf::Metadata metadata;
  16054. metadata.descriptor = CSVCMsg_GameEventList_descriptor_t_descriptor_;
  16055. metadata.reflection = CSVCMsg_GameEventList_descriptor_t_reflection_;
  16056. return metadata;
  16057. }
  16058. // -------------------------------------------------------------------
  16059. #ifndef _MSC_VER
  16060. const int CSVCMsg_GameEventList::kDescriptorsFieldNumber;
  16061. #endif // !_MSC_VER
  16062. CSVCMsg_GameEventList::CSVCMsg_GameEventList()
  16063. : ::google::protobuf::Message() {
  16064. SharedCtor();
  16065. }
  16066. void CSVCMsg_GameEventList::InitAsDefaultInstance() {
  16067. }
  16068. CSVCMsg_GameEventList::CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from)
  16069. : ::google::protobuf::Message() {
  16070. SharedCtor();
  16071. MergeFrom(from);
  16072. }
  16073. void CSVCMsg_GameEventList::SharedCtor() {
  16074. _cached_size_ = 0;
  16075. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16076. }
  16077. CSVCMsg_GameEventList::~CSVCMsg_GameEventList() {
  16078. SharedDtor();
  16079. }
  16080. void CSVCMsg_GameEventList::SharedDtor() {
  16081. if (this != default_instance_) {
  16082. }
  16083. }
  16084. void CSVCMsg_GameEventList::SetCachedSize(int size) const {
  16085. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16086. _cached_size_ = size;
  16087. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16088. }
  16089. const ::google::protobuf::Descriptor* CSVCMsg_GameEventList::descriptor() {
  16090. protobuf_AssignDescriptorsOnce();
  16091. return CSVCMsg_GameEventList_descriptor_;
  16092. }
  16093. const CSVCMsg_GameEventList& CSVCMsg_GameEventList::default_instance() {
  16094. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  16095. return *default_instance_;
  16096. }
  16097. CSVCMsg_GameEventList* CSVCMsg_GameEventList::default_instance_ = NULL;
  16098. CSVCMsg_GameEventList* CSVCMsg_GameEventList::New() const {
  16099. return new CSVCMsg_GameEventList;
  16100. }
  16101. void CSVCMsg_GameEventList::Clear() {
  16102. descriptors_.Clear();
  16103. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16104. mutable_unknown_fields()->Clear();
  16105. }
  16106. bool CSVCMsg_GameEventList::MergePartialFromCodedStream(
  16107. ::google::protobuf::io::CodedInputStream* input) {
  16108. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16109. ::google::protobuf::uint32 tag;
  16110. while ((tag = input->ReadTag()) != 0) {
  16111. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16112. // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
  16113. case 1: {
  16114. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16115. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16116. parse_descriptors:
  16117. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  16118. input, add_descriptors()));
  16119. } else {
  16120. goto handle_uninterpreted;
  16121. }
  16122. if (input->ExpectTag(10)) goto parse_descriptors;
  16123. if (input->ExpectAtEnd()) return true;
  16124. break;
  16125. }
  16126. default: {
  16127. handle_uninterpreted:
  16128. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16129. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16130. return true;
  16131. }
  16132. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16133. input, tag, mutable_unknown_fields()));
  16134. break;
  16135. }
  16136. }
  16137. }
  16138. return true;
  16139. #undef DO_
  16140. }
  16141. void CSVCMsg_GameEventList::SerializeWithCachedSizes(
  16142. ::google::protobuf::io::CodedOutputStream* output) const {
  16143. // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
  16144. for (int i = 0; i < this->descriptors_size(); i++) {
  16145. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  16146. 1, this->descriptors(i), output);
  16147. }
  16148. if (!unknown_fields().empty()) {
  16149. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16150. unknown_fields(), output);
  16151. }
  16152. }
  16153. ::google::protobuf::uint8* CSVCMsg_GameEventList::SerializeWithCachedSizesToArray(
  16154. ::google::protobuf::uint8* target) const {
  16155. // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
  16156. for (int i = 0; i < this->descriptors_size(); i++) {
  16157. target = ::google::protobuf::internal::WireFormatLite::
  16158. WriteMessageNoVirtualToArray(
  16159. 1, this->descriptors(i), target);
  16160. }
  16161. if (!unknown_fields().empty()) {
  16162. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16163. unknown_fields(), target);
  16164. }
  16165. return target;
  16166. }
  16167. int CSVCMsg_GameEventList::ByteSize() const {
  16168. int total_size = 0;
  16169. // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
  16170. total_size += 1 * this->descriptors_size();
  16171. for (int i = 0; i < this->descriptors_size(); i++) {
  16172. total_size +=
  16173. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  16174. this->descriptors(i));
  16175. }
  16176. if (!unknown_fields().empty()) {
  16177. total_size +=
  16178. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16179. unknown_fields());
  16180. }
  16181. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16182. _cached_size_ = total_size;
  16183. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16184. return total_size;
  16185. }
  16186. void CSVCMsg_GameEventList::MergeFrom(const ::google::protobuf::Message& from) {
  16187. GOOGLE_CHECK_NE(&from, this);
  16188. const CSVCMsg_GameEventList* source =
  16189. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_GameEventList*>(
  16190. &from);
  16191. if (source == NULL) {
  16192. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16193. } else {
  16194. MergeFrom(*source);
  16195. }
  16196. }
  16197. void CSVCMsg_GameEventList::MergeFrom(const CSVCMsg_GameEventList& from) {
  16198. GOOGLE_CHECK_NE(&from, this);
  16199. descriptors_.MergeFrom(from.descriptors_);
  16200. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16201. }
  16202. void CSVCMsg_GameEventList::CopyFrom(const ::google::protobuf::Message& from) {
  16203. if (&from == this) return;
  16204. Clear();
  16205. MergeFrom(from);
  16206. }
  16207. void CSVCMsg_GameEventList::CopyFrom(const CSVCMsg_GameEventList& from) {
  16208. if (&from == this) return;
  16209. Clear();
  16210. MergeFrom(from);
  16211. }
  16212. bool CSVCMsg_GameEventList::IsInitialized() const {
  16213. return true;
  16214. }
  16215. void CSVCMsg_GameEventList::Swap(CSVCMsg_GameEventList* other) {
  16216. if (other != this) {
  16217. descriptors_.Swap(&other->descriptors_);
  16218. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16219. _unknown_fields_.Swap(&other->_unknown_fields_);
  16220. std::swap(_cached_size_, other->_cached_size_);
  16221. }
  16222. }
  16223. ::google::protobuf::Metadata CSVCMsg_GameEventList::GetMetadata() const {
  16224. protobuf_AssignDescriptorsOnce();
  16225. ::google::protobuf::Metadata metadata;
  16226. metadata.descriptor = CSVCMsg_GameEventList_descriptor_;
  16227. metadata.reflection = CSVCMsg_GameEventList_reflection_;
  16228. return metadata;
  16229. }
  16230. // ===================================================================
  16231. #ifndef _MSC_VER
  16232. const int CSVCMsg_TempEntities::kReliableFieldNumber;
  16233. const int CSVCMsg_TempEntities::kNumEntriesFieldNumber;
  16234. const int CSVCMsg_TempEntities::kEntityDataFieldNumber;
  16235. #endif // !_MSC_VER
  16236. CSVCMsg_TempEntities::CSVCMsg_TempEntities()
  16237. : ::google::protobuf::Message() {
  16238. SharedCtor();
  16239. }
  16240. void CSVCMsg_TempEntities::InitAsDefaultInstance() {
  16241. }
  16242. CSVCMsg_TempEntities::CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from)
  16243. : ::google::protobuf::Message() {
  16244. SharedCtor();
  16245. MergeFrom(from);
  16246. }
  16247. void CSVCMsg_TempEntities::SharedCtor() {
  16248. _cached_size_ = 0;
  16249. reliable_ = false;
  16250. num_entries_ = 0;
  16251. entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  16252. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16253. }
  16254. CSVCMsg_TempEntities::~CSVCMsg_TempEntities() {
  16255. SharedDtor();
  16256. }
  16257. void CSVCMsg_TempEntities::SharedDtor() {
  16258. if (entity_data_ != &::google::protobuf::internal::kEmptyString) {
  16259. delete entity_data_;
  16260. }
  16261. if (this != default_instance_) {
  16262. }
  16263. }
  16264. void CSVCMsg_TempEntities::SetCachedSize(int size) const {
  16265. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16266. _cached_size_ = size;
  16267. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16268. }
  16269. const ::google::protobuf::Descriptor* CSVCMsg_TempEntities::descriptor() {
  16270. protobuf_AssignDescriptorsOnce();
  16271. return CSVCMsg_TempEntities_descriptor_;
  16272. }
  16273. const CSVCMsg_TempEntities& CSVCMsg_TempEntities::default_instance() {
  16274. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  16275. return *default_instance_;
  16276. }
  16277. CSVCMsg_TempEntities* CSVCMsg_TempEntities::default_instance_ = NULL;
  16278. CSVCMsg_TempEntities* CSVCMsg_TempEntities::New() const {
  16279. return new CSVCMsg_TempEntities;
  16280. }
  16281. void CSVCMsg_TempEntities::Clear() {
  16282. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16283. reliable_ = false;
  16284. num_entries_ = 0;
  16285. if (has_entity_data()) {
  16286. if (entity_data_ != &::google::protobuf::internal::kEmptyString) {
  16287. entity_data_->clear();
  16288. }
  16289. }
  16290. }
  16291. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16292. mutable_unknown_fields()->Clear();
  16293. }
  16294. bool CSVCMsg_TempEntities::MergePartialFromCodedStream(
  16295. ::google::protobuf::io::CodedInputStream* input) {
  16296. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16297. ::google::protobuf::uint32 tag;
  16298. while ((tag = input->ReadTag()) != 0) {
  16299. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16300. // optional bool reliable = 1;
  16301. case 1: {
  16302. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16303. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16304. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16305. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  16306. input, &reliable_)));
  16307. set_has_reliable();
  16308. } else {
  16309. goto handle_uninterpreted;
  16310. }
  16311. if (input->ExpectTag(16)) goto parse_num_entries;
  16312. break;
  16313. }
  16314. // optional int32 num_entries = 2;
  16315. case 2: {
  16316. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16317. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16318. parse_num_entries:
  16319. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16320. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16321. input, &num_entries_)));
  16322. set_has_num_entries();
  16323. } else {
  16324. goto handle_uninterpreted;
  16325. }
  16326. if (input->ExpectTag(26)) goto parse_entity_data;
  16327. break;
  16328. }
  16329. // optional bytes entity_data = 3;
  16330. case 3: {
  16331. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16332. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16333. parse_entity_data:
  16334. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  16335. input, this->mutable_entity_data()));
  16336. } else {
  16337. goto handle_uninterpreted;
  16338. }
  16339. if (input->ExpectAtEnd()) return true;
  16340. break;
  16341. }
  16342. default: {
  16343. handle_uninterpreted:
  16344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16346. return true;
  16347. }
  16348. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16349. input, tag, mutable_unknown_fields()));
  16350. break;
  16351. }
  16352. }
  16353. }
  16354. return true;
  16355. #undef DO_
  16356. }
  16357. void CSVCMsg_TempEntities::SerializeWithCachedSizes(
  16358. ::google::protobuf::io::CodedOutputStream* output) const {
  16359. // optional bool reliable = 1;
  16360. if (has_reliable()) {
  16361. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reliable(), output);
  16362. }
  16363. // optional int32 num_entries = 2;
  16364. if (has_num_entries()) {
  16365. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_entries(), output);
  16366. }
  16367. // optional bytes entity_data = 3;
  16368. if (has_entity_data()) {
  16369. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  16370. 3, this->entity_data(), output);
  16371. }
  16372. if (!unknown_fields().empty()) {
  16373. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16374. unknown_fields(), output);
  16375. }
  16376. }
  16377. ::google::protobuf::uint8* CSVCMsg_TempEntities::SerializeWithCachedSizesToArray(
  16378. ::google::protobuf::uint8* target) const {
  16379. // optional bool reliable = 1;
  16380. if (has_reliable()) {
  16381. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->reliable(), target);
  16382. }
  16383. // optional int32 num_entries = 2;
  16384. if (has_num_entries()) {
  16385. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_entries(), target);
  16386. }
  16387. // optional bytes entity_data = 3;
  16388. if (has_entity_data()) {
  16389. target =
  16390. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  16391. 3, this->entity_data(), target);
  16392. }
  16393. if (!unknown_fields().empty()) {
  16394. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16395. unknown_fields(), target);
  16396. }
  16397. return target;
  16398. }
  16399. int CSVCMsg_TempEntities::ByteSize() const {
  16400. int total_size = 0;
  16401. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16402. // optional bool reliable = 1;
  16403. if (has_reliable()) {
  16404. total_size += 1 + 1;
  16405. }
  16406. // optional int32 num_entries = 2;
  16407. if (has_num_entries()) {
  16408. total_size += 1 +
  16409. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16410. this->num_entries());
  16411. }
  16412. // optional bytes entity_data = 3;
  16413. if (has_entity_data()) {
  16414. total_size += 1 +
  16415. ::google::protobuf::internal::WireFormatLite::BytesSize(
  16416. this->entity_data());
  16417. }
  16418. }
  16419. if (!unknown_fields().empty()) {
  16420. total_size +=
  16421. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16422. unknown_fields());
  16423. }
  16424. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16425. _cached_size_ = total_size;
  16426. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16427. return total_size;
  16428. }
  16429. void CSVCMsg_TempEntities::MergeFrom(const ::google::protobuf::Message& from) {
  16430. GOOGLE_CHECK_NE(&from, this);
  16431. const CSVCMsg_TempEntities* source =
  16432. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_TempEntities*>(
  16433. &from);
  16434. if (source == NULL) {
  16435. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16436. } else {
  16437. MergeFrom(*source);
  16438. }
  16439. }
  16440. void CSVCMsg_TempEntities::MergeFrom(const CSVCMsg_TempEntities& from) {
  16441. GOOGLE_CHECK_NE(&from, this);
  16442. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16443. if (from.has_reliable()) {
  16444. set_reliable(from.reliable());
  16445. }
  16446. if (from.has_num_entries()) {
  16447. set_num_entries(from.num_entries());
  16448. }
  16449. if (from.has_entity_data()) {
  16450. set_entity_data(from.entity_data());
  16451. }
  16452. }
  16453. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16454. }
  16455. void CSVCMsg_TempEntities::CopyFrom(const ::google::protobuf::Message& from) {
  16456. if (&from == this) return;
  16457. Clear();
  16458. MergeFrom(from);
  16459. }
  16460. void CSVCMsg_TempEntities::CopyFrom(const CSVCMsg_TempEntities& from) {
  16461. if (&from == this) return;
  16462. Clear();
  16463. MergeFrom(from);
  16464. }
  16465. bool CSVCMsg_TempEntities::IsInitialized() const {
  16466. return true;
  16467. }
  16468. void CSVCMsg_TempEntities::Swap(CSVCMsg_TempEntities* other) {
  16469. if (other != this) {
  16470. std::swap(reliable_, other->reliable_);
  16471. std::swap(num_entries_, other->num_entries_);
  16472. std::swap(entity_data_, other->entity_data_);
  16473. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16474. _unknown_fields_.Swap(&other->_unknown_fields_);
  16475. std::swap(_cached_size_, other->_cached_size_);
  16476. }
  16477. }
  16478. ::google::protobuf::Metadata CSVCMsg_TempEntities::GetMetadata() const {
  16479. protobuf_AssignDescriptorsOnce();
  16480. ::google::protobuf::Metadata metadata;
  16481. metadata.descriptor = CSVCMsg_TempEntities_descriptor_;
  16482. metadata.reflection = CSVCMsg_TempEntities_reflection_;
  16483. return metadata;
  16484. }
  16485. // ===================================================================
  16486. #ifndef _MSC_VER
  16487. const int CSVCMsg_PacketEntities::kMaxEntriesFieldNumber;
  16488. const int CSVCMsg_PacketEntities::kUpdatedEntriesFieldNumber;
  16489. const int CSVCMsg_PacketEntities::kIsDeltaFieldNumber;
  16490. const int CSVCMsg_PacketEntities::kUpdateBaselineFieldNumber;
  16491. const int CSVCMsg_PacketEntities::kBaselineFieldNumber;
  16492. const int CSVCMsg_PacketEntities::kDeltaFromFieldNumber;
  16493. const int CSVCMsg_PacketEntities::kEntityDataFieldNumber;
  16494. #endif // !_MSC_VER
  16495. CSVCMsg_PacketEntities::CSVCMsg_PacketEntities()
  16496. : ::google::protobuf::Message() {
  16497. SharedCtor();
  16498. }
  16499. void CSVCMsg_PacketEntities::InitAsDefaultInstance() {
  16500. }
  16501. CSVCMsg_PacketEntities::CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from)
  16502. : ::google::protobuf::Message() {
  16503. SharedCtor();
  16504. MergeFrom(from);
  16505. }
  16506. void CSVCMsg_PacketEntities::SharedCtor() {
  16507. _cached_size_ = 0;
  16508. max_entries_ = 0;
  16509. updated_entries_ = 0;
  16510. is_delta_ = false;
  16511. update_baseline_ = false;
  16512. baseline_ = 0;
  16513. delta_from_ = 0;
  16514. entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  16515. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16516. }
  16517. CSVCMsg_PacketEntities::~CSVCMsg_PacketEntities() {
  16518. SharedDtor();
  16519. }
  16520. void CSVCMsg_PacketEntities::SharedDtor() {
  16521. if (entity_data_ != &::google::protobuf::internal::kEmptyString) {
  16522. delete entity_data_;
  16523. }
  16524. if (this != default_instance_) {
  16525. }
  16526. }
  16527. void CSVCMsg_PacketEntities::SetCachedSize(int size) const {
  16528. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16529. _cached_size_ = size;
  16530. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16531. }
  16532. const ::google::protobuf::Descriptor* CSVCMsg_PacketEntities::descriptor() {
  16533. protobuf_AssignDescriptorsOnce();
  16534. return CSVCMsg_PacketEntities_descriptor_;
  16535. }
  16536. const CSVCMsg_PacketEntities& CSVCMsg_PacketEntities::default_instance() {
  16537. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  16538. return *default_instance_;
  16539. }
  16540. CSVCMsg_PacketEntities* CSVCMsg_PacketEntities::default_instance_ = NULL;
  16541. CSVCMsg_PacketEntities* CSVCMsg_PacketEntities::New() const {
  16542. return new CSVCMsg_PacketEntities;
  16543. }
  16544. void CSVCMsg_PacketEntities::Clear() {
  16545. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16546. max_entries_ = 0;
  16547. updated_entries_ = 0;
  16548. is_delta_ = false;
  16549. update_baseline_ = false;
  16550. baseline_ = 0;
  16551. delta_from_ = 0;
  16552. if (has_entity_data()) {
  16553. if (entity_data_ != &::google::protobuf::internal::kEmptyString) {
  16554. entity_data_->clear();
  16555. }
  16556. }
  16557. }
  16558. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16559. mutable_unknown_fields()->Clear();
  16560. }
  16561. bool CSVCMsg_PacketEntities::MergePartialFromCodedStream(
  16562. ::google::protobuf::io::CodedInputStream* input) {
  16563. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16564. ::google::protobuf::uint32 tag;
  16565. while ((tag = input->ReadTag()) != 0) {
  16566. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16567. // optional int32 max_entries = 1;
  16568. case 1: {
  16569. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16570. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16571. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16572. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16573. input, &max_entries_)));
  16574. set_has_max_entries();
  16575. } else {
  16576. goto handle_uninterpreted;
  16577. }
  16578. if (input->ExpectTag(16)) goto parse_updated_entries;
  16579. break;
  16580. }
  16581. // optional int32 updated_entries = 2;
  16582. case 2: {
  16583. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16584. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16585. parse_updated_entries:
  16586. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16587. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16588. input, &updated_entries_)));
  16589. set_has_updated_entries();
  16590. } else {
  16591. goto handle_uninterpreted;
  16592. }
  16593. if (input->ExpectTag(24)) goto parse_is_delta;
  16594. break;
  16595. }
  16596. // optional bool is_delta = 3;
  16597. case 3: {
  16598. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16599. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16600. parse_is_delta:
  16601. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16602. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  16603. input, &is_delta_)));
  16604. set_has_is_delta();
  16605. } else {
  16606. goto handle_uninterpreted;
  16607. }
  16608. if (input->ExpectTag(32)) goto parse_update_baseline;
  16609. break;
  16610. }
  16611. // optional bool update_baseline = 4;
  16612. case 4: {
  16613. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16614. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16615. parse_update_baseline:
  16616. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16617. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  16618. input, &update_baseline_)));
  16619. set_has_update_baseline();
  16620. } else {
  16621. goto handle_uninterpreted;
  16622. }
  16623. if (input->ExpectTag(40)) goto parse_baseline;
  16624. break;
  16625. }
  16626. // optional int32 baseline = 5;
  16627. case 5: {
  16628. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16629. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16630. parse_baseline:
  16631. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16632. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16633. input, &baseline_)));
  16634. set_has_baseline();
  16635. } else {
  16636. goto handle_uninterpreted;
  16637. }
  16638. if (input->ExpectTag(48)) goto parse_delta_from;
  16639. break;
  16640. }
  16641. // optional int32 delta_from = 6;
  16642. case 6: {
  16643. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16644. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16645. parse_delta_from:
  16646. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16647. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16648. input, &delta_from_)));
  16649. set_has_delta_from();
  16650. } else {
  16651. goto handle_uninterpreted;
  16652. }
  16653. if (input->ExpectTag(58)) goto parse_entity_data;
  16654. break;
  16655. }
  16656. // optional bytes entity_data = 7;
  16657. case 7: {
  16658. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16659. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16660. parse_entity_data:
  16661. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  16662. input, this->mutable_entity_data()));
  16663. } else {
  16664. goto handle_uninterpreted;
  16665. }
  16666. if (input->ExpectAtEnd()) return true;
  16667. break;
  16668. }
  16669. default: {
  16670. handle_uninterpreted:
  16671. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16672. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16673. return true;
  16674. }
  16675. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16676. input, tag, mutable_unknown_fields()));
  16677. break;
  16678. }
  16679. }
  16680. }
  16681. return true;
  16682. #undef DO_
  16683. }
  16684. void CSVCMsg_PacketEntities::SerializeWithCachedSizes(
  16685. ::google::protobuf::io::CodedOutputStream* output) const {
  16686. // optional int32 max_entries = 1;
  16687. if (has_max_entries()) {
  16688. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->max_entries(), output);
  16689. }
  16690. // optional int32 updated_entries = 2;
  16691. if (has_updated_entries()) {
  16692. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->updated_entries(), output);
  16693. }
  16694. // optional bool is_delta = 3;
  16695. if (has_is_delta()) {
  16696. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_delta(), output);
  16697. }
  16698. // optional bool update_baseline = 4;
  16699. if (has_update_baseline()) {
  16700. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->update_baseline(), output);
  16701. }
  16702. // optional int32 baseline = 5;
  16703. if (has_baseline()) {
  16704. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->baseline(), output);
  16705. }
  16706. // optional int32 delta_from = 6;
  16707. if (has_delta_from()) {
  16708. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->delta_from(), output);
  16709. }
  16710. // optional bytes entity_data = 7;
  16711. if (has_entity_data()) {
  16712. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  16713. 7, this->entity_data(), output);
  16714. }
  16715. if (!unknown_fields().empty()) {
  16716. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16717. unknown_fields(), output);
  16718. }
  16719. }
  16720. ::google::protobuf::uint8* CSVCMsg_PacketEntities::SerializeWithCachedSizesToArray(
  16721. ::google::protobuf::uint8* target) const {
  16722. // optional int32 max_entries = 1;
  16723. if (has_max_entries()) {
  16724. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->max_entries(), target);
  16725. }
  16726. // optional int32 updated_entries = 2;
  16727. if (has_updated_entries()) {
  16728. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->updated_entries(), target);
  16729. }
  16730. // optional bool is_delta = 3;
  16731. if (has_is_delta()) {
  16732. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_delta(), target);
  16733. }
  16734. // optional bool update_baseline = 4;
  16735. if (has_update_baseline()) {
  16736. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->update_baseline(), target);
  16737. }
  16738. // optional int32 baseline = 5;
  16739. if (has_baseline()) {
  16740. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->baseline(), target);
  16741. }
  16742. // optional int32 delta_from = 6;
  16743. if (has_delta_from()) {
  16744. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->delta_from(), target);
  16745. }
  16746. // optional bytes entity_data = 7;
  16747. if (has_entity_data()) {
  16748. target =
  16749. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  16750. 7, this->entity_data(), target);
  16751. }
  16752. if (!unknown_fields().empty()) {
  16753. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16754. unknown_fields(), target);
  16755. }
  16756. return target;
  16757. }
  16758. int CSVCMsg_PacketEntities::ByteSize() const {
  16759. int total_size = 0;
  16760. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16761. // optional int32 max_entries = 1;
  16762. if (has_max_entries()) {
  16763. total_size += 1 +
  16764. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16765. this->max_entries());
  16766. }
  16767. // optional int32 updated_entries = 2;
  16768. if (has_updated_entries()) {
  16769. total_size += 1 +
  16770. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16771. this->updated_entries());
  16772. }
  16773. // optional bool is_delta = 3;
  16774. if (has_is_delta()) {
  16775. total_size += 1 + 1;
  16776. }
  16777. // optional bool update_baseline = 4;
  16778. if (has_update_baseline()) {
  16779. total_size += 1 + 1;
  16780. }
  16781. // optional int32 baseline = 5;
  16782. if (has_baseline()) {
  16783. total_size += 1 +
  16784. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16785. this->baseline());
  16786. }
  16787. // optional int32 delta_from = 6;
  16788. if (has_delta_from()) {
  16789. total_size += 1 +
  16790. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16791. this->delta_from());
  16792. }
  16793. // optional bytes entity_data = 7;
  16794. if (has_entity_data()) {
  16795. total_size += 1 +
  16796. ::google::protobuf::internal::WireFormatLite::BytesSize(
  16797. this->entity_data());
  16798. }
  16799. }
  16800. if (!unknown_fields().empty()) {
  16801. total_size +=
  16802. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16803. unknown_fields());
  16804. }
  16805. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16806. _cached_size_ = total_size;
  16807. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16808. return total_size;
  16809. }
  16810. void CSVCMsg_PacketEntities::MergeFrom(const ::google::protobuf::Message& from) {
  16811. GOOGLE_CHECK_NE(&from, this);
  16812. const CSVCMsg_PacketEntities* source =
  16813. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_PacketEntities*>(
  16814. &from);
  16815. if (source == NULL) {
  16816. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16817. } else {
  16818. MergeFrom(*source);
  16819. }
  16820. }
  16821. void CSVCMsg_PacketEntities::MergeFrom(const CSVCMsg_PacketEntities& from) {
  16822. GOOGLE_CHECK_NE(&from, this);
  16823. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16824. if (from.has_max_entries()) {
  16825. set_max_entries(from.max_entries());
  16826. }
  16827. if (from.has_updated_entries()) {
  16828. set_updated_entries(from.updated_entries());
  16829. }
  16830. if (from.has_is_delta()) {
  16831. set_is_delta(from.is_delta());
  16832. }
  16833. if (from.has_update_baseline()) {
  16834. set_update_baseline(from.update_baseline());
  16835. }
  16836. if (from.has_baseline()) {
  16837. set_baseline(from.baseline());
  16838. }
  16839. if (from.has_delta_from()) {
  16840. set_delta_from(from.delta_from());
  16841. }
  16842. if (from.has_entity_data()) {
  16843. set_entity_data(from.entity_data());
  16844. }
  16845. }
  16846. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16847. }
  16848. void CSVCMsg_PacketEntities::CopyFrom(const ::google::protobuf::Message& from) {
  16849. if (&from == this) return;
  16850. Clear();
  16851. MergeFrom(from);
  16852. }
  16853. void CSVCMsg_PacketEntities::CopyFrom(const CSVCMsg_PacketEntities& from) {
  16854. if (&from == this) return;
  16855. Clear();
  16856. MergeFrom(from);
  16857. }
  16858. bool CSVCMsg_PacketEntities::IsInitialized() const {
  16859. return true;
  16860. }
  16861. void CSVCMsg_PacketEntities::Swap(CSVCMsg_PacketEntities* other) {
  16862. if (other != this) {
  16863. std::swap(max_entries_, other->max_entries_);
  16864. std::swap(updated_entries_, other->updated_entries_);
  16865. std::swap(is_delta_, other->is_delta_);
  16866. std::swap(update_baseline_, other->update_baseline_);
  16867. std::swap(baseline_, other->baseline_);
  16868. std::swap(delta_from_, other->delta_from_);
  16869. std::swap(entity_data_, other->entity_data_);
  16870. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16871. _unknown_fields_.Swap(&other->_unknown_fields_);
  16872. std::swap(_cached_size_, other->_cached_size_);
  16873. }
  16874. }
  16875. ::google::protobuf::Metadata CSVCMsg_PacketEntities::GetMetadata() const {
  16876. protobuf_AssignDescriptorsOnce();
  16877. ::google::protobuf::Metadata metadata;
  16878. metadata.descriptor = CSVCMsg_PacketEntities_descriptor_;
  16879. metadata.reflection = CSVCMsg_PacketEntities_reflection_;
  16880. return metadata;
  16881. }
  16882. // ===================================================================
  16883. #ifndef _MSC_VER
  16884. const int CSVCMsg_Sounds_sounddata_t::kOriginXFieldNumber;
  16885. const int CSVCMsg_Sounds_sounddata_t::kOriginYFieldNumber;
  16886. const int CSVCMsg_Sounds_sounddata_t::kOriginZFieldNumber;
  16887. const int CSVCMsg_Sounds_sounddata_t::kVolumeFieldNumber;
  16888. const int CSVCMsg_Sounds_sounddata_t::kDelayValueFieldNumber;
  16889. const int CSVCMsg_Sounds_sounddata_t::kSequenceNumberFieldNumber;
  16890. const int CSVCMsg_Sounds_sounddata_t::kEntityIndexFieldNumber;
  16891. const int CSVCMsg_Sounds_sounddata_t::kChannelFieldNumber;
  16892. const int CSVCMsg_Sounds_sounddata_t::kPitchFieldNumber;
  16893. const int CSVCMsg_Sounds_sounddata_t::kFlagsFieldNumber;
  16894. const int CSVCMsg_Sounds_sounddata_t::kSoundNumFieldNumber;
  16895. const int CSVCMsg_Sounds_sounddata_t::kSoundNumHandleFieldNumber;
  16896. const int CSVCMsg_Sounds_sounddata_t::kSpeakerEntityFieldNumber;
  16897. const int CSVCMsg_Sounds_sounddata_t::kRandomSeedFieldNumber;
  16898. const int CSVCMsg_Sounds_sounddata_t::kSoundLevelFieldNumber;
  16899. const int CSVCMsg_Sounds_sounddata_t::kIsSentenceFieldNumber;
  16900. const int CSVCMsg_Sounds_sounddata_t::kIsAmbientFieldNumber;
  16901. #endif // !_MSC_VER
  16902. CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t()
  16903. : ::google::protobuf::Message() {
  16904. SharedCtor();
  16905. }
  16906. void CSVCMsg_Sounds_sounddata_t::InitAsDefaultInstance() {
  16907. }
  16908. CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from)
  16909. : ::google::protobuf::Message() {
  16910. SharedCtor();
  16911. MergeFrom(from);
  16912. }
  16913. void CSVCMsg_Sounds_sounddata_t::SharedCtor() {
  16914. _cached_size_ = 0;
  16915. origin_x_ = 0;
  16916. origin_y_ = 0;
  16917. origin_z_ = 0;
  16918. volume_ = 0u;
  16919. delay_value_ = 0;
  16920. sequence_number_ = 0;
  16921. entity_index_ = 0;
  16922. channel_ = 0;
  16923. pitch_ = 0;
  16924. flags_ = 0;
  16925. sound_num_ = 0u;
  16926. sound_num_handle_ = 0u;
  16927. speaker_entity_ = 0;
  16928. random_seed_ = 0;
  16929. sound_level_ = 0;
  16930. is_sentence_ = false;
  16931. is_ambient_ = false;
  16932. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16933. }
  16934. CSVCMsg_Sounds_sounddata_t::~CSVCMsg_Sounds_sounddata_t() {
  16935. SharedDtor();
  16936. }
  16937. void CSVCMsg_Sounds_sounddata_t::SharedDtor() {
  16938. if (this != default_instance_) {
  16939. }
  16940. }
  16941. void CSVCMsg_Sounds_sounddata_t::SetCachedSize(int size) const {
  16942. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16943. _cached_size_ = size;
  16944. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16945. }
  16946. const ::google::protobuf::Descriptor* CSVCMsg_Sounds_sounddata_t::descriptor() {
  16947. protobuf_AssignDescriptorsOnce();
  16948. return CSVCMsg_Sounds_sounddata_t_descriptor_;
  16949. }
  16950. const CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds_sounddata_t::default_instance() {
  16951. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  16952. return *default_instance_;
  16953. }
  16954. CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds_sounddata_t::default_instance_ = NULL;
  16955. CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds_sounddata_t::New() const {
  16956. return new CSVCMsg_Sounds_sounddata_t;
  16957. }
  16958. void CSVCMsg_Sounds_sounddata_t::Clear() {
  16959. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16960. origin_x_ = 0;
  16961. origin_y_ = 0;
  16962. origin_z_ = 0;
  16963. volume_ = 0u;
  16964. delay_value_ = 0;
  16965. sequence_number_ = 0;
  16966. entity_index_ = 0;
  16967. channel_ = 0;
  16968. }
  16969. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  16970. pitch_ = 0;
  16971. flags_ = 0;
  16972. sound_num_ = 0u;
  16973. sound_num_handle_ = 0u;
  16974. speaker_entity_ = 0;
  16975. random_seed_ = 0;
  16976. sound_level_ = 0;
  16977. is_sentence_ = false;
  16978. }
  16979. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  16980. is_ambient_ = false;
  16981. }
  16982. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16983. mutable_unknown_fields()->Clear();
  16984. }
  16985. bool CSVCMsg_Sounds_sounddata_t::MergePartialFromCodedStream(
  16986. ::google::protobuf::io::CodedInputStream* input) {
  16987. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16988. ::google::protobuf::uint32 tag;
  16989. while ((tag = input->ReadTag()) != 0) {
  16990. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16991. // optional sint32 origin_x = 1;
  16992. case 1: {
  16993. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16994. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16995. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16996. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>(
  16997. input, &origin_x_)));
  16998. set_has_origin_x();
  16999. } else {
  17000. goto handle_uninterpreted;
  17001. }
  17002. if (input->ExpectTag(16)) goto parse_origin_y;
  17003. break;
  17004. }
  17005. // optional sint32 origin_y = 2;
  17006. case 2: {
  17007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17009. parse_origin_y:
  17010. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17011. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>(
  17012. input, &origin_y_)));
  17013. set_has_origin_y();
  17014. } else {
  17015. goto handle_uninterpreted;
  17016. }
  17017. if (input->ExpectTag(24)) goto parse_origin_z;
  17018. break;
  17019. }
  17020. // optional sint32 origin_z = 3;
  17021. case 3: {
  17022. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17023. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17024. parse_origin_z:
  17025. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17026. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>(
  17027. input, &origin_z_)));
  17028. set_has_origin_z();
  17029. } else {
  17030. goto handle_uninterpreted;
  17031. }
  17032. if (input->ExpectTag(32)) goto parse_volume;
  17033. break;
  17034. }
  17035. // optional uint32 volume = 4;
  17036. case 4: {
  17037. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17038. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17039. parse_volume:
  17040. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17041. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17042. input, &volume_)));
  17043. set_has_volume();
  17044. } else {
  17045. goto handle_uninterpreted;
  17046. }
  17047. if (input->ExpectTag(45)) goto parse_delay_value;
  17048. break;
  17049. }
  17050. // optional float delay_value = 5;
  17051. case 5: {
  17052. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17053. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  17054. parse_delay_value:
  17055. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17056. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  17057. input, &delay_value_)));
  17058. set_has_delay_value();
  17059. } else {
  17060. goto handle_uninterpreted;
  17061. }
  17062. if (input->ExpectTag(48)) goto parse_sequence_number;
  17063. break;
  17064. }
  17065. // optional int32 sequence_number = 6;
  17066. case 6: {
  17067. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17068. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17069. parse_sequence_number:
  17070. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17071. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17072. input, &sequence_number_)));
  17073. set_has_sequence_number();
  17074. } else {
  17075. goto handle_uninterpreted;
  17076. }
  17077. if (input->ExpectTag(56)) goto parse_entity_index;
  17078. break;
  17079. }
  17080. // optional int32 entity_index = 7;
  17081. case 7: {
  17082. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17083. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17084. parse_entity_index:
  17085. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17086. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17087. input, &entity_index_)));
  17088. set_has_entity_index();
  17089. } else {
  17090. goto handle_uninterpreted;
  17091. }
  17092. if (input->ExpectTag(64)) goto parse_channel;
  17093. break;
  17094. }
  17095. // optional int32 channel = 8;
  17096. case 8: {
  17097. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17098. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17099. parse_channel:
  17100. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17101. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17102. input, &channel_)));
  17103. set_has_channel();
  17104. } else {
  17105. goto handle_uninterpreted;
  17106. }
  17107. if (input->ExpectTag(72)) goto parse_pitch;
  17108. break;
  17109. }
  17110. // optional int32 pitch = 9;
  17111. case 9: {
  17112. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17113. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17114. parse_pitch:
  17115. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17116. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17117. input, &pitch_)));
  17118. set_has_pitch();
  17119. } else {
  17120. goto handle_uninterpreted;
  17121. }
  17122. if (input->ExpectTag(80)) goto parse_flags;
  17123. break;
  17124. }
  17125. // optional int32 flags = 10;
  17126. case 10: {
  17127. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17128. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17129. parse_flags:
  17130. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17131. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17132. input, &flags_)));
  17133. set_has_flags();
  17134. } else {
  17135. goto handle_uninterpreted;
  17136. }
  17137. if (input->ExpectTag(88)) goto parse_sound_num;
  17138. break;
  17139. }
  17140. // optional uint32 sound_num = 11;
  17141. case 11: {
  17142. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17143. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17144. parse_sound_num:
  17145. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17146. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17147. input, &sound_num_)));
  17148. set_has_sound_num();
  17149. } else {
  17150. goto handle_uninterpreted;
  17151. }
  17152. if (input->ExpectTag(101)) goto parse_sound_num_handle;
  17153. break;
  17154. }
  17155. // optional fixed32 sound_num_handle = 12;
  17156. case 12: {
  17157. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17158. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  17159. parse_sound_num_handle:
  17160. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17161. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  17162. input, &sound_num_handle_)));
  17163. set_has_sound_num_handle();
  17164. } else {
  17165. goto handle_uninterpreted;
  17166. }
  17167. if (input->ExpectTag(104)) goto parse_speaker_entity;
  17168. break;
  17169. }
  17170. // optional int32 speaker_entity = 13;
  17171. case 13: {
  17172. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17173. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17174. parse_speaker_entity:
  17175. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17176. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17177. input, &speaker_entity_)));
  17178. set_has_speaker_entity();
  17179. } else {
  17180. goto handle_uninterpreted;
  17181. }
  17182. if (input->ExpectTag(112)) goto parse_random_seed;
  17183. break;
  17184. }
  17185. // optional int32 random_seed = 14;
  17186. case 14: {
  17187. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17188. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17189. parse_random_seed:
  17190. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17191. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17192. input, &random_seed_)));
  17193. set_has_random_seed();
  17194. } else {
  17195. goto handle_uninterpreted;
  17196. }
  17197. if (input->ExpectTag(120)) goto parse_sound_level;
  17198. break;
  17199. }
  17200. // optional int32 sound_level = 15;
  17201. case 15: {
  17202. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17203. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17204. parse_sound_level:
  17205. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17206. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17207. input, &sound_level_)));
  17208. set_has_sound_level();
  17209. } else {
  17210. goto handle_uninterpreted;
  17211. }
  17212. if (input->ExpectTag(128)) goto parse_is_sentence;
  17213. break;
  17214. }
  17215. // optional bool is_sentence = 16;
  17216. case 16: {
  17217. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17218. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17219. parse_is_sentence:
  17220. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17221. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17222. input, &is_sentence_)));
  17223. set_has_is_sentence();
  17224. } else {
  17225. goto handle_uninterpreted;
  17226. }
  17227. if (input->ExpectTag(136)) goto parse_is_ambient;
  17228. break;
  17229. }
  17230. // optional bool is_ambient = 17;
  17231. case 17: {
  17232. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17233. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17234. parse_is_ambient:
  17235. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17236. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17237. input, &is_ambient_)));
  17238. set_has_is_ambient();
  17239. } else {
  17240. goto handle_uninterpreted;
  17241. }
  17242. if (input->ExpectAtEnd()) return true;
  17243. break;
  17244. }
  17245. default: {
  17246. handle_uninterpreted:
  17247. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17248. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17249. return true;
  17250. }
  17251. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17252. input, tag, mutable_unknown_fields()));
  17253. break;
  17254. }
  17255. }
  17256. }
  17257. return true;
  17258. #undef DO_
  17259. }
  17260. void CSVCMsg_Sounds_sounddata_t::SerializeWithCachedSizes(
  17261. ::google::protobuf::io::CodedOutputStream* output) const {
  17262. // optional sint32 origin_x = 1;
  17263. if (has_origin_x()) {
  17264. ::google::protobuf::internal::WireFormatLite::WriteSInt32(1, this->origin_x(), output);
  17265. }
  17266. // optional sint32 origin_y = 2;
  17267. if (has_origin_y()) {
  17268. ::google::protobuf::internal::WireFormatLite::WriteSInt32(2, this->origin_y(), output);
  17269. }
  17270. // optional sint32 origin_z = 3;
  17271. if (has_origin_z()) {
  17272. ::google::protobuf::internal::WireFormatLite::WriteSInt32(3, this->origin_z(), output);
  17273. }
  17274. // optional uint32 volume = 4;
  17275. if (has_volume()) {
  17276. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->volume(), output);
  17277. }
  17278. // optional float delay_value = 5;
  17279. if (has_delay_value()) {
  17280. ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->delay_value(), output);
  17281. }
  17282. // optional int32 sequence_number = 6;
  17283. if (has_sequence_number()) {
  17284. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->sequence_number(), output);
  17285. }
  17286. // optional int32 entity_index = 7;
  17287. if (has_entity_index()) {
  17288. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->entity_index(), output);
  17289. }
  17290. // optional int32 channel = 8;
  17291. if (has_channel()) {
  17292. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->channel(), output);
  17293. }
  17294. // optional int32 pitch = 9;
  17295. if (has_pitch()) {
  17296. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->pitch(), output);
  17297. }
  17298. // optional int32 flags = 10;
  17299. if (has_flags()) {
  17300. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->flags(), output);
  17301. }
  17302. // optional uint32 sound_num = 11;
  17303. if (has_sound_num()) {
  17304. ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->sound_num(), output);
  17305. }
  17306. // optional fixed32 sound_num_handle = 12;
  17307. if (has_sound_num_handle()) {
  17308. ::google::protobuf::internal::WireFormatLite::WriteFixed32(12, this->sound_num_handle(), output);
  17309. }
  17310. // optional int32 speaker_entity = 13;
  17311. if (has_speaker_entity()) {
  17312. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->speaker_entity(), output);
  17313. }
  17314. // optional int32 random_seed = 14;
  17315. if (has_random_seed()) {
  17316. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->random_seed(), output);
  17317. }
  17318. // optional int32 sound_level = 15;
  17319. if (has_sound_level()) {
  17320. ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->sound_level(), output);
  17321. }
  17322. // optional bool is_sentence = 16;
  17323. if (has_is_sentence()) {
  17324. ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_sentence(), output);
  17325. }
  17326. // optional bool is_ambient = 17;
  17327. if (has_is_ambient()) {
  17328. ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->is_ambient(), output);
  17329. }
  17330. if (!unknown_fields().empty()) {
  17331. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17332. unknown_fields(), output);
  17333. }
  17334. }
  17335. ::google::protobuf::uint8* CSVCMsg_Sounds_sounddata_t::SerializeWithCachedSizesToArray(
  17336. ::google::protobuf::uint8* target) const {
  17337. // optional sint32 origin_x = 1;
  17338. if (has_origin_x()) {
  17339. target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(1, this->origin_x(), target);
  17340. }
  17341. // optional sint32 origin_y = 2;
  17342. if (has_origin_y()) {
  17343. target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(2, this->origin_y(), target);
  17344. }
  17345. // optional sint32 origin_z = 3;
  17346. if (has_origin_z()) {
  17347. target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(3, this->origin_z(), target);
  17348. }
  17349. // optional uint32 volume = 4;
  17350. if (has_volume()) {
  17351. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->volume(), target);
  17352. }
  17353. // optional float delay_value = 5;
  17354. if (has_delay_value()) {
  17355. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->delay_value(), target);
  17356. }
  17357. // optional int32 sequence_number = 6;
  17358. if (has_sequence_number()) {
  17359. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->sequence_number(), target);
  17360. }
  17361. // optional int32 entity_index = 7;
  17362. if (has_entity_index()) {
  17363. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->entity_index(), target);
  17364. }
  17365. // optional int32 channel = 8;
  17366. if (has_channel()) {
  17367. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->channel(), target);
  17368. }
  17369. // optional int32 pitch = 9;
  17370. if (has_pitch()) {
  17371. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->pitch(), target);
  17372. }
  17373. // optional int32 flags = 10;
  17374. if (has_flags()) {
  17375. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->flags(), target);
  17376. }
  17377. // optional uint32 sound_num = 11;
  17378. if (has_sound_num()) {
  17379. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(11, this->sound_num(), target);
  17380. }
  17381. // optional fixed32 sound_num_handle = 12;
  17382. if (has_sound_num_handle()) {
  17383. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(12, this->sound_num_handle(), target);
  17384. }
  17385. // optional int32 speaker_entity = 13;
  17386. if (has_speaker_entity()) {
  17387. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->speaker_entity(), target);
  17388. }
  17389. // optional int32 random_seed = 14;
  17390. if (has_random_seed()) {
  17391. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->random_seed(), target);
  17392. }
  17393. // optional int32 sound_level = 15;
  17394. if (has_sound_level()) {
  17395. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->sound_level(), target);
  17396. }
  17397. // optional bool is_sentence = 16;
  17398. if (has_is_sentence()) {
  17399. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_sentence(), target);
  17400. }
  17401. // optional bool is_ambient = 17;
  17402. if (has_is_ambient()) {
  17403. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->is_ambient(), target);
  17404. }
  17405. if (!unknown_fields().empty()) {
  17406. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17407. unknown_fields(), target);
  17408. }
  17409. return target;
  17410. }
  17411. int CSVCMsg_Sounds_sounddata_t::ByteSize() const {
  17412. int total_size = 0;
  17413. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17414. // optional sint32 origin_x = 1;
  17415. if (has_origin_x()) {
  17416. total_size += 1 +
  17417. ::google::protobuf::internal::WireFormatLite::SInt32Size(
  17418. this->origin_x());
  17419. }
  17420. // optional sint32 origin_y = 2;
  17421. if (has_origin_y()) {
  17422. total_size += 1 +
  17423. ::google::protobuf::internal::WireFormatLite::SInt32Size(
  17424. this->origin_y());
  17425. }
  17426. // optional sint32 origin_z = 3;
  17427. if (has_origin_z()) {
  17428. total_size += 1 +
  17429. ::google::protobuf::internal::WireFormatLite::SInt32Size(
  17430. this->origin_z());
  17431. }
  17432. // optional uint32 volume = 4;
  17433. if (has_volume()) {
  17434. total_size += 1 +
  17435. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  17436. this->volume());
  17437. }
  17438. // optional float delay_value = 5;
  17439. if (has_delay_value()) {
  17440. total_size += 1 + 4;
  17441. }
  17442. // optional int32 sequence_number = 6;
  17443. if (has_sequence_number()) {
  17444. total_size += 1 +
  17445. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17446. this->sequence_number());
  17447. }
  17448. // optional int32 entity_index = 7;
  17449. if (has_entity_index()) {
  17450. total_size += 1 +
  17451. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17452. this->entity_index());
  17453. }
  17454. // optional int32 channel = 8;
  17455. if (has_channel()) {
  17456. total_size += 1 +
  17457. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17458. this->channel());
  17459. }
  17460. }
  17461. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  17462. // optional int32 pitch = 9;
  17463. if (has_pitch()) {
  17464. total_size += 1 +
  17465. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17466. this->pitch());
  17467. }
  17468. // optional int32 flags = 10;
  17469. if (has_flags()) {
  17470. total_size += 1 +
  17471. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17472. this->flags());
  17473. }
  17474. // optional uint32 sound_num = 11;
  17475. if (has_sound_num()) {
  17476. total_size += 1 +
  17477. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  17478. this->sound_num());
  17479. }
  17480. // optional fixed32 sound_num_handle = 12;
  17481. if (has_sound_num_handle()) {
  17482. total_size += 1 + 4;
  17483. }
  17484. // optional int32 speaker_entity = 13;
  17485. if (has_speaker_entity()) {
  17486. total_size += 1 +
  17487. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17488. this->speaker_entity());
  17489. }
  17490. // optional int32 random_seed = 14;
  17491. if (has_random_seed()) {
  17492. total_size += 1 +
  17493. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17494. this->random_seed());
  17495. }
  17496. // optional int32 sound_level = 15;
  17497. if (has_sound_level()) {
  17498. total_size += 1 +
  17499. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17500. this->sound_level());
  17501. }
  17502. // optional bool is_sentence = 16;
  17503. if (has_is_sentence()) {
  17504. total_size += 2 + 1;
  17505. }
  17506. }
  17507. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  17508. // optional bool is_ambient = 17;
  17509. if (has_is_ambient()) {
  17510. total_size += 2 + 1;
  17511. }
  17512. }
  17513. if (!unknown_fields().empty()) {
  17514. total_size +=
  17515. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17516. unknown_fields());
  17517. }
  17518. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17519. _cached_size_ = total_size;
  17520. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17521. return total_size;
  17522. }
  17523. void CSVCMsg_Sounds_sounddata_t::MergeFrom(const ::google::protobuf::Message& from) {
  17524. GOOGLE_CHECK_NE(&from, this);
  17525. const CSVCMsg_Sounds_sounddata_t* source =
  17526. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_Sounds_sounddata_t*>(
  17527. &from);
  17528. if (source == NULL) {
  17529. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17530. } else {
  17531. MergeFrom(*source);
  17532. }
  17533. }
  17534. void CSVCMsg_Sounds_sounddata_t::MergeFrom(const CSVCMsg_Sounds_sounddata_t& from) {
  17535. GOOGLE_CHECK_NE(&from, this);
  17536. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17537. if (from.has_origin_x()) {
  17538. set_origin_x(from.origin_x());
  17539. }
  17540. if (from.has_origin_y()) {
  17541. set_origin_y(from.origin_y());
  17542. }
  17543. if (from.has_origin_z()) {
  17544. set_origin_z(from.origin_z());
  17545. }
  17546. if (from.has_volume()) {
  17547. set_volume(from.volume());
  17548. }
  17549. if (from.has_delay_value()) {
  17550. set_delay_value(from.delay_value());
  17551. }
  17552. if (from.has_sequence_number()) {
  17553. set_sequence_number(from.sequence_number());
  17554. }
  17555. if (from.has_entity_index()) {
  17556. set_entity_index(from.entity_index());
  17557. }
  17558. if (from.has_channel()) {
  17559. set_channel(from.channel());
  17560. }
  17561. }
  17562. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  17563. if (from.has_pitch()) {
  17564. set_pitch(from.pitch());
  17565. }
  17566. if (from.has_flags()) {
  17567. set_flags(from.flags());
  17568. }
  17569. if (from.has_sound_num()) {
  17570. set_sound_num(from.sound_num());
  17571. }
  17572. if (from.has_sound_num_handle()) {
  17573. set_sound_num_handle(from.sound_num_handle());
  17574. }
  17575. if (from.has_speaker_entity()) {
  17576. set_speaker_entity(from.speaker_entity());
  17577. }
  17578. if (from.has_random_seed()) {
  17579. set_random_seed(from.random_seed());
  17580. }
  17581. if (from.has_sound_level()) {
  17582. set_sound_level(from.sound_level());
  17583. }
  17584. if (from.has_is_sentence()) {
  17585. set_is_sentence(from.is_sentence());
  17586. }
  17587. }
  17588. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  17589. if (from.has_is_ambient()) {
  17590. set_is_ambient(from.is_ambient());
  17591. }
  17592. }
  17593. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17594. }
  17595. void CSVCMsg_Sounds_sounddata_t::CopyFrom(const ::google::protobuf::Message& from) {
  17596. if (&from == this) return;
  17597. Clear();
  17598. MergeFrom(from);
  17599. }
  17600. void CSVCMsg_Sounds_sounddata_t::CopyFrom(const CSVCMsg_Sounds_sounddata_t& from) {
  17601. if (&from == this) return;
  17602. Clear();
  17603. MergeFrom(from);
  17604. }
  17605. bool CSVCMsg_Sounds_sounddata_t::IsInitialized() const {
  17606. return true;
  17607. }
  17608. void CSVCMsg_Sounds_sounddata_t::Swap(CSVCMsg_Sounds_sounddata_t* other) {
  17609. if (other != this) {
  17610. std::swap(origin_x_, other->origin_x_);
  17611. std::swap(origin_y_, other->origin_y_);
  17612. std::swap(origin_z_, other->origin_z_);
  17613. std::swap(volume_, other->volume_);
  17614. std::swap(delay_value_, other->delay_value_);
  17615. std::swap(sequence_number_, other->sequence_number_);
  17616. std::swap(entity_index_, other->entity_index_);
  17617. std::swap(channel_, other->channel_);
  17618. std::swap(pitch_, other->pitch_);
  17619. std::swap(flags_, other->flags_);
  17620. std::swap(sound_num_, other->sound_num_);
  17621. std::swap(sound_num_handle_, other->sound_num_handle_);
  17622. std::swap(speaker_entity_, other->speaker_entity_);
  17623. std::swap(random_seed_, other->random_seed_);
  17624. std::swap(sound_level_, other->sound_level_);
  17625. std::swap(is_sentence_, other->is_sentence_);
  17626. std::swap(is_ambient_, other->is_ambient_);
  17627. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17628. _unknown_fields_.Swap(&other->_unknown_fields_);
  17629. std::swap(_cached_size_, other->_cached_size_);
  17630. }
  17631. }
  17632. ::google::protobuf::Metadata CSVCMsg_Sounds_sounddata_t::GetMetadata() const {
  17633. protobuf_AssignDescriptorsOnce();
  17634. ::google::protobuf::Metadata metadata;
  17635. metadata.descriptor = CSVCMsg_Sounds_sounddata_t_descriptor_;
  17636. metadata.reflection = CSVCMsg_Sounds_sounddata_t_reflection_;
  17637. return metadata;
  17638. }
  17639. // -------------------------------------------------------------------
  17640. #ifndef _MSC_VER
  17641. const int CSVCMsg_Sounds::kReliableSoundFieldNumber;
  17642. const int CSVCMsg_Sounds::kSoundsFieldNumber;
  17643. #endif // !_MSC_VER
  17644. CSVCMsg_Sounds::CSVCMsg_Sounds()
  17645. : ::google::protobuf::Message() {
  17646. SharedCtor();
  17647. }
  17648. void CSVCMsg_Sounds::InitAsDefaultInstance() {
  17649. }
  17650. CSVCMsg_Sounds::CSVCMsg_Sounds(const CSVCMsg_Sounds& from)
  17651. : ::google::protobuf::Message() {
  17652. SharedCtor();
  17653. MergeFrom(from);
  17654. }
  17655. void CSVCMsg_Sounds::SharedCtor() {
  17656. _cached_size_ = 0;
  17657. reliable_sound_ = false;
  17658. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17659. }
  17660. CSVCMsg_Sounds::~CSVCMsg_Sounds() {
  17661. SharedDtor();
  17662. }
  17663. void CSVCMsg_Sounds::SharedDtor() {
  17664. if (this != default_instance_) {
  17665. }
  17666. }
  17667. void CSVCMsg_Sounds::SetCachedSize(int size) const {
  17668. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17669. _cached_size_ = size;
  17670. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17671. }
  17672. const ::google::protobuf::Descriptor* CSVCMsg_Sounds::descriptor() {
  17673. protobuf_AssignDescriptorsOnce();
  17674. return CSVCMsg_Sounds_descriptor_;
  17675. }
  17676. const CSVCMsg_Sounds& CSVCMsg_Sounds::default_instance() {
  17677. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  17678. return *default_instance_;
  17679. }
  17680. CSVCMsg_Sounds* CSVCMsg_Sounds::default_instance_ = NULL;
  17681. CSVCMsg_Sounds* CSVCMsg_Sounds::New() const {
  17682. return new CSVCMsg_Sounds;
  17683. }
  17684. void CSVCMsg_Sounds::Clear() {
  17685. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17686. reliable_sound_ = false;
  17687. }
  17688. sounds_.Clear();
  17689. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17690. mutable_unknown_fields()->Clear();
  17691. }
  17692. bool CSVCMsg_Sounds::MergePartialFromCodedStream(
  17693. ::google::protobuf::io::CodedInputStream* input) {
  17694. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17695. ::google::protobuf::uint32 tag;
  17696. while ((tag = input->ReadTag()) != 0) {
  17697. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17698. // optional bool reliable_sound = 1;
  17699. case 1: {
  17700. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17701. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17702. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17703. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17704. input, &reliable_sound_)));
  17705. set_has_reliable_sound();
  17706. } else {
  17707. goto handle_uninterpreted;
  17708. }
  17709. if (input->ExpectTag(18)) goto parse_sounds;
  17710. break;
  17711. }
  17712. // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
  17713. case 2: {
  17714. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17715. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17716. parse_sounds:
  17717. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  17718. input, add_sounds()));
  17719. } else {
  17720. goto handle_uninterpreted;
  17721. }
  17722. if (input->ExpectTag(18)) goto parse_sounds;
  17723. if (input->ExpectAtEnd()) return true;
  17724. break;
  17725. }
  17726. default: {
  17727. handle_uninterpreted:
  17728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17730. return true;
  17731. }
  17732. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17733. input, tag, mutable_unknown_fields()));
  17734. break;
  17735. }
  17736. }
  17737. }
  17738. return true;
  17739. #undef DO_
  17740. }
  17741. void CSVCMsg_Sounds::SerializeWithCachedSizes(
  17742. ::google::protobuf::io::CodedOutputStream* output) const {
  17743. // optional bool reliable_sound = 1;
  17744. if (has_reliable_sound()) {
  17745. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reliable_sound(), output);
  17746. }
  17747. // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
  17748. for (int i = 0; i < this->sounds_size(); i++) {
  17749. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  17750. 2, this->sounds(i), output);
  17751. }
  17752. if (!unknown_fields().empty()) {
  17753. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17754. unknown_fields(), output);
  17755. }
  17756. }
  17757. ::google::protobuf::uint8* CSVCMsg_Sounds::SerializeWithCachedSizesToArray(
  17758. ::google::protobuf::uint8* target) const {
  17759. // optional bool reliable_sound = 1;
  17760. if (has_reliable_sound()) {
  17761. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->reliable_sound(), target);
  17762. }
  17763. // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
  17764. for (int i = 0; i < this->sounds_size(); i++) {
  17765. target = ::google::protobuf::internal::WireFormatLite::
  17766. WriteMessageNoVirtualToArray(
  17767. 2, this->sounds(i), target);
  17768. }
  17769. if (!unknown_fields().empty()) {
  17770. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17771. unknown_fields(), target);
  17772. }
  17773. return target;
  17774. }
  17775. int CSVCMsg_Sounds::ByteSize() const {
  17776. int total_size = 0;
  17777. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17778. // optional bool reliable_sound = 1;
  17779. if (has_reliable_sound()) {
  17780. total_size += 1 + 1;
  17781. }
  17782. }
  17783. // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
  17784. total_size += 1 * this->sounds_size();
  17785. for (int i = 0; i < this->sounds_size(); i++) {
  17786. total_size +=
  17787. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  17788. this->sounds(i));
  17789. }
  17790. if (!unknown_fields().empty()) {
  17791. total_size +=
  17792. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17793. unknown_fields());
  17794. }
  17795. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17796. _cached_size_ = total_size;
  17797. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17798. return total_size;
  17799. }
  17800. void CSVCMsg_Sounds::MergeFrom(const ::google::protobuf::Message& from) {
  17801. GOOGLE_CHECK_NE(&from, this);
  17802. const CSVCMsg_Sounds* source =
  17803. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_Sounds*>(
  17804. &from);
  17805. if (source == NULL) {
  17806. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17807. } else {
  17808. MergeFrom(*source);
  17809. }
  17810. }
  17811. void CSVCMsg_Sounds::MergeFrom(const CSVCMsg_Sounds& from) {
  17812. GOOGLE_CHECK_NE(&from, this);
  17813. sounds_.MergeFrom(from.sounds_);
  17814. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17815. if (from.has_reliable_sound()) {
  17816. set_reliable_sound(from.reliable_sound());
  17817. }
  17818. }
  17819. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17820. }
  17821. void CSVCMsg_Sounds::CopyFrom(const ::google::protobuf::Message& from) {
  17822. if (&from == this) return;
  17823. Clear();
  17824. MergeFrom(from);
  17825. }
  17826. void CSVCMsg_Sounds::CopyFrom(const CSVCMsg_Sounds& from) {
  17827. if (&from == this) return;
  17828. Clear();
  17829. MergeFrom(from);
  17830. }
  17831. bool CSVCMsg_Sounds::IsInitialized() const {
  17832. return true;
  17833. }
  17834. void CSVCMsg_Sounds::Swap(CSVCMsg_Sounds* other) {
  17835. if (other != this) {
  17836. std::swap(reliable_sound_, other->reliable_sound_);
  17837. sounds_.Swap(&other->sounds_);
  17838. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17839. _unknown_fields_.Swap(&other->_unknown_fields_);
  17840. std::swap(_cached_size_, other->_cached_size_);
  17841. }
  17842. }
  17843. ::google::protobuf::Metadata CSVCMsg_Sounds::GetMetadata() const {
  17844. protobuf_AssignDescriptorsOnce();
  17845. ::google::protobuf::Metadata metadata;
  17846. metadata.descriptor = CSVCMsg_Sounds_descriptor_;
  17847. metadata.reflection = CSVCMsg_Sounds_reflection_;
  17848. return metadata;
  17849. }
  17850. // ===================================================================
  17851. #ifndef _MSC_VER
  17852. const int CSVCMsg_EntityMsg::kEntIndexFieldNumber;
  17853. const int CSVCMsg_EntityMsg::kClassIdFieldNumber;
  17854. const int CSVCMsg_EntityMsg::kEntDataFieldNumber;
  17855. #endif // !_MSC_VER
  17856. CSVCMsg_EntityMsg::CSVCMsg_EntityMsg()
  17857. : ::google::protobuf::Message() {
  17858. SharedCtor();
  17859. }
  17860. void CSVCMsg_EntityMsg::InitAsDefaultInstance() {
  17861. }
  17862. CSVCMsg_EntityMsg::CSVCMsg_EntityMsg(const CSVCMsg_EntityMsg& from)
  17863. : ::google::protobuf::Message() {
  17864. SharedCtor();
  17865. MergeFrom(from);
  17866. }
  17867. void CSVCMsg_EntityMsg::SharedCtor() {
  17868. _cached_size_ = 0;
  17869. ent_index_ = 0;
  17870. class_id_ = 0;
  17871. ent_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  17872. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17873. }
  17874. CSVCMsg_EntityMsg::~CSVCMsg_EntityMsg() {
  17875. SharedDtor();
  17876. }
  17877. void CSVCMsg_EntityMsg::SharedDtor() {
  17878. if (ent_data_ != &::google::protobuf::internal::kEmptyString) {
  17879. delete ent_data_;
  17880. }
  17881. if (this != default_instance_) {
  17882. }
  17883. }
  17884. void CSVCMsg_EntityMsg::SetCachedSize(int size) const {
  17885. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17886. _cached_size_ = size;
  17887. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17888. }
  17889. const ::google::protobuf::Descriptor* CSVCMsg_EntityMsg::descriptor() {
  17890. protobuf_AssignDescriptorsOnce();
  17891. return CSVCMsg_EntityMsg_descriptor_;
  17892. }
  17893. const CSVCMsg_EntityMsg& CSVCMsg_EntityMsg::default_instance() {
  17894. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  17895. return *default_instance_;
  17896. }
  17897. CSVCMsg_EntityMsg* CSVCMsg_EntityMsg::default_instance_ = NULL;
  17898. CSVCMsg_EntityMsg* CSVCMsg_EntityMsg::New() const {
  17899. return new CSVCMsg_EntityMsg;
  17900. }
  17901. void CSVCMsg_EntityMsg::Clear() {
  17902. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17903. ent_index_ = 0;
  17904. class_id_ = 0;
  17905. if (has_ent_data()) {
  17906. if (ent_data_ != &::google::protobuf::internal::kEmptyString) {
  17907. ent_data_->clear();
  17908. }
  17909. }
  17910. }
  17911. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17912. mutable_unknown_fields()->Clear();
  17913. }
  17914. bool CSVCMsg_EntityMsg::MergePartialFromCodedStream(
  17915. ::google::protobuf::io::CodedInputStream* input) {
  17916. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17917. ::google::protobuf::uint32 tag;
  17918. while ((tag = input->ReadTag()) != 0) {
  17919. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17920. // optional int32 ent_index = 1;
  17921. case 1: {
  17922. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17923. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17924. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17925. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17926. input, &ent_index_)));
  17927. set_has_ent_index();
  17928. } else {
  17929. goto handle_uninterpreted;
  17930. }
  17931. if (input->ExpectTag(16)) goto parse_class_id;
  17932. break;
  17933. }
  17934. // optional int32 class_id = 2;
  17935. case 2: {
  17936. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17937. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17938. parse_class_id:
  17939. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17940. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17941. input, &class_id_)));
  17942. set_has_class_id();
  17943. } else {
  17944. goto handle_uninterpreted;
  17945. }
  17946. if (input->ExpectTag(26)) goto parse_ent_data;
  17947. break;
  17948. }
  17949. // optional bytes ent_data = 3;
  17950. case 3: {
  17951. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17952. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17953. parse_ent_data:
  17954. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  17955. input, this->mutable_ent_data()));
  17956. } else {
  17957. goto handle_uninterpreted;
  17958. }
  17959. if (input->ExpectAtEnd()) return true;
  17960. break;
  17961. }
  17962. default: {
  17963. handle_uninterpreted:
  17964. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17965. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17966. return true;
  17967. }
  17968. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17969. input, tag, mutable_unknown_fields()));
  17970. break;
  17971. }
  17972. }
  17973. }
  17974. return true;
  17975. #undef DO_
  17976. }
  17977. void CSVCMsg_EntityMsg::SerializeWithCachedSizes(
  17978. ::google::protobuf::io::CodedOutputStream* output) const {
  17979. // optional int32 ent_index = 1;
  17980. if (has_ent_index()) {
  17981. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ent_index(), output);
  17982. }
  17983. // optional int32 class_id = 2;
  17984. if (has_class_id()) {
  17985. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->class_id(), output);
  17986. }
  17987. // optional bytes ent_data = 3;
  17988. if (has_ent_data()) {
  17989. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  17990. 3, this->ent_data(), output);
  17991. }
  17992. if (!unknown_fields().empty()) {
  17993. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17994. unknown_fields(), output);
  17995. }
  17996. }
  17997. ::google::protobuf::uint8* CSVCMsg_EntityMsg::SerializeWithCachedSizesToArray(
  17998. ::google::protobuf::uint8* target) const {
  17999. // optional int32 ent_index = 1;
  18000. if (has_ent_index()) {
  18001. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ent_index(), target);
  18002. }
  18003. // optional int32 class_id = 2;
  18004. if (has_class_id()) {
  18005. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->class_id(), target);
  18006. }
  18007. // optional bytes ent_data = 3;
  18008. if (has_ent_data()) {
  18009. target =
  18010. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  18011. 3, this->ent_data(), target);
  18012. }
  18013. if (!unknown_fields().empty()) {
  18014. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18015. unknown_fields(), target);
  18016. }
  18017. return target;
  18018. }
  18019. int CSVCMsg_EntityMsg::ByteSize() const {
  18020. int total_size = 0;
  18021. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18022. // optional int32 ent_index = 1;
  18023. if (has_ent_index()) {
  18024. total_size += 1 +
  18025. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18026. this->ent_index());
  18027. }
  18028. // optional int32 class_id = 2;
  18029. if (has_class_id()) {
  18030. total_size += 1 +
  18031. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18032. this->class_id());
  18033. }
  18034. // optional bytes ent_data = 3;
  18035. if (has_ent_data()) {
  18036. total_size += 1 +
  18037. ::google::protobuf::internal::WireFormatLite::BytesSize(
  18038. this->ent_data());
  18039. }
  18040. }
  18041. if (!unknown_fields().empty()) {
  18042. total_size +=
  18043. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18044. unknown_fields());
  18045. }
  18046. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18047. _cached_size_ = total_size;
  18048. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18049. return total_size;
  18050. }
  18051. void CSVCMsg_EntityMsg::MergeFrom(const ::google::protobuf::Message& from) {
  18052. GOOGLE_CHECK_NE(&from, this);
  18053. const CSVCMsg_EntityMsg* source =
  18054. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_EntityMsg*>(
  18055. &from);
  18056. if (source == NULL) {
  18057. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18058. } else {
  18059. MergeFrom(*source);
  18060. }
  18061. }
  18062. void CSVCMsg_EntityMsg::MergeFrom(const CSVCMsg_EntityMsg& from) {
  18063. GOOGLE_CHECK_NE(&from, this);
  18064. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18065. if (from.has_ent_index()) {
  18066. set_ent_index(from.ent_index());
  18067. }
  18068. if (from.has_class_id()) {
  18069. set_class_id(from.class_id());
  18070. }
  18071. if (from.has_ent_data()) {
  18072. set_ent_data(from.ent_data());
  18073. }
  18074. }
  18075. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18076. }
  18077. void CSVCMsg_EntityMsg::CopyFrom(const ::google::protobuf::Message& from) {
  18078. if (&from == this) return;
  18079. Clear();
  18080. MergeFrom(from);
  18081. }
  18082. void CSVCMsg_EntityMsg::CopyFrom(const CSVCMsg_EntityMsg& from) {
  18083. if (&from == this) return;
  18084. Clear();
  18085. MergeFrom(from);
  18086. }
  18087. bool CSVCMsg_EntityMsg::IsInitialized() const {
  18088. return true;
  18089. }
  18090. void CSVCMsg_EntityMsg::Swap(CSVCMsg_EntityMsg* other) {
  18091. if (other != this) {
  18092. std::swap(ent_index_, other->ent_index_);
  18093. std::swap(class_id_, other->class_id_);
  18094. std::swap(ent_data_, other->ent_data_);
  18095. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18096. _unknown_fields_.Swap(&other->_unknown_fields_);
  18097. std::swap(_cached_size_, other->_cached_size_);
  18098. }
  18099. }
  18100. ::google::protobuf::Metadata CSVCMsg_EntityMsg::GetMetadata() const {
  18101. protobuf_AssignDescriptorsOnce();
  18102. ::google::protobuf::Metadata metadata;
  18103. metadata.descriptor = CSVCMsg_EntityMsg_descriptor_;
  18104. metadata.reflection = CSVCMsg_EntityMsg_reflection_;
  18105. return metadata;
  18106. }
  18107. // ===================================================================
  18108. #ifndef _MSC_VER
  18109. const int CSVCMsg_CmdKeyValues::kKeyvaluesFieldNumber;
  18110. #endif // !_MSC_VER
  18111. CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues()
  18112. : ::google::protobuf::Message() {
  18113. SharedCtor();
  18114. }
  18115. void CSVCMsg_CmdKeyValues::InitAsDefaultInstance() {
  18116. }
  18117. CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from)
  18118. : ::google::protobuf::Message() {
  18119. SharedCtor();
  18120. MergeFrom(from);
  18121. }
  18122. void CSVCMsg_CmdKeyValues::SharedCtor() {
  18123. _cached_size_ = 0;
  18124. keyvalues_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18125. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18126. }
  18127. CSVCMsg_CmdKeyValues::~CSVCMsg_CmdKeyValues() {
  18128. SharedDtor();
  18129. }
  18130. void CSVCMsg_CmdKeyValues::SharedDtor() {
  18131. if (keyvalues_ != &::google::protobuf::internal::kEmptyString) {
  18132. delete keyvalues_;
  18133. }
  18134. if (this != default_instance_) {
  18135. }
  18136. }
  18137. void CSVCMsg_CmdKeyValues::SetCachedSize(int size) const {
  18138. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18139. _cached_size_ = size;
  18140. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18141. }
  18142. const ::google::protobuf::Descriptor* CSVCMsg_CmdKeyValues::descriptor() {
  18143. protobuf_AssignDescriptorsOnce();
  18144. return CSVCMsg_CmdKeyValues_descriptor_;
  18145. }
  18146. const CSVCMsg_CmdKeyValues& CSVCMsg_CmdKeyValues::default_instance() {
  18147. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  18148. return *default_instance_;
  18149. }
  18150. CSVCMsg_CmdKeyValues* CSVCMsg_CmdKeyValues::default_instance_ = NULL;
  18151. CSVCMsg_CmdKeyValues* CSVCMsg_CmdKeyValues::New() const {
  18152. return new CSVCMsg_CmdKeyValues;
  18153. }
  18154. void CSVCMsg_CmdKeyValues::Clear() {
  18155. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18156. if (has_keyvalues()) {
  18157. if (keyvalues_ != &::google::protobuf::internal::kEmptyString) {
  18158. keyvalues_->clear();
  18159. }
  18160. }
  18161. }
  18162. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18163. mutable_unknown_fields()->Clear();
  18164. }
  18165. bool CSVCMsg_CmdKeyValues::MergePartialFromCodedStream(
  18166. ::google::protobuf::io::CodedInputStream* input) {
  18167. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18168. ::google::protobuf::uint32 tag;
  18169. while ((tag = input->ReadTag()) != 0) {
  18170. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18171. // optional bytes keyvalues = 1;
  18172. case 1: {
  18173. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18174. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18175. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  18176. input, this->mutable_keyvalues()));
  18177. } else {
  18178. goto handle_uninterpreted;
  18179. }
  18180. if (input->ExpectAtEnd()) return true;
  18181. break;
  18182. }
  18183. default: {
  18184. handle_uninterpreted:
  18185. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18186. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18187. return true;
  18188. }
  18189. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18190. input, tag, mutable_unknown_fields()));
  18191. break;
  18192. }
  18193. }
  18194. }
  18195. return true;
  18196. #undef DO_
  18197. }
  18198. void CSVCMsg_CmdKeyValues::SerializeWithCachedSizes(
  18199. ::google::protobuf::io::CodedOutputStream* output) const {
  18200. // optional bytes keyvalues = 1;
  18201. if (has_keyvalues()) {
  18202. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  18203. 1, this->keyvalues(), output);
  18204. }
  18205. if (!unknown_fields().empty()) {
  18206. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18207. unknown_fields(), output);
  18208. }
  18209. }
  18210. ::google::protobuf::uint8* CSVCMsg_CmdKeyValues::SerializeWithCachedSizesToArray(
  18211. ::google::protobuf::uint8* target) const {
  18212. // optional bytes keyvalues = 1;
  18213. if (has_keyvalues()) {
  18214. target =
  18215. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  18216. 1, this->keyvalues(), target);
  18217. }
  18218. if (!unknown_fields().empty()) {
  18219. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18220. unknown_fields(), target);
  18221. }
  18222. return target;
  18223. }
  18224. int CSVCMsg_CmdKeyValues::ByteSize() const {
  18225. int total_size = 0;
  18226. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18227. // optional bytes keyvalues = 1;
  18228. if (has_keyvalues()) {
  18229. total_size += 1 +
  18230. ::google::protobuf::internal::WireFormatLite::BytesSize(
  18231. this->keyvalues());
  18232. }
  18233. }
  18234. if (!unknown_fields().empty()) {
  18235. total_size +=
  18236. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18237. unknown_fields());
  18238. }
  18239. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18240. _cached_size_ = total_size;
  18241. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18242. return total_size;
  18243. }
  18244. void CSVCMsg_CmdKeyValues::MergeFrom(const ::google::protobuf::Message& from) {
  18245. GOOGLE_CHECK_NE(&from, this);
  18246. const CSVCMsg_CmdKeyValues* source =
  18247. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_CmdKeyValues*>(
  18248. &from);
  18249. if (source == NULL) {
  18250. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18251. } else {
  18252. MergeFrom(*source);
  18253. }
  18254. }
  18255. void CSVCMsg_CmdKeyValues::MergeFrom(const CSVCMsg_CmdKeyValues& from) {
  18256. GOOGLE_CHECK_NE(&from, this);
  18257. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18258. if (from.has_keyvalues()) {
  18259. set_keyvalues(from.keyvalues());
  18260. }
  18261. }
  18262. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18263. }
  18264. void CSVCMsg_CmdKeyValues::CopyFrom(const ::google::protobuf::Message& from) {
  18265. if (&from == this) return;
  18266. Clear();
  18267. MergeFrom(from);
  18268. }
  18269. void CSVCMsg_CmdKeyValues::CopyFrom(const CSVCMsg_CmdKeyValues& from) {
  18270. if (&from == this) return;
  18271. Clear();
  18272. MergeFrom(from);
  18273. }
  18274. bool CSVCMsg_CmdKeyValues::IsInitialized() const {
  18275. return true;
  18276. }
  18277. void CSVCMsg_CmdKeyValues::Swap(CSVCMsg_CmdKeyValues* other) {
  18278. if (other != this) {
  18279. std::swap(keyvalues_, other->keyvalues_);
  18280. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18281. _unknown_fields_.Swap(&other->_unknown_fields_);
  18282. std::swap(_cached_size_, other->_cached_size_);
  18283. }
  18284. }
  18285. ::google::protobuf::Metadata CSVCMsg_CmdKeyValues::GetMetadata() const {
  18286. protobuf_AssignDescriptorsOnce();
  18287. ::google::protobuf::Metadata metadata;
  18288. metadata.descriptor = CSVCMsg_CmdKeyValues_descriptor_;
  18289. metadata.reflection = CSVCMsg_CmdKeyValues_reflection_;
  18290. return metadata;
  18291. }
  18292. // ===================================================================
  18293. #ifndef _MSC_VER
  18294. const int CSVCMsg_EncryptedData::kEncryptedFieldNumber;
  18295. const int CSVCMsg_EncryptedData::kKeyTypeFieldNumber;
  18296. #endif // !_MSC_VER
  18297. CSVCMsg_EncryptedData::CSVCMsg_EncryptedData()
  18298. : ::google::protobuf::Message() {
  18299. SharedCtor();
  18300. }
  18301. void CSVCMsg_EncryptedData::InitAsDefaultInstance() {
  18302. }
  18303. CSVCMsg_EncryptedData::CSVCMsg_EncryptedData(const CSVCMsg_EncryptedData& from)
  18304. : ::google::protobuf::Message() {
  18305. SharedCtor();
  18306. MergeFrom(from);
  18307. }
  18308. void CSVCMsg_EncryptedData::SharedCtor() {
  18309. _cached_size_ = 0;
  18310. encrypted_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18311. key_type_ = 0;
  18312. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18313. }
  18314. CSVCMsg_EncryptedData::~CSVCMsg_EncryptedData() {
  18315. SharedDtor();
  18316. }
  18317. void CSVCMsg_EncryptedData::SharedDtor() {
  18318. if (encrypted_ != &::google::protobuf::internal::kEmptyString) {
  18319. delete encrypted_;
  18320. }
  18321. if (this != default_instance_) {
  18322. }
  18323. }
  18324. void CSVCMsg_EncryptedData::SetCachedSize(int size) const {
  18325. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18326. _cached_size_ = size;
  18327. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18328. }
  18329. const ::google::protobuf::Descriptor* CSVCMsg_EncryptedData::descriptor() {
  18330. protobuf_AssignDescriptorsOnce();
  18331. return CSVCMsg_EncryptedData_descriptor_;
  18332. }
  18333. const CSVCMsg_EncryptedData& CSVCMsg_EncryptedData::default_instance() {
  18334. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  18335. return *default_instance_;
  18336. }
  18337. CSVCMsg_EncryptedData* CSVCMsg_EncryptedData::default_instance_ = NULL;
  18338. CSVCMsg_EncryptedData* CSVCMsg_EncryptedData::New() const {
  18339. return new CSVCMsg_EncryptedData;
  18340. }
  18341. void CSVCMsg_EncryptedData::Clear() {
  18342. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18343. if (has_encrypted()) {
  18344. if (encrypted_ != &::google::protobuf::internal::kEmptyString) {
  18345. encrypted_->clear();
  18346. }
  18347. }
  18348. key_type_ = 0;
  18349. }
  18350. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18351. mutable_unknown_fields()->Clear();
  18352. }
  18353. bool CSVCMsg_EncryptedData::MergePartialFromCodedStream(
  18354. ::google::protobuf::io::CodedInputStream* input) {
  18355. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18356. ::google::protobuf::uint32 tag;
  18357. while ((tag = input->ReadTag()) != 0) {
  18358. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18359. // optional bytes encrypted = 1;
  18360. case 1: {
  18361. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18362. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18363. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  18364. input, this->mutable_encrypted()));
  18365. } else {
  18366. goto handle_uninterpreted;
  18367. }
  18368. if (input->ExpectTag(16)) goto parse_key_type;
  18369. break;
  18370. }
  18371. // optional int32 key_type = 2;
  18372. case 2: {
  18373. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18374. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18375. parse_key_type:
  18376. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18377. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18378. input, &key_type_)));
  18379. set_has_key_type();
  18380. } else {
  18381. goto handle_uninterpreted;
  18382. }
  18383. if (input->ExpectAtEnd()) return true;
  18384. break;
  18385. }
  18386. default: {
  18387. handle_uninterpreted:
  18388. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18389. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18390. return true;
  18391. }
  18392. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18393. input, tag, mutable_unknown_fields()));
  18394. break;
  18395. }
  18396. }
  18397. }
  18398. return true;
  18399. #undef DO_
  18400. }
  18401. void CSVCMsg_EncryptedData::SerializeWithCachedSizes(
  18402. ::google::protobuf::io::CodedOutputStream* output) const {
  18403. // optional bytes encrypted = 1;
  18404. if (has_encrypted()) {
  18405. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  18406. 1, this->encrypted(), output);
  18407. }
  18408. // optional int32 key_type = 2;
  18409. if (has_key_type()) {
  18410. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->key_type(), output);
  18411. }
  18412. if (!unknown_fields().empty()) {
  18413. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18414. unknown_fields(), output);
  18415. }
  18416. }
  18417. ::google::protobuf::uint8* CSVCMsg_EncryptedData::SerializeWithCachedSizesToArray(
  18418. ::google::protobuf::uint8* target) const {
  18419. // optional bytes encrypted = 1;
  18420. if (has_encrypted()) {
  18421. target =
  18422. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  18423. 1, this->encrypted(), target);
  18424. }
  18425. // optional int32 key_type = 2;
  18426. if (has_key_type()) {
  18427. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->key_type(), target);
  18428. }
  18429. if (!unknown_fields().empty()) {
  18430. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18431. unknown_fields(), target);
  18432. }
  18433. return target;
  18434. }
  18435. int CSVCMsg_EncryptedData::ByteSize() const {
  18436. int total_size = 0;
  18437. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18438. // optional bytes encrypted = 1;
  18439. if (has_encrypted()) {
  18440. total_size += 1 +
  18441. ::google::protobuf::internal::WireFormatLite::BytesSize(
  18442. this->encrypted());
  18443. }
  18444. // optional int32 key_type = 2;
  18445. if (has_key_type()) {
  18446. total_size += 1 +
  18447. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18448. this->key_type());
  18449. }
  18450. }
  18451. if (!unknown_fields().empty()) {
  18452. total_size +=
  18453. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18454. unknown_fields());
  18455. }
  18456. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18457. _cached_size_ = total_size;
  18458. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18459. return total_size;
  18460. }
  18461. void CSVCMsg_EncryptedData::MergeFrom(const ::google::protobuf::Message& from) {
  18462. GOOGLE_CHECK_NE(&from, this);
  18463. const CSVCMsg_EncryptedData* source =
  18464. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_EncryptedData*>(
  18465. &from);
  18466. if (source == NULL) {
  18467. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18468. } else {
  18469. MergeFrom(*source);
  18470. }
  18471. }
  18472. void CSVCMsg_EncryptedData::MergeFrom(const CSVCMsg_EncryptedData& from) {
  18473. GOOGLE_CHECK_NE(&from, this);
  18474. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18475. if (from.has_encrypted()) {
  18476. set_encrypted(from.encrypted());
  18477. }
  18478. if (from.has_key_type()) {
  18479. set_key_type(from.key_type());
  18480. }
  18481. }
  18482. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18483. }
  18484. void CSVCMsg_EncryptedData::CopyFrom(const ::google::protobuf::Message& from) {
  18485. if (&from == this) return;
  18486. Clear();
  18487. MergeFrom(from);
  18488. }
  18489. void CSVCMsg_EncryptedData::CopyFrom(const CSVCMsg_EncryptedData& from) {
  18490. if (&from == this) return;
  18491. Clear();
  18492. MergeFrom(from);
  18493. }
  18494. bool CSVCMsg_EncryptedData::IsInitialized() const {
  18495. return true;
  18496. }
  18497. void CSVCMsg_EncryptedData::Swap(CSVCMsg_EncryptedData* other) {
  18498. if (other != this) {
  18499. std::swap(encrypted_, other->encrypted_);
  18500. std::swap(key_type_, other->key_type_);
  18501. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18502. _unknown_fields_.Swap(&other->_unknown_fields_);
  18503. std::swap(_cached_size_, other->_cached_size_);
  18504. }
  18505. }
  18506. ::google::protobuf::Metadata CSVCMsg_EncryptedData::GetMetadata() const {
  18507. protobuf_AssignDescriptorsOnce();
  18508. ::google::protobuf::Metadata metadata;
  18509. metadata.descriptor = CSVCMsg_EncryptedData_descriptor_;
  18510. metadata.reflection = CSVCMsg_EncryptedData_reflection_;
  18511. return metadata;
  18512. }
  18513. // ===================================================================
  18514. #ifndef _MSC_VER
  18515. const int CSVCMsg_HltvReplay::kDelayFieldNumber;
  18516. const int CSVCMsg_HltvReplay::kPrimaryTargetFieldNumber;
  18517. const int CSVCMsg_HltvReplay::kReplayStopAtFieldNumber;
  18518. const int CSVCMsg_HltvReplay::kReplayStartAtFieldNumber;
  18519. const int CSVCMsg_HltvReplay::kReplaySlowdownBeginFieldNumber;
  18520. const int CSVCMsg_HltvReplay::kReplaySlowdownEndFieldNumber;
  18521. const int CSVCMsg_HltvReplay::kReplaySlowdownRateFieldNumber;
  18522. #endif // !_MSC_VER
  18523. CSVCMsg_HltvReplay::CSVCMsg_HltvReplay()
  18524. : ::google::protobuf::Message() {
  18525. SharedCtor();
  18526. }
  18527. void CSVCMsg_HltvReplay::InitAsDefaultInstance() {
  18528. }
  18529. CSVCMsg_HltvReplay::CSVCMsg_HltvReplay(const CSVCMsg_HltvReplay& from)
  18530. : ::google::protobuf::Message() {
  18531. SharedCtor();
  18532. MergeFrom(from);
  18533. }
  18534. void CSVCMsg_HltvReplay::SharedCtor() {
  18535. _cached_size_ = 0;
  18536. delay_ = 0;
  18537. primary_target_ = 0;
  18538. replay_stop_at_ = 0;
  18539. replay_start_at_ = 0;
  18540. replay_slowdown_begin_ = 0;
  18541. replay_slowdown_end_ = 0;
  18542. replay_slowdown_rate_ = 0;
  18543. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18544. }
  18545. CSVCMsg_HltvReplay::~CSVCMsg_HltvReplay() {
  18546. SharedDtor();
  18547. }
  18548. void CSVCMsg_HltvReplay::SharedDtor() {
  18549. if (this != default_instance_) {
  18550. }
  18551. }
  18552. void CSVCMsg_HltvReplay::SetCachedSize(int size) const {
  18553. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18554. _cached_size_ = size;
  18555. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18556. }
  18557. const ::google::protobuf::Descriptor* CSVCMsg_HltvReplay::descriptor() {
  18558. protobuf_AssignDescriptorsOnce();
  18559. return CSVCMsg_HltvReplay_descriptor_;
  18560. }
  18561. const CSVCMsg_HltvReplay& CSVCMsg_HltvReplay::default_instance() {
  18562. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  18563. return *default_instance_;
  18564. }
  18565. CSVCMsg_HltvReplay* CSVCMsg_HltvReplay::default_instance_ = NULL;
  18566. CSVCMsg_HltvReplay* CSVCMsg_HltvReplay::New() const {
  18567. return new CSVCMsg_HltvReplay;
  18568. }
  18569. void CSVCMsg_HltvReplay::Clear() {
  18570. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18571. delay_ = 0;
  18572. primary_target_ = 0;
  18573. replay_stop_at_ = 0;
  18574. replay_start_at_ = 0;
  18575. replay_slowdown_begin_ = 0;
  18576. replay_slowdown_end_ = 0;
  18577. replay_slowdown_rate_ = 0;
  18578. }
  18579. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18580. mutable_unknown_fields()->Clear();
  18581. }
  18582. bool CSVCMsg_HltvReplay::MergePartialFromCodedStream(
  18583. ::google::protobuf::io::CodedInputStream* input) {
  18584. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18585. ::google::protobuf::uint32 tag;
  18586. while ((tag = input->ReadTag()) != 0) {
  18587. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18588. // optional int32 delay = 1;
  18589. case 1: {
  18590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18592. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18593. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18594. input, &delay_)));
  18595. set_has_delay();
  18596. } else {
  18597. goto handle_uninterpreted;
  18598. }
  18599. if (input->ExpectTag(16)) goto parse_primary_target;
  18600. break;
  18601. }
  18602. // optional int32 primary_target = 2;
  18603. case 2: {
  18604. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18605. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18606. parse_primary_target:
  18607. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18608. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18609. input, &primary_target_)));
  18610. set_has_primary_target();
  18611. } else {
  18612. goto handle_uninterpreted;
  18613. }
  18614. if (input->ExpectTag(24)) goto parse_replay_stop_at;
  18615. break;
  18616. }
  18617. // optional int32 replay_stop_at = 3;
  18618. case 3: {
  18619. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18620. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18621. parse_replay_stop_at:
  18622. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18623. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18624. input, &replay_stop_at_)));
  18625. set_has_replay_stop_at();
  18626. } else {
  18627. goto handle_uninterpreted;
  18628. }
  18629. if (input->ExpectTag(32)) goto parse_replay_start_at;
  18630. break;
  18631. }
  18632. // optional int32 replay_start_at = 4;
  18633. case 4: {
  18634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18636. parse_replay_start_at:
  18637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18638. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18639. input, &replay_start_at_)));
  18640. set_has_replay_start_at();
  18641. } else {
  18642. goto handle_uninterpreted;
  18643. }
  18644. if (input->ExpectTag(40)) goto parse_replay_slowdown_begin;
  18645. break;
  18646. }
  18647. // optional int32 replay_slowdown_begin = 5;
  18648. case 5: {
  18649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18651. parse_replay_slowdown_begin:
  18652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18653. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18654. input, &replay_slowdown_begin_)));
  18655. set_has_replay_slowdown_begin();
  18656. } else {
  18657. goto handle_uninterpreted;
  18658. }
  18659. if (input->ExpectTag(48)) goto parse_replay_slowdown_end;
  18660. break;
  18661. }
  18662. // optional int32 replay_slowdown_end = 6;
  18663. case 6: {
  18664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18666. parse_replay_slowdown_end:
  18667. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18668. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18669. input, &replay_slowdown_end_)));
  18670. set_has_replay_slowdown_end();
  18671. } else {
  18672. goto handle_uninterpreted;
  18673. }
  18674. if (input->ExpectTag(61)) goto parse_replay_slowdown_rate;
  18675. break;
  18676. }
  18677. // optional float replay_slowdown_rate = 7;
  18678. case 7: {
  18679. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18680. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  18681. parse_replay_slowdown_rate:
  18682. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18683. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  18684. input, &replay_slowdown_rate_)));
  18685. set_has_replay_slowdown_rate();
  18686. } else {
  18687. goto handle_uninterpreted;
  18688. }
  18689. if (input->ExpectAtEnd()) return true;
  18690. break;
  18691. }
  18692. default: {
  18693. handle_uninterpreted:
  18694. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18695. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18696. return true;
  18697. }
  18698. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18699. input, tag, mutable_unknown_fields()));
  18700. break;
  18701. }
  18702. }
  18703. }
  18704. return true;
  18705. #undef DO_
  18706. }
  18707. void CSVCMsg_HltvReplay::SerializeWithCachedSizes(
  18708. ::google::protobuf::io::CodedOutputStream* output) const {
  18709. // optional int32 delay = 1;
  18710. if (has_delay()) {
  18711. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->delay(), output);
  18712. }
  18713. // optional int32 primary_target = 2;
  18714. if (has_primary_target()) {
  18715. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->primary_target(), output);
  18716. }
  18717. // optional int32 replay_stop_at = 3;
  18718. if (has_replay_stop_at()) {
  18719. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->replay_stop_at(), output);
  18720. }
  18721. // optional int32 replay_start_at = 4;
  18722. if (has_replay_start_at()) {
  18723. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->replay_start_at(), output);
  18724. }
  18725. // optional int32 replay_slowdown_begin = 5;
  18726. if (has_replay_slowdown_begin()) {
  18727. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->replay_slowdown_begin(), output);
  18728. }
  18729. // optional int32 replay_slowdown_end = 6;
  18730. if (has_replay_slowdown_end()) {
  18731. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->replay_slowdown_end(), output);
  18732. }
  18733. // optional float replay_slowdown_rate = 7;
  18734. if (has_replay_slowdown_rate()) {
  18735. ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->replay_slowdown_rate(), output);
  18736. }
  18737. if (!unknown_fields().empty()) {
  18738. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18739. unknown_fields(), output);
  18740. }
  18741. }
  18742. ::google::protobuf::uint8* CSVCMsg_HltvReplay::SerializeWithCachedSizesToArray(
  18743. ::google::protobuf::uint8* target) const {
  18744. // optional int32 delay = 1;
  18745. if (has_delay()) {
  18746. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->delay(), target);
  18747. }
  18748. // optional int32 primary_target = 2;
  18749. if (has_primary_target()) {
  18750. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->primary_target(), target);
  18751. }
  18752. // optional int32 replay_stop_at = 3;
  18753. if (has_replay_stop_at()) {
  18754. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->replay_stop_at(), target);
  18755. }
  18756. // optional int32 replay_start_at = 4;
  18757. if (has_replay_start_at()) {
  18758. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->replay_start_at(), target);
  18759. }
  18760. // optional int32 replay_slowdown_begin = 5;
  18761. if (has_replay_slowdown_begin()) {
  18762. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->replay_slowdown_begin(), target);
  18763. }
  18764. // optional int32 replay_slowdown_end = 6;
  18765. if (has_replay_slowdown_end()) {
  18766. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->replay_slowdown_end(), target);
  18767. }
  18768. // optional float replay_slowdown_rate = 7;
  18769. if (has_replay_slowdown_rate()) {
  18770. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->replay_slowdown_rate(), target);
  18771. }
  18772. if (!unknown_fields().empty()) {
  18773. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18774. unknown_fields(), target);
  18775. }
  18776. return target;
  18777. }
  18778. int CSVCMsg_HltvReplay::ByteSize() const {
  18779. int total_size = 0;
  18780. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18781. // optional int32 delay = 1;
  18782. if (has_delay()) {
  18783. total_size += 1 +
  18784. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18785. this->delay());
  18786. }
  18787. // optional int32 primary_target = 2;
  18788. if (has_primary_target()) {
  18789. total_size += 1 +
  18790. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18791. this->primary_target());
  18792. }
  18793. // optional int32 replay_stop_at = 3;
  18794. if (has_replay_stop_at()) {
  18795. total_size += 1 +
  18796. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18797. this->replay_stop_at());
  18798. }
  18799. // optional int32 replay_start_at = 4;
  18800. if (has_replay_start_at()) {
  18801. total_size += 1 +
  18802. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18803. this->replay_start_at());
  18804. }
  18805. // optional int32 replay_slowdown_begin = 5;
  18806. if (has_replay_slowdown_begin()) {
  18807. total_size += 1 +
  18808. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18809. this->replay_slowdown_begin());
  18810. }
  18811. // optional int32 replay_slowdown_end = 6;
  18812. if (has_replay_slowdown_end()) {
  18813. total_size += 1 +
  18814. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18815. this->replay_slowdown_end());
  18816. }
  18817. // optional float replay_slowdown_rate = 7;
  18818. if (has_replay_slowdown_rate()) {
  18819. total_size += 1 + 4;
  18820. }
  18821. }
  18822. if (!unknown_fields().empty()) {
  18823. total_size +=
  18824. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18825. unknown_fields());
  18826. }
  18827. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18828. _cached_size_ = total_size;
  18829. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18830. return total_size;
  18831. }
  18832. void CSVCMsg_HltvReplay::MergeFrom(const ::google::protobuf::Message& from) {
  18833. GOOGLE_CHECK_NE(&from, this);
  18834. const CSVCMsg_HltvReplay* source =
  18835. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_HltvReplay*>(
  18836. &from);
  18837. if (source == NULL) {
  18838. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18839. } else {
  18840. MergeFrom(*source);
  18841. }
  18842. }
  18843. void CSVCMsg_HltvReplay::MergeFrom(const CSVCMsg_HltvReplay& from) {
  18844. GOOGLE_CHECK_NE(&from, this);
  18845. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18846. if (from.has_delay()) {
  18847. set_delay(from.delay());
  18848. }
  18849. if (from.has_primary_target()) {
  18850. set_primary_target(from.primary_target());
  18851. }
  18852. if (from.has_replay_stop_at()) {
  18853. set_replay_stop_at(from.replay_stop_at());
  18854. }
  18855. if (from.has_replay_start_at()) {
  18856. set_replay_start_at(from.replay_start_at());
  18857. }
  18858. if (from.has_replay_slowdown_begin()) {
  18859. set_replay_slowdown_begin(from.replay_slowdown_begin());
  18860. }
  18861. if (from.has_replay_slowdown_end()) {
  18862. set_replay_slowdown_end(from.replay_slowdown_end());
  18863. }
  18864. if (from.has_replay_slowdown_rate()) {
  18865. set_replay_slowdown_rate(from.replay_slowdown_rate());
  18866. }
  18867. }
  18868. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18869. }
  18870. void CSVCMsg_HltvReplay::CopyFrom(const ::google::protobuf::Message& from) {
  18871. if (&from == this) return;
  18872. Clear();
  18873. MergeFrom(from);
  18874. }
  18875. void CSVCMsg_HltvReplay::CopyFrom(const CSVCMsg_HltvReplay& from) {
  18876. if (&from == this) return;
  18877. Clear();
  18878. MergeFrom(from);
  18879. }
  18880. bool CSVCMsg_HltvReplay::IsInitialized() const {
  18881. return true;
  18882. }
  18883. void CSVCMsg_HltvReplay::Swap(CSVCMsg_HltvReplay* other) {
  18884. if (other != this) {
  18885. std::swap(delay_, other->delay_);
  18886. std::swap(primary_target_, other->primary_target_);
  18887. std::swap(replay_stop_at_, other->replay_stop_at_);
  18888. std::swap(replay_start_at_, other->replay_start_at_);
  18889. std::swap(replay_slowdown_begin_, other->replay_slowdown_begin_);
  18890. std::swap(replay_slowdown_end_, other->replay_slowdown_end_);
  18891. std::swap(replay_slowdown_rate_, other->replay_slowdown_rate_);
  18892. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18893. _unknown_fields_.Swap(&other->_unknown_fields_);
  18894. std::swap(_cached_size_, other->_cached_size_);
  18895. }
  18896. }
  18897. ::google::protobuf::Metadata CSVCMsg_HltvReplay::GetMetadata() const {
  18898. protobuf_AssignDescriptorsOnce();
  18899. ::google::protobuf::Metadata metadata;
  18900. metadata.descriptor = CSVCMsg_HltvReplay_descriptor_;
  18901. metadata.reflection = CSVCMsg_HltvReplay_reflection_;
  18902. return metadata;
  18903. }
  18904. // ===================================================================
  18905. #ifndef _MSC_VER
  18906. const int CCLCMsg_HltvReplay::kRequestFieldNumber;
  18907. const int CCLCMsg_HltvReplay::kSlowdownLengthFieldNumber;
  18908. const int CCLCMsg_HltvReplay::kSlowdownRateFieldNumber;
  18909. const int CCLCMsg_HltvReplay::kPrimaryTargetEntIndexFieldNumber;
  18910. const int CCLCMsg_HltvReplay::kEventTimeFieldNumber;
  18911. #endif // !_MSC_VER
  18912. CCLCMsg_HltvReplay::CCLCMsg_HltvReplay()
  18913. : ::google::protobuf::Message() {
  18914. SharedCtor();
  18915. }
  18916. void CCLCMsg_HltvReplay::InitAsDefaultInstance() {
  18917. }
  18918. CCLCMsg_HltvReplay::CCLCMsg_HltvReplay(const CCLCMsg_HltvReplay& from)
  18919. : ::google::protobuf::Message() {
  18920. SharedCtor();
  18921. MergeFrom(from);
  18922. }
  18923. void CCLCMsg_HltvReplay::SharedCtor() {
  18924. _cached_size_ = 0;
  18925. request_ = 0;
  18926. slowdown_length_ = 0;
  18927. slowdown_rate_ = 0;
  18928. primary_target_ent_index_ = 0;
  18929. event_time_ = 0;
  18930. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18931. }
  18932. CCLCMsg_HltvReplay::~CCLCMsg_HltvReplay() {
  18933. SharedDtor();
  18934. }
  18935. void CCLCMsg_HltvReplay::SharedDtor() {
  18936. if (this != default_instance_) {
  18937. }
  18938. }
  18939. void CCLCMsg_HltvReplay::SetCachedSize(int size) const {
  18940. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18941. _cached_size_ = size;
  18942. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18943. }
  18944. const ::google::protobuf::Descriptor* CCLCMsg_HltvReplay::descriptor() {
  18945. protobuf_AssignDescriptorsOnce();
  18946. return CCLCMsg_HltvReplay_descriptor_;
  18947. }
  18948. const CCLCMsg_HltvReplay& CCLCMsg_HltvReplay::default_instance() {
  18949. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  18950. return *default_instance_;
  18951. }
  18952. CCLCMsg_HltvReplay* CCLCMsg_HltvReplay::default_instance_ = NULL;
  18953. CCLCMsg_HltvReplay* CCLCMsg_HltvReplay::New() const {
  18954. return new CCLCMsg_HltvReplay;
  18955. }
  18956. void CCLCMsg_HltvReplay::Clear() {
  18957. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18958. request_ = 0;
  18959. slowdown_length_ = 0;
  18960. slowdown_rate_ = 0;
  18961. primary_target_ent_index_ = 0;
  18962. event_time_ = 0;
  18963. }
  18964. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18965. mutable_unknown_fields()->Clear();
  18966. }
  18967. bool CCLCMsg_HltvReplay::MergePartialFromCodedStream(
  18968. ::google::protobuf::io::CodedInputStream* input) {
  18969. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18970. ::google::protobuf::uint32 tag;
  18971. while ((tag = input->ReadTag()) != 0) {
  18972. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18973. // optional int32 request = 1;
  18974. case 1: {
  18975. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18976. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18977. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18978. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18979. input, &request_)));
  18980. set_has_request();
  18981. } else {
  18982. goto handle_uninterpreted;
  18983. }
  18984. if (input->ExpectTag(21)) goto parse_slowdown_length;
  18985. break;
  18986. }
  18987. // optional float slowdown_length = 2;
  18988. case 2: {
  18989. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18990. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  18991. parse_slowdown_length:
  18992. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18993. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  18994. input, &slowdown_length_)));
  18995. set_has_slowdown_length();
  18996. } else {
  18997. goto handle_uninterpreted;
  18998. }
  18999. if (input->ExpectTag(29)) goto parse_slowdown_rate;
  19000. break;
  19001. }
  19002. // optional float slowdown_rate = 3;
  19003. case 3: {
  19004. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19005. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  19006. parse_slowdown_rate:
  19007. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19008. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  19009. input, &slowdown_rate_)));
  19010. set_has_slowdown_rate();
  19011. } else {
  19012. goto handle_uninterpreted;
  19013. }
  19014. if (input->ExpectTag(32)) goto parse_primary_target_ent_index;
  19015. break;
  19016. }
  19017. // optional int32 primary_target_ent_index = 4;
  19018. case 4: {
  19019. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19020. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19021. parse_primary_target_ent_index:
  19022. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19023. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19024. input, &primary_target_ent_index_)));
  19025. set_has_primary_target_ent_index();
  19026. } else {
  19027. goto handle_uninterpreted;
  19028. }
  19029. if (input->ExpectTag(45)) goto parse_event_time;
  19030. break;
  19031. }
  19032. // optional float event_time = 5;
  19033. case 5: {
  19034. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19035. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  19036. parse_event_time:
  19037. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19038. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  19039. input, &event_time_)));
  19040. set_has_event_time();
  19041. } else {
  19042. goto handle_uninterpreted;
  19043. }
  19044. if (input->ExpectAtEnd()) return true;
  19045. break;
  19046. }
  19047. default: {
  19048. handle_uninterpreted:
  19049. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19050. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19051. return true;
  19052. }
  19053. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19054. input, tag, mutable_unknown_fields()));
  19055. break;
  19056. }
  19057. }
  19058. }
  19059. return true;
  19060. #undef DO_
  19061. }
  19062. void CCLCMsg_HltvReplay::SerializeWithCachedSizes(
  19063. ::google::protobuf::io::CodedOutputStream* output) const {
  19064. // optional int32 request = 1;
  19065. if (has_request()) {
  19066. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->request(), output);
  19067. }
  19068. // optional float slowdown_length = 2;
  19069. if (has_slowdown_length()) {
  19070. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->slowdown_length(), output);
  19071. }
  19072. // optional float slowdown_rate = 3;
  19073. if (has_slowdown_rate()) {
  19074. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->slowdown_rate(), output);
  19075. }
  19076. // optional int32 primary_target_ent_index = 4;
  19077. if (has_primary_target_ent_index()) {
  19078. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->primary_target_ent_index(), output);
  19079. }
  19080. // optional float event_time = 5;
  19081. if (has_event_time()) {
  19082. ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->event_time(), output);
  19083. }
  19084. if (!unknown_fields().empty()) {
  19085. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19086. unknown_fields(), output);
  19087. }
  19088. }
  19089. ::google::protobuf::uint8* CCLCMsg_HltvReplay::SerializeWithCachedSizesToArray(
  19090. ::google::protobuf::uint8* target) const {
  19091. // optional int32 request = 1;
  19092. if (has_request()) {
  19093. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->request(), target);
  19094. }
  19095. // optional float slowdown_length = 2;
  19096. if (has_slowdown_length()) {
  19097. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->slowdown_length(), target);
  19098. }
  19099. // optional float slowdown_rate = 3;
  19100. if (has_slowdown_rate()) {
  19101. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->slowdown_rate(), target);
  19102. }
  19103. // optional int32 primary_target_ent_index = 4;
  19104. if (has_primary_target_ent_index()) {
  19105. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->primary_target_ent_index(), target);
  19106. }
  19107. // optional float event_time = 5;
  19108. if (has_event_time()) {
  19109. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->event_time(), target);
  19110. }
  19111. if (!unknown_fields().empty()) {
  19112. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19113. unknown_fields(), target);
  19114. }
  19115. return target;
  19116. }
  19117. int CCLCMsg_HltvReplay::ByteSize() const {
  19118. int total_size = 0;
  19119. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19120. // optional int32 request = 1;
  19121. if (has_request()) {
  19122. total_size += 1 +
  19123. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19124. this->request());
  19125. }
  19126. // optional float slowdown_length = 2;
  19127. if (has_slowdown_length()) {
  19128. total_size += 1 + 4;
  19129. }
  19130. // optional float slowdown_rate = 3;
  19131. if (has_slowdown_rate()) {
  19132. total_size += 1 + 4;
  19133. }
  19134. // optional int32 primary_target_ent_index = 4;
  19135. if (has_primary_target_ent_index()) {
  19136. total_size += 1 +
  19137. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19138. this->primary_target_ent_index());
  19139. }
  19140. // optional float event_time = 5;
  19141. if (has_event_time()) {
  19142. total_size += 1 + 4;
  19143. }
  19144. }
  19145. if (!unknown_fields().empty()) {
  19146. total_size +=
  19147. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19148. unknown_fields());
  19149. }
  19150. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19151. _cached_size_ = total_size;
  19152. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19153. return total_size;
  19154. }
  19155. void CCLCMsg_HltvReplay::MergeFrom(const ::google::protobuf::Message& from) {
  19156. GOOGLE_CHECK_NE(&from, this);
  19157. const CCLCMsg_HltvReplay* source =
  19158. ::google::protobuf::internal::dynamic_cast_if_available<const CCLCMsg_HltvReplay*>(
  19159. &from);
  19160. if (source == NULL) {
  19161. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19162. } else {
  19163. MergeFrom(*source);
  19164. }
  19165. }
  19166. void CCLCMsg_HltvReplay::MergeFrom(const CCLCMsg_HltvReplay& from) {
  19167. GOOGLE_CHECK_NE(&from, this);
  19168. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19169. if (from.has_request()) {
  19170. set_request(from.request());
  19171. }
  19172. if (from.has_slowdown_length()) {
  19173. set_slowdown_length(from.slowdown_length());
  19174. }
  19175. if (from.has_slowdown_rate()) {
  19176. set_slowdown_rate(from.slowdown_rate());
  19177. }
  19178. if (from.has_primary_target_ent_index()) {
  19179. set_primary_target_ent_index(from.primary_target_ent_index());
  19180. }
  19181. if (from.has_event_time()) {
  19182. set_event_time(from.event_time());
  19183. }
  19184. }
  19185. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19186. }
  19187. void CCLCMsg_HltvReplay::CopyFrom(const ::google::protobuf::Message& from) {
  19188. if (&from == this) return;
  19189. Clear();
  19190. MergeFrom(from);
  19191. }
  19192. void CCLCMsg_HltvReplay::CopyFrom(const CCLCMsg_HltvReplay& from) {
  19193. if (&from == this) return;
  19194. Clear();
  19195. MergeFrom(from);
  19196. }
  19197. bool CCLCMsg_HltvReplay::IsInitialized() const {
  19198. return true;
  19199. }
  19200. void CCLCMsg_HltvReplay::Swap(CCLCMsg_HltvReplay* other) {
  19201. if (other != this) {
  19202. std::swap(request_, other->request_);
  19203. std::swap(slowdown_length_, other->slowdown_length_);
  19204. std::swap(slowdown_rate_, other->slowdown_rate_);
  19205. std::swap(primary_target_ent_index_, other->primary_target_ent_index_);
  19206. std::swap(event_time_, other->event_time_);
  19207. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19208. _unknown_fields_.Swap(&other->_unknown_fields_);
  19209. std::swap(_cached_size_, other->_cached_size_);
  19210. }
  19211. }
  19212. ::google::protobuf::Metadata CCLCMsg_HltvReplay::GetMetadata() const {
  19213. protobuf_AssignDescriptorsOnce();
  19214. ::google::protobuf::Metadata metadata;
  19215. metadata.descriptor = CCLCMsg_HltvReplay_descriptor_;
  19216. metadata.reflection = CCLCMsg_HltvReplay_reflection_;
  19217. return metadata;
  19218. }
  19219. // ===================================================================
  19220. #ifndef _MSC_VER
  19221. const int CSVCMsg_Broadcast_Command::kCmdFieldNumber;
  19222. #endif // !_MSC_VER
  19223. CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command()
  19224. : ::google::protobuf::Message() {
  19225. SharedCtor();
  19226. }
  19227. void CSVCMsg_Broadcast_Command::InitAsDefaultInstance() {
  19228. }
  19229. CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command(const CSVCMsg_Broadcast_Command& from)
  19230. : ::google::protobuf::Message() {
  19231. SharedCtor();
  19232. MergeFrom(from);
  19233. }
  19234. void CSVCMsg_Broadcast_Command::SharedCtor() {
  19235. _cached_size_ = 0;
  19236. cmd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  19237. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19238. }
  19239. CSVCMsg_Broadcast_Command::~CSVCMsg_Broadcast_Command() {
  19240. SharedDtor();
  19241. }
  19242. void CSVCMsg_Broadcast_Command::SharedDtor() {
  19243. if (cmd_ != &::google::protobuf::internal::kEmptyString) {
  19244. delete cmd_;
  19245. }
  19246. if (this != default_instance_) {
  19247. }
  19248. }
  19249. void CSVCMsg_Broadcast_Command::SetCachedSize(int size) const {
  19250. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19251. _cached_size_ = size;
  19252. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19253. }
  19254. const ::google::protobuf::Descriptor* CSVCMsg_Broadcast_Command::descriptor() {
  19255. protobuf_AssignDescriptorsOnce();
  19256. return CSVCMsg_Broadcast_Command_descriptor_;
  19257. }
  19258. const CSVCMsg_Broadcast_Command& CSVCMsg_Broadcast_Command::default_instance() {
  19259. if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto();
  19260. return *default_instance_;
  19261. }
  19262. CSVCMsg_Broadcast_Command* CSVCMsg_Broadcast_Command::default_instance_ = NULL;
  19263. CSVCMsg_Broadcast_Command* CSVCMsg_Broadcast_Command::New() const {
  19264. return new CSVCMsg_Broadcast_Command;
  19265. }
  19266. void CSVCMsg_Broadcast_Command::Clear() {
  19267. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19268. if (has_cmd()) {
  19269. if (cmd_ != &::google::protobuf::internal::kEmptyString) {
  19270. cmd_->clear();
  19271. }
  19272. }
  19273. }
  19274. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19275. mutable_unknown_fields()->Clear();
  19276. }
  19277. bool CSVCMsg_Broadcast_Command::MergePartialFromCodedStream(
  19278. ::google::protobuf::io::CodedInputStream* input) {
  19279. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19280. ::google::protobuf::uint32 tag;
  19281. while ((tag = input->ReadTag()) != 0) {
  19282. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19283. // optional string cmd = 1;
  19284. case 1: {
  19285. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19286. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19287. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  19288. input, this->mutable_cmd()));
  19289. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19290. this->cmd().data(), this->cmd().length(),
  19291. ::google::protobuf::internal::WireFormat::PARSE);
  19292. } else {
  19293. goto handle_uninterpreted;
  19294. }
  19295. if (input->ExpectAtEnd()) return true;
  19296. break;
  19297. }
  19298. default: {
  19299. handle_uninterpreted:
  19300. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19301. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19302. return true;
  19303. }
  19304. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19305. input, tag, mutable_unknown_fields()));
  19306. break;
  19307. }
  19308. }
  19309. }
  19310. return true;
  19311. #undef DO_
  19312. }
  19313. void CSVCMsg_Broadcast_Command::SerializeWithCachedSizes(
  19314. ::google::protobuf::io::CodedOutputStream* output) const {
  19315. // optional string cmd = 1;
  19316. if (has_cmd()) {
  19317. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19318. this->cmd().data(), this->cmd().length(),
  19319. ::google::protobuf::internal::WireFormat::SERIALIZE);
  19320. ::google::protobuf::internal::WireFormatLite::WriteString(
  19321. 1, this->cmd(), output);
  19322. }
  19323. if (!unknown_fields().empty()) {
  19324. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19325. unknown_fields(), output);
  19326. }
  19327. }
  19328. ::google::protobuf::uint8* CSVCMsg_Broadcast_Command::SerializeWithCachedSizesToArray(
  19329. ::google::protobuf::uint8* target) const {
  19330. // optional string cmd = 1;
  19331. if (has_cmd()) {
  19332. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19333. this->cmd().data(), this->cmd().length(),
  19334. ::google::protobuf::internal::WireFormat::SERIALIZE);
  19335. target =
  19336. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  19337. 1, this->cmd(), target);
  19338. }
  19339. if (!unknown_fields().empty()) {
  19340. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19341. unknown_fields(), target);
  19342. }
  19343. return target;
  19344. }
  19345. int CSVCMsg_Broadcast_Command::ByteSize() const {
  19346. int total_size = 0;
  19347. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19348. // optional string cmd = 1;
  19349. if (has_cmd()) {
  19350. total_size += 1 +
  19351. ::google::protobuf::internal::WireFormatLite::StringSize(
  19352. this->cmd());
  19353. }
  19354. }
  19355. if (!unknown_fields().empty()) {
  19356. total_size +=
  19357. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19358. unknown_fields());
  19359. }
  19360. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19361. _cached_size_ = total_size;
  19362. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19363. return total_size;
  19364. }
  19365. void CSVCMsg_Broadcast_Command::MergeFrom(const ::google::protobuf::Message& from) {
  19366. GOOGLE_CHECK_NE(&from, this);
  19367. const CSVCMsg_Broadcast_Command* source =
  19368. ::google::protobuf::internal::dynamic_cast_if_available<const CSVCMsg_Broadcast_Command*>(
  19369. &from);
  19370. if (source == NULL) {
  19371. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19372. } else {
  19373. MergeFrom(*source);
  19374. }
  19375. }
  19376. void CSVCMsg_Broadcast_Command::MergeFrom(const CSVCMsg_Broadcast_Command& from) {
  19377. GOOGLE_CHECK_NE(&from, this);
  19378. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19379. if (from.has_cmd()) {
  19380. set_cmd(from.cmd());
  19381. }
  19382. }
  19383. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19384. }
  19385. void CSVCMsg_Broadcast_Command::CopyFrom(const ::google::protobuf::Message& from) {
  19386. if (&from == this) return;
  19387. Clear();
  19388. MergeFrom(from);
  19389. }
  19390. void CSVCMsg_Broadcast_Command::CopyFrom(const CSVCMsg_Broadcast_Command& from) {
  19391. if (&from == this) return;
  19392. Clear();
  19393. MergeFrom(from);
  19394. }
  19395. bool CSVCMsg_Broadcast_Command::IsInitialized() const {
  19396. return true;
  19397. }
  19398. void CSVCMsg_Broadcast_Command::Swap(CSVCMsg_Broadcast_Command* other) {
  19399. if (other != this) {
  19400. std::swap(cmd_, other->cmd_);
  19401. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19402. _unknown_fields_.Swap(&other->_unknown_fields_);
  19403. std::swap(_cached_size_, other->_cached_size_);
  19404. }
  19405. }
  19406. ::google::protobuf::Metadata CSVCMsg_Broadcast_Command::GetMetadata() const {
  19407. protobuf_AssignDescriptorsOnce();
  19408. ::google::protobuf::Metadata metadata;
  19409. metadata.descriptor = CSVCMsg_Broadcast_Command_descriptor_;
  19410. metadata.reflection = CSVCMsg_Broadcast_Command_reflection_;
  19411. return metadata;
  19412. }
  19413. // @@protoc_insertion_point(namespace_scope)
  19414. // @@protoc_insertion_point(global_scope)