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.

26000 lines
895 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: base_gcmessages.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "base_gcmessages.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* CGCStorePurchaseInit_LineItem_descriptor_ = NULL;
  17. const ::google::protobuf::internal::GeneratedMessageReflection*
  18. CGCStorePurchaseInit_LineItem_reflection_ = NULL;
  19. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseInit_descriptor_ = NULL;
  20. const ::google::protobuf::internal::GeneratedMessageReflection*
  21. CMsgGCStorePurchaseInit_reflection_ = NULL;
  22. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseInitResponse_descriptor_ = NULL;
  23. const ::google::protobuf::internal::GeneratedMessageReflection*
  24. CMsgGCStorePurchaseInitResponse_reflection_ = NULL;
  25. const ::google::protobuf::Descriptor* CSOPartyInvite_descriptor_ = NULL;
  26. const ::google::protobuf::internal::GeneratedMessageReflection*
  27. CSOPartyInvite_reflection_ = NULL;
  28. const ::google::protobuf::Descriptor* CSOLobbyInvite_descriptor_ = NULL;
  29. const ::google::protobuf::internal::GeneratedMessageReflection*
  30. CSOLobbyInvite_reflection_ = NULL;
  31. const ::google::protobuf::Descriptor* CMsgSystemBroadcast_descriptor_ = NULL;
  32. const ::google::protobuf::internal::GeneratedMessageReflection*
  33. CMsgSystemBroadcast_reflection_ = NULL;
  34. const ::google::protobuf::Descriptor* CMsgInviteToParty_descriptor_ = NULL;
  35. const ::google::protobuf::internal::GeneratedMessageReflection*
  36. CMsgInviteToParty_reflection_ = NULL;
  37. const ::google::protobuf::Descriptor* CMsgInvitationCreated_descriptor_ = NULL;
  38. const ::google::protobuf::internal::GeneratedMessageReflection*
  39. CMsgInvitationCreated_reflection_ = NULL;
  40. const ::google::protobuf::Descriptor* CMsgPartyInviteResponse_descriptor_ = NULL;
  41. const ::google::protobuf::internal::GeneratedMessageReflection*
  42. CMsgPartyInviteResponse_reflection_ = NULL;
  43. const ::google::protobuf::Descriptor* CMsgKickFromParty_descriptor_ = NULL;
  44. const ::google::protobuf::internal::GeneratedMessageReflection*
  45. CMsgKickFromParty_reflection_ = NULL;
  46. const ::google::protobuf::Descriptor* CMsgLeaveParty_descriptor_ = NULL;
  47. const ::google::protobuf::internal::GeneratedMessageReflection*
  48. CMsgLeaveParty_reflection_ = NULL;
  49. const ::google::protobuf::Descriptor* CMsgServerAvailable_descriptor_ = NULL;
  50. const ::google::protobuf::internal::GeneratedMessageReflection*
  51. CMsgServerAvailable_reflection_ = NULL;
  52. const ::google::protobuf::Descriptor* CMsgLANServerAvailable_descriptor_ = NULL;
  53. const ::google::protobuf::internal::GeneratedMessageReflection*
  54. CMsgLANServerAvailable_reflection_ = NULL;
  55. const ::google::protobuf::Descriptor* CSOEconGameAccountClient_descriptor_ = NULL;
  56. const ::google::protobuf::internal::GeneratedMessageReflection*
  57. CSOEconGameAccountClient_reflection_ = NULL;
  58. const ::google::protobuf::Descriptor* CSOItemCriteriaCondition_descriptor_ = NULL;
  59. const ::google::protobuf::internal::GeneratedMessageReflection*
  60. CSOItemCriteriaCondition_reflection_ = NULL;
  61. const ::google::protobuf::Descriptor* CSOItemCriteria_descriptor_ = NULL;
  62. const ::google::protobuf::internal::GeneratedMessageReflection*
  63. CSOItemCriteria_reflection_ = NULL;
  64. const ::google::protobuf::Descriptor* CSOItemRecipe_descriptor_ = NULL;
  65. const ::google::protobuf::internal::GeneratedMessageReflection*
  66. CSOItemRecipe_reflection_ = NULL;
  67. const ::google::protobuf::Descriptor* CMsgDevNewItemRequest_descriptor_ = NULL;
  68. const ::google::protobuf::internal::GeneratedMessageReflection*
  69. CMsgDevNewItemRequest_reflection_ = NULL;
  70. const ::google::protobuf::Descriptor* CMsgIncrementKillCountAttribute_descriptor_ = NULL;
  71. const ::google::protobuf::internal::GeneratedMessageReflection*
  72. CMsgIncrementKillCountAttribute_reflection_ = NULL;
  73. const ::google::protobuf::Descriptor* CMsgApplySticker_descriptor_ = NULL;
  74. const ::google::protobuf::internal::GeneratedMessageReflection*
  75. CMsgApplySticker_reflection_ = NULL;
  76. const ::google::protobuf::Descriptor* CMsgApplyStatTrakSwap_descriptor_ = NULL;
  77. const ::google::protobuf::internal::GeneratedMessageReflection*
  78. CMsgApplyStatTrakSwap_reflection_ = NULL;
  79. const ::google::protobuf::Descriptor* CMsgApplyStrangePart_descriptor_ = NULL;
  80. const ::google::protobuf::internal::GeneratedMessageReflection*
  81. CMsgApplyStrangePart_reflection_ = NULL;
  82. const ::google::protobuf::Descriptor* CMsgApplyPennantUpgrade_descriptor_ = NULL;
  83. const ::google::protobuf::internal::GeneratedMessageReflection*
  84. CMsgApplyPennantUpgrade_reflection_ = NULL;
  85. const ::google::protobuf::Descriptor* CMsgApplyEggEssence_descriptor_ = NULL;
  86. const ::google::protobuf::internal::GeneratedMessageReflection*
  87. CMsgApplyEggEssence_reflection_ = NULL;
  88. const ::google::protobuf::Descriptor* CSOEconItemAttribute_descriptor_ = NULL;
  89. const ::google::protobuf::internal::GeneratedMessageReflection*
  90. CSOEconItemAttribute_reflection_ = NULL;
  91. const ::google::protobuf::Descriptor* CSOEconItemEquipped_descriptor_ = NULL;
  92. const ::google::protobuf::internal::GeneratedMessageReflection*
  93. CSOEconItemEquipped_reflection_ = NULL;
  94. const ::google::protobuf::Descriptor* CSOEconItem_descriptor_ = NULL;
  95. const ::google::protobuf::internal::GeneratedMessageReflection*
  96. CSOEconItem_reflection_ = NULL;
  97. const ::google::protobuf::Descriptor* CMsgAdjustItemEquippedState_descriptor_ = NULL;
  98. const ::google::protobuf::internal::GeneratedMessageReflection*
  99. CMsgAdjustItemEquippedState_reflection_ = NULL;
  100. const ::google::protobuf::Descriptor* CMsgSortItems_descriptor_ = NULL;
  101. const ::google::protobuf::internal::GeneratedMessageReflection*
  102. CMsgSortItems_reflection_ = NULL;
  103. const ::google::protobuf::Descriptor* CSOEconClaimCode_descriptor_ = NULL;
  104. const ::google::protobuf::internal::GeneratedMessageReflection*
  105. CSOEconClaimCode_reflection_ = NULL;
  106. const ::google::protobuf::Descriptor* CMsgStoreGetUserData_descriptor_ = NULL;
  107. const ::google::protobuf::internal::GeneratedMessageReflection*
  108. CMsgStoreGetUserData_reflection_ = NULL;
  109. const ::google::protobuf::Descriptor* CMsgStoreGetUserDataResponse_descriptor_ = NULL;
  110. const ::google::protobuf::internal::GeneratedMessageReflection*
  111. CMsgStoreGetUserDataResponse_reflection_ = NULL;
  112. const ::google::protobuf::Descriptor* CMsgUpdateItemSchema_descriptor_ = NULL;
  113. const ::google::protobuf::internal::GeneratedMessageReflection*
  114. CMsgUpdateItemSchema_reflection_ = NULL;
  115. const ::google::protobuf::Descriptor* CMsgGCError_descriptor_ = NULL;
  116. const ::google::protobuf::internal::GeneratedMessageReflection*
  117. CMsgGCError_reflection_ = NULL;
  118. const ::google::protobuf::Descriptor* CMsgRequestInventoryRefresh_descriptor_ = NULL;
  119. const ::google::protobuf::internal::GeneratedMessageReflection*
  120. CMsgRequestInventoryRefresh_reflection_ = NULL;
  121. const ::google::protobuf::Descriptor* CMsgConVarValue_descriptor_ = NULL;
  122. const ::google::protobuf::internal::GeneratedMessageReflection*
  123. CMsgConVarValue_reflection_ = NULL;
  124. const ::google::protobuf::Descriptor* CMsgReplicateConVars_descriptor_ = NULL;
  125. const ::google::protobuf::internal::GeneratedMessageReflection*
  126. CMsgReplicateConVars_reflection_ = NULL;
  127. const ::google::protobuf::Descriptor* CMsgUseItem_descriptor_ = NULL;
  128. const ::google::protobuf::internal::GeneratedMessageReflection*
  129. CMsgUseItem_reflection_ = NULL;
  130. const ::google::protobuf::Descriptor* CMsgReplayUploadedToYouTube_descriptor_ = NULL;
  131. const ::google::protobuf::internal::GeneratedMessageReflection*
  132. CMsgReplayUploadedToYouTube_reflection_ = NULL;
  133. const ::google::protobuf::Descriptor* CMsgConsumableExhausted_descriptor_ = NULL;
  134. const ::google::protobuf::internal::GeneratedMessageReflection*
  135. CMsgConsumableExhausted_reflection_ = NULL;
  136. const ::google::protobuf::Descriptor* CMsgItemAcknowledged__DEPRECATED_descriptor_ = NULL;
  137. const ::google::protobuf::internal::GeneratedMessageReflection*
  138. CMsgItemAcknowledged__DEPRECATED_reflection_ = NULL;
  139. const ::google::protobuf::Descriptor* CMsgSetItemPositions_descriptor_ = NULL;
  140. const ::google::protobuf::internal::GeneratedMessageReflection*
  141. CMsgSetItemPositions_reflection_ = NULL;
  142. const ::google::protobuf::Descriptor* CMsgSetItemPositions_ItemPosition_descriptor_ = NULL;
  143. const ::google::protobuf::internal::GeneratedMessageReflection*
  144. CMsgSetItemPositions_ItemPosition_reflection_ = NULL;
  145. const ::google::protobuf::Descriptor* CMsgGCReportAbuse_descriptor_ = NULL;
  146. const ::google::protobuf::internal::GeneratedMessageReflection*
  147. CMsgGCReportAbuse_reflection_ = NULL;
  148. const ::google::protobuf::Descriptor* CMsgGCReportAbuseResponse_descriptor_ = NULL;
  149. const ::google::protobuf::internal::GeneratedMessageReflection*
  150. CMsgGCReportAbuseResponse_reflection_ = NULL;
  151. const ::google::protobuf::Descriptor* CMsgGCNameItemNotification_descriptor_ = NULL;
  152. const ::google::protobuf::internal::GeneratedMessageReflection*
  153. CMsgGCNameItemNotification_reflection_ = NULL;
  154. const ::google::protobuf::Descriptor* CMsgGCClientDisplayNotification_descriptor_ = NULL;
  155. const ::google::protobuf::internal::GeneratedMessageReflection*
  156. CMsgGCClientDisplayNotification_reflection_ = NULL;
  157. const ::google::protobuf::Descriptor* CMsgGCShowItemsPickedUp_descriptor_ = NULL;
  158. const ::google::protobuf::internal::GeneratedMessageReflection*
  159. CMsgGCShowItemsPickedUp_reflection_ = NULL;
  160. const ::google::protobuf::Descriptor* CMsgGCIncrementKillCountResponse_descriptor_ = NULL;
  161. const ::google::protobuf::internal::GeneratedMessageReflection*
  162. CMsgGCIncrementKillCountResponse_reflection_ = NULL;
  163. const ::google::protobuf::Descriptor* CSOEconItemDropRateBonus_descriptor_ = NULL;
  164. const ::google::protobuf::internal::GeneratedMessageReflection*
  165. CSOEconItemDropRateBonus_reflection_ = NULL;
  166. const ::google::protobuf::Descriptor* CSOEconItemLeagueViewPass_descriptor_ = NULL;
  167. const ::google::protobuf::internal::GeneratedMessageReflection*
  168. CSOEconItemLeagueViewPass_reflection_ = NULL;
  169. const ::google::protobuf::Descriptor* CSOEconItemEventTicket_descriptor_ = NULL;
  170. const ::google::protobuf::internal::GeneratedMessageReflection*
  171. CSOEconItemEventTicket_reflection_ = NULL;
  172. const ::google::protobuf::Descriptor* CMsgGCItemPreviewItemBoughtNotification_descriptor_ = NULL;
  173. const ::google::protobuf::internal::GeneratedMessageReflection*
  174. CMsgGCItemPreviewItemBoughtNotification_reflection_ = NULL;
  175. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseCancel_descriptor_ = NULL;
  176. const ::google::protobuf::internal::GeneratedMessageReflection*
  177. CMsgGCStorePurchaseCancel_reflection_ = NULL;
  178. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseCancelResponse_descriptor_ = NULL;
  179. const ::google::protobuf::internal::GeneratedMessageReflection*
  180. CMsgGCStorePurchaseCancelResponse_reflection_ = NULL;
  181. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseFinalize_descriptor_ = NULL;
  182. const ::google::protobuf::internal::GeneratedMessageReflection*
  183. CMsgGCStorePurchaseFinalize_reflection_ = NULL;
  184. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseFinalizeResponse_descriptor_ = NULL;
  185. const ::google::protobuf::internal::GeneratedMessageReflection*
  186. CMsgGCStorePurchaseFinalizeResponse_reflection_ = NULL;
  187. const ::google::protobuf::Descriptor* CMsgGCBannedWordListRequest_descriptor_ = NULL;
  188. const ::google::protobuf::internal::GeneratedMessageReflection*
  189. CMsgGCBannedWordListRequest_reflection_ = NULL;
  190. const ::google::protobuf::Descriptor* CMsgGCRequestAnnouncements_descriptor_ = NULL;
  191. const ::google::protobuf::internal::GeneratedMessageReflection*
  192. CMsgGCRequestAnnouncements_reflection_ = NULL;
  193. const ::google::protobuf::Descriptor* CMsgGCRequestAnnouncementsResponse_descriptor_ = NULL;
  194. const ::google::protobuf::internal::GeneratedMessageReflection*
  195. CMsgGCRequestAnnouncementsResponse_reflection_ = NULL;
  196. const ::google::protobuf::Descriptor* CMsgGCBannedWord_descriptor_ = NULL;
  197. const ::google::protobuf::internal::GeneratedMessageReflection*
  198. CMsgGCBannedWord_reflection_ = NULL;
  199. const ::google::protobuf::Descriptor* CMsgGCBannedWordListResponse_descriptor_ = NULL;
  200. const ::google::protobuf::internal::GeneratedMessageReflection*
  201. CMsgGCBannedWordListResponse_reflection_ = NULL;
  202. const ::google::protobuf::Descriptor* CMsgGCToGCBannedWordListBroadcast_descriptor_ = NULL;
  203. const ::google::protobuf::internal::GeneratedMessageReflection*
  204. CMsgGCToGCBannedWordListBroadcast_reflection_ = NULL;
  205. const ::google::protobuf::Descriptor* CMsgGCToGCBannedWordListUpdated_descriptor_ = NULL;
  206. const ::google::protobuf::internal::GeneratedMessageReflection*
  207. CMsgGCToGCBannedWordListUpdated_reflection_ = NULL;
  208. const ::google::protobuf::Descriptor* CSOEconDefaultEquippedDefinitionInstanceClient_descriptor_ = NULL;
  209. const ::google::protobuf::internal::GeneratedMessageReflection*
  210. CSOEconDefaultEquippedDefinitionInstanceClient_reflection_ = NULL;
  211. const ::google::protobuf::Descriptor* CMsgGCToGCDirtySDOCache_descriptor_ = NULL;
  212. const ::google::protobuf::internal::GeneratedMessageReflection*
  213. CMsgGCToGCDirtySDOCache_reflection_ = NULL;
  214. const ::google::protobuf::Descriptor* CMsgGCToGCDirtyMultipleSDOCache_descriptor_ = NULL;
  215. const ::google::protobuf::internal::GeneratedMessageReflection*
  216. CMsgGCToGCDirtyMultipleSDOCache_reflection_ = NULL;
  217. const ::google::protobuf::Descriptor* CMsgGCCollectItem_descriptor_ = NULL;
  218. const ::google::protobuf::internal::GeneratedMessageReflection*
  219. CMsgGCCollectItem_reflection_ = NULL;
  220. const ::google::protobuf::Descriptor* CMsgSDONoMemcached_descriptor_ = NULL;
  221. const ::google::protobuf::internal::GeneratedMessageReflection*
  222. CMsgSDONoMemcached_reflection_ = NULL;
  223. const ::google::protobuf::Descriptor* CMsgGCToGCUpdateSQLKeyValue_descriptor_ = NULL;
  224. const ::google::protobuf::internal::GeneratedMessageReflection*
  225. CMsgGCToGCUpdateSQLKeyValue_reflection_ = NULL;
  226. const ::google::protobuf::Descriptor* CMsgGCToGCIsTrustedServer_descriptor_ = NULL;
  227. const ::google::protobuf::internal::GeneratedMessageReflection*
  228. CMsgGCToGCIsTrustedServer_reflection_ = NULL;
  229. const ::google::protobuf::Descriptor* CMsgGCToGCIsTrustedServerResponse_descriptor_ = NULL;
  230. const ::google::protobuf::internal::GeneratedMessageReflection*
  231. CMsgGCToGCIsTrustedServerResponse_reflection_ = NULL;
  232. const ::google::protobuf::Descriptor* CMsgGCToGCBroadcastConsoleCommand_descriptor_ = NULL;
  233. const ::google::protobuf::internal::GeneratedMessageReflection*
  234. CMsgGCToGCBroadcastConsoleCommand_reflection_ = NULL;
  235. const ::google::protobuf::Descriptor* CMsgGCServerVersionUpdated_descriptor_ = NULL;
  236. const ::google::protobuf::internal::GeneratedMessageReflection*
  237. CMsgGCServerVersionUpdated_reflection_ = NULL;
  238. const ::google::protobuf::Descriptor* CMsgGCClientVersionUpdated_descriptor_ = NULL;
  239. const ::google::protobuf::internal::GeneratedMessageReflection*
  240. CMsgGCClientVersionUpdated_reflection_ = NULL;
  241. const ::google::protobuf::Descriptor* CMsgGCToGCWebAPIAccountChanged_descriptor_ = NULL;
  242. const ::google::protobuf::internal::GeneratedMessageReflection*
  243. CMsgGCToGCWebAPIAccountChanged_reflection_ = NULL;
  244. const ::google::protobuf::Descriptor* CMsgGCToGCRequestPassportItemGrant_descriptor_ = NULL;
  245. const ::google::protobuf::internal::GeneratedMessageReflection*
  246. CMsgGCToGCRequestPassportItemGrant_reflection_ = NULL;
  247. const ::google::protobuf::Descriptor* CMsgGameServerInfo_descriptor_ = NULL;
  248. const ::google::protobuf::internal::GeneratedMessageReflection*
  249. CMsgGameServerInfo_reflection_ = NULL;
  250. const ::google::protobuf::EnumDescriptor* CMsgGameServerInfo_ServerType_descriptor_ = NULL;
  251. const ::google::protobuf::EnumDescriptor* EGCBaseMsg_descriptor_ = NULL;
  252. const ::google::protobuf::EnumDescriptor* EGCBaseProtoObjectTypes_descriptor_ = NULL;
  253. const ::google::protobuf::EnumDescriptor* GC_BannedWordType_descriptor_ = NULL;
  254. } // namespace
  255. void protobuf_AssignDesc_base_5fgcmessages_2eproto() {
  256. protobuf_AddDesc_base_5fgcmessages_2eproto();
  257. const ::google::protobuf::FileDescriptor* file =
  258. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  259. "base_gcmessages.proto");
  260. GOOGLE_CHECK(file != NULL);
  261. CGCStorePurchaseInit_LineItem_descriptor_ = file->message_type(0);
  262. static const int CGCStorePurchaseInit_LineItem_offsets_[4] = {
  263. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, item_def_id_),
  264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, quantity_),
  265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, cost_in_local_currency_),
  266. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, purchase_type_),
  267. };
  268. CGCStorePurchaseInit_LineItem_reflection_ =
  269. new ::google::protobuf::internal::GeneratedMessageReflection(
  270. CGCStorePurchaseInit_LineItem_descriptor_,
  271. CGCStorePurchaseInit_LineItem::default_instance_,
  272. CGCStorePurchaseInit_LineItem_offsets_,
  273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, _has_bits_[0]),
  274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, _unknown_fields_),
  275. -1,
  276. ::google::protobuf::DescriptorPool::generated_pool(),
  277. ::google::protobuf::MessageFactory::generated_factory(),
  278. sizeof(CGCStorePurchaseInit_LineItem));
  279. CMsgGCStorePurchaseInit_descriptor_ = file->message_type(1);
  280. static const int CMsgGCStorePurchaseInit_offsets_[4] = {
  281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInit, country_),
  282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInit, language_),
  283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInit, currency_),
  284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInit, line_items_),
  285. };
  286. CMsgGCStorePurchaseInit_reflection_ =
  287. new ::google::protobuf::internal::GeneratedMessageReflection(
  288. CMsgGCStorePurchaseInit_descriptor_,
  289. CMsgGCStorePurchaseInit::default_instance_,
  290. CMsgGCStorePurchaseInit_offsets_,
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInit, _has_bits_[0]),
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInit, _unknown_fields_),
  293. -1,
  294. ::google::protobuf::DescriptorPool::generated_pool(),
  295. ::google::protobuf::MessageFactory::generated_factory(),
  296. sizeof(CMsgGCStorePurchaseInit));
  297. CMsgGCStorePurchaseInitResponse_descriptor_ = file->message_type(2);
  298. static const int CMsgGCStorePurchaseInitResponse_offsets_[2] = {
  299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, result_),
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, txn_id_),
  301. };
  302. CMsgGCStorePurchaseInitResponse_reflection_ =
  303. new ::google::protobuf::internal::GeneratedMessageReflection(
  304. CMsgGCStorePurchaseInitResponse_descriptor_,
  305. CMsgGCStorePurchaseInitResponse::default_instance_,
  306. CMsgGCStorePurchaseInitResponse_offsets_,
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, _has_bits_[0]),
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, _unknown_fields_),
  309. -1,
  310. ::google::protobuf::DescriptorPool::generated_pool(),
  311. ::google::protobuf::MessageFactory::generated_factory(),
  312. sizeof(CMsgGCStorePurchaseInitResponse));
  313. CSOPartyInvite_descriptor_ = file->message_type(3);
  314. static const int CSOPartyInvite_offsets_[3] = {
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOPartyInvite, group_id_),
  316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOPartyInvite, sender_id_),
  317. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOPartyInvite, sender_name_),
  318. };
  319. CSOPartyInvite_reflection_ =
  320. new ::google::protobuf::internal::GeneratedMessageReflection(
  321. CSOPartyInvite_descriptor_,
  322. CSOPartyInvite::default_instance_,
  323. CSOPartyInvite_offsets_,
  324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOPartyInvite, _has_bits_[0]),
  325. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOPartyInvite, _unknown_fields_),
  326. -1,
  327. ::google::protobuf::DescriptorPool::generated_pool(),
  328. ::google::protobuf::MessageFactory::generated_factory(),
  329. sizeof(CSOPartyInvite));
  330. CSOLobbyInvite_descriptor_ = file->message_type(4);
  331. static const int CSOLobbyInvite_offsets_[3] = {
  332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOLobbyInvite, group_id_),
  333. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOLobbyInvite, sender_id_),
  334. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOLobbyInvite, sender_name_),
  335. };
  336. CSOLobbyInvite_reflection_ =
  337. new ::google::protobuf::internal::GeneratedMessageReflection(
  338. CSOLobbyInvite_descriptor_,
  339. CSOLobbyInvite::default_instance_,
  340. CSOLobbyInvite_offsets_,
  341. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOLobbyInvite, _has_bits_[0]),
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOLobbyInvite, _unknown_fields_),
  343. -1,
  344. ::google::protobuf::DescriptorPool::generated_pool(),
  345. ::google::protobuf::MessageFactory::generated_factory(),
  346. sizeof(CSOLobbyInvite));
  347. CMsgSystemBroadcast_descriptor_ = file->message_type(5);
  348. static const int CMsgSystemBroadcast_offsets_[1] = {
  349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSystemBroadcast, message_),
  350. };
  351. CMsgSystemBroadcast_reflection_ =
  352. new ::google::protobuf::internal::GeneratedMessageReflection(
  353. CMsgSystemBroadcast_descriptor_,
  354. CMsgSystemBroadcast::default_instance_,
  355. CMsgSystemBroadcast_offsets_,
  356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSystemBroadcast, _has_bits_[0]),
  357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSystemBroadcast, _unknown_fields_),
  358. -1,
  359. ::google::protobuf::DescriptorPool::generated_pool(),
  360. ::google::protobuf::MessageFactory::generated_factory(),
  361. sizeof(CMsgSystemBroadcast));
  362. CMsgInviteToParty_descriptor_ = file->message_type(6);
  363. static const int CMsgInviteToParty_offsets_[3] = {
  364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInviteToParty, steam_id_),
  365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInviteToParty, client_version_),
  366. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInviteToParty, team_invite_),
  367. };
  368. CMsgInviteToParty_reflection_ =
  369. new ::google::protobuf::internal::GeneratedMessageReflection(
  370. CMsgInviteToParty_descriptor_,
  371. CMsgInviteToParty::default_instance_,
  372. CMsgInviteToParty_offsets_,
  373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInviteToParty, _has_bits_[0]),
  374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInviteToParty, _unknown_fields_),
  375. -1,
  376. ::google::protobuf::DescriptorPool::generated_pool(),
  377. ::google::protobuf::MessageFactory::generated_factory(),
  378. sizeof(CMsgInviteToParty));
  379. CMsgInvitationCreated_descriptor_ = file->message_type(7);
  380. static const int CMsgInvitationCreated_offsets_[2] = {
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInvitationCreated, group_id_),
  382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInvitationCreated, steam_id_),
  383. };
  384. CMsgInvitationCreated_reflection_ =
  385. new ::google::protobuf::internal::GeneratedMessageReflection(
  386. CMsgInvitationCreated_descriptor_,
  387. CMsgInvitationCreated::default_instance_,
  388. CMsgInvitationCreated_offsets_,
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInvitationCreated, _has_bits_[0]),
  390. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgInvitationCreated, _unknown_fields_),
  391. -1,
  392. ::google::protobuf::DescriptorPool::generated_pool(),
  393. ::google::protobuf::MessageFactory::generated_factory(),
  394. sizeof(CMsgInvitationCreated));
  395. CMsgPartyInviteResponse_descriptor_ = file->message_type(8);
  396. static const int CMsgPartyInviteResponse_offsets_[4] = {
  397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPartyInviteResponse, party_id_),
  398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPartyInviteResponse, accept_),
  399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPartyInviteResponse, client_version_),
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPartyInviteResponse, team_invite_),
  401. };
  402. CMsgPartyInviteResponse_reflection_ =
  403. new ::google::protobuf::internal::GeneratedMessageReflection(
  404. CMsgPartyInviteResponse_descriptor_,
  405. CMsgPartyInviteResponse::default_instance_,
  406. CMsgPartyInviteResponse_offsets_,
  407. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPartyInviteResponse, _has_bits_[0]),
  408. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPartyInviteResponse, _unknown_fields_),
  409. -1,
  410. ::google::protobuf::DescriptorPool::generated_pool(),
  411. ::google::protobuf::MessageFactory::generated_factory(),
  412. sizeof(CMsgPartyInviteResponse));
  413. CMsgKickFromParty_descriptor_ = file->message_type(9);
  414. static const int CMsgKickFromParty_offsets_[1] = {
  415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgKickFromParty, steam_id_),
  416. };
  417. CMsgKickFromParty_reflection_ =
  418. new ::google::protobuf::internal::GeneratedMessageReflection(
  419. CMsgKickFromParty_descriptor_,
  420. CMsgKickFromParty::default_instance_,
  421. CMsgKickFromParty_offsets_,
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgKickFromParty, _has_bits_[0]),
  423. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgKickFromParty, _unknown_fields_),
  424. -1,
  425. ::google::protobuf::DescriptorPool::generated_pool(),
  426. ::google::protobuf::MessageFactory::generated_factory(),
  427. sizeof(CMsgKickFromParty));
  428. CMsgLeaveParty_descriptor_ = file->message_type(10);
  429. static const int CMsgLeaveParty_offsets_[1] = {
  430. };
  431. CMsgLeaveParty_reflection_ =
  432. new ::google::protobuf::internal::GeneratedMessageReflection(
  433. CMsgLeaveParty_descriptor_,
  434. CMsgLeaveParty::default_instance_,
  435. CMsgLeaveParty_offsets_,
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgLeaveParty, _has_bits_[0]),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgLeaveParty, _unknown_fields_),
  438. -1,
  439. ::google::protobuf::DescriptorPool::generated_pool(),
  440. ::google::protobuf::MessageFactory::generated_factory(),
  441. sizeof(CMsgLeaveParty));
  442. CMsgServerAvailable_descriptor_ = file->message_type(11);
  443. static const int CMsgServerAvailable_offsets_[1] = {
  444. };
  445. CMsgServerAvailable_reflection_ =
  446. new ::google::protobuf::internal::GeneratedMessageReflection(
  447. CMsgServerAvailable_descriptor_,
  448. CMsgServerAvailable::default_instance_,
  449. CMsgServerAvailable_offsets_,
  450. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerAvailable, _has_bits_[0]),
  451. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerAvailable, _unknown_fields_),
  452. -1,
  453. ::google::protobuf::DescriptorPool::generated_pool(),
  454. ::google::protobuf::MessageFactory::generated_factory(),
  455. sizeof(CMsgServerAvailable));
  456. CMsgLANServerAvailable_descriptor_ = file->message_type(12);
  457. static const int CMsgLANServerAvailable_offsets_[1] = {
  458. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgLANServerAvailable, lobby_id_),
  459. };
  460. CMsgLANServerAvailable_reflection_ =
  461. new ::google::protobuf::internal::GeneratedMessageReflection(
  462. CMsgLANServerAvailable_descriptor_,
  463. CMsgLANServerAvailable::default_instance_,
  464. CMsgLANServerAvailable_offsets_,
  465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgLANServerAvailable, _has_bits_[0]),
  466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgLANServerAvailable, _unknown_fields_),
  467. -1,
  468. ::google::protobuf::DescriptorPool::generated_pool(),
  469. ::google::protobuf::MessageFactory::generated_factory(),
  470. sizeof(CMsgLANServerAvailable));
  471. CSOEconGameAccountClient_descriptor_ = file->message_type(13);
  472. static const int CSOEconGameAccountClient_offsets_[5] = {
  473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, additional_backpack_slots_),
  474. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, bonus_xp_timestamp_refresh_),
  475. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, bonus_xp_usedflags_),
  476. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, elevated_state_),
  477. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, elevated_timestamp_),
  478. };
  479. CSOEconGameAccountClient_reflection_ =
  480. new ::google::protobuf::internal::GeneratedMessageReflection(
  481. CSOEconGameAccountClient_descriptor_,
  482. CSOEconGameAccountClient::default_instance_,
  483. CSOEconGameAccountClient_offsets_,
  484. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, _has_bits_[0]),
  485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconGameAccountClient, _unknown_fields_),
  486. -1,
  487. ::google::protobuf::DescriptorPool::generated_pool(),
  488. ::google::protobuf::MessageFactory::generated_factory(),
  489. sizeof(CSOEconGameAccountClient));
  490. CSOItemCriteriaCondition_descriptor_ = file->message_type(14);
  491. static const int CSOItemCriteriaCondition_offsets_[5] = {
  492. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, op_),
  493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, field_),
  494. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, required_),
  495. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, float_value_),
  496. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, string_value_),
  497. };
  498. CSOItemCriteriaCondition_reflection_ =
  499. new ::google::protobuf::internal::GeneratedMessageReflection(
  500. CSOItemCriteriaCondition_descriptor_,
  501. CSOItemCriteriaCondition::default_instance_,
  502. CSOItemCriteriaCondition_offsets_,
  503. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, _has_bits_[0]),
  504. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteriaCondition, _unknown_fields_),
  505. -1,
  506. ::google::protobuf::DescriptorPool::generated_pool(),
  507. ::google::protobuf::MessageFactory::generated_factory(),
  508. sizeof(CSOItemCriteriaCondition));
  509. CSOItemCriteria_descriptor_ = file->message_type(15);
  510. static const int CSOItemCriteria_offsets_[11] = {
  511. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, item_level_),
  512. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, item_quality_),
  513. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, item_level_set_),
  514. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, item_quality_set_),
  515. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, initial_inventory_),
  516. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, initial_quantity_),
  517. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, ignore_enabled_flag_),
  518. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, conditions_),
  519. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, item_rarity_),
  520. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, item_rarity_set_),
  521. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, recent_only_),
  522. };
  523. CSOItemCriteria_reflection_ =
  524. new ::google::protobuf::internal::GeneratedMessageReflection(
  525. CSOItemCriteria_descriptor_,
  526. CSOItemCriteria::default_instance_,
  527. CSOItemCriteria_offsets_,
  528. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, _has_bits_[0]),
  529. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemCriteria, _unknown_fields_),
  530. -1,
  531. ::google::protobuf::DescriptorPool::generated_pool(),
  532. ::google::protobuf::MessageFactory::generated_factory(),
  533. sizeof(CSOItemCriteria));
  534. CSOItemRecipe_descriptor_ = file->message_type(16);
  535. static const int CSOItemRecipe_offsets_[19] = {
  536. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, def_index_),
  537. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, name_),
  538. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, n_a_),
  539. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, desc_inputs_),
  540. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, desc_outputs_),
  541. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, di_a_),
  542. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, di_b_),
  543. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, di_c_),
  544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, do_a_),
  545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, do_b_),
  546. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, do_c_),
  547. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, requires_all_same_class_),
  548. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, requires_all_same_slot_),
  549. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, class_usage_for_output_),
  550. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, slot_usage_for_output_),
  551. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, set_for_output_),
  552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, input_items_criteria_),
  553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, output_items_criteria_),
  554. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, input_item_dupe_counts_),
  555. };
  556. CSOItemRecipe_reflection_ =
  557. new ::google::protobuf::internal::GeneratedMessageReflection(
  558. CSOItemRecipe_descriptor_,
  559. CSOItemRecipe::default_instance_,
  560. CSOItemRecipe_offsets_,
  561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, _has_bits_[0]),
  562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOItemRecipe, _unknown_fields_),
  563. -1,
  564. ::google::protobuf::DescriptorPool::generated_pool(),
  565. ::google::protobuf::MessageFactory::generated_factory(),
  566. sizeof(CSOItemRecipe));
  567. CMsgDevNewItemRequest_descriptor_ = file->message_type(17);
  568. static const int CMsgDevNewItemRequest_offsets_[2] = {
  569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgDevNewItemRequest, receiver_),
  570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgDevNewItemRequest, criteria_),
  571. };
  572. CMsgDevNewItemRequest_reflection_ =
  573. new ::google::protobuf::internal::GeneratedMessageReflection(
  574. CMsgDevNewItemRequest_descriptor_,
  575. CMsgDevNewItemRequest::default_instance_,
  576. CMsgDevNewItemRequest_offsets_,
  577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgDevNewItemRequest, _has_bits_[0]),
  578. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgDevNewItemRequest, _unknown_fields_),
  579. -1,
  580. ::google::protobuf::DescriptorPool::generated_pool(),
  581. ::google::protobuf::MessageFactory::generated_factory(),
  582. sizeof(CMsgDevNewItemRequest));
  583. CMsgIncrementKillCountAttribute_descriptor_ = file->message_type(18);
  584. static const int CMsgIncrementKillCountAttribute_offsets_[5] = {
  585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, killer_account_id_),
  586. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, victim_account_id_),
  587. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, item_id_),
  588. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, event_type_),
  589. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, amount_),
  590. };
  591. CMsgIncrementKillCountAttribute_reflection_ =
  592. new ::google::protobuf::internal::GeneratedMessageReflection(
  593. CMsgIncrementKillCountAttribute_descriptor_,
  594. CMsgIncrementKillCountAttribute::default_instance_,
  595. CMsgIncrementKillCountAttribute_offsets_,
  596. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, _has_bits_[0]),
  597. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIncrementKillCountAttribute, _unknown_fields_),
  598. -1,
  599. ::google::protobuf::DescriptorPool::generated_pool(),
  600. ::google::protobuf::MessageFactory::generated_factory(),
  601. sizeof(CMsgIncrementKillCountAttribute));
  602. CMsgApplySticker_descriptor_ = file->message_type(19);
  603. static const int CMsgApplySticker_offsets_[4] = {
  604. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplySticker, sticker_item_id_),
  605. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplySticker, item_item_id_),
  606. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplySticker, sticker_slot_),
  607. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplySticker, baseitem_defidx_),
  608. };
  609. CMsgApplySticker_reflection_ =
  610. new ::google::protobuf::internal::GeneratedMessageReflection(
  611. CMsgApplySticker_descriptor_,
  612. CMsgApplySticker::default_instance_,
  613. CMsgApplySticker_offsets_,
  614. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplySticker, _has_bits_[0]),
  615. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplySticker, _unknown_fields_),
  616. -1,
  617. ::google::protobuf::DescriptorPool::generated_pool(),
  618. ::google::protobuf::MessageFactory::generated_factory(),
  619. sizeof(CMsgApplySticker));
  620. CMsgApplyStatTrakSwap_descriptor_ = file->message_type(20);
  621. static const int CMsgApplyStatTrakSwap_offsets_[3] = {
  622. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStatTrakSwap, tool_item_id_),
  623. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStatTrakSwap, item_1_item_id_),
  624. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStatTrakSwap, item_2_item_id_),
  625. };
  626. CMsgApplyStatTrakSwap_reflection_ =
  627. new ::google::protobuf::internal::GeneratedMessageReflection(
  628. CMsgApplyStatTrakSwap_descriptor_,
  629. CMsgApplyStatTrakSwap::default_instance_,
  630. CMsgApplyStatTrakSwap_offsets_,
  631. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStatTrakSwap, _has_bits_[0]),
  632. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStatTrakSwap, _unknown_fields_),
  633. -1,
  634. ::google::protobuf::DescriptorPool::generated_pool(),
  635. ::google::protobuf::MessageFactory::generated_factory(),
  636. sizeof(CMsgApplyStatTrakSwap));
  637. CMsgApplyStrangePart_descriptor_ = file->message_type(21);
  638. static const int CMsgApplyStrangePart_offsets_[2] = {
  639. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStrangePart, strange_part_item_id_),
  640. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStrangePart, item_item_id_),
  641. };
  642. CMsgApplyStrangePart_reflection_ =
  643. new ::google::protobuf::internal::GeneratedMessageReflection(
  644. CMsgApplyStrangePart_descriptor_,
  645. CMsgApplyStrangePart::default_instance_,
  646. CMsgApplyStrangePart_offsets_,
  647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStrangePart, _has_bits_[0]),
  648. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyStrangePart, _unknown_fields_),
  649. -1,
  650. ::google::protobuf::DescriptorPool::generated_pool(),
  651. ::google::protobuf::MessageFactory::generated_factory(),
  652. sizeof(CMsgApplyStrangePart));
  653. CMsgApplyPennantUpgrade_descriptor_ = file->message_type(22);
  654. static const int CMsgApplyPennantUpgrade_offsets_[2] = {
  655. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyPennantUpgrade, upgrade_item_id_),
  656. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyPennantUpgrade, pennant_item_id_),
  657. };
  658. CMsgApplyPennantUpgrade_reflection_ =
  659. new ::google::protobuf::internal::GeneratedMessageReflection(
  660. CMsgApplyPennantUpgrade_descriptor_,
  661. CMsgApplyPennantUpgrade::default_instance_,
  662. CMsgApplyPennantUpgrade_offsets_,
  663. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyPennantUpgrade, _has_bits_[0]),
  664. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyPennantUpgrade, _unknown_fields_),
  665. -1,
  666. ::google::protobuf::DescriptorPool::generated_pool(),
  667. ::google::protobuf::MessageFactory::generated_factory(),
  668. sizeof(CMsgApplyPennantUpgrade));
  669. CMsgApplyEggEssence_descriptor_ = file->message_type(23);
  670. static const int CMsgApplyEggEssence_offsets_[2] = {
  671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyEggEssence, essence_item_id_),
  672. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyEggEssence, egg_item_id_),
  673. };
  674. CMsgApplyEggEssence_reflection_ =
  675. new ::google::protobuf::internal::GeneratedMessageReflection(
  676. CMsgApplyEggEssence_descriptor_,
  677. CMsgApplyEggEssence::default_instance_,
  678. CMsgApplyEggEssence_offsets_,
  679. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyEggEssence, _has_bits_[0]),
  680. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgApplyEggEssence, _unknown_fields_),
  681. -1,
  682. ::google::protobuf::DescriptorPool::generated_pool(),
  683. ::google::protobuf::MessageFactory::generated_factory(),
  684. sizeof(CMsgApplyEggEssence));
  685. CSOEconItemAttribute_descriptor_ = file->message_type(24);
  686. static const int CSOEconItemAttribute_offsets_[3] = {
  687. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemAttribute, def_index_),
  688. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemAttribute, value_),
  689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemAttribute, value_bytes_),
  690. };
  691. CSOEconItemAttribute_reflection_ =
  692. new ::google::protobuf::internal::GeneratedMessageReflection(
  693. CSOEconItemAttribute_descriptor_,
  694. CSOEconItemAttribute::default_instance_,
  695. CSOEconItemAttribute_offsets_,
  696. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemAttribute, _has_bits_[0]),
  697. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemAttribute, _unknown_fields_),
  698. -1,
  699. ::google::protobuf::DescriptorPool::generated_pool(),
  700. ::google::protobuf::MessageFactory::generated_factory(),
  701. sizeof(CSOEconItemAttribute));
  702. CSOEconItemEquipped_descriptor_ = file->message_type(25);
  703. static const int CSOEconItemEquipped_offsets_[2] = {
  704. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEquipped, new_class_),
  705. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEquipped, new_slot_),
  706. };
  707. CSOEconItemEquipped_reflection_ =
  708. new ::google::protobuf::internal::GeneratedMessageReflection(
  709. CSOEconItemEquipped_descriptor_,
  710. CSOEconItemEquipped::default_instance_,
  711. CSOEconItemEquipped_offsets_,
  712. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEquipped, _has_bits_[0]),
  713. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEquipped, _unknown_fields_),
  714. -1,
  715. ::google::protobuf::DescriptorPool::generated_pool(),
  716. ::google::protobuf::MessageFactory::generated_factory(),
  717. sizeof(CSOEconItemEquipped));
  718. CSOEconItem_descriptor_ = file->message_type(26);
  719. static const int CSOEconItem_offsets_[18] = {
  720. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, id_),
  721. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, account_id_),
  722. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, inventory_),
  723. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, def_index_),
  724. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, quantity_),
  725. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, level_),
  726. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, quality_),
  727. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, flags_),
  728. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, origin_),
  729. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, custom_name_),
  730. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, custom_desc_),
  731. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, attribute_),
  732. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, interior_item_),
  733. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, in_use_),
  734. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, style_),
  735. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, original_id_),
  736. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, equipped_state_),
  737. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, rarity_),
  738. };
  739. CSOEconItem_reflection_ =
  740. new ::google::protobuf::internal::GeneratedMessageReflection(
  741. CSOEconItem_descriptor_,
  742. CSOEconItem::default_instance_,
  743. CSOEconItem_offsets_,
  744. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, _has_bits_[0]),
  745. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItem, _unknown_fields_),
  746. -1,
  747. ::google::protobuf::DescriptorPool::generated_pool(),
  748. ::google::protobuf::MessageFactory::generated_factory(),
  749. sizeof(CSOEconItem));
  750. CMsgAdjustItemEquippedState_descriptor_ = file->message_type(27);
  751. static const int CMsgAdjustItemEquippedState_offsets_[4] = {
  752. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAdjustItemEquippedState, item_id_),
  753. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAdjustItemEquippedState, new_class_),
  754. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAdjustItemEquippedState, new_slot_),
  755. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAdjustItemEquippedState, swap_),
  756. };
  757. CMsgAdjustItemEquippedState_reflection_ =
  758. new ::google::protobuf::internal::GeneratedMessageReflection(
  759. CMsgAdjustItemEquippedState_descriptor_,
  760. CMsgAdjustItemEquippedState::default_instance_,
  761. CMsgAdjustItemEquippedState_offsets_,
  762. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAdjustItemEquippedState, _has_bits_[0]),
  763. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAdjustItemEquippedState, _unknown_fields_),
  764. -1,
  765. ::google::protobuf::DescriptorPool::generated_pool(),
  766. ::google::protobuf::MessageFactory::generated_factory(),
  767. sizeof(CMsgAdjustItemEquippedState));
  768. CMsgSortItems_descriptor_ = file->message_type(28);
  769. static const int CMsgSortItems_offsets_[1] = {
  770. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSortItems, sort_type_),
  771. };
  772. CMsgSortItems_reflection_ =
  773. new ::google::protobuf::internal::GeneratedMessageReflection(
  774. CMsgSortItems_descriptor_,
  775. CMsgSortItems::default_instance_,
  776. CMsgSortItems_offsets_,
  777. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSortItems, _has_bits_[0]),
  778. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSortItems, _unknown_fields_),
  779. -1,
  780. ::google::protobuf::DescriptorPool::generated_pool(),
  781. ::google::protobuf::MessageFactory::generated_factory(),
  782. sizeof(CMsgSortItems));
  783. CSOEconClaimCode_descriptor_ = file->message_type(29);
  784. static const int CSOEconClaimCode_offsets_[4] = {
  785. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconClaimCode, account_id_),
  786. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconClaimCode, code_type_),
  787. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconClaimCode, time_acquired_),
  788. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconClaimCode, code_),
  789. };
  790. CSOEconClaimCode_reflection_ =
  791. new ::google::protobuf::internal::GeneratedMessageReflection(
  792. CSOEconClaimCode_descriptor_,
  793. CSOEconClaimCode::default_instance_,
  794. CSOEconClaimCode_offsets_,
  795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconClaimCode, _has_bits_[0]),
  796. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconClaimCode, _unknown_fields_),
  797. -1,
  798. ::google::protobuf::DescriptorPool::generated_pool(),
  799. ::google::protobuf::MessageFactory::generated_factory(),
  800. sizeof(CSOEconClaimCode));
  801. CMsgStoreGetUserData_descriptor_ = file->message_type(30);
  802. static const int CMsgStoreGetUserData_offsets_[2] = {
  803. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserData, price_sheet_version_),
  804. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserData, currency_),
  805. };
  806. CMsgStoreGetUserData_reflection_ =
  807. new ::google::protobuf::internal::GeneratedMessageReflection(
  808. CMsgStoreGetUserData_descriptor_,
  809. CMsgStoreGetUserData::default_instance_,
  810. CMsgStoreGetUserData_offsets_,
  811. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserData, _has_bits_[0]),
  812. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserData, _unknown_fields_),
  813. -1,
  814. ::google::protobuf::DescriptorPool::generated_pool(),
  815. ::google::protobuf::MessageFactory::generated_factory(),
  816. sizeof(CMsgStoreGetUserData));
  817. CMsgStoreGetUserDataResponse_descriptor_ = file->message_type(31);
  818. static const int CMsgStoreGetUserDataResponse_offsets_[5] = {
  819. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, result_),
  820. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, currency_deprecated_),
  821. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, country_deprecated_),
  822. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, price_sheet_version_),
  823. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, price_sheet_),
  824. };
  825. CMsgStoreGetUserDataResponse_reflection_ =
  826. new ::google::protobuf::internal::GeneratedMessageReflection(
  827. CMsgStoreGetUserDataResponse_descriptor_,
  828. CMsgStoreGetUserDataResponse::default_instance_,
  829. CMsgStoreGetUserDataResponse_offsets_,
  830. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, _has_bits_[0]),
  831. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgStoreGetUserDataResponse, _unknown_fields_),
  832. -1,
  833. ::google::protobuf::DescriptorPool::generated_pool(),
  834. ::google::protobuf::MessageFactory::generated_factory(),
  835. sizeof(CMsgStoreGetUserDataResponse));
  836. CMsgUpdateItemSchema_descriptor_ = file->message_type(32);
  837. static const int CMsgUpdateItemSchema_offsets_[4] = {
  838. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUpdateItemSchema, items_game_),
  839. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUpdateItemSchema, item_schema_version_),
  840. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUpdateItemSchema, items_game_url_deprecated2013_),
  841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUpdateItemSchema, items_game_url_),
  842. };
  843. CMsgUpdateItemSchema_reflection_ =
  844. new ::google::protobuf::internal::GeneratedMessageReflection(
  845. CMsgUpdateItemSchema_descriptor_,
  846. CMsgUpdateItemSchema::default_instance_,
  847. CMsgUpdateItemSchema_offsets_,
  848. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUpdateItemSchema, _has_bits_[0]),
  849. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUpdateItemSchema, _unknown_fields_),
  850. -1,
  851. ::google::protobuf::DescriptorPool::generated_pool(),
  852. ::google::protobuf::MessageFactory::generated_factory(),
  853. sizeof(CMsgUpdateItemSchema));
  854. CMsgGCError_descriptor_ = file->message_type(33);
  855. static const int CMsgGCError_offsets_[1] = {
  856. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCError, error_text_),
  857. };
  858. CMsgGCError_reflection_ =
  859. new ::google::protobuf::internal::GeneratedMessageReflection(
  860. CMsgGCError_descriptor_,
  861. CMsgGCError::default_instance_,
  862. CMsgGCError_offsets_,
  863. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCError, _has_bits_[0]),
  864. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCError, _unknown_fields_),
  865. -1,
  866. ::google::protobuf::DescriptorPool::generated_pool(),
  867. ::google::protobuf::MessageFactory::generated_factory(),
  868. sizeof(CMsgGCError));
  869. CMsgRequestInventoryRefresh_descriptor_ = file->message_type(34);
  870. static const int CMsgRequestInventoryRefresh_offsets_[1] = {
  871. };
  872. CMsgRequestInventoryRefresh_reflection_ =
  873. new ::google::protobuf::internal::GeneratedMessageReflection(
  874. CMsgRequestInventoryRefresh_descriptor_,
  875. CMsgRequestInventoryRefresh::default_instance_,
  876. CMsgRequestInventoryRefresh_offsets_,
  877. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRequestInventoryRefresh, _has_bits_[0]),
  878. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgRequestInventoryRefresh, _unknown_fields_),
  879. -1,
  880. ::google::protobuf::DescriptorPool::generated_pool(),
  881. ::google::protobuf::MessageFactory::generated_factory(),
  882. sizeof(CMsgRequestInventoryRefresh));
  883. CMsgConVarValue_descriptor_ = file->message_type(35);
  884. static const int CMsgConVarValue_offsets_[2] = {
  885. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConVarValue, name_),
  886. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConVarValue, value_),
  887. };
  888. CMsgConVarValue_reflection_ =
  889. new ::google::protobuf::internal::GeneratedMessageReflection(
  890. CMsgConVarValue_descriptor_,
  891. CMsgConVarValue::default_instance_,
  892. CMsgConVarValue_offsets_,
  893. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConVarValue, _has_bits_[0]),
  894. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConVarValue, _unknown_fields_),
  895. -1,
  896. ::google::protobuf::DescriptorPool::generated_pool(),
  897. ::google::protobuf::MessageFactory::generated_factory(),
  898. sizeof(CMsgConVarValue));
  899. CMsgReplicateConVars_descriptor_ = file->message_type(36);
  900. static const int CMsgReplicateConVars_offsets_[1] = {
  901. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplicateConVars, convars_),
  902. };
  903. CMsgReplicateConVars_reflection_ =
  904. new ::google::protobuf::internal::GeneratedMessageReflection(
  905. CMsgReplicateConVars_descriptor_,
  906. CMsgReplicateConVars::default_instance_,
  907. CMsgReplicateConVars_offsets_,
  908. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplicateConVars, _has_bits_[0]),
  909. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplicateConVars, _unknown_fields_),
  910. -1,
  911. ::google::protobuf::DescriptorPool::generated_pool(),
  912. ::google::protobuf::MessageFactory::generated_factory(),
  913. sizeof(CMsgReplicateConVars));
  914. CMsgUseItem_descriptor_ = file->message_type(37);
  915. static const int CMsgUseItem_offsets_[5] = {
  916. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, item_id_),
  917. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, target_steam_id_),
  918. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, gift__potential_targets_),
  919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, duel__class_lock_),
  920. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, initiator_steam_id_),
  921. };
  922. CMsgUseItem_reflection_ =
  923. new ::google::protobuf::internal::GeneratedMessageReflection(
  924. CMsgUseItem_descriptor_,
  925. CMsgUseItem::default_instance_,
  926. CMsgUseItem_offsets_,
  927. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, _has_bits_[0]),
  928. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgUseItem, _unknown_fields_),
  929. -1,
  930. ::google::protobuf::DescriptorPool::generated_pool(),
  931. ::google::protobuf::MessageFactory::generated_factory(),
  932. sizeof(CMsgUseItem));
  933. CMsgReplayUploadedToYouTube_descriptor_ = file->message_type(38);
  934. static const int CMsgReplayUploadedToYouTube_offsets_[3] = {
  935. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplayUploadedToYouTube, youtube_url_),
  936. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplayUploadedToYouTube, youtube_account_name_),
  937. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplayUploadedToYouTube, session_id_),
  938. };
  939. CMsgReplayUploadedToYouTube_reflection_ =
  940. new ::google::protobuf::internal::GeneratedMessageReflection(
  941. CMsgReplayUploadedToYouTube_descriptor_,
  942. CMsgReplayUploadedToYouTube::default_instance_,
  943. CMsgReplayUploadedToYouTube_offsets_,
  944. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplayUploadedToYouTube, _has_bits_[0]),
  945. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgReplayUploadedToYouTube, _unknown_fields_),
  946. -1,
  947. ::google::protobuf::DescriptorPool::generated_pool(),
  948. ::google::protobuf::MessageFactory::generated_factory(),
  949. sizeof(CMsgReplayUploadedToYouTube));
  950. CMsgConsumableExhausted_descriptor_ = file->message_type(39);
  951. static const int CMsgConsumableExhausted_offsets_[1] = {
  952. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConsumableExhausted, item_def_id_),
  953. };
  954. CMsgConsumableExhausted_reflection_ =
  955. new ::google::protobuf::internal::GeneratedMessageReflection(
  956. CMsgConsumableExhausted_descriptor_,
  957. CMsgConsumableExhausted::default_instance_,
  958. CMsgConsumableExhausted_offsets_,
  959. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConsumableExhausted, _has_bits_[0]),
  960. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgConsumableExhausted, _unknown_fields_),
  961. -1,
  962. ::google::protobuf::DescriptorPool::generated_pool(),
  963. ::google::protobuf::MessageFactory::generated_factory(),
  964. sizeof(CMsgConsumableExhausted));
  965. CMsgItemAcknowledged__DEPRECATED_descriptor_ = file->message_type(40);
  966. static const int CMsgItemAcknowledged__DEPRECATED_offsets_[7] = {
  967. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, account_id_),
  968. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, inventory_),
  969. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, def_index_),
  970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, quality_),
  971. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, rarity_),
  972. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, origin_),
  973. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, item_id_),
  974. };
  975. CMsgItemAcknowledged__DEPRECATED_reflection_ =
  976. new ::google::protobuf::internal::GeneratedMessageReflection(
  977. CMsgItemAcknowledged__DEPRECATED_descriptor_,
  978. CMsgItemAcknowledged__DEPRECATED::default_instance_,
  979. CMsgItemAcknowledged__DEPRECATED_offsets_,
  980. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, _has_bits_[0]),
  981. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, _unknown_fields_),
  982. -1,
  983. ::google::protobuf::DescriptorPool::generated_pool(),
  984. ::google::protobuf::MessageFactory::generated_factory(),
  985. sizeof(CMsgItemAcknowledged__DEPRECATED));
  986. CMsgSetItemPositions_descriptor_ = file->message_type(41);
  987. static const int CMsgSetItemPositions_offsets_[1] = {
  988. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions, item_positions_),
  989. };
  990. CMsgSetItemPositions_reflection_ =
  991. new ::google::protobuf::internal::GeneratedMessageReflection(
  992. CMsgSetItemPositions_descriptor_,
  993. CMsgSetItemPositions::default_instance_,
  994. CMsgSetItemPositions_offsets_,
  995. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions, _has_bits_[0]),
  996. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions, _unknown_fields_),
  997. -1,
  998. ::google::protobuf::DescriptorPool::generated_pool(),
  999. ::google::protobuf::MessageFactory::generated_factory(),
  1000. sizeof(CMsgSetItemPositions));
  1001. CMsgSetItemPositions_ItemPosition_descriptor_ = CMsgSetItemPositions_descriptor_->nested_type(0);
  1002. static const int CMsgSetItemPositions_ItemPosition_offsets_[3] = {
  1003. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, legacy_item_id_),
  1004. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, position_),
  1005. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, item_id_),
  1006. };
  1007. CMsgSetItemPositions_ItemPosition_reflection_ =
  1008. new ::google::protobuf::internal::GeneratedMessageReflection(
  1009. CMsgSetItemPositions_ItemPosition_descriptor_,
  1010. CMsgSetItemPositions_ItemPosition::default_instance_,
  1011. CMsgSetItemPositions_ItemPosition_offsets_,
  1012. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, _has_bits_[0]),
  1013. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, _unknown_fields_),
  1014. -1,
  1015. ::google::protobuf::DescriptorPool::generated_pool(),
  1016. ::google::protobuf::MessageFactory::generated_factory(),
  1017. sizeof(CMsgSetItemPositions_ItemPosition));
  1018. CMsgGCReportAbuse_descriptor_ = file->message_type(42);
  1019. static const int CMsgGCReportAbuse_offsets_[7] = {
  1020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, target_steam_id_),
  1021. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, description_),
  1022. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, gid_),
  1023. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, abuse_type_),
  1024. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, content_type_),
  1025. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, target_game_server_ip_),
  1026. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, target_game_server_port_),
  1027. };
  1028. CMsgGCReportAbuse_reflection_ =
  1029. new ::google::protobuf::internal::GeneratedMessageReflection(
  1030. CMsgGCReportAbuse_descriptor_,
  1031. CMsgGCReportAbuse::default_instance_,
  1032. CMsgGCReportAbuse_offsets_,
  1033. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, _has_bits_[0]),
  1034. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuse, _unknown_fields_),
  1035. -1,
  1036. ::google::protobuf::DescriptorPool::generated_pool(),
  1037. ::google::protobuf::MessageFactory::generated_factory(),
  1038. sizeof(CMsgGCReportAbuse));
  1039. CMsgGCReportAbuseResponse_descriptor_ = file->message_type(43);
  1040. static const int CMsgGCReportAbuseResponse_offsets_[3] = {
  1041. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuseResponse, target_steam_id_),
  1042. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuseResponse, result_),
  1043. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuseResponse, error_message_),
  1044. };
  1045. CMsgGCReportAbuseResponse_reflection_ =
  1046. new ::google::protobuf::internal::GeneratedMessageReflection(
  1047. CMsgGCReportAbuseResponse_descriptor_,
  1048. CMsgGCReportAbuseResponse::default_instance_,
  1049. CMsgGCReportAbuseResponse_offsets_,
  1050. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuseResponse, _has_bits_[0]),
  1051. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCReportAbuseResponse, _unknown_fields_),
  1052. -1,
  1053. ::google::protobuf::DescriptorPool::generated_pool(),
  1054. ::google::protobuf::MessageFactory::generated_factory(),
  1055. sizeof(CMsgGCReportAbuseResponse));
  1056. CMsgGCNameItemNotification_descriptor_ = file->message_type(44);
  1057. static const int CMsgGCNameItemNotification_offsets_[3] = {
  1058. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCNameItemNotification, player_steamid_),
  1059. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCNameItemNotification, item_def_index_),
  1060. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCNameItemNotification, item_name_custom_),
  1061. };
  1062. CMsgGCNameItemNotification_reflection_ =
  1063. new ::google::protobuf::internal::GeneratedMessageReflection(
  1064. CMsgGCNameItemNotification_descriptor_,
  1065. CMsgGCNameItemNotification::default_instance_,
  1066. CMsgGCNameItemNotification_offsets_,
  1067. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCNameItemNotification, _has_bits_[0]),
  1068. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCNameItemNotification, _unknown_fields_),
  1069. -1,
  1070. ::google::protobuf::DescriptorPool::generated_pool(),
  1071. ::google::protobuf::MessageFactory::generated_factory(),
  1072. sizeof(CMsgGCNameItemNotification));
  1073. CMsgGCClientDisplayNotification_descriptor_ = file->message_type(45);
  1074. static const int CMsgGCClientDisplayNotification_offsets_[4] = {
  1075. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientDisplayNotification, notification_title_localization_key_),
  1076. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientDisplayNotification, notification_body_localization_key_),
  1077. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientDisplayNotification, body_substring_keys_),
  1078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientDisplayNotification, body_substring_values_),
  1079. };
  1080. CMsgGCClientDisplayNotification_reflection_ =
  1081. new ::google::protobuf::internal::GeneratedMessageReflection(
  1082. CMsgGCClientDisplayNotification_descriptor_,
  1083. CMsgGCClientDisplayNotification::default_instance_,
  1084. CMsgGCClientDisplayNotification_offsets_,
  1085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientDisplayNotification, _has_bits_[0]),
  1086. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientDisplayNotification, _unknown_fields_),
  1087. -1,
  1088. ::google::protobuf::DescriptorPool::generated_pool(),
  1089. ::google::protobuf::MessageFactory::generated_factory(),
  1090. sizeof(CMsgGCClientDisplayNotification));
  1091. CMsgGCShowItemsPickedUp_descriptor_ = file->message_type(46);
  1092. static const int CMsgGCShowItemsPickedUp_offsets_[1] = {
  1093. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCShowItemsPickedUp, player_steamid_),
  1094. };
  1095. CMsgGCShowItemsPickedUp_reflection_ =
  1096. new ::google::protobuf::internal::GeneratedMessageReflection(
  1097. CMsgGCShowItemsPickedUp_descriptor_,
  1098. CMsgGCShowItemsPickedUp::default_instance_,
  1099. CMsgGCShowItemsPickedUp_offsets_,
  1100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCShowItemsPickedUp, _has_bits_[0]),
  1101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCShowItemsPickedUp, _unknown_fields_),
  1102. -1,
  1103. ::google::protobuf::DescriptorPool::generated_pool(),
  1104. ::google::protobuf::MessageFactory::generated_factory(),
  1105. sizeof(CMsgGCShowItemsPickedUp));
  1106. CMsgGCIncrementKillCountResponse_descriptor_ = file->message_type(47);
  1107. static const int CMsgGCIncrementKillCountResponse_offsets_[4] = {
  1108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, killer_account_id_),
  1109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, num_kills_),
  1110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, item_def_),
  1111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, level_type_),
  1112. };
  1113. CMsgGCIncrementKillCountResponse_reflection_ =
  1114. new ::google::protobuf::internal::GeneratedMessageReflection(
  1115. CMsgGCIncrementKillCountResponse_descriptor_,
  1116. CMsgGCIncrementKillCountResponse::default_instance_,
  1117. CMsgGCIncrementKillCountResponse_offsets_,
  1118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, _has_bits_[0]),
  1119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, _unknown_fields_),
  1120. -1,
  1121. ::google::protobuf::DescriptorPool::generated_pool(),
  1122. ::google::protobuf::MessageFactory::generated_factory(),
  1123. sizeof(CMsgGCIncrementKillCountResponse));
  1124. CSOEconItemDropRateBonus_descriptor_ = file->message_type(48);
  1125. static const int CSOEconItemDropRateBonus_offsets_[6] = {
  1126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, account_id_),
  1127. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, expiration_date_),
  1128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, bonus_),
  1129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, bonus_count_),
  1130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, item_id_),
  1131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, def_index_),
  1132. };
  1133. CSOEconItemDropRateBonus_reflection_ =
  1134. new ::google::protobuf::internal::GeneratedMessageReflection(
  1135. CSOEconItemDropRateBonus_descriptor_,
  1136. CSOEconItemDropRateBonus::default_instance_,
  1137. CSOEconItemDropRateBonus_offsets_,
  1138. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, _has_bits_[0]),
  1139. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemDropRateBonus, _unknown_fields_),
  1140. -1,
  1141. ::google::protobuf::DescriptorPool::generated_pool(),
  1142. ::google::protobuf::MessageFactory::generated_factory(),
  1143. sizeof(CSOEconItemDropRateBonus));
  1144. CSOEconItemLeagueViewPass_descriptor_ = file->message_type(49);
  1145. static const int CSOEconItemLeagueViewPass_offsets_[4] = {
  1146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemLeagueViewPass, account_id_),
  1147. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemLeagueViewPass, league_id_),
  1148. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemLeagueViewPass, admin_),
  1149. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemLeagueViewPass, itemindex_),
  1150. };
  1151. CSOEconItemLeagueViewPass_reflection_ =
  1152. new ::google::protobuf::internal::GeneratedMessageReflection(
  1153. CSOEconItemLeagueViewPass_descriptor_,
  1154. CSOEconItemLeagueViewPass::default_instance_,
  1155. CSOEconItemLeagueViewPass_offsets_,
  1156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemLeagueViewPass, _has_bits_[0]),
  1157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemLeagueViewPass, _unknown_fields_),
  1158. -1,
  1159. ::google::protobuf::DescriptorPool::generated_pool(),
  1160. ::google::protobuf::MessageFactory::generated_factory(),
  1161. sizeof(CSOEconItemLeagueViewPass));
  1162. CSOEconItemEventTicket_descriptor_ = file->message_type(50);
  1163. static const int CSOEconItemEventTicket_offsets_[3] = {
  1164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEventTicket, account_id_),
  1165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEventTicket, event_id_),
  1166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEventTicket, item_id_),
  1167. };
  1168. CSOEconItemEventTicket_reflection_ =
  1169. new ::google::protobuf::internal::GeneratedMessageReflection(
  1170. CSOEconItemEventTicket_descriptor_,
  1171. CSOEconItemEventTicket::default_instance_,
  1172. CSOEconItemEventTicket_offsets_,
  1173. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEventTicket, _has_bits_[0]),
  1174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconItemEventTicket, _unknown_fields_),
  1175. -1,
  1176. ::google::protobuf::DescriptorPool::generated_pool(),
  1177. ::google::protobuf::MessageFactory::generated_factory(),
  1178. sizeof(CSOEconItemEventTicket));
  1179. CMsgGCItemPreviewItemBoughtNotification_descriptor_ = file->message_type(51);
  1180. static const int CMsgGCItemPreviewItemBoughtNotification_offsets_[1] = {
  1181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCItemPreviewItemBoughtNotification, item_def_index_),
  1182. };
  1183. CMsgGCItemPreviewItemBoughtNotification_reflection_ =
  1184. new ::google::protobuf::internal::GeneratedMessageReflection(
  1185. CMsgGCItemPreviewItemBoughtNotification_descriptor_,
  1186. CMsgGCItemPreviewItemBoughtNotification::default_instance_,
  1187. CMsgGCItemPreviewItemBoughtNotification_offsets_,
  1188. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCItemPreviewItemBoughtNotification, _has_bits_[0]),
  1189. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCItemPreviewItemBoughtNotification, _unknown_fields_),
  1190. -1,
  1191. ::google::protobuf::DescriptorPool::generated_pool(),
  1192. ::google::protobuf::MessageFactory::generated_factory(),
  1193. sizeof(CMsgGCItemPreviewItemBoughtNotification));
  1194. CMsgGCStorePurchaseCancel_descriptor_ = file->message_type(52);
  1195. static const int CMsgGCStorePurchaseCancel_offsets_[1] = {
  1196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseCancel, txn_id_),
  1197. };
  1198. CMsgGCStorePurchaseCancel_reflection_ =
  1199. new ::google::protobuf::internal::GeneratedMessageReflection(
  1200. CMsgGCStorePurchaseCancel_descriptor_,
  1201. CMsgGCStorePurchaseCancel::default_instance_,
  1202. CMsgGCStorePurchaseCancel_offsets_,
  1203. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseCancel, _has_bits_[0]),
  1204. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseCancel, _unknown_fields_),
  1205. -1,
  1206. ::google::protobuf::DescriptorPool::generated_pool(),
  1207. ::google::protobuf::MessageFactory::generated_factory(),
  1208. sizeof(CMsgGCStorePurchaseCancel));
  1209. CMsgGCStorePurchaseCancelResponse_descriptor_ = file->message_type(53);
  1210. static const int CMsgGCStorePurchaseCancelResponse_offsets_[1] = {
  1211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseCancelResponse, result_),
  1212. };
  1213. CMsgGCStorePurchaseCancelResponse_reflection_ =
  1214. new ::google::protobuf::internal::GeneratedMessageReflection(
  1215. CMsgGCStorePurchaseCancelResponse_descriptor_,
  1216. CMsgGCStorePurchaseCancelResponse::default_instance_,
  1217. CMsgGCStorePurchaseCancelResponse_offsets_,
  1218. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseCancelResponse, _has_bits_[0]),
  1219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseCancelResponse, _unknown_fields_),
  1220. -1,
  1221. ::google::protobuf::DescriptorPool::generated_pool(),
  1222. ::google::protobuf::MessageFactory::generated_factory(),
  1223. sizeof(CMsgGCStorePurchaseCancelResponse));
  1224. CMsgGCStorePurchaseFinalize_descriptor_ = file->message_type(54);
  1225. static const int CMsgGCStorePurchaseFinalize_offsets_[1] = {
  1226. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalize, txn_id_),
  1227. };
  1228. CMsgGCStorePurchaseFinalize_reflection_ =
  1229. new ::google::protobuf::internal::GeneratedMessageReflection(
  1230. CMsgGCStorePurchaseFinalize_descriptor_,
  1231. CMsgGCStorePurchaseFinalize::default_instance_,
  1232. CMsgGCStorePurchaseFinalize_offsets_,
  1233. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalize, _has_bits_[0]),
  1234. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalize, _unknown_fields_),
  1235. -1,
  1236. ::google::protobuf::DescriptorPool::generated_pool(),
  1237. ::google::protobuf::MessageFactory::generated_factory(),
  1238. sizeof(CMsgGCStorePurchaseFinalize));
  1239. CMsgGCStorePurchaseFinalizeResponse_descriptor_ = file->message_type(55);
  1240. static const int CMsgGCStorePurchaseFinalizeResponse_offsets_[2] = {
  1241. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalizeResponse, result_),
  1242. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalizeResponse, item_ids_),
  1243. };
  1244. CMsgGCStorePurchaseFinalizeResponse_reflection_ =
  1245. new ::google::protobuf::internal::GeneratedMessageReflection(
  1246. CMsgGCStorePurchaseFinalizeResponse_descriptor_,
  1247. CMsgGCStorePurchaseFinalizeResponse::default_instance_,
  1248. CMsgGCStorePurchaseFinalizeResponse_offsets_,
  1249. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalizeResponse, _has_bits_[0]),
  1250. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCStorePurchaseFinalizeResponse, _unknown_fields_),
  1251. -1,
  1252. ::google::protobuf::DescriptorPool::generated_pool(),
  1253. ::google::protobuf::MessageFactory::generated_factory(),
  1254. sizeof(CMsgGCStorePurchaseFinalizeResponse));
  1255. CMsgGCBannedWordListRequest_descriptor_ = file->message_type(56);
  1256. static const int CMsgGCBannedWordListRequest_offsets_[2] = {
  1257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListRequest, ban_list_group_id_),
  1258. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListRequest, word_id_),
  1259. };
  1260. CMsgGCBannedWordListRequest_reflection_ =
  1261. new ::google::protobuf::internal::GeneratedMessageReflection(
  1262. CMsgGCBannedWordListRequest_descriptor_,
  1263. CMsgGCBannedWordListRequest::default_instance_,
  1264. CMsgGCBannedWordListRequest_offsets_,
  1265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListRequest, _has_bits_[0]),
  1266. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListRequest, _unknown_fields_),
  1267. -1,
  1268. ::google::protobuf::DescriptorPool::generated_pool(),
  1269. ::google::protobuf::MessageFactory::generated_factory(),
  1270. sizeof(CMsgGCBannedWordListRequest));
  1271. CMsgGCRequestAnnouncements_descriptor_ = file->message_type(57);
  1272. static const int CMsgGCRequestAnnouncements_offsets_[1] = {
  1273. };
  1274. CMsgGCRequestAnnouncements_reflection_ =
  1275. new ::google::protobuf::internal::GeneratedMessageReflection(
  1276. CMsgGCRequestAnnouncements_descriptor_,
  1277. CMsgGCRequestAnnouncements::default_instance_,
  1278. CMsgGCRequestAnnouncements_offsets_,
  1279. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncements, _has_bits_[0]),
  1280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncements, _unknown_fields_),
  1281. -1,
  1282. ::google::protobuf::DescriptorPool::generated_pool(),
  1283. ::google::protobuf::MessageFactory::generated_factory(),
  1284. sizeof(CMsgGCRequestAnnouncements));
  1285. CMsgGCRequestAnnouncementsResponse_descriptor_ = file->message_type(58);
  1286. static const int CMsgGCRequestAnnouncementsResponse_offsets_[4] = {
  1287. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncementsResponse, announcement_title_),
  1288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncementsResponse, announcement_),
  1289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncementsResponse, nextmatch_title_),
  1290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncementsResponse, nextmatch_),
  1291. };
  1292. CMsgGCRequestAnnouncementsResponse_reflection_ =
  1293. new ::google::protobuf::internal::GeneratedMessageReflection(
  1294. CMsgGCRequestAnnouncementsResponse_descriptor_,
  1295. CMsgGCRequestAnnouncementsResponse::default_instance_,
  1296. CMsgGCRequestAnnouncementsResponse_offsets_,
  1297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncementsResponse, _has_bits_[0]),
  1298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRequestAnnouncementsResponse, _unknown_fields_),
  1299. -1,
  1300. ::google::protobuf::DescriptorPool::generated_pool(),
  1301. ::google::protobuf::MessageFactory::generated_factory(),
  1302. sizeof(CMsgGCRequestAnnouncementsResponse));
  1303. CMsgGCBannedWord_descriptor_ = file->message_type(59);
  1304. static const int CMsgGCBannedWord_offsets_[3] = {
  1305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWord, word_id_),
  1306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWord, word_type_),
  1307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWord, word_),
  1308. };
  1309. CMsgGCBannedWord_reflection_ =
  1310. new ::google::protobuf::internal::GeneratedMessageReflection(
  1311. CMsgGCBannedWord_descriptor_,
  1312. CMsgGCBannedWord::default_instance_,
  1313. CMsgGCBannedWord_offsets_,
  1314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWord, _has_bits_[0]),
  1315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWord, _unknown_fields_),
  1316. -1,
  1317. ::google::protobuf::DescriptorPool::generated_pool(),
  1318. ::google::protobuf::MessageFactory::generated_factory(),
  1319. sizeof(CMsgGCBannedWord));
  1320. CMsgGCBannedWordListResponse_descriptor_ = file->message_type(60);
  1321. static const int CMsgGCBannedWordListResponse_offsets_[2] = {
  1322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListResponse, ban_list_group_id_),
  1323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListResponse, word_list_),
  1324. };
  1325. CMsgGCBannedWordListResponse_reflection_ =
  1326. new ::google::protobuf::internal::GeneratedMessageReflection(
  1327. CMsgGCBannedWordListResponse_descriptor_,
  1328. CMsgGCBannedWordListResponse::default_instance_,
  1329. CMsgGCBannedWordListResponse_offsets_,
  1330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListResponse, _has_bits_[0]),
  1331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCBannedWordListResponse, _unknown_fields_),
  1332. -1,
  1333. ::google::protobuf::DescriptorPool::generated_pool(),
  1334. ::google::protobuf::MessageFactory::generated_factory(),
  1335. sizeof(CMsgGCBannedWordListResponse));
  1336. CMsgGCToGCBannedWordListBroadcast_descriptor_ = file->message_type(61);
  1337. static const int CMsgGCToGCBannedWordListBroadcast_offsets_[1] = {
  1338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBannedWordListBroadcast, broadcast_),
  1339. };
  1340. CMsgGCToGCBannedWordListBroadcast_reflection_ =
  1341. new ::google::protobuf::internal::GeneratedMessageReflection(
  1342. CMsgGCToGCBannedWordListBroadcast_descriptor_,
  1343. CMsgGCToGCBannedWordListBroadcast::default_instance_,
  1344. CMsgGCToGCBannedWordListBroadcast_offsets_,
  1345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBannedWordListBroadcast, _has_bits_[0]),
  1346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBannedWordListBroadcast, _unknown_fields_),
  1347. -1,
  1348. ::google::protobuf::DescriptorPool::generated_pool(),
  1349. ::google::protobuf::MessageFactory::generated_factory(),
  1350. sizeof(CMsgGCToGCBannedWordListBroadcast));
  1351. CMsgGCToGCBannedWordListUpdated_descriptor_ = file->message_type(62);
  1352. static const int CMsgGCToGCBannedWordListUpdated_offsets_[1] = {
  1353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBannedWordListUpdated, group_id_),
  1354. };
  1355. CMsgGCToGCBannedWordListUpdated_reflection_ =
  1356. new ::google::protobuf::internal::GeneratedMessageReflection(
  1357. CMsgGCToGCBannedWordListUpdated_descriptor_,
  1358. CMsgGCToGCBannedWordListUpdated::default_instance_,
  1359. CMsgGCToGCBannedWordListUpdated_offsets_,
  1360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBannedWordListUpdated, _has_bits_[0]),
  1361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBannedWordListUpdated, _unknown_fields_),
  1362. -1,
  1363. ::google::protobuf::DescriptorPool::generated_pool(),
  1364. ::google::protobuf::MessageFactory::generated_factory(),
  1365. sizeof(CMsgGCToGCBannedWordListUpdated));
  1366. CSOEconDefaultEquippedDefinitionInstanceClient_descriptor_ = file->message_type(63);
  1367. static const int CSOEconDefaultEquippedDefinitionInstanceClient_offsets_[4] = {
  1368. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconDefaultEquippedDefinitionInstanceClient, account_id_),
  1369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconDefaultEquippedDefinitionInstanceClient, item_definition_),
  1370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconDefaultEquippedDefinitionInstanceClient, class_id_),
  1371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconDefaultEquippedDefinitionInstanceClient, slot_id_),
  1372. };
  1373. CSOEconDefaultEquippedDefinitionInstanceClient_reflection_ =
  1374. new ::google::protobuf::internal::GeneratedMessageReflection(
  1375. CSOEconDefaultEquippedDefinitionInstanceClient_descriptor_,
  1376. CSOEconDefaultEquippedDefinitionInstanceClient::default_instance_,
  1377. CSOEconDefaultEquippedDefinitionInstanceClient_offsets_,
  1378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconDefaultEquippedDefinitionInstanceClient, _has_bits_[0]),
  1379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSOEconDefaultEquippedDefinitionInstanceClient, _unknown_fields_),
  1380. -1,
  1381. ::google::protobuf::DescriptorPool::generated_pool(),
  1382. ::google::protobuf::MessageFactory::generated_factory(),
  1383. sizeof(CSOEconDefaultEquippedDefinitionInstanceClient));
  1384. CMsgGCToGCDirtySDOCache_descriptor_ = file->message_type(64);
  1385. static const int CMsgGCToGCDirtySDOCache_offsets_[2] = {
  1386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, sdo_type_),
  1387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, key_uint64_),
  1388. };
  1389. CMsgGCToGCDirtySDOCache_reflection_ =
  1390. new ::google::protobuf::internal::GeneratedMessageReflection(
  1391. CMsgGCToGCDirtySDOCache_descriptor_,
  1392. CMsgGCToGCDirtySDOCache::default_instance_,
  1393. CMsgGCToGCDirtySDOCache_offsets_,
  1394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, _has_bits_[0]),
  1395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, _unknown_fields_),
  1396. -1,
  1397. ::google::protobuf::DescriptorPool::generated_pool(),
  1398. ::google::protobuf::MessageFactory::generated_factory(),
  1399. sizeof(CMsgGCToGCDirtySDOCache));
  1400. CMsgGCToGCDirtyMultipleSDOCache_descriptor_ = file->message_type(65);
  1401. static const int CMsgGCToGCDirtyMultipleSDOCache_offsets_[2] = {
  1402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtyMultipleSDOCache, sdo_type_),
  1403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtyMultipleSDOCache, key_uint64_),
  1404. };
  1405. CMsgGCToGCDirtyMultipleSDOCache_reflection_ =
  1406. new ::google::protobuf::internal::GeneratedMessageReflection(
  1407. CMsgGCToGCDirtyMultipleSDOCache_descriptor_,
  1408. CMsgGCToGCDirtyMultipleSDOCache::default_instance_,
  1409. CMsgGCToGCDirtyMultipleSDOCache_offsets_,
  1410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtyMultipleSDOCache, _has_bits_[0]),
  1411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCDirtyMultipleSDOCache, _unknown_fields_),
  1412. -1,
  1413. ::google::protobuf::DescriptorPool::generated_pool(),
  1414. ::google::protobuf::MessageFactory::generated_factory(),
  1415. sizeof(CMsgGCToGCDirtyMultipleSDOCache));
  1416. CMsgGCCollectItem_descriptor_ = file->message_type(66);
  1417. static const int CMsgGCCollectItem_offsets_[2] = {
  1418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCollectItem, collection_item_id_),
  1419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCollectItem, subject_item_id_),
  1420. };
  1421. CMsgGCCollectItem_reflection_ =
  1422. new ::google::protobuf::internal::GeneratedMessageReflection(
  1423. CMsgGCCollectItem_descriptor_,
  1424. CMsgGCCollectItem::default_instance_,
  1425. CMsgGCCollectItem_offsets_,
  1426. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCollectItem, _has_bits_[0]),
  1427. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCollectItem, _unknown_fields_),
  1428. -1,
  1429. ::google::protobuf::DescriptorPool::generated_pool(),
  1430. ::google::protobuf::MessageFactory::generated_factory(),
  1431. sizeof(CMsgGCCollectItem));
  1432. CMsgSDONoMemcached_descriptor_ = file->message_type(67);
  1433. static const int CMsgSDONoMemcached_offsets_[1] = {
  1434. };
  1435. CMsgSDONoMemcached_reflection_ =
  1436. new ::google::protobuf::internal::GeneratedMessageReflection(
  1437. CMsgSDONoMemcached_descriptor_,
  1438. CMsgSDONoMemcached::default_instance_,
  1439. CMsgSDONoMemcached_offsets_,
  1440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSDONoMemcached, _has_bits_[0]),
  1441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgSDONoMemcached, _unknown_fields_),
  1442. -1,
  1443. ::google::protobuf::DescriptorPool::generated_pool(),
  1444. ::google::protobuf::MessageFactory::generated_factory(),
  1445. sizeof(CMsgSDONoMemcached));
  1446. CMsgGCToGCUpdateSQLKeyValue_descriptor_ = file->message_type(68);
  1447. static const int CMsgGCToGCUpdateSQLKeyValue_offsets_[1] = {
  1448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCUpdateSQLKeyValue, key_name_),
  1449. };
  1450. CMsgGCToGCUpdateSQLKeyValue_reflection_ =
  1451. new ::google::protobuf::internal::GeneratedMessageReflection(
  1452. CMsgGCToGCUpdateSQLKeyValue_descriptor_,
  1453. CMsgGCToGCUpdateSQLKeyValue::default_instance_,
  1454. CMsgGCToGCUpdateSQLKeyValue_offsets_,
  1455. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCUpdateSQLKeyValue, _has_bits_[0]),
  1456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCUpdateSQLKeyValue, _unknown_fields_),
  1457. -1,
  1458. ::google::protobuf::DescriptorPool::generated_pool(),
  1459. ::google::protobuf::MessageFactory::generated_factory(),
  1460. sizeof(CMsgGCToGCUpdateSQLKeyValue));
  1461. CMsgGCToGCIsTrustedServer_descriptor_ = file->message_type(69);
  1462. static const int CMsgGCToGCIsTrustedServer_offsets_[1] = {
  1463. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCIsTrustedServer, steam_id_),
  1464. };
  1465. CMsgGCToGCIsTrustedServer_reflection_ =
  1466. new ::google::protobuf::internal::GeneratedMessageReflection(
  1467. CMsgGCToGCIsTrustedServer_descriptor_,
  1468. CMsgGCToGCIsTrustedServer::default_instance_,
  1469. CMsgGCToGCIsTrustedServer_offsets_,
  1470. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCIsTrustedServer, _has_bits_[0]),
  1471. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCIsTrustedServer, _unknown_fields_),
  1472. -1,
  1473. ::google::protobuf::DescriptorPool::generated_pool(),
  1474. ::google::protobuf::MessageFactory::generated_factory(),
  1475. sizeof(CMsgGCToGCIsTrustedServer));
  1476. CMsgGCToGCIsTrustedServerResponse_descriptor_ = file->message_type(70);
  1477. static const int CMsgGCToGCIsTrustedServerResponse_offsets_[1] = {
  1478. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCIsTrustedServerResponse, is_trusted_),
  1479. };
  1480. CMsgGCToGCIsTrustedServerResponse_reflection_ =
  1481. new ::google::protobuf::internal::GeneratedMessageReflection(
  1482. CMsgGCToGCIsTrustedServerResponse_descriptor_,
  1483. CMsgGCToGCIsTrustedServerResponse::default_instance_,
  1484. CMsgGCToGCIsTrustedServerResponse_offsets_,
  1485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCIsTrustedServerResponse, _has_bits_[0]),
  1486. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCIsTrustedServerResponse, _unknown_fields_),
  1487. -1,
  1488. ::google::protobuf::DescriptorPool::generated_pool(),
  1489. ::google::protobuf::MessageFactory::generated_factory(),
  1490. sizeof(CMsgGCToGCIsTrustedServerResponse));
  1491. CMsgGCToGCBroadcastConsoleCommand_descriptor_ = file->message_type(71);
  1492. static const int CMsgGCToGCBroadcastConsoleCommand_offsets_[1] = {
  1493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBroadcastConsoleCommand, con_command_),
  1494. };
  1495. CMsgGCToGCBroadcastConsoleCommand_reflection_ =
  1496. new ::google::protobuf::internal::GeneratedMessageReflection(
  1497. CMsgGCToGCBroadcastConsoleCommand_descriptor_,
  1498. CMsgGCToGCBroadcastConsoleCommand::default_instance_,
  1499. CMsgGCToGCBroadcastConsoleCommand_offsets_,
  1500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBroadcastConsoleCommand, _has_bits_[0]),
  1501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCBroadcastConsoleCommand, _unknown_fields_),
  1502. -1,
  1503. ::google::protobuf::DescriptorPool::generated_pool(),
  1504. ::google::protobuf::MessageFactory::generated_factory(),
  1505. sizeof(CMsgGCToGCBroadcastConsoleCommand));
  1506. CMsgGCServerVersionUpdated_descriptor_ = file->message_type(72);
  1507. static const int CMsgGCServerVersionUpdated_offsets_[1] = {
  1508. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCServerVersionUpdated, server_version_),
  1509. };
  1510. CMsgGCServerVersionUpdated_reflection_ =
  1511. new ::google::protobuf::internal::GeneratedMessageReflection(
  1512. CMsgGCServerVersionUpdated_descriptor_,
  1513. CMsgGCServerVersionUpdated::default_instance_,
  1514. CMsgGCServerVersionUpdated_offsets_,
  1515. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCServerVersionUpdated, _has_bits_[0]),
  1516. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCServerVersionUpdated, _unknown_fields_),
  1517. -1,
  1518. ::google::protobuf::DescriptorPool::generated_pool(),
  1519. ::google::protobuf::MessageFactory::generated_factory(),
  1520. sizeof(CMsgGCServerVersionUpdated));
  1521. CMsgGCClientVersionUpdated_descriptor_ = file->message_type(73);
  1522. static const int CMsgGCClientVersionUpdated_offsets_[1] = {
  1523. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientVersionUpdated, client_version_),
  1524. };
  1525. CMsgGCClientVersionUpdated_reflection_ =
  1526. new ::google::protobuf::internal::GeneratedMessageReflection(
  1527. CMsgGCClientVersionUpdated_descriptor_,
  1528. CMsgGCClientVersionUpdated::default_instance_,
  1529. CMsgGCClientVersionUpdated_offsets_,
  1530. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientVersionUpdated, _has_bits_[0]),
  1531. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCClientVersionUpdated, _unknown_fields_),
  1532. -1,
  1533. ::google::protobuf::DescriptorPool::generated_pool(),
  1534. ::google::protobuf::MessageFactory::generated_factory(),
  1535. sizeof(CMsgGCClientVersionUpdated));
  1536. CMsgGCToGCWebAPIAccountChanged_descriptor_ = file->message_type(74);
  1537. static const int CMsgGCToGCWebAPIAccountChanged_offsets_[1] = {
  1538. };
  1539. CMsgGCToGCWebAPIAccountChanged_reflection_ =
  1540. new ::google::protobuf::internal::GeneratedMessageReflection(
  1541. CMsgGCToGCWebAPIAccountChanged_descriptor_,
  1542. CMsgGCToGCWebAPIAccountChanged::default_instance_,
  1543. CMsgGCToGCWebAPIAccountChanged_offsets_,
  1544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCWebAPIAccountChanged, _has_bits_[0]),
  1545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCWebAPIAccountChanged, _unknown_fields_),
  1546. -1,
  1547. ::google::protobuf::DescriptorPool::generated_pool(),
  1548. ::google::protobuf::MessageFactory::generated_factory(),
  1549. sizeof(CMsgGCToGCWebAPIAccountChanged));
  1550. CMsgGCToGCRequestPassportItemGrant_descriptor_ = file->message_type(75);
  1551. static const int CMsgGCToGCRequestPassportItemGrant_offsets_[3] = {
  1552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, steam_id_),
  1553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, league_id_),
  1554. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, reward_flag_),
  1555. };
  1556. CMsgGCToGCRequestPassportItemGrant_reflection_ =
  1557. new ::google::protobuf::internal::GeneratedMessageReflection(
  1558. CMsgGCToGCRequestPassportItemGrant_descriptor_,
  1559. CMsgGCToGCRequestPassportItemGrant::default_instance_,
  1560. CMsgGCToGCRequestPassportItemGrant_offsets_,
  1561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, _has_bits_[0]),
  1562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, _unknown_fields_),
  1563. -1,
  1564. ::google::protobuf::DescriptorPool::generated_pool(),
  1565. ::google::protobuf::MessageFactory::generated_factory(),
  1566. sizeof(CMsgGCToGCRequestPassportItemGrant));
  1567. CMsgGameServerInfo_descriptor_ = file->message_type(76);
  1568. static const int CMsgGameServerInfo_offsets_[18] = {
  1569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_public_ip_addr_),
  1570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_private_ip_addr_),
  1571. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_port_),
  1572. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_tv_port_),
  1573. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_key_),
  1574. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_hibernation_),
  1575. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_type_),
  1576. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_region_),
  1577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_loadavg_),
  1578. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_tv_broadcast_time_),
  1579. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_game_time_),
  1580. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, server_relay_connected_steam_id_),
  1581. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, relay_slots_max_),
  1582. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, relays_connected_),
  1583. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, relay_clients_connected_),
  1584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, relayed_game_server_steam_id_),
  1585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, parent_relay_count_),
  1586. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, tv_secret_code_),
  1587. };
  1588. CMsgGameServerInfo_reflection_ =
  1589. new ::google::protobuf::internal::GeneratedMessageReflection(
  1590. CMsgGameServerInfo_descriptor_,
  1591. CMsgGameServerInfo::default_instance_,
  1592. CMsgGameServerInfo_offsets_,
  1593. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, _has_bits_[0]),
  1594. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGameServerInfo, _unknown_fields_),
  1595. -1,
  1596. ::google::protobuf::DescriptorPool::generated_pool(),
  1597. ::google::protobuf::MessageFactory::generated_factory(),
  1598. sizeof(CMsgGameServerInfo));
  1599. CMsgGameServerInfo_ServerType_descriptor_ = CMsgGameServerInfo_descriptor_->enum_type(0);
  1600. EGCBaseMsg_descriptor_ = file->enum_type(0);
  1601. EGCBaseProtoObjectTypes_descriptor_ = file->enum_type(1);
  1602. GC_BannedWordType_descriptor_ = file->enum_type(2);
  1603. }
  1604. namespace {
  1605. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1606. inline void protobuf_AssignDescriptorsOnce() {
  1607. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1608. &protobuf_AssignDesc_base_5fgcmessages_2eproto);
  1609. }
  1610. void protobuf_RegisterTypes(const ::std::string&) {
  1611. protobuf_AssignDescriptorsOnce();
  1612. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1613. CGCStorePurchaseInit_LineItem_descriptor_, &CGCStorePurchaseInit_LineItem::default_instance());
  1614. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1615. CMsgGCStorePurchaseInit_descriptor_, &CMsgGCStorePurchaseInit::default_instance());
  1616. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1617. CMsgGCStorePurchaseInitResponse_descriptor_, &CMsgGCStorePurchaseInitResponse::default_instance());
  1618. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1619. CSOPartyInvite_descriptor_, &CSOPartyInvite::default_instance());
  1620. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1621. CSOLobbyInvite_descriptor_, &CSOLobbyInvite::default_instance());
  1622. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1623. CMsgSystemBroadcast_descriptor_, &CMsgSystemBroadcast::default_instance());
  1624. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1625. CMsgInviteToParty_descriptor_, &CMsgInviteToParty::default_instance());
  1626. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1627. CMsgInvitationCreated_descriptor_, &CMsgInvitationCreated::default_instance());
  1628. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1629. CMsgPartyInviteResponse_descriptor_, &CMsgPartyInviteResponse::default_instance());
  1630. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1631. CMsgKickFromParty_descriptor_, &CMsgKickFromParty::default_instance());
  1632. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1633. CMsgLeaveParty_descriptor_, &CMsgLeaveParty::default_instance());
  1634. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1635. CMsgServerAvailable_descriptor_, &CMsgServerAvailable::default_instance());
  1636. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1637. CMsgLANServerAvailable_descriptor_, &CMsgLANServerAvailable::default_instance());
  1638. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1639. CSOEconGameAccountClient_descriptor_, &CSOEconGameAccountClient::default_instance());
  1640. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1641. CSOItemCriteriaCondition_descriptor_, &CSOItemCriteriaCondition::default_instance());
  1642. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1643. CSOItemCriteria_descriptor_, &CSOItemCriteria::default_instance());
  1644. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1645. CSOItemRecipe_descriptor_, &CSOItemRecipe::default_instance());
  1646. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1647. CMsgDevNewItemRequest_descriptor_, &CMsgDevNewItemRequest::default_instance());
  1648. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1649. CMsgIncrementKillCountAttribute_descriptor_, &CMsgIncrementKillCountAttribute::default_instance());
  1650. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1651. CMsgApplySticker_descriptor_, &CMsgApplySticker::default_instance());
  1652. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1653. CMsgApplyStatTrakSwap_descriptor_, &CMsgApplyStatTrakSwap::default_instance());
  1654. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1655. CMsgApplyStrangePart_descriptor_, &CMsgApplyStrangePart::default_instance());
  1656. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1657. CMsgApplyPennantUpgrade_descriptor_, &CMsgApplyPennantUpgrade::default_instance());
  1658. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1659. CMsgApplyEggEssence_descriptor_, &CMsgApplyEggEssence::default_instance());
  1660. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1661. CSOEconItemAttribute_descriptor_, &CSOEconItemAttribute::default_instance());
  1662. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1663. CSOEconItemEquipped_descriptor_, &CSOEconItemEquipped::default_instance());
  1664. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1665. CSOEconItem_descriptor_, &CSOEconItem::default_instance());
  1666. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1667. CMsgAdjustItemEquippedState_descriptor_, &CMsgAdjustItemEquippedState::default_instance());
  1668. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1669. CMsgSortItems_descriptor_, &CMsgSortItems::default_instance());
  1670. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1671. CSOEconClaimCode_descriptor_, &CSOEconClaimCode::default_instance());
  1672. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1673. CMsgStoreGetUserData_descriptor_, &CMsgStoreGetUserData::default_instance());
  1674. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1675. CMsgStoreGetUserDataResponse_descriptor_, &CMsgStoreGetUserDataResponse::default_instance());
  1676. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1677. CMsgUpdateItemSchema_descriptor_, &CMsgUpdateItemSchema::default_instance());
  1678. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1679. CMsgGCError_descriptor_, &CMsgGCError::default_instance());
  1680. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1681. CMsgRequestInventoryRefresh_descriptor_, &CMsgRequestInventoryRefresh::default_instance());
  1682. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1683. CMsgConVarValue_descriptor_, &CMsgConVarValue::default_instance());
  1684. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1685. CMsgReplicateConVars_descriptor_, &CMsgReplicateConVars::default_instance());
  1686. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1687. CMsgUseItem_descriptor_, &CMsgUseItem::default_instance());
  1688. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1689. CMsgReplayUploadedToYouTube_descriptor_, &CMsgReplayUploadedToYouTube::default_instance());
  1690. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1691. CMsgConsumableExhausted_descriptor_, &CMsgConsumableExhausted::default_instance());
  1692. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1693. CMsgItemAcknowledged__DEPRECATED_descriptor_, &CMsgItemAcknowledged__DEPRECATED::default_instance());
  1694. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1695. CMsgSetItemPositions_descriptor_, &CMsgSetItemPositions::default_instance());
  1696. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1697. CMsgSetItemPositions_ItemPosition_descriptor_, &CMsgSetItemPositions_ItemPosition::default_instance());
  1698. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1699. CMsgGCReportAbuse_descriptor_, &CMsgGCReportAbuse::default_instance());
  1700. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1701. CMsgGCReportAbuseResponse_descriptor_, &CMsgGCReportAbuseResponse::default_instance());
  1702. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1703. CMsgGCNameItemNotification_descriptor_, &CMsgGCNameItemNotification::default_instance());
  1704. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1705. CMsgGCClientDisplayNotification_descriptor_, &CMsgGCClientDisplayNotification::default_instance());
  1706. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1707. CMsgGCShowItemsPickedUp_descriptor_, &CMsgGCShowItemsPickedUp::default_instance());
  1708. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1709. CMsgGCIncrementKillCountResponse_descriptor_, &CMsgGCIncrementKillCountResponse::default_instance());
  1710. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1711. CSOEconItemDropRateBonus_descriptor_, &CSOEconItemDropRateBonus::default_instance());
  1712. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1713. CSOEconItemLeagueViewPass_descriptor_, &CSOEconItemLeagueViewPass::default_instance());
  1714. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1715. CSOEconItemEventTicket_descriptor_, &CSOEconItemEventTicket::default_instance());
  1716. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1717. CMsgGCItemPreviewItemBoughtNotification_descriptor_, &CMsgGCItemPreviewItemBoughtNotification::default_instance());
  1718. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1719. CMsgGCStorePurchaseCancel_descriptor_, &CMsgGCStorePurchaseCancel::default_instance());
  1720. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1721. CMsgGCStorePurchaseCancelResponse_descriptor_, &CMsgGCStorePurchaseCancelResponse::default_instance());
  1722. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1723. CMsgGCStorePurchaseFinalize_descriptor_, &CMsgGCStorePurchaseFinalize::default_instance());
  1724. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1725. CMsgGCStorePurchaseFinalizeResponse_descriptor_, &CMsgGCStorePurchaseFinalizeResponse::default_instance());
  1726. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1727. CMsgGCBannedWordListRequest_descriptor_, &CMsgGCBannedWordListRequest::default_instance());
  1728. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1729. CMsgGCRequestAnnouncements_descriptor_, &CMsgGCRequestAnnouncements::default_instance());
  1730. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1731. CMsgGCRequestAnnouncementsResponse_descriptor_, &CMsgGCRequestAnnouncementsResponse::default_instance());
  1732. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1733. CMsgGCBannedWord_descriptor_, &CMsgGCBannedWord::default_instance());
  1734. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1735. CMsgGCBannedWordListResponse_descriptor_, &CMsgGCBannedWordListResponse::default_instance());
  1736. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1737. CMsgGCToGCBannedWordListBroadcast_descriptor_, &CMsgGCToGCBannedWordListBroadcast::default_instance());
  1738. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1739. CMsgGCToGCBannedWordListUpdated_descriptor_, &CMsgGCToGCBannedWordListUpdated::default_instance());
  1740. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1741. CSOEconDefaultEquippedDefinitionInstanceClient_descriptor_, &CSOEconDefaultEquippedDefinitionInstanceClient::default_instance());
  1742. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1743. CMsgGCToGCDirtySDOCache_descriptor_, &CMsgGCToGCDirtySDOCache::default_instance());
  1744. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1745. CMsgGCToGCDirtyMultipleSDOCache_descriptor_, &CMsgGCToGCDirtyMultipleSDOCache::default_instance());
  1746. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1747. CMsgGCCollectItem_descriptor_, &CMsgGCCollectItem::default_instance());
  1748. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1749. CMsgSDONoMemcached_descriptor_, &CMsgSDONoMemcached::default_instance());
  1750. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1751. CMsgGCToGCUpdateSQLKeyValue_descriptor_, &CMsgGCToGCUpdateSQLKeyValue::default_instance());
  1752. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1753. CMsgGCToGCIsTrustedServer_descriptor_, &CMsgGCToGCIsTrustedServer::default_instance());
  1754. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1755. CMsgGCToGCIsTrustedServerResponse_descriptor_, &CMsgGCToGCIsTrustedServerResponse::default_instance());
  1756. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1757. CMsgGCToGCBroadcastConsoleCommand_descriptor_, &CMsgGCToGCBroadcastConsoleCommand::default_instance());
  1758. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1759. CMsgGCServerVersionUpdated_descriptor_, &CMsgGCServerVersionUpdated::default_instance());
  1760. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1761. CMsgGCClientVersionUpdated_descriptor_, &CMsgGCClientVersionUpdated::default_instance());
  1762. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1763. CMsgGCToGCWebAPIAccountChanged_descriptor_, &CMsgGCToGCWebAPIAccountChanged::default_instance());
  1764. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1765. CMsgGCToGCRequestPassportItemGrant_descriptor_, &CMsgGCToGCRequestPassportItemGrant::default_instance());
  1766. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1767. CMsgGameServerInfo_descriptor_, &CMsgGameServerInfo::default_instance());
  1768. }
  1769. } // namespace
  1770. void protobuf_ShutdownFile_base_5fgcmessages_2eproto() {
  1771. delete CGCStorePurchaseInit_LineItem::default_instance_;
  1772. delete CGCStorePurchaseInit_LineItem_reflection_;
  1773. delete CMsgGCStorePurchaseInit::default_instance_;
  1774. delete CMsgGCStorePurchaseInit_reflection_;
  1775. delete CMsgGCStorePurchaseInitResponse::default_instance_;
  1776. delete CMsgGCStorePurchaseInitResponse_reflection_;
  1777. delete CSOPartyInvite::default_instance_;
  1778. delete CSOPartyInvite_reflection_;
  1779. delete CSOLobbyInvite::default_instance_;
  1780. delete CSOLobbyInvite_reflection_;
  1781. delete CMsgSystemBroadcast::default_instance_;
  1782. delete CMsgSystemBroadcast_reflection_;
  1783. delete CMsgInviteToParty::default_instance_;
  1784. delete CMsgInviteToParty_reflection_;
  1785. delete CMsgInvitationCreated::default_instance_;
  1786. delete CMsgInvitationCreated_reflection_;
  1787. delete CMsgPartyInviteResponse::default_instance_;
  1788. delete CMsgPartyInviteResponse_reflection_;
  1789. delete CMsgKickFromParty::default_instance_;
  1790. delete CMsgKickFromParty_reflection_;
  1791. delete CMsgLeaveParty::default_instance_;
  1792. delete CMsgLeaveParty_reflection_;
  1793. delete CMsgServerAvailable::default_instance_;
  1794. delete CMsgServerAvailable_reflection_;
  1795. delete CMsgLANServerAvailable::default_instance_;
  1796. delete CMsgLANServerAvailable_reflection_;
  1797. delete CSOEconGameAccountClient::default_instance_;
  1798. delete CSOEconGameAccountClient_reflection_;
  1799. delete CSOItemCriteriaCondition::default_instance_;
  1800. delete CSOItemCriteriaCondition_reflection_;
  1801. delete CSOItemCriteria::default_instance_;
  1802. delete CSOItemCriteria_reflection_;
  1803. delete CSOItemRecipe::default_instance_;
  1804. delete CSOItemRecipe_reflection_;
  1805. delete CMsgDevNewItemRequest::default_instance_;
  1806. delete CMsgDevNewItemRequest_reflection_;
  1807. delete CMsgIncrementKillCountAttribute::default_instance_;
  1808. delete CMsgIncrementKillCountAttribute_reflection_;
  1809. delete CMsgApplySticker::default_instance_;
  1810. delete CMsgApplySticker_reflection_;
  1811. delete CMsgApplyStatTrakSwap::default_instance_;
  1812. delete CMsgApplyStatTrakSwap_reflection_;
  1813. delete CMsgApplyStrangePart::default_instance_;
  1814. delete CMsgApplyStrangePart_reflection_;
  1815. delete CMsgApplyPennantUpgrade::default_instance_;
  1816. delete CMsgApplyPennantUpgrade_reflection_;
  1817. delete CMsgApplyEggEssence::default_instance_;
  1818. delete CMsgApplyEggEssence_reflection_;
  1819. delete CSOEconItemAttribute::default_instance_;
  1820. delete CSOEconItemAttribute_reflection_;
  1821. delete CSOEconItemEquipped::default_instance_;
  1822. delete CSOEconItemEquipped_reflection_;
  1823. delete CSOEconItem::default_instance_;
  1824. delete CSOEconItem_reflection_;
  1825. delete CMsgAdjustItemEquippedState::default_instance_;
  1826. delete CMsgAdjustItemEquippedState_reflection_;
  1827. delete CMsgSortItems::default_instance_;
  1828. delete CMsgSortItems_reflection_;
  1829. delete CSOEconClaimCode::default_instance_;
  1830. delete CSOEconClaimCode_reflection_;
  1831. delete CMsgStoreGetUserData::default_instance_;
  1832. delete CMsgStoreGetUserData_reflection_;
  1833. delete CMsgStoreGetUserDataResponse::default_instance_;
  1834. delete CMsgStoreGetUserDataResponse_reflection_;
  1835. delete CMsgUpdateItemSchema::default_instance_;
  1836. delete CMsgUpdateItemSchema_reflection_;
  1837. delete CMsgGCError::default_instance_;
  1838. delete CMsgGCError_reflection_;
  1839. delete CMsgRequestInventoryRefresh::default_instance_;
  1840. delete CMsgRequestInventoryRefresh_reflection_;
  1841. delete CMsgConVarValue::default_instance_;
  1842. delete CMsgConVarValue_reflection_;
  1843. delete CMsgReplicateConVars::default_instance_;
  1844. delete CMsgReplicateConVars_reflection_;
  1845. delete CMsgUseItem::default_instance_;
  1846. delete CMsgUseItem_reflection_;
  1847. delete CMsgReplayUploadedToYouTube::default_instance_;
  1848. delete CMsgReplayUploadedToYouTube_reflection_;
  1849. delete CMsgConsumableExhausted::default_instance_;
  1850. delete CMsgConsumableExhausted_reflection_;
  1851. delete CMsgItemAcknowledged__DEPRECATED::default_instance_;
  1852. delete CMsgItemAcknowledged__DEPRECATED_reflection_;
  1853. delete CMsgSetItemPositions::default_instance_;
  1854. delete CMsgSetItemPositions_reflection_;
  1855. delete CMsgSetItemPositions_ItemPosition::default_instance_;
  1856. delete CMsgSetItemPositions_ItemPosition_reflection_;
  1857. delete CMsgGCReportAbuse::default_instance_;
  1858. delete CMsgGCReportAbuse_reflection_;
  1859. delete CMsgGCReportAbuseResponse::default_instance_;
  1860. delete CMsgGCReportAbuseResponse_reflection_;
  1861. delete CMsgGCNameItemNotification::default_instance_;
  1862. delete CMsgGCNameItemNotification_reflection_;
  1863. delete CMsgGCClientDisplayNotification::default_instance_;
  1864. delete CMsgGCClientDisplayNotification_reflection_;
  1865. delete CMsgGCShowItemsPickedUp::default_instance_;
  1866. delete CMsgGCShowItemsPickedUp_reflection_;
  1867. delete CMsgGCIncrementKillCountResponse::default_instance_;
  1868. delete CMsgGCIncrementKillCountResponse_reflection_;
  1869. delete CSOEconItemDropRateBonus::default_instance_;
  1870. delete CSOEconItemDropRateBonus_reflection_;
  1871. delete CSOEconItemLeagueViewPass::default_instance_;
  1872. delete CSOEconItemLeagueViewPass_reflection_;
  1873. delete CSOEconItemEventTicket::default_instance_;
  1874. delete CSOEconItemEventTicket_reflection_;
  1875. delete CMsgGCItemPreviewItemBoughtNotification::default_instance_;
  1876. delete CMsgGCItemPreviewItemBoughtNotification_reflection_;
  1877. delete CMsgGCStorePurchaseCancel::default_instance_;
  1878. delete CMsgGCStorePurchaseCancel_reflection_;
  1879. delete CMsgGCStorePurchaseCancelResponse::default_instance_;
  1880. delete CMsgGCStorePurchaseCancelResponse_reflection_;
  1881. delete CMsgGCStorePurchaseFinalize::default_instance_;
  1882. delete CMsgGCStorePurchaseFinalize_reflection_;
  1883. delete CMsgGCStorePurchaseFinalizeResponse::default_instance_;
  1884. delete CMsgGCStorePurchaseFinalizeResponse_reflection_;
  1885. delete CMsgGCBannedWordListRequest::default_instance_;
  1886. delete CMsgGCBannedWordListRequest_reflection_;
  1887. delete CMsgGCRequestAnnouncements::default_instance_;
  1888. delete CMsgGCRequestAnnouncements_reflection_;
  1889. delete CMsgGCRequestAnnouncementsResponse::default_instance_;
  1890. delete CMsgGCRequestAnnouncementsResponse_reflection_;
  1891. delete CMsgGCBannedWord::default_instance_;
  1892. delete CMsgGCBannedWord_reflection_;
  1893. delete CMsgGCBannedWordListResponse::default_instance_;
  1894. delete CMsgGCBannedWordListResponse_reflection_;
  1895. delete CMsgGCToGCBannedWordListBroadcast::default_instance_;
  1896. delete CMsgGCToGCBannedWordListBroadcast_reflection_;
  1897. delete CMsgGCToGCBannedWordListUpdated::default_instance_;
  1898. delete CMsgGCToGCBannedWordListUpdated_reflection_;
  1899. delete CSOEconDefaultEquippedDefinitionInstanceClient::default_instance_;
  1900. delete CSOEconDefaultEquippedDefinitionInstanceClient_reflection_;
  1901. delete CMsgGCToGCDirtySDOCache::default_instance_;
  1902. delete CMsgGCToGCDirtySDOCache_reflection_;
  1903. delete CMsgGCToGCDirtyMultipleSDOCache::default_instance_;
  1904. delete CMsgGCToGCDirtyMultipleSDOCache_reflection_;
  1905. delete CMsgGCCollectItem::default_instance_;
  1906. delete CMsgGCCollectItem_reflection_;
  1907. delete CMsgSDONoMemcached::default_instance_;
  1908. delete CMsgSDONoMemcached_reflection_;
  1909. delete CMsgGCToGCUpdateSQLKeyValue::default_instance_;
  1910. delete CMsgGCToGCUpdateSQLKeyValue_reflection_;
  1911. delete CMsgGCToGCIsTrustedServer::default_instance_;
  1912. delete CMsgGCToGCIsTrustedServer_reflection_;
  1913. delete CMsgGCToGCIsTrustedServerResponse::default_instance_;
  1914. delete CMsgGCToGCIsTrustedServerResponse_reflection_;
  1915. delete CMsgGCToGCBroadcastConsoleCommand::default_instance_;
  1916. delete CMsgGCToGCBroadcastConsoleCommand_reflection_;
  1917. delete CMsgGCServerVersionUpdated::default_instance_;
  1918. delete CMsgGCServerVersionUpdated_reflection_;
  1919. delete CMsgGCClientVersionUpdated::default_instance_;
  1920. delete CMsgGCClientVersionUpdated_reflection_;
  1921. delete CMsgGCToGCWebAPIAccountChanged::default_instance_;
  1922. delete CMsgGCToGCWebAPIAccountChanged_reflection_;
  1923. delete CMsgGCToGCRequestPassportItemGrant::default_instance_;
  1924. delete CMsgGCToGCRequestPassportItemGrant_reflection_;
  1925. delete CMsgGameServerInfo::default_instance_;
  1926. delete CMsgGameServerInfo_reflection_;
  1927. }
  1928. void protobuf_AddDesc_base_5fgcmessages_2eproto() {
  1929. static bool already_here = false;
  1930. if (already_here) return;
  1931. already_here = true;
  1932. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1933. ::protobuf_AddDesc_steammessages_2eproto();
  1934. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1935. "\n\025base_gcmessages.proto\032\023steammessages.p"
  1936. "roto\"}\n\035CGCStorePurchaseInit_LineItem\022\023\n"
  1937. "\013item_def_id\030\001 \001(\r\022\020\n\010quantity\030\002 \001(\r\022\036\n\026"
  1938. "cost_in_local_currency\030\003 \001(\r\022\025\n\rpurchase"
  1939. "_type\030\004 \001(\r\"\202\001\n\027CMsgGCStorePurchaseInit\022"
  1940. "\017\n\007country\030\001 \001(\t\022\020\n\010language\030\002 \001(\005\022\020\n\010cu"
  1941. "rrency\030\003 \001(\005\0222\n\nline_items\030\004 \003(\0132\036.CGCSt"
  1942. "orePurchaseInit_LineItem\"A\n\037CMsgGCStoreP"
  1943. "urchaseInitResponse\022\016\n\006result\030\001 \001(\005\022\016\n\006t"
  1944. "xn_id\030\002 \001(\004\"P\n\016CSOPartyInvite\022\026\n\010group_i"
  1945. "d\030\001 \001(\004B\004\200\246\035\001\022\021\n\tsender_id\030\002 \001(\006\022\023\n\013send"
  1946. "er_name\030\003 \001(\t\"P\n\016CSOLobbyInvite\022\026\n\010group"
  1947. "_id\030\001 \001(\004B\004\200\246\035\001\022\021\n\tsender_id\030\002 \001(\006\022\023\n\013se"
  1948. "nder_name\030\003 \001(\t\"&\n\023CMsgSystemBroadcast\022\017"
  1949. "\n\007message\030\001 \001(\t\"R\n\021CMsgInviteToParty\022\020\n\010"
  1950. "steam_id\030\001 \001(\006\022\026\n\016client_version\030\002 \001(\r\022\023"
  1951. "\n\013team_invite\030\003 \001(\r\";\n\025CMsgInvitationCre"
  1952. "ated\022\020\n\010group_id\030\001 \001(\004\022\020\n\010steam_id\030\002 \001(\006"
  1953. "\"h\n\027CMsgPartyInviteResponse\022\020\n\010party_id\030"
  1954. "\001 \001(\004\022\016\n\006accept\030\002 \001(\010\022\026\n\016client_version\030"
  1955. "\003 \001(\r\022\023\n\013team_invite\030\004 \001(\r\"%\n\021CMsgKickFr"
  1956. "omParty\022\020\n\010steam_id\030\001 \001(\006\"\020\n\016CMsgLeavePa"
  1957. "rty\"\025\n\023CMsgServerAvailable\"*\n\026CMsgLANSer"
  1958. "verAvailable\022\020\n\010lobby_id\030\001 \001(\006\"\264\001\n\030CSOEc"
  1959. "onGameAccountClient\022$\n\031additional_backpa"
  1960. "ck_slots\030\001 \001(\r:\0010\022\"\n\032bonus_xp_timestamp_"
  1961. "refresh\030\014 \001(\007\022\032\n\022bonus_xp_usedflags\030\r \001("
  1962. "\r\022\026\n\016elevated_state\030\016 \001(\r\022\032\n\022elevated_ti"
  1963. "mestamp\030\017 \001(\r\"r\n\030CSOItemCriteriaConditio"
  1964. "n\022\n\n\002op\030\001 \001(\005\022\r\n\005field\030\002 \001(\t\022\020\n\010required"
  1965. "\030\003 \001(\010\022\023\n\013float_value\030\004 \001(\002\022\024\n\014string_va"
  1966. "lue\030\005 \001(\t\"\261\002\n\017CSOItemCriteria\022\022\n\nitem_le"
  1967. "vel\030\001 \001(\r\022\024\n\014item_quality\030\002 \001(\005\022\026\n\016item_"
  1968. "level_set\030\003 \001(\010\022\030\n\020item_quality_set\030\004 \001("
  1969. "\010\022\031\n\021initial_inventory\030\005 \001(\r\022\030\n\020initial_"
  1970. "quantity\030\006 \001(\r\022\033\n\023ignore_enabled_flag\030\010 "
  1971. "\001(\010\022-\n\nconditions\030\t \003(\0132\031.CSOItemCriteri"
  1972. "aCondition\022\023\n\013item_rarity\030\n \001(\005\022\027\n\017item_"
  1973. "rarity_set\030\013 \001(\010\022\023\n\013recent_only\030\014 \001(\010\"\325\003"
  1974. "\n\rCSOItemRecipe\022\021\n\tdef_index\030\001 \001(\r\022\014\n\004na"
  1975. "me\030\002 \001(\t\022\013\n\003n_a\030\003 \001(\t\022\023\n\013desc_inputs\030\004 \001"
  1976. "(\t\022\024\n\014desc_outputs\030\005 \001(\t\022\014\n\004di_a\030\006 \001(\t\022\014"
  1977. "\n\004di_b\030\007 \001(\t\022\014\n\004di_c\030\010 \001(\t\022\014\n\004do_a\030\t \001(\t"
  1978. "\022\014\n\004do_b\030\n \001(\t\022\014\n\004do_c\030\013 \001(\t\022\037\n\027requires"
  1979. "_all_same_class\030\014 \001(\010\022\036\n\026requires_all_sa"
  1980. "me_slot\030\r \001(\010\022\036\n\026class_usage_for_output\030"
  1981. "\016 \001(\005\022\035\n\025slot_usage_for_output\030\017 \001(\005\022\026\n\016"
  1982. "set_for_output\030\020 \001(\005\022.\n\024input_items_crit"
  1983. "eria\030\024 \003(\0132\020.CSOItemCriteria\022/\n\025output_i"
  1984. "tems_criteria\030\025 \003(\0132\020.CSOItemCriteria\022\036\n"
  1985. "\026input_item_dupe_counts\030\026 \003(\r\"M\n\025CMsgDev"
  1986. "NewItemRequest\022\020\n\010receiver\030\001 \001(\006\022\"\n\010crit"
  1987. "eria\030\002 \001(\0132\020.CSOItemCriteria\"\214\001\n\037CMsgInc"
  1988. "rementKillCountAttribute\022\031\n\021killer_accou"
  1989. "nt_id\030\001 \001(\007\022\031\n\021victim_account_id\030\002 \001(\007\022\017"
  1990. "\n\007item_id\030\003 \001(\004\022\022\n\nevent_type\030\004 \001(\r\022\016\n\006a"
  1991. "mount\030\005 \001(\r\"p\n\020CMsgApplySticker\022\027\n\017stick"
  1992. "er_item_id\030\001 \001(\004\022\024\n\014item_item_id\030\002 \001(\004\022\024"
  1993. "\n\014sticker_slot\030\003 \001(\r\022\027\n\017baseitem_defidx\030"
  1994. "\004 \001(\r\"]\n\025CMsgApplyStatTrakSwap\022\024\n\014tool_i"
  1995. "tem_id\030\001 \001(\004\022\026\n\016item_1_item_id\030\002 \001(\004\022\026\n\016"
  1996. "item_2_item_id\030\003 \001(\004\"J\n\024CMsgApplyStrange"
  1997. "Part\022\034\n\024strange_part_item_id\030\001 \001(\004\022\024\n\014it"
  1998. "em_item_id\030\002 \001(\004\"K\n\027CMsgApplyPennantUpgr"
  1999. "ade\022\027\n\017upgrade_item_id\030\001 \001(\004\022\027\n\017pennant_"
  2000. "item_id\030\002 \001(\004\"C\n\023CMsgApplyEggEssence\022\027\n\017"
  2001. "essence_item_id\030\001 \001(\004\022\023\n\013egg_item_id\030\002 \001"
  2002. "(\004\"M\n\024CSOEconItemAttribute\022\021\n\tdef_index\030"
  2003. "\001 \001(\r\022\r\n\005value\030\002 \001(\r\022\023\n\013value_bytes\030\003 \001("
  2004. "\014\":\n\023CSOEconItemEquipped\022\021\n\tnew_class\030\001 "
  2005. "\001(\r\022\020\n\010new_slot\030\002 \001(\r\"\237\003\n\013CSOEconItem\022\n\n"
  2006. "\002id\030\001 \001(\004\022\022\n\naccount_id\030\002 \001(\r\022\021\n\tinvento"
  2007. "ry\030\003 \001(\r\022\021\n\tdef_index\030\004 \001(\r\022\020\n\010quantity\030"
  2008. "\005 \001(\r\022\r\n\005level\030\006 \001(\r\022\017\n\007quality\030\007 \001(\r\022\020\n"
  2009. "\005flags\030\010 \001(\r:\0010\022\016\n\006origin\030\t \001(\r\022\023\n\013custo"
  2010. "m_name\030\n \001(\t\022\023\n\013custom_desc\030\013 \001(\t\022(\n\tatt"
  2011. "ribute\030\014 \003(\0132\025.CSOEconItemAttribute\022#\n\ri"
  2012. "nterior_item\030\r \001(\0132\014.CSOEconItem\022\025\n\006in_u"
  2013. "se\030\016 \001(\010:\005false\022\020\n\005style\030\017 \001(\r:\0010\022\026\n\013ori"
  2014. "ginal_id\030\020 \001(\004:\0010\022,\n\016equipped_state\030\022 \003("
  2015. "\0132\024.CSOEconItemEquipped\022\016\n\006rarity\030\023 \001(\r\""
  2016. "a\n\033CMsgAdjustItemEquippedState\022\017\n\007item_i"
  2017. "d\030\001 \001(\004\022\021\n\tnew_class\030\002 \001(\r\022\020\n\010new_slot\030\003"
  2018. " \001(\r\022\014\n\004swap\030\004 \001(\010\"\"\n\rCMsgSortItems\022\021\n\ts"
  2019. "ort_type\030\001 \001(\r\"^\n\020CSOEconClaimCode\022\022\n\nac"
  2020. "count_id\030\001 \001(\r\022\021\n\tcode_type\030\002 \001(\r\022\025\n\rtim"
  2021. "e_acquired\030\003 \001(\r\022\014\n\004code\030\004 \001(\t\"E\n\024CMsgSt"
  2022. "oreGetUserData\022\033\n\023price_sheet_version\030\001 "
  2023. "\001(\007\022\020\n\010currency\030\002 \001(\005\"\231\001\n\034CMsgStoreGetUs"
  2024. "erDataResponse\022\016\n\006result\030\001 \001(\005\022\033\n\023curren"
  2025. "cy_deprecated\030\002 \001(\005\022\032\n\022country_deprecate"
  2026. "d\030\003 \001(\t\022\033\n\023price_sheet_version\030\004 \001(\007\022\023\n\013"
  2027. "price_sheet\030\010 \001(\014\"\206\001\n\024CMsgUpdateItemSche"
  2028. "ma\022\022\n\nitems_game\030\001 \001(\014\022\033\n\023item_schema_ve"
  2029. "rsion\030\002 \001(\007\022%\n\035items_game_url_DEPRECATED"
  2030. "2013\030\003 \001(\t\022\026\n\016items_game_url\030\004 \001(\t\"!\n\013CM"
  2031. "sgGCError\022\022\n\nerror_text\030\001 \001(\t\"\035\n\033CMsgReq"
  2032. "uestInventoryRefresh\".\n\017CMsgConVarValue\022"
  2033. "\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"9\n\024CMsgRepl"
  2034. "icateConVars\022!\n\007convars\030\001 \003(\0132\020.CMsgConV"
  2035. "arValue\"\216\001\n\013CMsgUseItem\022\017\n\007item_id\030\001 \001(\004"
  2036. "\022\027\n\017target_steam_id\030\002 \001(\006\022\037\n\027gift__poten"
  2037. "tial_targets\030\003 \003(\r\022\030\n\020duel__class_lock\030\004"
  2038. " \001(\r\022\032\n\022initiator_steam_id\030\005 \001(\006\"d\n\033CMsg"
  2039. "ReplayUploadedToYouTube\022\023\n\013youtube_url\030\001"
  2040. " \001(\t\022\034\n\024youtube_account_name\030\002 \001(\t\022\022\n\nse"
  2041. "ssion_id\030\003 \001(\004\".\n\027CMsgConsumableExhauste"
  2042. "d\022\023\n\013item_def_id\030\001 \001(\005\"\236\001\n CMsgItemAckno"
  2043. "wledged__DEPRECATED\022\022\n\naccount_id\030\001 \001(\r\022"
  2044. "\021\n\tinventory\030\002 \001(\r\022\021\n\tdef_index\030\003 \001(\r\022\017\n"
  2045. "\007quality\030\004 \001(\r\022\016\n\006rarity\030\005 \001(\r\022\016\n\006origin"
  2046. "\030\006 \001(\r\022\017\n\007item_id\030\007 \001(\004\"\235\001\n\024CMsgSetItemP"
  2047. "ositions\022:\n\016item_positions\030\001 \003(\0132\".CMsgS"
  2048. "etItemPositions.ItemPosition\032I\n\014ItemPosi"
  2049. "tion\022\026\n\016legacy_item_id\030\001 \001(\r\022\020\n\010position"
  2050. "\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\004\"\270\001\n\021CMsgGCReport"
  2051. "Abuse\022\027\n\017target_steam_id\030\001 \001(\006\022\023\n\013descri"
  2052. "ption\030\004 \001(\t\022\013\n\003gid\030\005 \001(\004\022\022\n\nabuse_type\030\002"
  2053. " \001(\r\022\024\n\014content_type\030\003 \001(\r\022\035\n\025target_gam"
  2054. "e_server_ip\030\006 \001(\007\022\037\n\027target_game_server_"
  2055. "port\030\007 \001(\r\"[\n\031CMsgGCReportAbuseResponse\022"
  2056. "\027\n\017target_steam_id\030\001 \001(\006\022\016\n\006result\030\002 \001(\r"
  2057. "\022\025\n\rerror_message\030\003 \001(\t\"f\n\032CMsgGCNameIte"
  2058. "mNotification\022\026\n\016player_steamid\030\001 \001(\006\022\026\n"
  2059. "\016item_def_index\030\002 \001(\r\022\030\n\020item_name_custo"
  2060. "m\030\003 \001(\t\"\266\001\n\037CMsgGCClientDisplayNotificat"
  2061. "ion\022+\n#notification_title_localization_k"
  2062. "ey\030\001 \001(\t\022*\n\"notification_body_localizati"
  2063. "on_key\030\002 \001(\t\022\033\n\023body_substring_keys\030\003 \003("
  2064. "\t\022\035\n\025body_substring_values\030\004 \003(\t\"1\n\027CMsg"
  2065. "GCShowItemsPickedUp\022\026\n\016player_steamid\030\001 "
  2066. "\001(\006\"|\n CMsgGCIncrementKillCountResponse\022"
  2067. "\037\n\021killer_account_id\030\001 \001(\rB\004\200\246\035\001\022\021\n\tnum_"
  2068. "kills\030\002 \001(\r\022\020\n\010item_def\030\003 \001(\r\022\022\n\nlevel_t"
  2069. "ype\030\004 \001(\r\"\217\001\n\030CSOEconItemDropRateBonus\022\022"
  2070. "\n\naccount_id\030\001 \001(\r\022\027\n\017expiration_date\030\002 "
  2071. "\001(\007\022\r\n\005bonus\030\003 \001(\002\022\023\n\013bonus_count\030\004 \001(\r\022"
  2072. "\017\n\007item_id\030\005 \001(\004\022\021\n\tdef_index\030\006 \001(\r\"p\n\031C"
  2073. "SOEconItemLeagueViewPass\022\030\n\naccount_id\030\001"
  2074. " \001(\rB\004\200\246\035\001\022\027\n\tleague_id\030\002 \001(\rB\004\200\246\035\001\022\r\n\005a"
  2075. "dmin\030\003 \001(\r\022\021\n\titemindex\030\004 \001(\r\"O\n\026CSOEcon"
  2076. "ItemEventTicket\022\022\n\naccount_id\030\001 \001(\r\022\020\n\010e"
  2077. "vent_id\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\004\"A\n\'CMsgGC"
  2078. "ItemPreviewItemBoughtNotification\022\026\n\016ite"
  2079. "m_def_index\030\001 \001(\r\"+\n\031CMsgGCStorePurchase"
  2080. "Cancel\022\016\n\006txn_id\030\001 \001(\004\"3\n!CMsgGCStorePur"
  2081. "chaseCancelResponse\022\016\n\006result\030\001 \001(\r\"-\n\033C"
  2082. "MsgGCStorePurchaseFinalize\022\016\n\006txn_id\030\001 \001"
  2083. "(\004\"G\n#CMsgGCStorePurchaseFinalizeRespons"
  2084. "e\022\016\n\006result\030\001 \001(\r\022\020\n\010item_ids\030\002 \003(\004\"I\n\033C"
  2085. "MsgGCBannedWordListRequest\022\031\n\021ban_list_g"
  2086. "roup_id\030\001 \001(\r\022\017\n\007word_id\030\002 \001(\r\"\034\n\032CMsgGC"
  2087. "RequestAnnouncements\"\202\001\n\"CMsgGCRequestAn"
  2088. "nouncementsResponse\022\032\n\022announcement_titl"
  2089. "e\030\001 \001(\t\022\024\n\014announcement\030\002 \001(\t\022\027\n\017nextmat"
  2090. "ch_title\030\003 \001(\t\022\021\n\tnextmatch\030\004 \001(\t\"X\n\020CMs"
  2091. "gGCBannedWord\022\017\n\007word_id\030\001 \001(\r\022%\n\tword_t"
  2092. "ype\030\002 \001(\0162\022.GC_BannedWordType\022\014\n\004word\030\003 "
  2093. "\001(\t\"_\n\034CMsgGCBannedWordListResponse\022\031\n\021b"
  2094. "an_list_group_id\030\001 \001(\r\022$\n\tword_list\030\002 \003("
  2095. "\0132\021.CMsgGCBannedWord\"U\n!CMsgGCToGCBanned"
  2096. "WordListBroadcast\0220\n\tbroadcast\030\001 \001(\0132\035.C"
  2097. "MsgGCBannedWordListResponse\"3\n\037CMsgGCToG"
  2098. "CBannedWordListUpdated\022\020\n\010group_id\030\001 \001(\r"
  2099. "\"\222\001\n.CSOEconDefaultEquippedDefinitionIns"
  2100. "tanceClient\022\030\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\027\n"
  2101. "\017item_definition\030\002 \001(\r\022\026\n\010class_id\030\003 \001(\r"
  2102. "B\004\200\246\035\001\022\025\n\007slot_id\030\004 \001(\rB\004\200\246\035\001\"\?\n\027CMsgGCT"
  2103. "oGCDirtySDOCache\022\020\n\010sdo_type\030\001 \001(\r\022\022\n\nke"
  2104. "y_uint64\030\002 \001(\004\"G\n\037CMsgGCToGCDirtyMultipl"
  2105. "eSDOCache\022\020\n\010sdo_type\030\001 \001(\r\022\022\n\nkey_uint6"
  2106. "4\030\002 \003(\004\"H\n\021CMsgGCCollectItem\022\032\n\022collecti"
  2107. "on_item_id\030\001 \001(\004\022\027\n\017subject_item_id\030\002 \001("
  2108. "\004\"\024\n\022CMsgSDONoMemcached\"/\n\033CMsgGCToGCUpd"
  2109. "ateSQLKeyValue\022\020\n\010key_name\030\001 \001(\t\"-\n\031CMsg"
  2110. "GCToGCIsTrustedServer\022\020\n\010steam_id\030\001 \001(\006\""
  2111. "7\n!CMsgGCToGCIsTrustedServerResponse\022\022\n\n"
  2112. "is_trusted\030\001 \001(\010\"8\n!CMsgGCToGCBroadcastC"
  2113. "onsoleCommand\022\023\n\013con_command\030\001 \001(\t\"4\n\032CM"
  2114. "sgGCServerVersionUpdated\022\026\n\016server_versi"
  2115. "on\030\001 \001(\r\"4\n\032CMsgGCClientVersionUpdated\022\026"
  2116. "\n\016client_version\030\001 \001(\r\" \n\036CMsgGCToGCWebA"
  2117. "PIAccountChanged\"^\n\"CMsgGCToGCRequestPas"
  2118. "sportItemGrant\022\020\n\010steam_id\030\001 \001(\006\022\021\n\tleag"
  2119. "ue_id\030\002 \001(\r\022\023\n\013reward_flag\030\003 \001(\005\"\350\004\n\022CMs"
  2120. "gGameServerInfo\022\035\n\025server_public_ip_addr"
  2121. "\030\001 \001(\007\022\036\n\026server_private_ip_addr\030\002 \001(\007\022\023"
  2122. "\n\013server_port\030\003 \001(\r\022\026\n\016server_tv_port\030\004 "
  2123. "\001(\r\022\022\n\nserver_key\030\005 \001(\t\022\032\n\022server_hibern"
  2124. "ation\030\006 \001(\010\022@\n\013server_type\030\007 \001(\0162\036.CMsgG"
  2125. "ameServerInfo.ServerType:\013UNSPECIFIED\022\025\n"
  2126. "\rserver_region\030\010 \001(\r\022\026\n\016server_loadavg\030\t"
  2127. " \001(\002\022 \n\030server_tv_broadcast_time\030\n \001(\002\022\030"
  2128. "\n\020server_game_time\030\013 \001(\002\022\'\n\037server_relay"
  2129. "_connected_steam_id\030\014 \001(\006\022\027\n\017relay_slots"
  2130. "_max\030\r \001(\r\022\030\n\020relays_connected\030\016 \001(\005\022\037\n\027"
  2131. "relay_clients_connected\030\017 \001(\005\022$\n\034relayed"
  2132. "_game_server_steam_id\030\020 \001(\006\022\032\n\022parent_re"
  2133. "lay_count\030\021 \001(\r\022\026\n\016tv_secret_code\030\022 \001(\006\""
  2134. "2\n\nServerType\022\017\n\013UNSPECIFIED\020\000\022\010\n\004GAME\020\001"
  2135. "\022\t\n\005PROXY\020\002*\307\003\n\nEGCBaseMsg\022\032\n\025k_EMsgGCSy"
  2136. "stemMessage\020\241\037\022\035\n\030k_EMsgGCReplicateConVa"
  2137. "rs\020\242\037\022\032\n\025k_EMsgGCConVarUpdated\020\243\037\022\024\n\017k_E"
  2138. "MsgGCInQueue\020\250\037\022\032\n\025k_EMsgGCInviteToParty"
  2139. "\020\225#\022\036\n\031k_EMsgGCInvitationCreated\020\226#\022 \n\033k"
  2140. "_EMsgGCPartyInviteResponse\020\227#\022\032\n\025k_EMsgG"
  2141. "CKickFromParty\020\230#\022\027\n\022k_EMsgGCLeaveParty\020"
  2142. "\231#\022\034\n\027k_EMsgGCServerAvailable\020\232#\022\"\n\035k_EM"
  2143. "sgGCClientConnectToServer\020\233#\022\033\n\026k_EMsgGC"
  2144. "GameServerInfo\020\234#\022\022\n\rk_EMsgGCError\020\235#\022%\n"
  2145. " k_EMsgGCReplay_UploadedToYouTube\020\236#\022\037\n\032"
  2146. "k_EMsgGCLANServerAvailable\020\237#*Y\n\027EGCBase"
  2147. "ProtoObjectTypes\022\036\n\031k_EProtoObjectPartyI"
  2148. "nvite\020\351\007\022\036\n\031k_EProtoObjectLobbyInvite\020\352\007"
  2149. "*T\n\021GC_BannedWordType\022\037\n\033GC_BANNED_WORD_"
  2150. "DISABLE_WORD\020\000\022\036\n\032GC_BANNED_WORD_ENABLE_"
  2151. "WORD\020\001B\005H\001\200\001\000", 8653);
  2152. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  2153. "base_gcmessages.proto", &protobuf_RegisterTypes);
  2154. CGCStorePurchaseInit_LineItem::default_instance_ = new CGCStorePurchaseInit_LineItem();
  2155. CMsgGCStorePurchaseInit::default_instance_ = new CMsgGCStorePurchaseInit();
  2156. CMsgGCStorePurchaseInitResponse::default_instance_ = new CMsgGCStorePurchaseInitResponse();
  2157. CSOPartyInvite::default_instance_ = new CSOPartyInvite();
  2158. CSOLobbyInvite::default_instance_ = new CSOLobbyInvite();
  2159. CMsgSystemBroadcast::default_instance_ = new CMsgSystemBroadcast();
  2160. CMsgInviteToParty::default_instance_ = new CMsgInviteToParty();
  2161. CMsgInvitationCreated::default_instance_ = new CMsgInvitationCreated();
  2162. CMsgPartyInviteResponse::default_instance_ = new CMsgPartyInviteResponse();
  2163. CMsgKickFromParty::default_instance_ = new CMsgKickFromParty();
  2164. CMsgLeaveParty::default_instance_ = new CMsgLeaveParty();
  2165. CMsgServerAvailable::default_instance_ = new CMsgServerAvailable();
  2166. CMsgLANServerAvailable::default_instance_ = new CMsgLANServerAvailable();
  2167. CSOEconGameAccountClient::default_instance_ = new CSOEconGameAccountClient();
  2168. CSOItemCriteriaCondition::default_instance_ = new CSOItemCriteriaCondition();
  2169. CSOItemCriteria::default_instance_ = new CSOItemCriteria();
  2170. CSOItemRecipe::default_instance_ = new CSOItemRecipe();
  2171. CMsgDevNewItemRequest::default_instance_ = new CMsgDevNewItemRequest();
  2172. CMsgIncrementKillCountAttribute::default_instance_ = new CMsgIncrementKillCountAttribute();
  2173. CMsgApplySticker::default_instance_ = new CMsgApplySticker();
  2174. CMsgApplyStatTrakSwap::default_instance_ = new CMsgApplyStatTrakSwap();
  2175. CMsgApplyStrangePart::default_instance_ = new CMsgApplyStrangePart();
  2176. CMsgApplyPennantUpgrade::default_instance_ = new CMsgApplyPennantUpgrade();
  2177. CMsgApplyEggEssence::default_instance_ = new CMsgApplyEggEssence();
  2178. CSOEconItemAttribute::default_instance_ = new CSOEconItemAttribute();
  2179. CSOEconItemEquipped::default_instance_ = new CSOEconItemEquipped();
  2180. CSOEconItem::default_instance_ = new CSOEconItem();
  2181. CMsgAdjustItemEquippedState::default_instance_ = new CMsgAdjustItemEquippedState();
  2182. CMsgSortItems::default_instance_ = new CMsgSortItems();
  2183. CSOEconClaimCode::default_instance_ = new CSOEconClaimCode();
  2184. CMsgStoreGetUserData::default_instance_ = new CMsgStoreGetUserData();
  2185. CMsgStoreGetUserDataResponse::default_instance_ = new CMsgStoreGetUserDataResponse();
  2186. CMsgUpdateItemSchema::default_instance_ = new CMsgUpdateItemSchema();
  2187. CMsgGCError::default_instance_ = new CMsgGCError();
  2188. CMsgRequestInventoryRefresh::default_instance_ = new CMsgRequestInventoryRefresh();
  2189. CMsgConVarValue::default_instance_ = new CMsgConVarValue();
  2190. CMsgReplicateConVars::default_instance_ = new CMsgReplicateConVars();
  2191. CMsgUseItem::default_instance_ = new CMsgUseItem();
  2192. CMsgReplayUploadedToYouTube::default_instance_ = new CMsgReplayUploadedToYouTube();
  2193. CMsgConsumableExhausted::default_instance_ = new CMsgConsumableExhausted();
  2194. CMsgItemAcknowledged__DEPRECATED::default_instance_ = new CMsgItemAcknowledged__DEPRECATED();
  2195. CMsgSetItemPositions::default_instance_ = new CMsgSetItemPositions();
  2196. CMsgSetItemPositions_ItemPosition::default_instance_ = new CMsgSetItemPositions_ItemPosition();
  2197. CMsgGCReportAbuse::default_instance_ = new CMsgGCReportAbuse();
  2198. CMsgGCReportAbuseResponse::default_instance_ = new CMsgGCReportAbuseResponse();
  2199. CMsgGCNameItemNotification::default_instance_ = new CMsgGCNameItemNotification();
  2200. CMsgGCClientDisplayNotification::default_instance_ = new CMsgGCClientDisplayNotification();
  2201. CMsgGCShowItemsPickedUp::default_instance_ = new CMsgGCShowItemsPickedUp();
  2202. CMsgGCIncrementKillCountResponse::default_instance_ = new CMsgGCIncrementKillCountResponse();
  2203. CSOEconItemDropRateBonus::default_instance_ = new CSOEconItemDropRateBonus();
  2204. CSOEconItemLeagueViewPass::default_instance_ = new CSOEconItemLeagueViewPass();
  2205. CSOEconItemEventTicket::default_instance_ = new CSOEconItemEventTicket();
  2206. CMsgGCItemPreviewItemBoughtNotification::default_instance_ = new CMsgGCItemPreviewItemBoughtNotification();
  2207. CMsgGCStorePurchaseCancel::default_instance_ = new CMsgGCStorePurchaseCancel();
  2208. CMsgGCStorePurchaseCancelResponse::default_instance_ = new CMsgGCStorePurchaseCancelResponse();
  2209. CMsgGCStorePurchaseFinalize::default_instance_ = new CMsgGCStorePurchaseFinalize();
  2210. CMsgGCStorePurchaseFinalizeResponse::default_instance_ = new CMsgGCStorePurchaseFinalizeResponse();
  2211. CMsgGCBannedWordListRequest::default_instance_ = new CMsgGCBannedWordListRequest();
  2212. CMsgGCRequestAnnouncements::default_instance_ = new CMsgGCRequestAnnouncements();
  2213. CMsgGCRequestAnnouncementsResponse::default_instance_ = new CMsgGCRequestAnnouncementsResponse();
  2214. CMsgGCBannedWord::default_instance_ = new CMsgGCBannedWord();
  2215. CMsgGCBannedWordListResponse::default_instance_ = new CMsgGCBannedWordListResponse();
  2216. CMsgGCToGCBannedWordListBroadcast::default_instance_ = new CMsgGCToGCBannedWordListBroadcast();
  2217. CMsgGCToGCBannedWordListUpdated::default_instance_ = new CMsgGCToGCBannedWordListUpdated();
  2218. CSOEconDefaultEquippedDefinitionInstanceClient::default_instance_ = new CSOEconDefaultEquippedDefinitionInstanceClient();
  2219. CMsgGCToGCDirtySDOCache::default_instance_ = new CMsgGCToGCDirtySDOCache();
  2220. CMsgGCToGCDirtyMultipleSDOCache::default_instance_ = new CMsgGCToGCDirtyMultipleSDOCache();
  2221. CMsgGCCollectItem::default_instance_ = new CMsgGCCollectItem();
  2222. CMsgSDONoMemcached::default_instance_ = new CMsgSDONoMemcached();
  2223. CMsgGCToGCUpdateSQLKeyValue::default_instance_ = new CMsgGCToGCUpdateSQLKeyValue();
  2224. CMsgGCToGCIsTrustedServer::default_instance_ = new CMsgGCToGCIsTrustedServer();
  2225. CMsgGCToGCIsTrustedServerResponse::default_instance_ = new CMsgGCToGCIsTrustedServerResponse();
  2226. CMsgGCToGCBroadcastConsoleCommand::default_instance_ = new CMsgGCToGCBroadcastConsoleCommand();
  2227. CMsgGCServerVersionUpdated::default_instance_ = new CMsgGCServerVersionUpdated();
  2228. CMsgGCClientVersionUpdated::default_instance_ = new CMsgGCClientVersionUpdated();
  2229. CMsgGCToGCWebAPIAccountChanged::default_instance_ = new CMsgGCToGCWebAPIAccountChanged();
  2230. CMsgGCToGCRequestPassportItemGrant::default_instance_ = new CMsgGCToGCRequestPassportItemGrant();
  2231. CMsgGameServerInfo::default_instance_ = new CMsgGameServerInfo();
  2232. CGCStorePurchaseInit_LineItem::default_instance_->InitAsDefaultInstance();
  2233. CMsgGCStorePurchaseInit::default_instance_->InitAsDefaultInstance();
  2234. CMsgGCStorePurchaseInitResponse::default_instance_->InitAsDefaultInstance();
  2235. CSOPartyInvite::default_instance_->InitAsDefaultInstance();
  2236. CSOLobbyInvite::default_instance_->InitAsDefaultInstance();
  2237. CMsgSystemBroadcast::default_instance_->InitAsDefaultInstance();
  2238. CMsgInviteToParty::default_instance_->InitAsDefaultInstance();
  2239. CMsgInvitationCreated::default_instance_->InitAsDefaultInstance();
  2240. CMsgPartyInviteResponse::default_instance_->InitAsDefaultInstance();
  2241. CMsgKickFromParty::default_instance_->InitAsDefaultInstance();
  2242. CMsgLeaveParty::default_instance_->InitAsDefaultInstance();
  2243. CMsgServerAvailable::default_instance_->InitAsDefaultInstance();
  2244. CMsgLANServerAvailable::default_instance_->InitAsDefaultInstance();
  2245. CSOEconGameAccountClient::default_instance_->InitAsDefaultInstance();
  2246. CSOItemCriteriaCondition::default_instance_->InitAsDefaultInstance();
  2247. CSOItemCriteria::default_instance_->InitAsDefaultInstance();
  2248. CSOItemRecipe::default_instance_->InitAsDefaultInstance();
  2249. CMsgDevNewItemRequest::default_instance_->InitAsDefaultInstance();
  2250. CMsgIncrementKillCountAttribute::default_instance_->InitAsDefaultInstance();
  2251. CMsgApplySticker::default_instance_->InitAsDefaultInstance();
  2252. CMsgApplyStatTrakSwap::default_instance_->InitAsDefaultInstance();
  2253. CMsgApplyStrangePart::default_instance_->InitAsDefaultInstance();
  2254. CMsgApplyPennantUpgrade::default_instance_->InitAsDefaultInstance();
  2255. CMsgApplyEggEssence::default_instance_->InitAsDefaultInstance();
  2256. CSOEconItemAttribute::default_instance_->InitAsDefaultInstance();
  2257. CSOEconItemEquipped::default_instance_->InitAsDefaultInstance();
  2258. CSOEconItem::default_instance_->InitAsDefaultInstance();
  2259. CMsgAdjustItemEquippedState::default_instance_->InitAsDefaultInstance();
  2260. CMsgSortItems::default_instance_->InitAsDefaultInstance();
  2261. CSOEconClaimCode::default_instance_->InitAsDefaultInstance();
  2262. CMsgStoreGetUserData::default_instance_->InitAsDefaultInstance();
  2263. CMsgStoreGetUserDataResponse::default_instance_->InitAsDefaultInstance();
  2264. CMsgUpdateItemSchema::default_instance_->InitAsDefaultInstance();
  2265. CMsgGCError::default_instance_->InitAsDefaultInstance();
  2266. CMsgRequestInventoryRefresh::default_instance_->InitAsDefaultInstance();
  2267. CMsgConVarValue::default_instance_->InitAsDefaultInstance();
  2268. CMsgReplicateConVars::default_instance_->InitAsDefaultInstance();
  2269. CMsgUseItem::default_instance_->InitAsDefaultInstance();
  2270. CMsgReplayUploadedToYouTube::default_instance_->InitAsDefaultInstance();
  2271. CMsgConsumableExhausted::default_instance_->InitAsDefaultInstance();
  2272. CMsgItemAcknowledged__DEPRECATED::default_instance_->InitAsDefaultInstance();
  2273. CMsgSetItemPositions::default_instance_->InitAsDefaultInstance();
  2274. CMsgSetItemPositions_ItemPosition::default_instance_->InitAsDefaultInstance();
  2275. CMsgGCReportAbuse::default_instance_->InitAsDefaultInstance();
  2276. CMsgGCReportAbuseResponse::default_instance_->InitAsDefaultInstance();
  2277. CMsgGCNameItemNotification::default_instance_->InitAsDefaultInstance();
  2278. CMsgGCClientDisplayNotification::default_instance_->InitAsDefaultInstance();
  2279. CMsgGCShowItemsPickedUp::default_instance_->InitAsDefaultInstance();
  2280. CMsgGCIncrementKillCountResponse::default_instance_->InitAsDefaultInstance();
  2281. CSOEconItemDropRateBonus::default_instance_->InitAsDefaultInstance();
  2282. CSOEconItemLeagueViewPass::default_instance_->InitAsDefaultInstance();
  2283. CSOEconItemEventTicket::default_instance_->InitAsDefaultInstance();
  2284. CMsgGCItemPreviewItemBoughtNotification::default_instance_->InitAsDefaultInstance();
  2285. CMsgGCStorePurchaseCancel::default_instance_->InitAsDefaultInstance();
  2286. CMsgGCStorePurchaseCancelResponse::default_instance_->InitAsDefaultInstance();
  2287. CMsgGCStorePurchaseFinalize::default_instance_->InitAsDefaultInstance();
  2288. CMsgGCStorePurchaseFinalizeResponse::default_instance_->InitAsDefaultInstance();
  2289. CMsgGCBannedWordListRequest::default_instance_->InitAsDefaultInstance();
  2290. CMsgGCRequestAnnouncements::default_instance_->InitAsDefaultInstance();
  2291. CMsgGCRequestAnnouncementsResponse::default_instance_->InitAsDefaultInstance();
  2292. CMsgGCBannedWord::default_instance_->InitAsDefaultInstance();
  2293. CMsgGCBannedWordListResponse::default_instance_->InitAsDefaultInstance();
  2294. CMsgGCToGCBannedWordListBroadcast::default_instance_->InitAsDefaultInstance();
  2295. CMsgGCToGCBannedWordListUpdated::default_instance_->InitAsDefaultInstance();
  2296. CSOEconDefaultEquippedDefinitionInstanceClient::default_instance_->InitAsDefaultInstance();
  2297. CMsgGCToGCDirtySDOCache::default_instance_->InitAsDefaultInstance();
  2298. CMsgGCToGCDirtyMultipleSDOCache::default_instance_->InitAsDefaultInstance();
  2299. CMsgGCCollectItem::default_instance_->InitAsDefaultInstance();
  2300. CMsgSDONoMemcached::default_instance_->InitAsDefaultInstance();
  2301. CMsgGCToGCUpdateSQLKeyValue::default_instance_->InitAsDefaultInstance();
  2302. CMsgGCToGCIsTrustedServer::default_instance_->InitAsDefaultInstance();
  2303. CMsgGCToGCIsTrustedServerResponse::default_instance_->InitAsDefaultInstance();
  2304. CMsgGCToGCBroadcastConsoleCommand::default_instance_->InitAsDefaultInstance();
  2305. CMsgGCServerVersionUpdated::default_instance_->InitAsDefaultInstance();
  2306. CMsgGCClientVersionUpdated::default_instance_->InitAsDefaultInstance();
  2307. CMsgGCToGCWebAPIAccountChanged::default_instance_->InitAsDefaultInstance();
  2308. CMsgGCToGCRequestPassportItemGrant::default_instance_->InitAsDefaultInstance();
  2309. CMsgGameServerInfo::default_instance_->InitAsDefaultInstance();
  2310. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_base_5fgcmessages_2eproto);
  2311. }
  2312. // Force AddDescriptors() to be called at static initialization time.
  2313. struct StaticDescriptorInitializer_base_5fgcmessages_2eproto {
  2314. StaticDescriptorInitializer_base_5fgcmessages_2eproto() {
  2315. protobuf_AddDesc_base_5fgcmessages_2eproto();
  2316. }
  2317. } static_descriptor_initializer_base_5fgcmessages_2eproto_;
  2318. const ::google::protobuf::EnumDescriptor* EGCBaseMsg_descriptor() {
  2319. protobuf_AssignDescriptorsOnce();
  2320. return EGCBaseMsg_descriptor_;
  2321. }
  2322. bool EGCBaseMsg_IsValid(int value) {
  2323. switch(value) {
  2324. case 4001:
  2325. case 4002:
  2326. case 4003:
  2327. case 4008:
  2328. case 4501:
  2329. case 4502:
  2330. case 4503:
  2331. case 4504:
  2332. case 4505:
  2333. case 4506:
  2334. case 4507:
  2335. case 4508:
  2336. case 4509:
  2337. case 4510:
  2338. case 4511:
  2339. return true;
  2340. default:
  2341. return false;
  2342. }
  2343. }
  2344. const ::google::protobuf::EnumDescriptor* EGCBaseProtoObjectTypes_descriptor() {
  2345. protobuf_AssignDescriptorsOnce();
  2346. return EGCBaseProtoObjectTypes_descriptor_;
  2347. }
  2348. bool EGCBaseProtoObjectTypes_IsValid(int value) {
  2349. switch(value) {
  2350. case 1001:
  2351. case 1002:
  2352. return true;
  2353. default:
  2354. return false;
  2355. }
  2356. }
  2357. const ::google::protobuf::EnumDescriptor* GC_BannedWordType_descriptor() {
  2358. protobuf_AssignDescriptorsOnce();
  2359. return GC_BannedWordType_descriptor_;
  2360. }
  2361. bool GC_BannedWordType_IsValid(int value) {
  2362. switch(value) {
  2363. case 0:
  2364. case 1:
  2365. return true;
  2366. default:
  2367. return false;
  2368. }
  2369. }
  2370. // ===================================================================
  2371. #ifndef _MSC_VER
  2372. const int CGCStorePurchaseInit_LineItem::kItemDefIdFieldNumber;
  2373. const int CGCStorePurchaseInit_LineItem::kQuantityFieldNumber;
  2374. const int CGCStorePurchaseInit_LineItem::kCostInLocalCurrencyFieldNumber;
  2375. const int CGCStorePurchaseInit_LineItem::kPurchaseTypeFieldNumber;
  2376. #endif // !_MSC_VER
  2377. CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem()
  2378. : ::google::protobuf::Message() {
  2379. SharedCtor();
  2380. }
  2381. void CGCStorePurchaseInit_LineItem::InitAsDefaultInstance() {
  2382. }
  2383. CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem(const CGCStorePurchaseInit_LineItem& from)
  2384. : ::google::protobuf::Message() {
  2385. SharedCtor();
  2386. MergeFrom(from);
  2387. }
  2388. void CGCStorePurchaseInit_LineItem::SharedCtor() {
  2389. _cached_size_ = 0;
  2390. item_def_id_ = 0u;
  2391. quantity_ = 0u;
  2392. cost_in_local_currency_ = 0u;
  2393. purchase_type_ = 0u;
  2394. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2395. }
  2396. CGCStorePurchaseInit_LineItem::~CGCStorePurchaseInit_LineItem() {
  2397. SharedDtor();
  2398. }
  2399. void CGCStorePurchaseInit_LineItem::SharedDtor() {
  2400. if (this != default_instance_) {
  2401. }
  2402. }
  2403. void CGCStorePurchaseInit_LineItem::SetCachedSize(int size) const {
  2404. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2405. _cached_size_ = size;
  2406. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2407. }
  2408. const ::google::protobuf::Descriptor* CGCStorePurchaseInit_LineItem::descriptor() {
  2409. protobuf_AssignDescriptorsOnce();
  2410. return CGCStorePurchaseInit_LineItem_descriptor_;
  2411. }
  2412. const CGCStorePurchaseInit_LineItem& CGCStorePurchaseInit_LineItem::default_instance() {
  2413. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  2414. return *default_instance_;
  2415. }
  2416. CGCStorePurchaseInit_LineItem* CGCStorePurchaseInit_LineItem::default_instance_ = NULL;
  2417. CGCStorePurchaseInit_LineItem* CGCStorePurchaseInit_LineItem::New() const {
  2418. return new CGCStorePurchaseInit_LineItem;
  2419. }
  2420. void CGCStorePurchaseInit_LineItem::Clear() {
  2421. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2422. item_def_id_ = 0u;
  2423. quantity_ = 0u;
  2424. cost_in_local_currency_ = 0u;
  2425. purchase_type_ = 0u;
  2426. }
  2427. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2428. mutable_unknown_fields()->Clear();
  2429. }
  2430. bool CGCStorePurchaseInit_LineItem::MergePartialFromCodedStream(
  2431. ::google::protobuf::io::CodedInputStream* input) {
  2432. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2433. ::google::protobuf::uint32 tag;
  2434. while ((tag = input->ReadTag()) != 0) {
  2435. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2436. // optional uint32 item_def_id = 1;
  2437. case 1: {
  2438. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2439. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2440. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2441. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2442. input, &item_def_id_)));
  2443. set_has_item_def_id();
  2444. } else {
  2445. goto handle_uninterpreted;
  2446. }
  2447. if (input->ExpectTag(16)) goto parse_quantity;
  2448. break;
  2449. }
  2450. // optional uint32 quantity = 2;
  2451. case 2: {
  2452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2454. parse_quantity:
  2455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2456. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2457. input, &quantity_)));
  2458. set_has_quantity();
  2459. } else {
  2460. goto handle_uninterpreted;
  2461. }
  2462. if (input->ExpectTag(24)) goto parse_cost_in_local_currency;
  2463. break;
  2464. }
  2465. // optional uint32 cost_in_local_currency = 3;
  2466. case 3: {
  2467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2469. parse_cost_in_local_currency:
  2470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2471. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2472. input, &cost_in_local_currency_)));
  2473. set_has_cost_in_local_currency();
  2474. } else {
  2475. goto handle_uninterpreted;
  2476. }
  2477. if (input->ExpectTag(32)) goto parse_purchase_type;
  2478. break;
  2479. }
  2480. // optional uint32 purchase_type = 4;
  2481. case 4: {
  2482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2484. parse_purchase_type:
  2485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2486. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2487. input, &purchase_type_)));
  2488. set_has_purchase_type();
  2489. } else {
  2490. goto handle_uninterpreted;
  2491. }
  2492. if (input->ExpectAtEnd()) return true;
  2493. break;
  2494. }
  2495. default: {
  2496. handle_uninterpreted:
  2497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2499. return true;
  2500. }
  2501. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2502. input, tag, mutable_unknown_fields()));
  2503. break;
  2504. }
  2505. }
  2506. }
  2507. return true;
  2508. #undef DO_
  2509. }
  2510. void CGCStorePurchaseInit_LineItem::SerializeWithCachedSizes(
  2511. ::google::protobuf::io::CodedOutputStream* output) const {
  2512. // optional uint32 item_def_id = 1;
  2513. if (has_item_def_id()) {
  2514. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->item_def_id(), output);
  2515. }
  2516. // optional uint32 quantity = 2;
  2517. if (has_quantity()) {
  2518. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->quantity(), output);
  2519. }
  2520. // optional uint32 cost_in_local_currency = 3;
  2521. if (has_cost_in_local_currency()) {
  2522. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->cost_in_local_currency(), output);
  2523. }
  2524. // optional uint32 purchase_type = 4;
  2525. if (has_purchase_type()) {
  2526. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->purchase_type(), output);
  2527. }
  2528. if (!unknown_fields().empty()) {
  2529. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2530. unknown_fields(), output);
  2531. }
  2532. }
  2533. ::google::protobuf::uint8* CGCStorePurchaseInit_LineItem::SerializeWithCachedSizesToArray(
  2534. ::google::protobuf::uint8* target) const {
  2535. // optional uint32 item_def_id = 1;
  2536. if (has_item_def_id()) {
  2537. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->item_def_id(), target);
  2538. }
  2539. // optional uint32 quantity = 2;
  2540. if (has_quantity()) {
  2541. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->quantity(), target);
  2542. }
  2543. // optional uint32 cost_in_local_currency = 3;
  2544. if (has_cost_in_local_currency()) {
  2545. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->cost_in_local_currency(), target);
  2546. }
  2547. // optional uint32 purchase_type = 4;
  2548. if (has_purchase_type()) {
  2549. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->purchase_type(), target);
  2550. }
  2551. if (!unknown_fields().empty()) {
  2552. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2553. unknown_fields(), target);
  2554. }
  2555. return target;
  2556. }
  2557. int CGCStorePurchaseInit_LineItem::ByteSize() const {
  2558. int total_size = 0;
  2559. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2560. // optional uint32 item_def_id = 1;
  2561. if (has_item_def_id()) {
  2562. total_size += 1 +
  2563. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  2564. this->item_def_id());
  2565. }
  2566. // optional uint32 quantity = 2;
  2567. if (has_quantity()) {
  2568. total_size += 1 +
  2569. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  2570. this->quantity());
  2571. }
  2572. // optional uint32 cost_in_local_currency = 3;
  2573. if (has_cost_in_local_currency()) {
  2574. total_size += 1 +
  2575. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  2576. this->cost_in_local_currency());
  2577. }
  2578. // optional uint32 purchase_type = 4;
  2579. if (has_purchase_type()) {
  2580. total_size += 1 +
  2581. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  2582. this->purchase_type());
  2583. }
  2584. }
  2585. if (!unknown_fields().empty()) {
  2586. total_size +=
  2587. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2588. unknown_fields());
  2589. }
  2590. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2591. _cached_size_ = total_size;
  2592. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2593. return total_size;
  2594. }
  2595. void CGCStorePurchaseInit_LineItem::MergeFrom(const ::google::protobuf::Message& from) {
  2596. GOOGLE_CHECK_NE(&from, this);
  2597. const CGCStorePurchaseInit_LineItem* source =
  2598. ::google::protobuf::internal::dynamic_cast_if_available<const CGCStorePurchaseInit_LineItem*>(
  2599. &from);
  2600. if (source == NULL) {
  2601. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2602. } else {
  2603. MergeFrom(*source);
  2604. }
  2605. }
  2606. void CGCStorePurchaseInit_LineItem::MergeFrom(const CGCStorePurchaseInit_LineItem& from) {
  2607. GOOGLE_CHECK_NE(&from, this);
  2608. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2609. if (from.has_item_def_id()) {
  2610. set_item_def_id(from.item_def_id());
  2611. }
  2612. if (from.has_quantity()) {
  2613. set_quantity(from.quantity());
  2614. }
  2615. if (from.has_cost_in_local_currency()) {
  2616. set_cost_in_local_currency(from.cost_in_local_currency());
  2617. }
  2618. if (from.has_purchase_type()) {
  2619. set_purchase_type(from.purchase_type());
  2620. }
  2621. }
  2622. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2623. }
  2624. void CGCStorePurchaseInit_LineItem::CopyFrom(const ::google::protobuf::Message& from) {
  2625. if (&from == this) return;
  2626. Clear();
  2627. MergeFrom(from);
  2628. }
  2629. void CGCStorePurchaseInit_LineItem::CopyFrom(const CGCStorePurchaseInit_LineItem& from) {
  2630. if (&from == this) return;
  2631. Clear();
  2632. MergeFrom(from);
  2633. }
  2634. bool CGCStorePurchaseInit_LineItem::IsInitialized() const {
  2635. return true;
  2636. }
  2637. void CGCStorePurchaseInit_LineItem::Swap(CGCStorePurchaseInit_LineItem* other) {
  2638. if (other != this) {
  2639. std::swap(item_def_id_, other->item_def_id_);
  2640. std::swap(quantity_, other->quantity_);
  2641. std::swap(cost_in_local_currency_, other->cost_in_local_currency_);
  2642. std::swap(purchase_type_, other->purchase_type_);
  2643. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2644. _unknown_fields_.Swap(&other->_unknown_fields_);
  2645. std::swap(_cached_size_, other->_cached_size_);
  2646. }
  2647. }
  2648. ::google::protobuf::Metadata CGCStorePurchaseInit_LineItem::GetMetadata() const {
  2649. protobuf_AssignDescriptorsOnce();
  2650. ::google::protobuf::Metadata metadata;
  2651. metadata.descriptor = CGCStorePurchaseInit_LineItem_descriptor_;
  2652. metadata.reflection = CGCStorePurchaseInit_LineItem_reflection_;
  2653. return metadata;
  2654. }
  2655. // ===================================================================
  2656. #ifndef _MSC_VER
  2657. const int CMsgGCStorePurchaseInit::kCountryFieldNumber;
  2658. const int CMsgGCStorePurchaseInit::kLanguageFieldNumber;
  2659. const int CMsgGCStorePurchaseInit::kCurrencyFieldNumber;
  2660. const int CMsgGCStorePurchaseInit::kLineItemsFieldNumber;
  2661. #endif // !_MSC_VER
  2662. CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit()
  2663. : ::google::protobuf::Message() {
  2664. SharedCtor();
  2665. }
  2666. void CMsgGCStorePurchaseInit::InitAsDefaultInstance() {
  2667. }
  2668. CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit(const CMsgGCStorePurchaseInit& from)
  2669. : ::google::protobuf::Message() {
  2670. SharedCtor();
  2671. MergeFrom(from);
  2672. }
  2673. void CMsgGCStorePurchaseInit::SharedCtor() {
  2674. _cached_size_ = 0;
  2675. country_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2676. language_ = 0;
  2677. currency_ = 0;
  2678. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2679. }
  2680. CMsgGCStorePurchaseInit::~CMsgGCStorePurchaseInit() {
  2681. SharedDtor();
  2682. }
  2683. void CMsgGCStorePurchaseInit::SharedDtor() {
  2684. if (country_ != &::google::protobuf::internal::kEmptyString) {
  2685. delete country_;
  2686. }
  2687. if (this != default_instance_) {
  2688. }
  2689. }
  2690. void CMsgGCStorePurchaseInit::SetCachedSize(int size) const {
  2691. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2692. _cached_size_ = size;
  2693. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2694. }
  2695. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseInit::descriptor() {
  2696. protobuf_AssignDescriptorsOnce();
  2697. return CMsgGCStorePurchaseInit_descriptor_;
  2698. }
  2699. const CMsgGCStorePurchaseInit& CMsgGCStorePurchaseInit::default_instance() {
  2700. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  2701. return *default_instance_;
  2702. }
  2703. CMsgGCStorePurchaseInit* CMsgGCStorePurchaseInit::default_instance_ = NULL;
  2704. CMsgGCStorePurchaseInit* CMsgGCStorePurchaseInit::New() const {
  2705. return new CMsgGCStorePurchaseInit;
  2706. }
  2707. void CMsgGCStorePurchaseInit::Clear() {
  2708. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2709. if (has_country()) {
  2710. if (country_ != &::google::protobuf::internal::kEmptyString) {
  2711. country_->clear();
  2712. }
  2713. }
  2714. language_ = 0;
  2715. currency_ = 0;
  2716. }
  2717. line_items_.Clear();
  2718. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2719. mutable_unknown_fields()->Clear();
  2720. }
  2721. bool CMsgGCStorePurchaseInit::MergePartialFromCodedStream(
  2722. ::google::protobuf::io::CodedInputStream* input) {
  2723. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2724. ::google::protobuf::uint32 tag;
  2725. while ((tag = input->ReadTag()) != 0) {
  2726. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2727. // optional string country = 1;
  2728. case 1: {
  2729. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2730. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2731. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2732. input, this->mutable_country()));
  2733. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2734. this->country().data(), this->country().length(),
  2735. ::google::protobuf::internal::WireFormat::PARSE);
  2736. } else {
  2737. goto handle_uninterpreted;
  2738. }
  2739. if (input->ExpectTag(16)) goto parse_language;
  2740. break;
  2741. }
  2742. // optional int32 language = 2;
  2743. case 2: {
  2744. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2745. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2746. parse_language:
  2747. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2748. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2749. input, &language_)));
  2750. set_has_language();
  2751. } else {
  2752. goto handle_uninterpreted;
  2753. }
  2754. if (input->ExpectTag(24)) goto parse_currency;
  2755. break;
  2756. }
  2757. // optional int32 currency = 3;
  2758. case 3: {
  2759. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2760. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2761. parse_currency:
  2762. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2763. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2764. input, &currency_)));
  2765. set_has_currency();
  2766. } else {
  2767. goto handle_uninterpreted;
  2768. }
  2769. if (input->ExpectTag(34)) goto parse_line_items;
  2770. break;
  2771. }
  2772. // repeated .CGCStorePurchaseInit_LineItem line_items = 4;
  2773. case 4: {
  2774. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2775. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2776. parse_line_items:
  2777. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2778. input, add_line_items()));
  2779. } else {
  2780. goto handle_uninterpreted;
  2781. }
  2782. if (input->ExpectTag(34)) goto parse_line_items;
  2783. if (input->ExpectAtEnd()) return true;
  2784. break;
  2785. }
  2786. default: {
  2787. handle_uninterpreted:
  2788. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2789. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2790. return true;
  2791. }
  2792. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2793. input, tag, mutable_unknown_fields()));
  2794. break;
  2795. }
  2796. }
  2797. }
  2798. return true;
  2799. #undef DO_
  2800. }
  2801. void CMsgGCStorePurchaseInit::SerializeWithCachedSizes(
  2802. ::google::protobuf::io::CodedOutputStream* output) const {
  2803. // optional string country = 1;
  2804. if (has_country()) {
  2805. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2806. this->country().data(), this->country().length(),
  2807. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2808. ::google::protobuf::internal::WireFormatLite::WriteString(
  2809. 1, this->country(), output);
  2810. }
  2811. // optional int32 language = 2;
  2812. if (has_language()) {
  2813. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->language(), output);
  2814. }
  2815. // optional int32 currency = 3;
  2816. if (has_currency()) {
  2817. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->currency(), output);
  2818. }
  2819. // repeated .CGCStorePurchaseInit_LineItem line_items = 4;
  2820. for (int i = 0; i < this->line_items_size(); i++) {
  2821. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2822. 4, this->line_items(i), output);
  2823. }
  2824. if (!unknown_fields().empty()) {
  2825. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2826. unknown_fields(), output);
  2827. }
  2828. }
  2829. ::google::protobuf::uint8* CMsgGCStorePurchaseInit::SerializeWithCachedSizesToArray(
  2830. ::google::protobuf::uint8* target) const {
  2831. // optional string country = 1;
  2832. if (has_country()) {
  2833. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2834. this->country().data(), this->country().length(),
  2835. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2836. target =
  2837. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2838. 1, this->country(), target);
  2839. }
  2840. // optional int32 language = 2;
  2841. if (has_language()) {
  2842. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->language(), target);
  2843. }
  2844. // optional int32 currency = 3;
  2845. if (has_currency()) {
  2846. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->currency(), target);
  2847. }
  2848. // repeated .CGCStorePurchaseInit_LineItem line_items = 4;
  2849. for (int i = 0; i < this->line_items_size(); i++) {
  2850. target = ::google::protobuf::internal::WireFormatLite::
  2851. WriteMessageNoVirtualToArray(
  2852. 4, this->line_items(i), target);
  2853. }
  2854. if (!unknown_fields().empty()) {
  2855. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2856. unknown_fields(), target);
  2857. }
  2858. return target;
  2859. }
  2860. int CMsgGCStorePurchaseInit::ByteSize() const {
  2861. int total_size = 0;
  2862. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2863. // optional string country = 1;
  2864. if (has_country()) {
  2865. total_size += 1 +
  2866. ::google::protobuf::internal::WireFormatLite::StringSize(
  2867. this->country());
  2868. }
  2869. // optional int32 language = 2;
  2870. if (has_language()) {
  2871. total_size += 1 +
  2872. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2873. this->language());
  2874. }
  2875. // optional int32 currency = 3;
  2876. if (has_currency()) {
  2877. total_size += 1 +
  2878. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2879. this->currency());
  2880. }
  2881. }
  2882. // repeated .CGCStorePurchaseInit_LineItem line_items = 4;
  2883. total_size += 1 * this->line_items_size();
  2884. for (int i = 0; i < this->line_items_size(); i++) {
  2885. total_size +=
  2886. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2887. this->line_items(i));
  2888. }
  2889. if (!unknown_fields().empty()) {
  2890. total_size +=
  2891. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2892. unknown_fields());
  2893. }
  2894. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2895. _cached_size_ = total_size;
  2896. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2897. return total_size;
  2898. }
  2899. void CMsgGCStorePurchaseInit::MergeFrom(const ::google::protobuf::Message& from) {
  2900. GOOGLE_CHECK_NE(&from, this);
  2901. const CMsgGCStorePurchaseInit* source =
  2902. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCStorePurchaseInit*>(
  2903. &from);
  2904. if (source == NULL) {
  2905. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2906. } else {
  2907. MergeFrom(*source);
  2908. }
  2909. }
  2910. void CMsgGCStorePurchaseInit::MergeFrom(const CMsgGCStorePurchaseInit& from) {
  2911. GOOGLE_CHECK_NE(&from, this);
  2912. line_items_.MergeFrom(from.line_items_);
  2913. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2914. if (from.has_country()) {
  2915. set_country(from.country());
  2916. }
  2917. if (from.has_language()) {
  2918. set_language(from.language());
  2919. }
  2920. if (from.has_currency()) {
  2921. set_currency(from.currency());
  2922. }
  2923. }
  2924. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2925. }
  2926. void CMsgGCStorePurchaseInit::CopyFrom(const ::google::protobuf::Message& from) {
  2927. if (&from == this) return;
  2928. Clear();
  2929. MergeFrom(from);
  2930. }
  2931. void CMsgGCStorePurchaseInit::CopyFrom(const CMsgGCStorePurchaseInit& from) {
  2932. if (&from == this) return;
  2933. Clear();
  2934. MergeFrom(from);
  2935. }
  2936. bool CMsgGCStorePurchaseInit::IsInitialized() const {
  2937. return true;
  2938. }
  2939. void CMsgGCStorePurchaseInit::Swap(CMsgGCStorePurchaseInit* other) {
  2940. if (other != this) {
  2941. std::swap(country_, other->country_);
  2942. std::swap(language_, other->language_);
  2943. std::swap(currency_, other->currency_);
  2944. line_items_.Swap(&other->line_items_);
  2945. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2946. _unknown_fields_.Swap(&other->_unknown_fields_);
  2947. std::swap(_cached_size_, other->_cached_size_);
  2948. }
  2949. }
  2950. ::google::protobuf::Metadata CMsgGCStorePurchaseInit::GetMetadata() const {
  2951. protobuf_AssignDescriptorsOnce();
  2952. ::google::protobuf::Metadata metadata;
  2953. metadata.descriptor = CMsgGCStorePurchaseInit_descriptor_;
  2954. metadata.reflection = CMsgGCStorePurchaseInit_reflection_;
  2955. return metadata;
  2956. }
  2957. // ===================================================================
  2958. #ifndef _MSC_VER
  2959. const int CMsgGCStorePurchaseInitResponse::kResultFieldNumber;
  2960. const int CMsgGCStorePurchaseInitResponse::kTxnIdFieldNumber;
  2961. #endif // !_MSC_VER
  2962. CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse()
  2963. : ::google::protobuf::Message() {
  2964. SharedCtor();
  2965. }
  2966. void CMsgGCStorePurchaseInitResponse::InitAsDefaultInstance() {
  2967. }
  2968. CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse(const CMsgGCStorePurchaseInitResponse& from)
  2969. : ::google::protobuf::Message() {
  2970. SharedCtor();
  2971. MergeFrom(from);
  2972. }
  2973. void CMsgGCStorePurchaseInitResponse::SharedCtor() {
  2974. _cached_size_ = 0;
  2975. result_ = 0;
  2976. txn_id_ = GOOGLE_ULONGLONG(0);
  2977. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2978. }
  2979. CMsgGCStorePurchaseInitResponse::~CMsgGCStorePurchaseInitResponse() {
  2980. SharedDtor();
  2981. }
  2982. void CMsgGCStorePurchaseInitResponse::SharedDtor() {
  2983. if (this != default_instance_) {
  2984. }
  2985. }
  2986. void CMsgGCStorePurchaseInitResponse::SetCachedSize(int size) const {
  2987. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2988. _cached_size_ = size;
  2989. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2990. }
  2991. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseInitResponse::descriptor() {
  2992. protobuf_AssignDescriptorsOnce();
  2993. return CMsgGCStorePurchaseInitResponse_descriptor_;
  2994. }
  2995. const CMsgGCStorePurchaseInitResponse& CMsgGCStorePurchaseInitResponse::default_instance() {
  2996. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  2997. return *default_instance_;
  2998. }
  2999. CMsgGCStorePurchaseInitResponse* CMsgGCStorePurchaseInitResponse::default_instance_ = NULL;
  3000. CMsgGCStorePurchaseInitResponse* CMsgGCStorePurchaseInitResponse::New() const {
  3001. return new CMsgGCStorePurchaseInitResponse;
  3002. }
  3003. void CMsgGCStorePurchaseInitResponse::Clear() {
  3004. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3005. result_ = 0;
  3006. txn_id_ = GOOGLE_ULONGLONG(0);
  3007. }
  3008. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3009. mutable_unknown_fields()->Clear();
  3010. }
  3011. bool CMsgGCStorePurchaseInitResponse::MergePartialFromCodedStream(
  3012. ::google::protobuf::io::CodedInputStream* input) {
  3013. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3014. ::google::protobuf::uint32 tag;
  3015. while ((tag = input->ReadTag()) != 0) {
  3016. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3017. // optional int32 result = 1;
  3018. case 1: {
  3019. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3020. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3021. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3022. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3023. input, &result_)));
  3024. set_has_result();
  3025. } else {
  3026. goto handle_uninterpreted;
  3027. }
  3028. if (input->ExpectTag(16)) goto parse_txn_id;
  3029. break;
  3030. }
  3031. // optional uint64 txn_id = 2;
  3032. case 2: {
  3033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3035. parse_txn_id:
  3036. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3037. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  3038. input, &txn_id_)));
  3039. set_has_txn_id();
  3040. } else {
  3041. goto handle_uninterpreted;
  3042. }
  3043. if (input->ExpectAtEnd()) return true;
  3044. break;
  3045. }
  3046. default: {
  3047. handle_uninterpreted:
  3048. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3049. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3050. return true;
  3051. }
  3052. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3053. input, tag, mutable_unknown_fields()));
  3054. break;
  3055. }
  3056. }
  3057. }
  3058. return true;
  3059. #undef DO_
  3060. }
  3061. void CMsgGCStorePurchaseInitResponse::SerializeWithCachedSizes(
  3062. ::google::protobuf::io::CodedOutputStream* output) const {
  3063. // optional int32 result = 1;
  3064. if (has_result()) {
  3065. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->result(), output);
  3066. }
  3067. // optional uint64 txn_id = 2;
  3068. if (has_txn_id()) {
  3069. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->txn_id(), output);
  3070. }
  3071. if (!unknown_fields().empty()) {
  3072. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3073. unknown_fields(), output);
  3074. }
  3075. }
  3076. ::google::protobuf::uint8* CMsgGCStorePurchaseInitResponse::SerializeWithCachedSizesToArray(
  3077. ::google::protobuf::uint8* target) const {
  3078. // optional int32 result = 1;
  3079. if (has_result()) {
  3080. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->result(), target);
  3081. }
  3082. // optional uint64 txn_id = 2;
  3083. if (has_txn_id()) {
  3084. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->txn_id(), target);
  3085. }
  3086. if (!unknown_fields().empty()) {
  3087. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3088. unknown_fields(), target);
  3089. }
  3090. return target;
  3091. }
  3092. int CMsgGCStorePurchaseInitResponse::ByteSize() const {
  3093. int total_size = 0;
  3094. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3095. // optional int32 result = 1;
  3096. if (has_result()) {
  3097. total_size += 1 +
  3098. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3099. this->result());
  3100. }
  3101. // optional uint64 txn_id = 2;
  3102. if (has_txn_id()) {
  3103. total_size += 1 +
  3104. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  3105. this->txn_id());
  3106. }
  3107. }
  3108. if (!unknown_fields().empty()) {
  3109. total_size +=
  3110. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3111. unknown_fields());
  3112. }
  3113. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3114. _cached_size_ = total_size;
  3115. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3116. return total_size;
  3117. }
  3118. void CMsgGCStorePurchaseInitResponse::MergeFrom(const ::google::protobuf::Message& from) {
  3119. GOOGLE_CHECK_NE(&from, this);
  3120. const CMsgGCStorePurchaseInitResponse* source =
  3121. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCStorePurchaseInitResponse*>(
  3122. &from);
  3123. if (source == NULL) {
  3124. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3125. } else {
  3126. MergeFrom(*source);
  3127. }
  3128. }
  3129. void CMsgGCStorePurchaseInitResponse::MergeFrom(const CMsgGCStorePurchaseInitResponse& from) {
  3130. GOOGLE_CHECK_NE(&from, this);
  3131. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3132. if (from.has_result()) {
  3133. set_result(from.result());
  3134. }
  3135. if (from.has_txn_id()) {
  3136. set_txn_id(from.txn_id());
  3137. }
  3138. }
  3139. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3140. }
  3141. void CMsgGCStorePurchaseInitResponse::CopyFrom(const ::google::protobuf::Message& from) {
  3142. if (&from == this) return;
  3143. Clear();
  3144. MergeFrom(from);
  3145. }
  3146. void CMsgGCStorePurchaseInitResponse::CopyFrom(const CMsgGCStorePurchaseInitResponse& from) {
  3147. if (&from == this) return;
  3148. Clear();
  3149. MergeFrom(from);
  3150. }
  3151. bool CMsgGCStorePurchaseInitResponse::IsInitialized() const {
  3152. return true;
  3153. }
  3154. void CMsgGCStorePurchaseInitResponse::Swap(CMsgGCStorePurchaseInitResponse* other) {
  3155. if (other != this) {
  3156. std::swap(result_, other->result_);
  3157. std::swap(txn_id_, other->txn_id_);
  3158. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3159. _unknown_fields_.Swap(&other->_unknown_fields_);
  3160. std::swap(_cached_size_, other->_cached_size_);
  3161. }
  3162. }
  3163. ::google::protobuf::Metadata CMsgGCStorePurchaseInitResponse::GetMetadata() const {
  3164. protobuf_AssignDescriptorsOnce();
  3165. ::google::protobuf::Metadata metadata;
  3166. metadata.descriptor = CMsgGCStorePurchaseInitResponse_descriptor_;
  3167. metadata.reflection = CMsgGCStorePurchaseInitResponse_reflection_;
  3168. return metadata;
  3169. }
  3170. // ===================================================================
  3171. #ifndef _MSC_VER
  3172. const int CSOPartyInvite::kGroupIdFieldNumber;
  3173. const int CSOPartyInvite::kSenderIdFieldNumber;
  3174. const int CSOPartyInvite::kSenderNameFieldNumber;
  3175. #endif // !_MSC_VER
  3176. CSOPartyInvite::CSOPartyInvite()
  3177. : ::google::protobuf::Message() {
  3178. SharedCtor();
  3179. }
  3180. void CSOPartyInvite::InitAsDefaultInstance() {
  3181. }
  3182. CSOPartyInvite::CSOPartyInvite(const CSOPartyInvite& from)
  3183. : ::google::protobuf::Message() {
  3184. SharedCtor();
  3185. MergeFrom(from);
  3186. }
  3187. void CSOPartyInvite::SharedCtor() {
  3188. _cached_size_ = 0;
  3189. group_id_ = GOOGLE_ULONGLONG(0);
  3190. sender_id_ = GOOGLE_ULONGLONG(0);
  3191. sender_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3192. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3193. }
  3194. CSOPartyInvite::~CSOPartyInvite() {
  3195. SharedDtor();
  3196. }
  3197. void CSOPartyInvite::SharedDtor() {
  3198. if (sender_name_ != &::google::protobuf::internal::kEmptyString) {
  3199. delete sender_name_;
  3200. }
  3201. if (this != default_instance_) {
  3202. }
  3203. }
  3204. void CSOPartyInvite::SetCachedSize(int size) const {
  3205. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3206. _cached_size_ = size;
  3207. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3208. }
  3209. const ::google::protobuf::Descriptor* CSOPartyInvite::descriptor() {
  3210. protobuf_AssignDescriptorsOnce();
  3211. return CSOPartyInvite_descriptor_;
  3212. }
  3213. const CSOPartyInvite& CSOPartyInvite::default_instance() {
  3214. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  3215. return *default_instance_;
  3216. }
  3217. CSOPartyInvite* CSOPartyInvite::default_instance_ = NULL;
  3218. CSOPartyInvite* CSOPartyInvite::New() const {
  3219. return new CSOPartyInvite;
  3220. }
  3221. void CSOPartyInvite::Clear() {
  3222. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3223. group_id_ = GOOGLE_ULONGLONG(0);
  3224. sender_id_ = GOOGLE_ULONGLONG(0);
  3225. if (has_sender_name()) {
  3226. if (sender_name_ != &::google::protobuf::internal::kEmptyString) {
  3227. sender_name_->clear();
  3228. }
  3229. }
  3230. }
  3231. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3232. mutable_unknown_fields()->Clear();
  3233. }
  3234. bool CSOPartyInvite::MergePartialFromCodedStream(
  3235. ::google::protobuf::io::CodedInputStream* input) {
  3236. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3237. ::google::protobuf::uint32 tag;
  3238. while ((tag = input->ReadTag()) != 0) {
  3239. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3240. // optional uint64 group_id = 1;
  3241. case 1: {
  3242. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3243. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3244. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3245. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  3246. input, &group_id_)));
  3247. set_has_group_id();
  3248. } else {
  3249. goto handle_uninterpreted;
  3250. }
  3251. if (input->ExpectTag(17)) goto parse_sender_id;
  3252. break;
  3253. }
  3254. // optional fixed64 sender_id = 2;
  3255. case 2: {
  3256. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3257. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  3258. parse_sender_id:
  3259. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3260. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  3261. input, &sender_id_)));
  3262. set_has_sender_id();
  3263. } else {
  3264. goto handle_uninterpreted;
  3265. }
  3266. if (input->ExpectTag(26)) goto parse_sender_name;
  3267. break;
  3268. }
  3269. // optional string sender_name = 3;
  3270. case 3: {
  3271. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3272. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3273. parse_sender_name:
  3274. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3275. input, this->mutable_sender_name()));
  3276. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3277. this->sender_name().data(), this->sender_name().length(),
  3278. ::google::protobuf::internal::WireFormat::PARSE);
  3279. } else {
  3280. goto handle_uninterpreted;
  3281. }
  3282. if (input->ExpectAtEnd()) return true;
  3283. break;
  3284. }
  3285. default: {
  3286. handle_uninterpreted:
  3287. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3288. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3289. return true;
  3290. }
  3291. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3292. input, tag, mutable_unknown_fields()));
  3293. break;
  3294. }
  3295. }
  3296. }
  3297. return true;
  3298. #undef DO_
  3299. }
  3300. void CSOPartyInvite::SerializeWithCachedSizes(
  3301. ::google::protobuf::io::CodedOutputStream* output) const {
  3302. // optional uint64 group_id = 1;
  3303. if (has_group_id()) {
  3304. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->group_id(), output);
  3305. }
  3306. // optional fixed64 sender_id = 2;
  3307. if (has_sender_id()) {
  3308. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->sender_id(), output);
  3309. }
  3310. // optional string sender_name = 3;
  3311. if (has_sender_name()) {
  3312. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3313. this->sender_name().data(), this->sender_name().length(),
  3314. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3315. ::google::protobuf::internal::WireFormatLite::WriteString(
  3316. 3, this->sender_name(), output);
  3317. }
  3318. if (!unknown_fields().empty()) {
  3319. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3320. unknown_fields(), output);
  3321. }
  3322. }
  3323. ::google::protobuf::uint8* CSOPartyInvite::SerializeWithCachedSizesToArray(
  3324. ::google::protobuf::uint8* target) const {
  3325. // optional uint64 group_id = 1;
  3326. if (has_group_id()) {
  3327. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->group_id(), target);
  3328. }
  3329. // optional fixed64 sender_id = 2;
  3330. if (has_sender_id()) {
  3331. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->sender_id(), target);
  3332. }
  3333. // optional string sender_name = 3;
  3334. if (has_sender_name()) {
  3335. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3336. this->sender_name().data(), this->sender_name().length(),
  3337. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3338. target =
  3339. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3340. 3, this->sender_name(), target);
  3341. }
  3342. if (!unknown_fields().empty()) {
  3343. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3344. unknown_fields(), target);
  3345. }
  3346. return target;
  3347. }
  3348. int CSOPartyInvite::ByteSize() const {
  3349. int total_size = 0;
  3350. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3351. // optional uint64 group_id = 1;
  3352. if (has_group_id()) {
  3353. total_size += 1 +
  3354. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  3355. this->group_id());
  3356. }
  3357. // optional fixed64 sender_id = 2;
  3358. if (has_sender_id()) {
  3359. total_size += 1 + 8;
  3360. }
  3361. // optional string sender_name = 3;
  3362. if (has_sender_name()) {
  3363. total_size += 1 +
  3364. ::google::protobuf::internal::WireFormatLite::StringSize(
  3365. this->sender_name());
  3366. }
  3367. }
  3368. if (!unknown_fields().empty()) {
  3369. total_size +=
  3370. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3371. unknown_fields());
  3372. }
  3373. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3374. _cached_size_ = total_size;
  3375. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3376. return total_size;
  3377. }
  3378. void CSOPartyInvite::MergeFrom(const ::google::protobuf::Message& from) {
  3379. GOOGLE_CHECK_NE(&from, this);
  3380. const CSOPartyInvite* source =
  3381. ::google::protobuf::internal::dynamic_cast_if_available<const CSOPartyInvite*>(
  3382. &from);
  3383. if (source == NULL) {
  3384. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3385. } else {
  3386. MergeFrom(*source);
  3387. }
  3388. }
  3389. void CSOPartyInvite::MergeFrom(const CSOPartyInvite& from) {
  3390. GOOGLE_CHECK_NE(&from, this);
  3391. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3392. if (from.has_group_id()) {
  3393. set_group_id(from.group_id());
  3394. }
  3395. if (from.has_sender_id()) {
  3396. set_sender_id(from.sender_id());
  3397. }
  3398. if (from.has_sender_name()) {
  3399. set_sender_name(from.sender_name());
  3400. }
  3401. }
  3402. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3403. }
  3404. void CSOPartyInvite::CopyFrom(const ::google::protobuf::Message& from) {
  3405. if (&from == this) return;
  3406. Clear();
  3407. MergeFrom(from);
  3408. }
  3409. void CSOPartyInvite::CopyFrom(const CSOPartyInvite& from) {
  3410. if (&from == this) return;
  3411. Clear();
  3412. MergeFrom(from);
  3413. }
  3414. bool CSOPartyInvite::IsInitialized() const {
  3415. return true;
  3416. }
  3417. void CSOPartyInvite::Swap(CSOPartyInvite* other) {
  3418. if (other != this) {
  3419. std::swap(group_id_, other->group_id_);
  3420. std::swap(sender_id_, other->sender_id_);
  3421. std::swap(sender_name_, other->sender_name_);
  3422. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3423. _unknown_fields_.Swap(&other->_unknown_fields_);
  3424. std::swap(_cached_size_, other->_cached_size_);
  3425. }
  3426. }
  3427. ::google::protobuf::Metadata CSOPartyInvite::GetMetadata() const {
  3428. protobuf_AssignDescriptorsOnce();
  3429. ::google::protobuf::Metadata metadata;
  3430. metadata.descriptor = CSOPartyInvite_descriptor_;
  3431. metadata.reflection = CSOPartyInvite_reflection_;
  3432. return metadata;
  3433. }
  3434. // ===================================================================
  3435. #ifndef _MSC_VER
  3436. const int CSOLobbyInvite::kGroupIdFieldNumber;
  3437. const int CSOLobbyInvite::kSenderIdFieldNumber;
  3438. const int CSOLobbyInvite::kSenderNameFieldNumber;
  3439. #endif // !_MSC_VER
  3440. CSOLobbyInvite::CSOLobbyInvite()
  3441. : ::google::protobuf::Message() {
  3442. SharedCtor();
  3443. }
  3444. void CSOLobbyInvite::InitAsDefaultInstance() {
  3445. }
  3446. CSOLobbyInvite::CSOLobbyInvite(const CSOLobbyInvite& from)
  3447. : ::google::protobuf::Message() {
  3448. SharedCtor();
  3449. MergeFrom(from);
  3450. }
  3451. void CSOLobbyInvite::SharedCtor() {
  3452. _cached_size_ = 0;
  3453. group_id_ = GOOGLE_ULONGLONG(0);
  3454. sender_id_ = GOOGLE_ULONGLONG(0);
  3455. sender_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3456. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3457. }
  3458. CSOLobbyInvite::~CSOLobbyInvite() {
  3459. SharedDtor();
  3460. }
  3461. void CSOLobbyInvite::SharedDtor() {
  3462. if (sender_name_ != &::google::protobuf::internal::kEmptyString) {
  3463. delete sender_name_;
  3464. }
  3465. if (this != default_instance_) {
  3466. }
  3467. }
  3468. void CSOLobbyInvite::SetCachedSize(int size) const {
  3469. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3470. _cached_size_ = size;
  3471. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3472. }
  3473. const ::google::protobuf::Descriptor* CSOLobbyInvite::descriptor() {
  3474. protobuf_AssignDescriptorsOnce();
  3475. return CSOLobbyInvite_descriptor_;
  3476. }
  3477. const CSOLobbyInvite& CSOLobbyInvite::default_instance() {
  3478. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  3479. return *default_instance_;
  3480. }
  3481. CSOLobbyInvite* CSOLobbyInvite::default_instance_ = NULL;
  3482. CSOLobbyInvite* CSOLobbyInvite::New() const {
  3483. return new CSOLobbyInvite;
  3484. }
  3485. void CSOLobbyInvite::Clear() {
  3486. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3487. group_id_ = GOOGLE_ULONGLONG(0);
  3488. sender_id_ = GOOGLE_ULONGLONG(0);
  3489. if (has_sender_name()) {
  3490. if (sender_name_ != &::google::protobuf::internal::kEmptyString) {
  3491. sender_name_->clear();
  3492. }
  3493. }
  3494. }
  3495. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3496. mutable_unknown_fields()->Clear();
  3497. }
  3498. bool CSOLobbyInvite::MergePartialFromCodedStream(
  3499. ::google::protobuf::io::CodedInputStream* input) {
  3500. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3501. ::google::protobuf::uint32 tag;
  3502. while ((tag = input->ReadTag()) != 0) {
  3503. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3504. // optional uint64 group_id = 1;
  3505. case 1: {
  3506. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3507. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3508. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3509. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  3510. input, &group_id_)));
  3511. set_has_group_id();
  3512. } else {
  3513. goto handle_uninterpreted;
  3514. }
  3515. if (input->ExpectTag(17)) goto parse_sender_id;
  3516. break;
  3517. }
  3518. // optional fixed64 sender_id = 2;
  3519. case 2: {
  3520. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3521. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  3522. parse_sender_id:
  3523. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3524. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  3525. input, &sender_id_)));
  3526. set_has_sender_id();
  3527. } else {
  3528. goto handle_uninterpreted;
  3529. }
  3530. if (input->ExpectTag(26)) goto parse_sender_name;
  3531. break;
  3532. }
  3533. // optional string sender_name = 3;
  3534. case 3: {
  3535. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3536. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3537. parse_sender_name:
  3538. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3539. input, this->mutable_sender_name()));
  3540. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3541. this->sender_name().data(), this->sender_name().length(),
  3542. ::google::protobuf::internal::WireFormat::PARSE);
  3543. } else {
  3544. goto handle_uninterpreted;
  3545. }
  3546. if (input->ExpectAtEnd()) return true;
  3547. break;
  3548. }
  3549. default: {
  3550. handle_uninterpreted:
  3551. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3552. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3553. return true;
  3554. }
  3555. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3556. input, tag, mutable_unknown_fields()));
  3557. break;
  3558. }
  3559. }
  3560. }
  3561. return true;
  3562. #undef DO_
  3563. }
  3564. void CSOLobbyInvite::SerializeWithCachedSizes(
  3565. ::google::protobuf::io::CodedOutputStream* output) const {
  3566. // optional uint64 group_id = 1;
  3567. if (has_group_id()) {
  3568. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->group_id(), output);
  3569. }
  3570. // optional fixed64 sender_id = 2;
  3571. if (has_sender_id()) {
  3572. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->sender_id(), output);
  3573. }
  3574. // optional string sender_name = 3;
  3575. if (has_sender_name()) {
  3576. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3577. this->sender_name().data(), this->sender_name().length(),
  3578. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3579. ::google::protobuf::internal::WireFormatLite::WriteString(
  3580. 3, this->sender_name(), output);
  3581. }
  3582. if (!unknown_fields().empty()) {
  3583. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3584. unknown_fields(), output);
  3585. }
  3586. }
  3587. ::google::protobuf::uint8* CSOLobbyInvite::SerializeWithCachedSizesToArray(
  3588. ::google::protobuf::uint8* target) const {
  3589. // optional uint64 group_id = 1;
  3590. if (has_group_id()) {
  3591. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->group_id(), target);
  3592. }
  3593. // optional fixed64 sender_id = 2;
  3594. if (has_sender_id()) {
  3595. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->sender_id(), target);
  3596. }
  3597. // optional string sender_name = 3;
  3598. if (has_sender_name()) {
  3599. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3600. this->sender_name().data(), this->sender_name().length(),
  3601. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3602. target =
  3603. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3604. 3, this->sender_name(), target);
  3605. }
  3606. if (!unknown_fields().empty()) {
  3607. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3608. unknown_fields(), target);
  3609. }
  3610. return target;
  3611. }
  3612. int CSOLobbyInvite::ByteSize() const {
  3613. int total_size = 0;
  3614. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3615. // optional uint64 group_id = 1;
  3616. if (has_group_id()) {
  3617. total_size += 1 +
  3618. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  3619. this->group_id());
  3620. }
  3621. // optional fixed64 sender_id = 2;
  3622. if (has_sender_id()) {
  3623. total_size += 1 + 8;
  3624. }
  3625. // optional string sender_name = 3;
  3626. if (has_sender_name()) {
  3627. total_size += 1 +
  3628. ::google::protobuf::internal::WireFormatLite::StringSize(
  3629. this->sender_name());
  3630. }
  3631. }
  3632. if (!unknown_fields().empty()) {
  3633. total_size +=
  3634. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3635. unknown_fields());
  3636. }
  3637. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3638. _cached_size_ = total_size;
  3639. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3640. return total_size;
  3641. }
  3642. void CSOLobbyInvite::MergeFrom(const ::google::protobuf::Message& from) {
  3643. GOOGLE_CHECK_NE(&from, this);
  3644. const CSOLobbyInvite* source =
  3645. ::google::protobuf::internal::dynamic_cast_if_available<const CSOLobbyInvite*>(
  3646. &from);
  3647. if (source == NULL) {
  3648. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3649. } else {
  3650. MergeFrom(*source);
  3651. }
  3652. }
  3653. void CSOLobbyInvite::MergeFrom(const CSOLobbyInvite& from) {
  3654. GOOGLE_CHECK_NE(&from, this);
  3655. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3656. if (from.has_group_id()) {
  3657. set_group_id(from.group_id());
  3658. }
  3659. if (from.has_sender_id()) {
  3660. set_sender_id(from.sender_id());
  3661. }
  3662. if (from.has_sender_name()) {
  3663. set_sender_name(from.sender_name());
  3664. }
  3665. }
  3666. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3667. }
  3668. void CSOLobbyInvite::CopyFrom(const ::google::protobuf::Message& from) {
  3669. if (&from == this) return;
  3670. Clear();
  3671. MergeFrom(from);
  3672. }
  3673. void CSOLobbyInvite::CopyFrom(const CSOLobbyInvite& from) {
  3674. if (&from == this) return;
  3675. Clear();
  3676. MergeFrom(from);
  3677. }
  3678. bool CSOLobbyInvite::IsInitialized() const {
  3679. return true;
  3680. }
  3681. void CSOLobbyInvite::Swap(CSOLobbyInvite* other) {
  3682. if (other != this) {
  3683. std::swap(group_id_, other->group_id_);
  3684. std::swap(sender_id_, other->sender_id_);
  3685. std::swap(sender_name_, other->sender_name_);
  3686. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3687. _unknown_fields_.Swap(&other->_unknown_fields_);
  3688. std::swap(_cached_size_, other->_cached_size_);
  3689. }
  3690. }
  3691. ::google::protobuf::Metadata CSOLobbyInvite::GetMetadata() const {
  3692. protobuf_AssignDescriptorsOnce();
  3693. ::google::protobuf::Metadata metadata;
  3694. metadata.descriptor = CSOLobbyInvite_descriptor_;
  3695. metadata.reflection = CSOLobbyInvite_reflection_;
  3696. return metadata;
  3697. }
  3698. // ===================================================================
  3699. #ifndef _MSC_VER
  3700. const int CMsgSystemBroadcast::kMessageFieldNumber;
  3701. #endif // !_MSC_VER
  3702. CMsgSystemBroadcast::CMsgSystemBroadcast()
  3703. : ::google::protobuf::Message() {
  3704. SharedCtor();
  3705. }
  3706. void CMsgSystemBroadcast::InitAsDefaultInstance() {
  3707. }
  3708. CMsgSystemBroadcast::CMsgSystemBroadcast(const CMsgSystemBroadcast& from)
  3709. : ::google::protobuf::Message() {
  3710. SharedCtor();
  3711. MergeFrom(from);
  3712. }
  3713. void CMsgSystemBroadcast::SharedCtor() {
  3714. _cached_size_ = 0;
  3715. message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3716. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3717. }
  3718. CMsgSystemBroadcast::~CMsgSystemBroadcast() {
  3719. SharedDtor();
  3720. }
  3721. void CMsgSystemBroadcast::SharedDtor() {
  3722. if (message_ != &::google::protobuf::internal::kEmptyString) {
  3723. delete message_;
  3724. }
  3725. if (this != default_instance_) {
  3726. }
  3727. }
  3728. void CMsgSystemBroadcast::SetCachedSize(int size) const {
  3729. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3730. _cached_size_ = size;
  3731. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3732. }
  3733. const ::google::protobuf::Descriptor* CMsgSystemBroadcast::descriptor() {
  3734. protobuf_AssignDescriptorsOnce();
  3735. return CMsgSystemBroadcast_descriptor_;
  3736. }
  3737. const CMsgSystemBroadcast& CMsgSystemBroadcast::default_instance() {
  3738. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  3739. return *default_instance_;
  3740. }
  3741. CMsgSystemBroadcast* CMsgSystemBroadcast::default_instance_ = NULL;
  3742. CMsgSystemBroadcast* CMsgSystemBroadcast::New() const {
  3743. return new CMsgSystemBroadcast;
  3744. }
  3745. void CMsgSystemBroadcast::Clear() {
  3746. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3747. if (has_message()) {
  3748. if (message_ != &::google::protobuf::internal::kEmptyString) {
  3749. message_->clear();
  3750. }
  3751. }
  3752. }
  3753. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3754. mutable_unknown_fields()->Clear();
  3755. }
  3756. bool CMsgSystemBroadcast::MergePartialFromCodedStream(
  3757. ::google::protobuf::io::CodedInputStream* input) {
  3758. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3759. ::google::protobuf::uint32 tag;
  3760. while ((tag = input->ReadTag()) != 0) {
  3761. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3762. // optional string message = 1;
  3763. case 1: {
  3764. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3765. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3766. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3767. input, this->mutable_message()));
  3768. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3769. this->message().data(), this->message().length(),
  3770. ::google::protobuf::internal::WireFormat::PARSE);
  3771. } else {
  3772. goto handle_uninterpreted;
  3773. }
  3774. if (input->ExpectAtEnd()) return true;
  3775. break;
  3776. }
  3777. default: {
  3778. handle_uninterpreted:
  3779. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3780. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3781. return true;
  3782. }
  3783. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3784. input, tag, mutable_unknown_fields()));
  3785. break;
  3786. }
  3787. }
  3788. }
  3789. return true;
  3790. #undef DO_
  3791. }
  3792. void CMsgSystemBroadcast::SerializeWithCachedSizes(
  3793. ::google::protobuf::io::CodedOutputStream* output) const {
  3794. // optional string message = 1;
  3795. if (has_message()) {
  3796. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3797. this->message().data(), this->message().length(),
  3798. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3799. ::google::protobuf::internal::WireFormatLite::WriteString(
  3800. 1, this->message(), output);
  3801. }
  3802. if (!unknown_fields().empty()) {
  3803. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3804. unknown_fields(), output);
  3805. }
  3806. }
  3807. ::google::protobuf::uint8* CMsgSystemBroadcast::SerializeWithCachedSizesToArray(
  3808. ::google::protobuf::uint8* target) const {
  3809. // optional string message = 1;
  3810. if (has_message()) {
  3811. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3812. this->message().data(), this->message().length(),
  3813. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3814. target =
  3815. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3816. 1, this->message(), target);
  3817. }
  3818. if (!unknown_fields().empty()) {
  3819. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3820. unknown_fields(), target);
  3821. }
  3822. return target;
  3823. }
  3824. int CMsgSystemBroadcast::ByteSize() const {
  3825. int total_size = 0;
  3826. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3827. // optional string message = 1;
  3828. if (has_message()) {
  3829. total_size += 1 +
  3830. ::google::protobuf::internal::WireFormatLite::StringSize(
  3831. this->message());
  3832. }
  3833. }
  3834. if (!unknown_fields().empty()) {
  3835. total_size +=
  3836. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3837. unknown_fields());
  3838. }
  3839. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3840. _cached_size_ = total_size;
  3841. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3842. return total_size;
  3843. }
  3844. void CMsgSystemBroadcast::MergeFrom(const ::google::protobuf::Message& from) {
  3845. GOOGLE_CHECK_NE(&from, this);
  3846. const CMsgSystemBroadcast* source =
  3847. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgSystemBroadcast*>(
  3848. &from);
  3849. if (source == NULL) {
  3850. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3851. } else {
  3852. MergeFrom(*source);
  3853. }
  3854. }
  3855. void CMsgSystemBroadcast::MergeFrom(const CMsgSystemBroadcast& from) {
  3856. GOOGLE_CHECK_NE(&from, this);
  3857. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3858. if (from.has_message()) {
  3859. set_message(from.message());
  3860. }
  3861. }
  3862. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3863. }
  3864. void CMsgSystemBroadcast::CopyFrom(const ::google::protobuf::Message& from) {
  3865. if (&from == this) return;
  3866. Clear();
  3867. MergeFrom(from);
  3868. }
  3869. void CMsgSystemBroadcast::CopyFrom(const CMsgSystemBroadcast& from) {
  3870. if (&from == this) return;
  3871. Clear();
  3872. MergeFrom(from);
  3873. }
  3874. bool CMsgSystemBroadcast::IsInitialized() const {
  3875. return true;
  3876. }
  3877. void CMsgSystemBroadcast::Swap(CMsgSystemBroadcast* other) {
  3878. if (other != this) {
  3879. std::swap(message_, other->message_);
  3880. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3881. _unknown_fields_.Swap(&other->_unknown_fields_);
  3882. std::swap(_cached_size_, other->_cached_size_);
  3883. }
  3884. }
  3885. ::google::protobuf::Metadata CMsgSystemBroadcast::GetMetadata() const {
  3886. protobuf_AssignDescriptorsOnce();
  3887. ::google::protobuf::Metadata metadata;
  3888. metadata.descriptor = CMsgSystemBroadcast_descriptor_;
  3889. metadata.reflection = CMsgSystemBroadcast_reflection_;
  3890. return metadata;
  3891. }
  3892. // ===================================================================
  3893. #ifndef _MSC_VER
  3894. const int CMsgInviteToParty::kSteamIdFieldNumber;
  3895. const int CMsgInviteToParty::kClientVersionFieldNumber;
  3896. const int CMsgInviteToParty::kTeamInviteFieldNumber;
  3897. #endif // !_MSC_VER
  3898. CMsgInviteToParty::CMsgInviteToParty()
  3899. : ::google::protobuf::Message() {
  3900. SharedCtor();
  3901. }
  3902. void CMsgInviteToParty::InitAsDefaultInstance() {
  3903. }
  3904. CMsgInviteToParty::CMsgInviteToParty(const CMsgInviteToParty& from)
  3905. : ::google::protobuf::Message() {
  3906. SharedCtor();
  3907. MergeFrom(from);
  3908. }
  3909. void CMsgInviteToParty::SharedCtor() {
  3910. _cached_size_ = 0;
  3911. steam_id_ = GOOGLE_ULONGLONG(0);
  3912. client_version_ = 0u;
  3913. team_invite_ = 0u;
  3914. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3915. }
  3916. CMsgInviteToParty::~CMsgInviteToParty() {
  3917. SharedDtor();
  3918. }
  3919. void CMsgInviteToParty::SharedDtor() {
  3920. if (this != default_instance_) {
  3921. }
  3922. }
  3923. void CMsgInviteToParty::SetCachedSize(int size) const {
  3924. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3925. _cached_size_ = size;
  3926. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3927. }
  3928. const ::google::protobuf::Descriptor* CMsgInviteToParty::descriptor() {
  3929. protobuf_AssignDescriptorsOnce();
  3930. return CMsgInviteToParty_descriptor_;
  3931. }
  3932. const CMsgInviteToParty& CMsgInviteToParty::default_instance() {
  3933. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  3934. return *default_instance_;
  3935. }
  3936. CMsgInviteToParty* CMsgInviteToParty::default_instance_ = NULL;
  3937. CMsgInviteToParty* CMsgInviteToParty::New() const {
  3938. return new CMsgInviteToParty;
  3939. }
  3940. void CMsgInviteToParty::Clear() {
  3941. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3942. steam_id_ = GOOGLE_ULONGLONG(0);
  3943. client_version_ = 0u;
  3944. team_invite_ = 0u;
  3945. }
  3946. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3947. mutable_unknown_fields()->Clear();
  3948. }
  3949. bool CMsgInviteToParty::MergePartialFromCodedStream(
  3950. ::google::protobuf::io::CodedInputStream* input) {
  3951. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3952. ::google::protobuf::uint32 tag;
  3953. while ((tag = input->ReadTag()) != 0) {
  3954. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3955. // optional fixed64 steam_id = 1;
  3956. case 1: {
  3957. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3958. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  3959. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3960. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  3961. input, &steam_id_)));
  3962. set_has_steam_id();
  3963. } else {
  3964. goto handle_uninterpreted;
  3965. }
  3966. if (input->ExpectTag(16)) goto parse_client_version;
  3967. break;
  3968. }
  3969. // optional uint32 client_version = 2;
  3970. case 2: {
  3971. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3972. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3973. parse_client_version:
  3974. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3975. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3976. input, &client_version_)));
  3977. set_has_client_version();
  3978. } else {
  3979. goto handle_uninterpreted;
  3980. }
  3981. if (input->ExpectTag(24)) goto parse_team_invite;
  3982. break;
  3983. }
  3984. // optional uint32 team_invite = 3;
  3985. case 3: {
  3986. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3987. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3988. parse_team_invite:
  3989. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3990. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3991. input, &team_invite_)));
  3992. set_has_team_invite();
  3993. } else {
  3994. goto handle_uninterpreted;
  3995. }
  3996. if (input->ExpectAtEnd()) return true;
  3997. break;
  3998. }
  3999. default: {
  4000. handle_uninterpreted:
  4001. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4002. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4003. return true;
  4004. }
  4005. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4006. input, tag, mutable_unknown_fields()));
  4007. break;
  4008. }
  4009. }
  4010. }
  4011. return true;
  4012. #undef DO_
  4013. }
  4014. void CMsgInviteToParty::SerializeWithCachedSizes(
  4015. ::google::protobuf::io::CodedOutputStream* output) const {
  4016. // optional fixed64 steam_id = 1;
  4017. if (has_steam_id()) {
  4018. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  4019. }
  4020. // optional uint32 client_version = 2;
  4021. if (has_client_version()) {
  4022. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->client_version(), output);
  4023. }
  4024. // optional uint32 team_invite = 3;
  4025. if (has_team_invite()) {
  4026. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->team_invite(), output);
  4027. }
  4028. if (!unknown_fields().empty()) {
  4029. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4030. unknown_fields(), output);
  4031. }
  4032. }
  4033. ::google::protobuf::uint8* CMsgInviteToParty::SerializeWithCachedSizesToArray(
  4034. ::google::protobuf::uint8* target) const {
  4035. // optional fixed64 steam_id = 1;
  4036. if (has_steam_id()) {
  4037. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  4038. }
  4039. // optional uint32 client_version = 2;
  4040. if (has_client_version()) {
  4041. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->client_version(), target);
  4042. }
  4043. // optional uint32 team_invite = 3;
  4044. if (has_team_invite()) {
  4045. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->team_invite(), target);
  4046. }
  4047. if (!unknown_fields().empty()) {
  4048. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4049. unknown_fields(), target);
  4050. }
  4051. return target;
  4052. }
  4053. int CMsgInviteToParty::ByteSize() const {
  4054. int total_size = 0;
  4055. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4056. // optional fixed64 steam_id = 1;
  4057. if (has_steam_id()) {
  4058. total_size += 1 + 8;
  4059. }
  4060. // optional uint32 client_version = 2;
  4061. if (has_client_version()) {
  4062. total_size += 1 +
  4063. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4064. this->client_version());
  4065. }
  4066. // optional uint32 team_invite = 3;
  4067. if (has_team_invite()) {
  4068. total_size += 1 +
  4069. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4070. this->team_invite());
  4071. }
  4072. }
  4073. if (!unknown_fields().empty()) {
  4074. total_size +=
  4075. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4076. unknown_fields());
  4077. }
  4078. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4079. _cached_size_ = total_size;
  4080. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4081. return total_size;
  4082. }
  4083. void CMsgInviteToParty::MergeFrom(const ::google::protobuf::Message& from) {
  4084. GOOGLE_CHECK_NE(&from, this);
  4085. const CMsgInviteToParty* source =
  4086. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgInviteToParty*>(
  4087. &from);
  4088. if (source == NULL) {
  4089. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4090. } else {
  4091. MergeFrom(*source);
  4092. }
  4093. }
  4094. void CMsgInviteToParty::MergeFrom(const CMsgInviteToParty& from) {
  4095. GOOGLE_CHECK_NE(&from, this);
  4096. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4097. if (from.has_steam_id()) {
  4098. set_steam_id(from.steam_id());
  4099. }
  4100. if (from.has_client_version()) {
  4101. set_client_version(from.client_version());
  4102. }
  4103. if (from.has_team_invite()) {
  4104. set_team_invite(from.team_invite());
  4105. }
  4106. }
  4107. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4108. }
  4109. void CMsgInviteToParty::CopyFrom(const ::google::protobuf::Message& from) {
  4110. if (&from == this) return;
  4111. Clear();
  4112. MergeFrom(from);
  4113. }
  4114. void CMsgInviteToParty::CopyFrom(const CMsgInviteToParty& from) {
  4115. if (&from == this) return;
  4116. Clear();
  4117. MergeFrom(from);
  4118. }
  4119. bool CMsgInviteToParty::IsInitialized() const {
  4120. return true;
  4121. }
  4122. void CMsgInviteToParty::Swap(CMsgInviteToParty* other) {
  4123. if (other != this) {
  4124. std::swap(steam_id_, other->steam_id_);
  4125. std::swap(client_version_, other->client_version_);
  4126. std::swap(team_invite_, other->team_invite_);
  4127. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4128. _unknown_fields_.Swap(&other->_unknown_fields_);
  4129. std::swap(_cached_size_, other->_cached_size_);
  4130. }
  4131. }
  4132. ::google::protobuf::Metadata CMsgInviteToParty::GetMetadata() const {
  4133. protobuf_AssignDescriptorsOnce();
  4134. ::google::protobuf::Metadata metadata;
  4135. metadata.descriptor = CMsgInviteToParty_descriptor_;
  4136. metadata.reflection = CMsgInviteToParty_reflection_;
  4137. return metadata;
  4138. }
  4139. // ===================================================================
  4140. #ifndef _MSC_VER
  4141. const int CMsgInvitationCreated::kGroupIdFieldNumber;
  4142. const int CMsgInvitationCreated::kSteamIdFieldNumber;
  4143. #endif // !_MSC_VER
  4144. CMsgInvitationCreated::CMsgInvitationCreated()
  4145. : ::google::protobuf::Message() {
  4146. SharedCtor();
  4147. }
  4148. void CMsgInvitationCreated::InitAsDefaultInstance() {
  4149. }
  4150. CMsgInvitationCreated::CMsgInvitationCreated(const CMsgInvitationCreated& from)
  4151. : ::google::protobuf::Message() {
  4152. SharedCtor();
  4153. MergeFrom(from);
  4154. }
  4155. void CMsgInvitationCreated::SharedCtor() {
  4156. _cached_size_ = 0;
  4157. group_id_ = GOOGLE_ULONGLONG(0);
  4158. steam_id_ = GOOGLE_ULONGLONG(0);
  4159. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4160. }
  4161. CMsgInvitationCreated::~CMsgInvitationCreated() {
  4162. SharedDtor();
  4163. }
  4164. void CMsgInvitationCreated::SharedDtor() {
  4165. if (this != default_instance_) {
  4166. }
  4167. }
  4168. void CMsgInvitationCreated::SetCachedSize(int size) const {
  4169. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4170. _cached_size_ = size;
  4171. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4172. }
  4173. const ::google::protobuf::Descriptor* CMsgInvitationCreated::descriptor() {
  4174. protobuf_AssignDescriptorsOnce();
  4175. return CMsgInvitationCreated_descriptor_;
  4176. }
  4177. const CMsgInvitationCreated& CMsgInvitationCreated::default_instance() {
  4178. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  4179. return *default_instance_;
  4180. }
  4181. CMsgInvitationCreated* CMsgInvitationCreated::default_instance_ = NULL;
  4182. CMsgInvitationCreated* CMsgInvitationCreated::New() const {
  4183. return new CMsgInvitationCreated;
  4184. }
  4185. void CMsgInvitationCreated::Clear() {
  4186. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4187. group_id_ = GOOGLE_ULONGLONG(0);
  4188. steam_id_ = GOOGLE_ULONGLONG(0);
  4189. }
  4190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4191. mutable_unknown_fields()->Clear();
  4192. }
  4193. bool CMsgInvitationCreated::MergePartialFromCodedStream(
  4194. ::google::protobuf::io::CodedInputStream* input) {
  4195. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4196. ::google::protobuf::uint32 tag;
  4197. while ((tag = input->ReadTag()) != 0) {
  4198. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4199. // optional uint64 group_id = 1;
  4200. case 1: {
  4201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4203. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4204. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  4205. input, &group_id_)));
  4206. set_has_group_id();
  4207. } else {
  4208. goto handle_uninterpreted;
  4209. }
  4210. if (input->ExpectTag(17)) goto parse_steam_id;
  4211. break;
  4212. }
  4213. // optional fixed64 steam_id = 2;
  4214. case 2: {
  4215. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4216. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  4217. parse_steam_id:
  4218. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4219. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  4220. input, &steam_id_)));
  4221. set_has_steam_id();
  4222. } else {
  4223. goto handle_uninterpreted;
  4224. }
  4225. if (input->ExpectAtEnd()) return true;
  4226. break;
  4227. }
  4228. default: {
  4229. handle_uninterpreted:
  4230. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4231. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4232. return true;
  4233. }
  4234. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4235. input, tag, mutable_unknown_fields()));
  4236. break;
  4237. }
  4238. }
  4239. }
  4240. return true;
  4241. #undef DO_
  4242. }
  4243. void CMsgInvitationCreated::SerializeWithCachedSizes(
  4244. ::google::protobuf::io::CodedOutputStream* output) const {
  4245. // optional uint64 group_id = 1;
  4246. if (has_group_id()) {
  4247. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->group_id(), output);
  4248. }
  4249. // optional fixed64 steam_id = 2;
  4250. if (has_steam_id()) {
  4251. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->steam_id(), output);
  4252. }
  4253. if (!unknown_fields().empty()) {
  4254. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4255. unknown_fields(), output);
  4256. }
  4257. }
  4258. ::google::protobuf::uint8* CMsgInvitationCreated::SerializeWithCachedSizesToArray(
  4259. ::google::protobuf::uint8* target) const {
  4260. // optional uint64 group_id = 1;
  4261. if (has_group_id()) {
  4262. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->group_id(), target);
  4263. }
  4264. // optional fixed64 steam_id = 2;
  4265. if (has_steam_id()) {
  4266. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->steam_id(), target);
  4267. }
  4268. if (!unknown_fields().empty()) {
  4269. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4270. unknown_fields(), target);
  4271. }
  4272. return target;
  4273. }
  4274. int CMsgInvitationCreated::ByteSize() const {
  4275. int total_size = 0;
  4276. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4277. // optional uint64 group_id = 1;
  4278. if (has_group_id()) {
  4279. total_size += 1 +
  4280. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  4281. this->group_id());
  4282. }
  4283. // optional fixed64 steam_id = 2;
  4284. if (has_steam_id()) {
  4285. total_size += 1 + 8;
  4286. }
  4287. }
  4288. if (!unknown_fields().empty()) {
  4289. total_size +=
  4290. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4291. unknown_fields());
  4292. }
  4293. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4294. _cached_size_ = total_size;
  4295. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4296. return total_size;
  4297. }
  4298. void CMsgInvitationCreated::MergeFrom(const ::google::protobuf::Message& from) {
  4299. GOOGLE_CHECK_NE(&from, this);
  4300. const CMsgInvitationCreated* source =
  4301. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgInvitationCreated*>(
  4302. &from);
  4303. if (source == NULL) {
  4304. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4305. } else {
  4306. MergeFrom(*source);
  4307. }
  4308. }
  4309. void CMsgInvitationCreated::MergeFrom(const CMsgInvitationCreated& from) {
  4310. GOOGLE_CHECK_NE(&from, this);
  4311. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4312. if (from.has_group_id()) {
  4313. set_group_id(from.group_id());
  4314. }
  4315. if (from.has_steam_id()) {
  4316. set_steam_id(from.steam_id());
  4317. }
  4318. }
  4319. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4320. }
  4321. void CMsgInvitationCreated::CopyFrom(const ::google::protobuf::Message& from) {
  4322. if (&from == this) return;
  4323. Clear();
  4324. MergeFrom(from);
  4325. }
  4326. void CMsgInvitationCreated::CopyFrom(const CMsgInvitationCreated& from) {
  4327. if (&from == this) return;
  4328. Clear();
  4329. MergeFrom(from);
  4330. }
  4331. bool CMsgInvitationCreated::IsInitialized() const {
  4332. return true;
  4333. }
  4334. void CMsgInvitationCreated::Swap(CMsgInvitationCreated* other) {
  4335. if (other != this) {
  4336. std::swap(group_id_, other->group_id_);
  4337. std::swap(steam_id_, other->steam_id_);
  4338. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4339. _unknown_fields_.Swap(&other->_unknown_fields_);
  4340. std::swap(_cached_size_, other->_cached_size_);
  4341. }
  4342. }
  4343. ::google::protobuf::Metadata CMsgInvitationCreated::GetMetadata() const {
  4344. protobuf_AssignDescriptorsOnce();
  4345. ::google::protobuf::Metadata metadata;
  4346. metadata.descriptor = CMsgInvitationCreated_descriptor_;
  4347. metadata.reflection = CMsgInvitationCreated_reflection_;
  4348. return metadata;
  4349. }
  4350. // ===================================================================
  4351. #ifndef _MSC_VER
  4352. const int CMsgPartyInviteResponse::kPartyIdFieldNumber;
  4353. const int CMsgPartyInviteResponse::kAcceptFieldNumber;
  4354. const int CMsgPartyInviteResponse::kClientVersionFieldNumber;
  4355. const int CMsgPartyInviteResponse::kTeamInviteFieldNumber;
  4356. #endif // !_MSC_VER
  4357. CMsgPartyInviteResponse::CMsgPartyInviteResponse()
  4358. : ::google::protobuf::Message() {
  4359. SharedCtor();
  4360. }
  4361. void CMsgPartyInviteResponse::InitAsDefaultInstance() {
  4362. }
  4363. CMsgPartyInviteResponse::CMsgPartyInviteResponse(const CMsgPartyInviteResponse& from)
  4364. : ::google::protobuf::Message() {
  4365. SharedCtor();
  4366. MergeFrom(from);
  4367. }
  4368. void CMsgPartyInviteResponse::SharedCtor() {
  4369. _cached_size_ = 0;
  4370. party_id_ = GOOGLE_ULONGLONG(0);
  4371. accept_ = false;
  4372. client_version_ = 0u;
  4373. team_invite_ = 0u;
  4374. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4375. }
  4376. CMsgPartyInviteResponse::~CMsgPartyInviteResponse() {
  4377. SharedDtor();
  4378. }
  4379. void CMsgPartyInviteResponse::SharedDtor() {
  4380. if (this != default_instance_) {
  4381. }
  4382. }
  4383. void CMsgPartyInviteResponse::SetCachedSize(int size) const {
  4384. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4385. _cached_size_ = size;
  4386. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4387. }
  4388. const ::google::protobuf::Descriptor* CMsgPartyInviteResponse::descriptor() {
  4389. protobuf_AssignDescriptorsOnce();
  4390. return CMsgPartyInviteResponse_descriptor_;
  4391. }
  4392. const CMsgPartyInviteResponse& CMsgPartyInviteResponse::default_instance() {
  4393. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  4394. return *default_instance_;
  4395. }
  4396. CMsgPartyInviteResponse* CMsgPartyInviteResponse::default_instance_ = NULL;
  4397. CMsgPartyInviteResponse* CMsgPartyInviteResponse::New() const {
  4398. return new CMsgPartyInviteResponse;
  4399. }
  4400. void CMsgPartyInviteResponse::Clear() {
  4401. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4402. party_id_ = GOOGLE_ULONGLONG(0);
  4403. accept_ = false;
  4404. client_version_ = 0u;
  4405. team_invite_ = 0u;
  4406. }
  4407. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4408. mutable_unknown_fields()->Clear();
  4409. }
  4410. bool CMsgPartyInviteResponse::MergePartialFromCodedStream(
  4411. ::google::protobuf::io::CodedInputStream* input) {
  4412. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4413. ::google::protobuf::uint32 tag;
  4414. while ((tag = input->ReadTag()) != 0) {
  4415. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4416. // optional uint64 party_id = 1;
  4417. case 1: {
  4418. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4419. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4420. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4421. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  4422. input, &party_id_)));
  4423. set_has_party_id();
  4424. } else {
  4425. goto handle_uninterpreted;
  4426. }
  4427. if (input->ExpectTag(16)) goto parse_accept;
  4428. break;
  4429. }
  4430. // optional bool accept = 2;
  4431. case 2: {
  4432. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4433. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4434. parse_accept:
  4435. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4436. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  4437. input, &accept_)));
  4438. set_has_accept();
  4439. } else {
  4440. goto handle_uninterpreted;
  4441. }
  4442. if (input->ExpectTag(24)) goto parse_client_version;
  4443. break;
  4444. }
  4445. // optional uint32 client_version = 3;
  4446. case 3: {
  4447. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4448. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4449. parse_client_version:
  4450. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4451. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  4452. input, &client_version_)));
  4453. set_has_client_version();
  4454. } else {
  4455. goto handle_uninterpreted;
  4456. }
  4457. if (input->ExpectTag(32)) goto parse_team_invite;
  4458. break;
  4459. }
  4460. // optional uint32 team_invite = 4;
  4461. case 4: {
  4462. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4463. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4464. parse_team_invite:
  4465. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4466. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  4467. input, &team_invite_)));
  4468. set_has_team_invite();
  4469. } else {
  4470. goto handle_uninterpreted;
  4471. }
  4472. if (input->ExpectAtEnd()) return true;
  4473. break;
  4474. }
  4475. default: {
  4476. handle_uninterpreted:
  4477. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4478. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4479. return true;
  4480. }
  4481. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4482. input, tag, mutable_unknown_fields()));
  4483. break;
  4484. }
  4485. }
  4486. }
  4487. return true;
  4488. #undef DO_
  4489. }
  4490. void CMsgPartyInviteResponse::SerializeWithCachedSizes(
  4491. ::google::protobuf::io::CodedOutputStream* output) const {
  4492. // optional uint64 party_id = 1;
  4493. if (has_party_id()) {
  4494. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->party_id(), output);
  4495. }
  4496. // optional bool accept = 2;
  4497. if (has_accept()) {
  4498. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->accept(), output);
  4499. }
  4500. // optional uint32 client_version = 3;
  4501. if (has_client_version()) {
  4502. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->client_version(), output);
  4503. }
  4504. // optional uint32 team_invite = 4;
  4505. if (has_team_invite()) {
  4506. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->team_invite(), output);
  4507. }
  4508. if (!unknown_fields().empty()) {
  4509. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4510. unknown_fields(), output);
  4511. }
  4512. }
  4513. ::google::protobuf::uint8* CMsgPartyInviteResponse::SerializeWithCachedSizesToArray(
  4514. ::google::protobuf::uint8* target) const {
  4515. // optional uint64 party_id = 1;
  4516. if (has_party_id()) {
  4517. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->party_id(), target);
  4518. }
  4519. // optional bool accept = 2;
  4520. if (has_accept()) {
  4521. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->accept(), target);
  4522. }
  4523. // optional uint32 client_version = 3;
  4524. if (has_client_version()) {
  4525. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->client_version(), target);
  4526. }
  4527. // optional uint32 team_invite = 4;
  4528. if (has_team_invite()) {
  4529. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->team_invite(), target);
  4530. }
  4531. if (!unknown_fields().empty()) {
  4532. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4533. unknown_fields(), target);
  4534. }
  4535. return target;
  4536. }
  4537. int CMsgPartyInviteResponse::ByteSize() const {
  4538. int total_size = 0;
  4539. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4540. // optional uint64 party_id = 1;
  4541. if (has_party_id()) {
  4542. total_size += 1 +
  4543. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  4544. this->party_id());
  4545. }
  4546. // optional bool accept = 2;
  4547. if (has_accept()) {
  4548. total_size += 1 + 1;
  4549. }
  4550. // optional uint32 client_version = 3;
  4551. if (has_client_version()) {
  4552. total_size += 1 +
  4553. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4554. this->client_version());
  4555. }
  4556. // optional uint32 team_invite = 4;
  4557. if (has_team_invite()) {
  4558. total_size += 1 +
  4559. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4560. this->team_invite());
  4561. }
  4562. }
  4563. if (!unknown_fields().empty()) {
  4564. total_size +=
  4565. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4566. unknown_fields());
  4567. }
  4568. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4569. _cached_size_ = total_size;
  4570. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4571. return total_size;
  4572. }
  4573. void CMsgPartyInviteResponse::MergeFrom(const ::google::protobuf::Message& from) {
  4574. GOOGLE_CHECK_NE(&from, this);
  4575. const CMsgPartyInviteResponse* source =
  4576. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgPartyInviteResponse*>(
  4577. &from);
  4578. if (source == NULL) {
  4579. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4580. } else {
  4581. MergeFrom(*source);
  4582. }
  4583. }
  4584. void CMsgPartyInviteResponse::MergeFrom(const CMsgPartyInviteResponse& from) {
  4585. GOOGLE_CHECK_NE(&from, this);
  4586. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4587. if (from.has_party_id()) {
  4588. set_party_id(from.party_id());
  4589. }
  4590. if (from.has_accept()) {
  4591. set_accept(from.accept());
  4592. }
  4593. if (from.has_client_version()) {
  4594. set_client_version(from.client_version());
  4595. }
  4596. if (from.has_team_invite()) {
  4597. set_team_invite(from.team_invite());
  4598. }
  4599. }
  4600. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4601. }
  4602. void CMsgPartyInviteResponse::CopyFrom(const ::google::protobuf::Message& from) {
  4603. if (&from == this) return;
  4604. Clear();
  4605. MergeFrom(from);
  4606. }
  4607. void CMsgPartyInviteResponse::CopyFrom(const CMsgPartyInviteResponse& from) {
  4608. if (&from == this) return;
  4609. Clear();
  4610. MergeFrom(from);
  4611. }
  4612. bool CMsgPartyInviteResponse::IsInitialized() const {
  4613. return true;
  4614. }
  4615. void CMsgPartyInviteResponse::Swap(CMsgPartyInviteResponse* other) {
  4616. if (other != this) {
  4617. std::swap(party_id_, other->party_id_);
  4618. std::swap(accept_, other->accept_);
  4619. std::swap(client_version_, other->client_version_);
  4620. std::swap(team_invite_, other->team_invite_);
  4621. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4622. _unknown_fields_.Swap(&other->_unknown_fields_);
  4623. std::swap(_cached_size_, other->_cached_size_);
  4624. }
  4625. }
  4626. ::google::protobuf::Metadata CMsgPartyInviteResponse::GetMetadata() const {
  4627. protobuf_AssignDescriptorsOnce();
  4628. ::google::protobuf::Metadata metadata;
  4629. metadata.descriptor = CMsgPartyInviteResponse_descriptor_;
  4630. metadata.reflection = CMsgPartyInviteResponse_reflection_;
  4631. return metadata;
  4632. }
  4633. // ===================================================================
  4634. #ifndef _MSC_VER
  4635. const int CMsgKickFromParty::kSteamIdFieldNumber;
  4636. #endif // !_MSC_VER
  4637. CMsgKickFromParty::CMsgKickFromParty()
  4638. : ::google::protobuf::Message() {
  4639. SharedCtor();
  4640. }
  4641. void CMsgKickFromParty::InitAsDefaultInstance() {
  4642. }
  4643. CMsgKickFromParty::CMsgKickFromParty(const CMsgKickFromParty& from)
  4644. : ::google::protobuf::Message() {
  4645. SharedCtor();
  4646. MergeFrom(from);
  4647. }
  4648. void CMsgKickFromParty::SharedCtor() {
  4649. _cached_size_ = 0;
  4650. steam_id_ = GOOGLE_ULONGLONG(0);
  4651. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4652. }
  4653. CMsgKickFromParty::~CMsgKickFromParty() {
  4654. SharedDtor();
  4655. }
  4656. void CMsgKickFromParty::SharedDtor() {
  4657. if (this != default_instance_) {
  4658. }
  4659. }
  4660. void CMsgKickFromParty::SetCachedSize(int size) const {
  4661. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4662. _cached_size_ = size;
  4663. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4664. }
  4665. const ::google::protobuf::Descriptor* CMsgKickFromParty::descriptor() {
  4666. protobuf_AssignDescriptorsOnce();
  4667. return CMsgKickFromParty_descriptor_;
  4668. }
  4669. const CMsgKickFromParty& CMsgKickFromParty::default_instance() {
  4670. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  4671. return *default_instance_;
  4672. }
  4673. CMsgKickFromParty* CMsgKickFromParty::default_instance_ = NULL;
  4674. CMsgKickFromParty* CMsgKickFromParty::New() const {
  4675. return new CMsgKickFromParty;
  4676. }
  4677. void CMsgKickFromParty::Clear() {
  4678. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4679. steam_id_ = GOOGLE_ULONGLONG(0);
  4680. }
  4681. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4682. mutable_unknown_fields()->Clear();
  4683. }
  4684. bool CMsgKickFromParty::MergePartialFromCodedStream(
  4685. ::google::protobuf::io::CodedInputStream* input) {
  4686. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4687. ::google::protobuf::uint32 tag;
  4688. while ((tag = input->ReadTag()) != 0) {
  4689. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4690. // optional fixed64 steam_id = 1;
  4691. case 1: {
  4692. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4693. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  4694. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4695. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  4696. input, &steam_id_)));
  4697. set_has_steam_id();
  4698. } else {
  4699. goto handle_uninterpreted;
  4700. }
  4701. if (input->ExpectAtEnd()) return true;
  4702. break;
  4703. }
  4704. default: {
  4705. handle_uninterpreted:
  4706. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4707. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4708. return true;
  4709. }
  4710. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4711. input, tag, mutable_unknown_fields()));
  4712. break;
  4713. }
  4714. }
  4715. }
  4716. return true;
  4717. #undef DO_
  4718. }
  4719. void CMsgKickFromParty::SerializeWithCachedSizes(
  4720. ::google::protobuf::io::CodedOutputStream* output) const {
  4721. // optional fixed64 steam_id = 1;
  4722. if (has_steam_id()) {
  4723. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  4724. }
  4725. if (!unknown_fields().empty()) {
  4726. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4727. unknown_fields(), output);
  4728. }
  4729. }
  4730. ::google::protobuf::uint8* CMsgKickFromParty::SerializeWithCachedSizesToArray(
  4731. ::google::protobuf::uint8* target) const {
  4732. // optional fixed64 steam_id = 1;
  4733. if (has_steam_id()) {
  4734. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  4735. }
  4736. if (!unknown_fields().empty()) {
  4737. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4738. unknown_fields(), target);
  4739. }
  4740. return target;
  4741. }
  4742. int CMsgKickFromParty::ByteSize() const {
  4743. int total_size = 0;
  4744. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4745. // optional fixed64 steam_id = 1;
  4746. if (has_steam_id()) {
  4747. total_size += 1 + 8;
  4748. }
  4749. }
  4750. if (!unknown_fields().empty()) {
  4751. total_size +=
  4752. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4753. unknown_fields());
  4754. }
  4755. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4756. _cached_size_ = total_size;
  4757. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4758. return total_size;
  4759. }
  4760. void CMsgKickFromParty::MergeFrom(const ::google::protobuf::Message& from) {
  4761. GOOGLE_CHECK_NE(&from, this);
  4762. const CMsgKickFromParty* source =
  4763. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgKickFromParty*>(
  4764. &from);
  4765. if (source == NULL) {
  4766. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4767. } else {
  4768. MergeFrom(*source);
  4769. }
  4770. }
  4771. void CMsgKickFromParty::MergeFrom(const CMsgKickFromParty& from) {
  4772. GOOGLE_CHECK_NE(&from, this);
  4773. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4774. if (from.has_steam_id()) {
  4775. set_steam_id(from.steam_id());
  4776. }
  4777. }
  4778. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4779. }
  4780. void CMsgKickFromParty::CopyFrom(const ::google::protobuf::Message& from) {
  4781. if (&from == this) return;
  4782. Clear();
  4783. MergeFrom(from);
  4784. }
  4785. void CMsgKickFromParty::CopyFrom(const CMsgKickFromParty& from) {
  4786. if (&from == this) return;
  4787. Clear();
  4788. MergeFrom(from);
  4789. }
  4790. bool CMsgKickFromParty::IsInitialized() const {
  4791. return true;
  4792. }
  4793. void CMsgKickFromParty::Swap(CMsgKickFromParty* other) {
  4794. if (other != this) {
  4795. std::swap(steam_id_, other->steam_id_);
  4796. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4797. _unknown_fields_.Swap(&other->_unknown_fields_);
  4798. std::swap(_cached_size_, other->_cached_size_);
  4799. }
  4800. }
  4801. ::google::protobuf::Metadata CMsgKickFromParty::GetMetadata() const {
  4802. protobuf_AssignDescriptorsOnce();
  4803. ::google::protobuf::Metadata metadata;
  4804. metadata.descriptor = CMsgKickFromParty_descriptor_;
  4805. metadata.reflection = CMsgKickFromParty_reflection_;
  4806. return metadata;
  4807. }
  4808. // ===================================================================
  4809. #ifndef _MSC_VER
  4810. #endif // !_MSC_VER
  4811. CMsgLeaveParty::CMsgLeaveParty()
  4812. : ::google::protobuf::Message() {
  4813. SharedCtor();
  4814. }
  4815. void CMsgLeaveParty::InitAsDefaultInstance() {
  4816. }
  4817. CMsgLeaveParty::CMsgLeaveParty(const CMsgLeaveParty& from)
  4818. : ::google::protobuf::Message() {
  4819. SharedCtor();
  4820. MergeFrom(from);
  4821. }
  4822. void CMsgLeaveParty::SharedCtor() {
  4823. _cached_size_ = 0;
  4824. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4825. }
  4826. CMsgLeaveParty::~CMsgLeaveParty() {
  4827. SharedDtor();
  4828. }
  4829. void CMsgLeaveParty::SharedDtor() {
  4830. if (this != default_instance_) {
  4831. }
  4832. }
  4833. void CMsgLeaveParty::SetCachedSize(int size) const {
  4834. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4835. _cached_size_ = size;
  4836. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4837. }
  4838. const ::google::protobuf::Descriptor* CMsgLeaveParty::descriptor() {
  4839. protobuf_AssignDescriptorsOnce();
  4840. return CMsgLeaveParty_descriptor_;
  4841. }
  4842. const CMsgLeaveParty& CMsgLeaveParty::default_instance() {
  4843. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  4844. return *default_instance_;
  4845. }
  4846. CMsgLeaveParty* CMsgLeaveParty::default_instance_ = NULL;
  4847. CMsgLeaveParty* CMsgLeaveParty::New() const {
  4848. return new CMsgLeaveParty;
  4849. }
  4850. void CMsgLeaveParty::Clear() {
  4851. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4852. mutable_unknown_fields()->Clear();
  4853. }
  4854. bool CMsgLeaveParty::MergePartialFromCodedStream(
  4855. ::google::protobuf::io::CodedInputStream* input) {
  4856. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4857. ::google::protobuf::uint32 tag;
  4858. while ((tag = input->ReadTag()) != 0) {
  4859. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4860. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4861. return true;
  4862. }
  4863. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4864. input, tag, mutable_unknown_fields()));
  4865. }
  4866. return true;
  4867. #undef DO_
  4868. }
  4869. void CMsgLeaveParty::SerializeWithCachedSizes(
  4870. ::google::protobuf::io::CodedOutputStream* output) const {
  4871. if (!unknown_fields().empty()) {
  4872. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4873. unknown_fields(), output);
  4874. }
  4875. }
  4876. ::google::protobuf::uint8* CMsgLeaveParty::SerializeWithCachedSizesToArray(
  4877. ::google::protobuf::uint8* target) const {
  4878. if (!unknown_fields().empty()) {
  4879. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4880. unknown_fields(), target);
  4881. }
  4882. return target;
  4883. }
  4884. int CMsgLeaveParty::ByteSize() const {
  4885. int total_size = 0;
  4886. if (!unknown_fields().empty()) {
  4887. total_size +=
  4888. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4889. unknown_fields());
  4890. }
  4891. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4892. _cached_size_ = total_size;
  4893. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4894. return total_size;
  4895. }
  4896. void CMsgLeaveParty::MergeFrom(const ::google::protobuf::Message& from) {
  4897. GOOGLE_CHECK_NE(&from, this);
  4898. const CMsgLeaveParty* source =
  4899. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgLeaveParty*>(
  4900. &from);
  4901. if (source == NULL) {
  4902. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4903. } else {
  4904. MergeFrom(*source);
  4905. }
  4906. }
  4907. void CMsgLeaveParty::MergeFrom(const CMsgLeaveParty& from) {
  4908. GOOGLE_CHECK_NE(&from, this);
  4909. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4910. }
  4911. void CMsgLeaveParty::CopyFrom(const ::google::protobuf::Message& from) {
  4912. if (&from == this) return;
  4913. Clear();
  4914. MergeFrom(from);
  4915. }
  4916. void CMsgLeaveParty::CopyFrom(const CMsgLeaveParty& from) {
  4917. if (&from == this) return;
  4918. Clear();
  4919. MergeFrom(from);
  4920. }
  4921. bool CMsgLeaveParty::IsInitialized() const {
  4922. return true;
  4923. }
  4924. void CMsgLeaveParty::Swap(CMsgLeaveParty* other) {
  4925. if (other != this) {
  4926. _unknown_fields_.Swap(&other->_unknown_fields_);
  4927. std::swap(_cached_size_, other->_cached_size_);
  4928. }
  4929. }
  4930. ::google::protobuf::Metadata CMsgLeaveParty::GetMetadata() const {
  4931. protobuf_AssignDescriptorsOnce();
  4932. ::google::protobuf::Metadata metadata;
  4933. metadata.descriptor = CMsgLeaveParty_descriptor_;
  4934. metadata.reflection = CMsgLeaveParty_reflection_;
  4935. return metadata;
  4936. }
  4937. // ===================================================================
  4938. #ifndef _MSC_VER
  4939. #endif // !_MSC_VER
  4940. CMsgServerAvailable::CMsgServerAvailable()
  4941. : ::google::protobuf::Message() {
  4942. SharedCtor();
  4943. }
  4944. void CMsgServerAvailable::InitAsDefaultInstance() {
  4945. }
  4946. CMsgServerAvailable::CMsgServerAvailable(const CMsgServerAvailable& from)
  4947. : ::google::protobuf::Message() {
  4948. SharedCtor();
  4949. MergeFrom(from);
  4950. }
  4951. void CMsgServerAvailable::SharedCtor() {
  4952. _cached_size_ = 0;
  4953. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4954. }
  4955. CMsgServerAvailable::~CMsgServerAvailable() {
  4956. SharedDtor();
  4957. }
  4958. void CMsgServerAvailable::SharedDtor() {
  4959. if (this != default_instance_) {
  4960. }
  4961. }
  4962. void CMsgServerAvailable::SetCachedSize(int size) const {
  4963. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4964. _cached_size_ = size;
  4965. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4966. }
  4967. const ::google::protobuf::Descriptor* CMsgServerAvailable::descriptor() {
  4968. protobuf_AssignDescriptorsOnce();
  4969. return CMsgServerAvailable_descriptor_;
  4970. }
  4971. const CMsgServerAvailable& CMsgServerAvailable::default_instance() {
  4972. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  4973. return *default_instance_;
  4974. }
  4975. CMsgServerAvailable* CMsgServerAvailable::default_instance_ = NULL;
  4976. CMsgServerAvailable* CMsgServerAvailable::New() const {
  4977. return new CMsgServerAvailable;
  4978. }
  4979. void CMsgServerAvailable::Clear() {
  4980. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4981. mutable_unknown_fields()->Clear();
  4982. }
  4983. bool CMsgServerAvailable::MergePartialFromCodedStream(
  4984. ::google::protobuf::io::CodedInputStream* input) {
  4985. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4986. ::google::protobuf::uint32 tag;
  4987. while ((tag = input->ReadTag()) != 0) {
  4988. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4989. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4990. return true;
  4991. }
  4992. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4993. input, tag, mutable_unknown_fields()));
  4994. }
  4995. return true;
  4996. #undef DO_
  4997. }
  4998. void CMsgServerAvailable::SerializeWithCachedSizes(
  4999. ::google::protobuf::io::CodedOutputStream* output) const {
  5000. if (!unknown_fields().empty()) {
  5001. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5002. unknown_fields(), output);
  5003. }
  5004. }
  5005. ::google::protobuf::uint8* CMsgServerAvailable::SerializeWithCachedSizesToArray(
  5006. ::google::protobuf::uint8* target) const {
  5007. if (!unknown_fields().empty()) {
  5008. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5009. unknown_fields(), target);
  5010. }
  5011. return target;
  5012. }
  5013. int CMsgServerAvailable::ByteSize() const {
  5014. int total_size = 0;
  5015. if (!unknown_fields().empty()) {
  5016. total_size +=
  5017. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5018. unknown_fields());
  5019. }
  5020. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5021. _cached_size_ = total_size;
  5022. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5023. return total_size;
  5024. }
  5025. void CMsgServerAvailable::MergeFrom(const ::google::protobuf::Message& from) {
  5026. GOOGLE_CHECK_NE(&from, this);
  5027. const CMsgServerAvailable* source =
  5028. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgServerAvailable*>(
  5029. &from);
  5030. if (source == NULL) {
  5031. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5032. } else {
  5033. MergeFrom(*source);
  5034. }
  5035. }
  5036. void CMsgServerAvailable::MergeFrom(const CMsgServerAvailable& from) {
  5037. GOOGLE_CHECK_NE(&from, this);
  5038. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5039. }
  5040. void CMsgServerAvailable::CopyFrom(const ::google::protobuf::Message& from) {
  5041. if (&from == this) return;
  5042. Clear();
  5043. MergeFrom(from);
  5044. }
  5045. void CMsgServerAvailable::CopyFrom(const CMsgServerAvailable& from) {
  5046. if (&from == this) return;
  5047. Clear();
  5048. MergeFrom(from);
  5049. }
  5050. bool CMsgServerAvailable::IsInitialized() const {
  5051. return true;
  5052. }
  5053. void CMsgServerAvailable::Swap(CMsgServerAvailable* other) {
  5054. if (other != this) {
  5055. _unknown_fields_.Swap(&other->_unknown_fields_);
  5056. std::swap(_cached_size_, other->_cached_size_);
  5057. }
  5058. }
  5059. ::google::protobuf::Metadata CMsgServerAvailable::GetMetadata() const {
  5060. protobuf_AssignDescriptorsOnce();
  5061. ::google::protobuf::Metadata metadata;
  5062. metadata.descriptor = CMsgServerAvailable_descriptor_;
  5063. metadata.reflection = CMsgServerAvailable_reflection_;
  5064. return metadata;
  5065. }
  5066. // ===================================================================
  5067. #ifndef _MSC_VER
  5068. const int CMsgLANServerAvailable::kLobbyIdFieldNumber;
  5069. #endif // !_MSC_VER
  5070. CMsgLANServerAvailable::CMsgLANServerAvailable()
  5071. : ::google::protobuf::Message() {
  5072. SharedCtor();
  5073. }
  5074. void CMsgLANServerAvailable::InitAsDefaultInstance() {
  5075. }
  5076. CMsgLANServerAvailable::CMsgLANServerAvailable(const CMsgLANServerAvailable& from)
  5077. : ::google::protobuf::Message() {
  5078. SharedCtor();
  5079. MergeFrom(from);
  5080. }
  5081. void CMsgLANServerAvailable::SharedCtor() {
  5082. _cached_size_ = 0;
  5083. lobby_id_ = GOOGLE_ULONGLONG(0);
  5084. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5085. }
  5086. CMsgLANServerAvailable::~CMsgLANServerAvailable() {
  5087. SharedDtor();
  5088. }
  5089. void CMsgLANServerAvailable::SharedDtor() {
  5090. if (this != default_instance_) {
  5091. }
  5092. }
  5093. void CMsgLANServerAvailable::SetCachedSize(int size) const {
  5094. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5095. _cached_size_ = size;
  5096. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5097. }
  5098. const ::google::protobuf::Descriptor* CMsgLANServerAvailable::descriptor() {
  5099. protobuf_AssignDescriptorsOnce();
  5100. return CMsgLANServerAvailable_descriptor_;
  5101. }
  5102. const CMsgLANServerAvailable& CMsgLANServerAvailable::default_instance() {
  5103. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  5104. return *default_instance_;
  5105. }
  5106. CMsgLANServerAvailable* CMsgLANServerAvailable::default_instance_ = NULL;
  5107. CMsgLANServerAvailable* CMsgLANServerAvailable::New() const {
  5108. return new CMsgLANServerAvailable;
  5109. }
  5110. void CMsgLANServerAvailable::Clear() {
  5111. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5112. lobby_id_ = GOOGLE_ULONGLONG(0);
  5113. }
  5114. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5115. mutable_unknown_fields()->Clear();
  5116. }
  5117. bool CMsgLANServerAvailable::MergePartialFromCodedStream(
  5118. ::google::protobuf::io::CodedInputStream* input) {
  5119. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5120. ::google::protobuf::uint32 tag;
  5121. while ((tag = input->ReadTag()) != 0) {
  5122. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5123. // optional fixed64 lobby_id = 1;
  5124. case 1: {
  5125. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5126. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  5127. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5128. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  5129. input, &lobby_id_)));
  5130. set_has_lobby_id();
  5131. } else {
  5132. goto handle_uninterpreted;
  5133. }
  5134. if (input->ExpectAtEnd()) return true;
  5135. break;
  5136. }
  5137. default: {
  5138. handle_uninterpreted:
  5139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5141. return true;
  5142. }
  5143. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5144. input, tag, mutable_unknown_fields()));
  5145. break;
  5146. }
  5147. }
  5148. }
  5149. return true;
  5150. #undef DO_
  5151. }
  5152. void CMsgLANServerAvailable::SerializeWithCachedSizes(
  5153. ::google::protobuf::io::CodedOutputStream* output) const {
  5154. // optional fixed64 lobby_id = 1;
  5155. if (has_lobby_id()) {
  5156. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->lobby_id(), output);
  5157. }
  5158. if (!unknown_fields().empty()) {
  5159. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5160. unknown_fields(), output);
  5161. }
  5162. }
  5163. ::google::protobuf::uint8* CMsgLANServerAvailable::SerializeWithCachedSizesToArray(
  5164. ::google::protobuf::uint8* target) const {
  5165. // optional fixed64 lobby_id = 1;
  5166. if (has_lobby_id()) {
  5167. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->lobby_id(), target);
  5168. }
  5169. if (!unknown_fields().empty()) {
  5170. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5171. unknown_fields(), target);
  5172. }
  5173. return target;
  5174. }
  5175. int CMsgLANServerAvailable::ByteSize() const {
  5176. int total_size = 0;
  5177. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5178. // optional fixed64 lobby_id = 1;
  5179. if (has_lobby_id()) {
  5180. total_size += 1 + 8;
  5181. }
  5182. }
  5183. if (!unknown_fields().empty()) {
  5184. total_size +=
  5185. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5186. unknown_fields());
  5187. }
  5188. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5189. _cached_size_ = total_size;
  5190. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5191. return total_size;
  5192. }
  5193. void CMsgLANServerAvailable::MergeFrom(const ::google::protobuf::Message& from) {
  5194. GOOGLE_CHECK_NE(&from, this);
  5195. const CMsgLANServerAvailable* source =
  5196. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgLANServerAvailable*>(
  5197. &from);
  5198. if (source == NULL) {
  5199. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5200. } else {
  5201. MergeFrom(*source);
  5202. }
  5203. }
  5204. void CMsgLANServerAvailable::MergeFrom(const CMsgLANServerAvailable& from) {
  5205. GOOGLE_CHECK_NE(&from, this);
  5206. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5207. if (from.has_lobby_id()) {
  5208. set_lobby_id(from.lobby_id());
  5209. }
  5210. }
  5211. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5212. }
  5213. void CMsgLANServerAvailable::CopyFrom(const ::google::protobuf::Message& from) {
  5214. if (&from == this) return;
  5215. Clear();
  5216. MergeFrom(from);
  5217. }
  5218. void CMsgLANServerAvailable::CopyFrom(const CMsgLANServerAvailable& from) {
  5219. if (&from == this) return;
  5220. Clear();
  5221. MergeFrom(from);
  5222. }
  5223. bool CMsgLANServerAvailable::IsInitialized() const {
  5224. return true;
  5225. }
  5226. void CMsgLANServerAvailable::Swap(CMsgLANServerAvailable* other) {
  5227. if (other != this) {
  5228. std::swap(lobby_id_, other->lobby_id_);
  5229. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5230. _unknown_fields_.Swap(&other->_unknown_fields_);
  5231. std::swap(_cached_size_, other->_cached_size_);
  5232. }
  5233. }
  5234. ::google::protobuf::Metadata CMsgLANServerAvailable::GetMetadata() const {
  5235. protobuf_AssignDescriptorsOnce();
  5236. ::google::protobuf::Metadata metadata;
  5237. metadata.descriptor = CMsgLANServerAvailable_descriptor_;
  5238. metadata.reflection = CMsgLANServerAvailable_reflection_;
  5239. return metadata;
  5240. }
  5241. // ===================================================================
  5242. #ifndef _MSC_VER
  5243. const int CSOEconGameAccountClient::kAdditionalBackpackSlotsFieldNumber;
  5244. const int CSOEconGameAccountClient::kBonusXpTimestampRefreshFieldNumber;
  5245. const int CSOEconGameAccountClient::kBonusXpUsedflagsFieldNumber;
  5246. const int CSOEconGameAccountClient::kElevatedStateFieldNumber;
  5247. const int CSOEconGameAccountClient::kElevatedTimestampFieldNumber;
  5248. #endif // !_MSC_VER
  5249. CSOEconGameAccountClient::CSOEconGameAccountClient()
  5250. : ::google::protobuf::Message() {
  5251. SharedCtor();
  5252. }
  5253. void CSOEconGameAccountClient::InitAsDefaultInstance() {
  5254. }
  5255. CSOEconGameAccountClient::CSOEconGameAccountClient(const CSOEconGameAccountClient& from)
  5256. : ::google::protobuf::Message() {
  5257. SharedCtor();
  5258. MergeFrom(from);
  5259. }
  5260. void CSOEconGameAccountClient::SharedCtor() {
  5261. _cached_size_ = 0;
  5262. additional_backpack_slots_ = 0u;
  5263. bonus_xp_timestamp_refresh_ = 0u;
  5264. bonus_xp_usedflags_ = 0u;
  5265. elevated_state_ = 0u;
  5266. elevated_timestamp_ = 0u;
  5267. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5268. }
  5269. CSOEconGameAccountClient::~CSOEconGameAccountClient() {
  5270. SharedDtor();
  5271. }
  5272. void CSOEconGameAccountClient::SharedDtor() {
  5273. if (this != default_instance_) {
  5274. }
  5275. }
  5276. void CSOEconGameAccountClient::SetCachedSize(int size) const {
  5277. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5278. _cached_size_ = size;
  5279. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5280. }
  5281. const ::google::protobuf::Descriptor* CSOEconGameAccountClient::descriptor() {
  5282. protobuf_AssignDescriptorsOnce();
  5283. return CSOEconGameAccountClient_descriptor_;
  5284. }
  5285. const CSOEconGameAccountClient& CSOEconGameAccountClient::default_instance() {
  5286. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  5287. return *default_instance_;
  5288. }
  5289. CSOEconGameAccountClient* CSOEconGameAccountClient::default_instance_ = NULL;
  5290. CSOEconGameAccountClient* CSOEconGameAccountClient::New() const {
  5291. return new CSOEconGameAccountClient;
  5292. }
  5293. void CSOEconGameAccountClient::Clear() {
  5294. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5295. additional_backpack_slots_ = 0u;
  5296. bonus_xp_timestamp_refresh_ = 0u;
  5297. bonus_xp_usedflags_ = 0u;
  5298. elevated_state_ = 0u;
  5299. elevated_timestamp_ = 0u;
  5300. }
  5301. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5302. mutable_unknown_fields()->Clear();
  5303. }
  5304. bool CSOEconGameAccountClient::MergePartialFromCodedStream(
  5305. ::google::protobuf::io::CodedInputStream* input) {
  5306. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5307. ::google::protobuf::uint32 tag;
  5308. while ((tag = input->ReadTag()) != 0) {
  5309. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5310. // optional uint32 additional_backpack_slots = 1 [default = 0];
  5311. case 1: {
  5312. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5313. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5314. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5315. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5316. input, &additional_backpack_slots_)));
  5317. set_has_additional_backpack_slots();
  5318. } else {
  5319. goto handle_uninterpreted;
  5320. }
  5321. if (input->ExpectTag(101)) goto parse_bonus_xp_timestamp_refresh;
  5322. break;
  5323. }
  5324. // optional fixed32 bonus_xp_timestamp_refresh = 12;
  5325. case 12: {
  5326. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5327. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  5328. parse_bonus_xp_timestamp_refresh:
  5329. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5330. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  5331. input, &bonus_xp_timestamp_refresh_)));
  5332. set_has_bonus_xp_timestamp_refresh();
  5333. } else {
  5334. goto handle_uninterpreted;
  5335. }
  5336. if (input->ExpectTag(104)) goto parse_bonus_xp_usedflags;
  5337. break;
  5338. }
  5339. // optional uint32 bonus_xp_usedflags = 13;
  5340. case 13: {
  5341. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5342. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5343. parse_bonus_xp_usedflags:
  5344. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5345. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5346. input, &bonus_xp_usedflags_)));
  5347. set_has_bonus_xp_usedflags();
  5348. } else {
  5349. goto handle_uninterpreted;
  5350. }
  5351. if (input->ExpectTag(112)) goto parse_elevated_state;
  5352. break;
  5353. }
  5354. // optional uint32 elevated_state = 14;
  5355. case 14: {
  5356. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5357. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5358. parse_elevated_state:
  5359. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5360. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5361. input, &elevated_state_)));
  5362. set_has_elevated_state();
  5363. } else {
  5364. goto handle_uninterpreted;
  5365. }
  5366. if (input->ExpectTag(120)) goto parse_elevated_timestamp;
  5367. break;
  5368. }
  5369. // optional uint32 elevated_timestamp = 15;
  5370. case 15: {
  5371. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5372. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5373. parse_elevated_timestamp:
  5374. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5375. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5376. input, &elevated_timestamp_)));
  5377. set_has_elevated_timestamp();
  5378. } else {
  5379. goto handle_uninterpreted;
  5380. }
  5381. if (input->ExpectAtEnd()) return true;
  5382. break;
  5383. }
  5384. default: {
  5385. handle_uninterpreted:
  5386. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5387. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5388. return true;
  5389. }
  5390. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5391. input, tag, mutable_unknown_fields()));
  5392. break;
  5393. }
  5394. }
  5395. }
  5396. return true;
  5397. #undef DO_
  5398. }
  5399. void CSOEconGameAccountClient::SerializeWithCachedSizes(
  5400. ::google::protobuf::io::CodedOutputStream* output) const {
  5401. // optional uint32 additional_backpack_slots = 1 [default = 0];
  5402. if (has_additional_backpack_slots()) {
  5403. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->additional_backpack_slots(), output);
  5404. }
  5405. // optional fixed32 bonus_xp_timestamp_refresh = 12;
  5406. if (has_bonus_xp_timestamp_refresh()) {
  5407. ::google::protobuf::internal::WireFormatLite::WriteFixed32(12, this->bonus_xp_timestamp_refresh(), output);
  5408. }
  5409. // optional uint32 bonus_xp_usedflags = 13;
  5410. if (has_bonus_xp_usedflags()) {
  5411. ::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->bonus_xp_usedflags(), output);
  5412. }
  5413. // optional uint32 elevated_state = 14;
  5414. if (has_elevated_state()) {
  5415. ::google::protobuf::internal::WireFormatLite::WriteUInt32(14, this->elevated_state(), output);
  5416. }
  5417. // optional uint32 elevated_timestamp = 15;
  5418. if (has_elevated_timestamp()) {
  5419. ::google::protobuf::internal::WireFormatLite::WriteUInt32(15, this->elevated_timestamp(), output);
  5420. }
  5421. if (!unknown_fields().empty()) {
  5422. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5423. unknown_fields(), output);
  5424. }
  5425. }
  5426. ::google::protobuf::uint8* CSOEconGameAccountClient::SerializeWithCachedSizesToArray(
  5427. ::google::protobuf::uint8* target) const {
  5428. // optional uint32 additional_backpack_slots = 1 [default = 0];
  5429. if (has_additional_backpack_slots()) {
  5430. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->additional_backpack_slots(), target);
  5431. }
  5432. // optional fixed32 bonus_xp_timestamp_refresh = 12;
  5433. if (has_bonus_xp_timestamp_refresh()) {
  5434. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(12, this->bonus_xp_timestamp_refresh(), target);
  5435. }
  5436. // optional uint32 bonus_xp_usedflags = 13;
  5437. if (has_bonus_xp_usedflags()) {
  5438. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(13, this->bonus_xp_usedflags(), target);
  5439. }
  5440. // optional uint32 elevated_state = 14;
  5441. if (has_elevated_state()) {
  5442. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(14, this->elevated_state(), target);
  5443. }
  5444. // optional uint32 elevated_timestamp = 15;
  5445. if (has_elevated_timestamp()) {
  5446. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(15, this->elevated_timestamp(), target);
  5447. }
  5448. if (!unknown_fields().empty()) {
  5449. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5450. unknown_fields(), target);
  5451. }
  5452. return target;
  5453. }
  5454. int CSOEconGameAccountClient::ByteSize() const {
  5455. int total_size = 0;
  5456. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5457. // optional uint32 additional_backpack_slots = 1 [default = 0];
  5458. if (has_additional_backpack_slots()) {
  5459. total_size += 1 +
  5460. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5461. this->additional_backpack_slots());
  5462. }
  5463. // optional fixed32 bonus_xp_timestamp_refresh = 12;
  5464. if (has_bonus_xp_timestamp_refresh()) {
  5465. total_size += 1 + 4;
  5466. }
  5467. // optional uint32 bonus_xp_usedflags = 13;
  5468. if (has_bonus_xp_usedflags()) {
  5469. total_size += 1 +
  5470. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5471. this->bonus_xp_usedflags());
  5472. }
  5473. // optional uint32 elevated_state = 14;
  5474. if (has_elevated_state()) {
  5475. total_size += 1 +
  5476. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5477. this->elevated_state());
  5478. }
  5479. // optional uint32 elevated_timestamp = 15;
  5480. if (has_elevated_timestamp()) {
  5481. total_size += 1 +
  5482. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5483. this->elevated_timestamp());
  5484. }
  5485. }
  5486. if (!unknown_fields().empty()) {
  5487. total_size +=
  5488. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5489. unknown_fields());
  5490. }
  5491. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5492. _cached_size_ = total_size;
  5493. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5494. return total_size;
  5495. }
  5496. void CSOEconGameAccountClient::MergeFrom(const ::google::protobuf::Message& from) {
  5497. GOOGLE_CHECK_NE(&from, this);
  5498. const CSOEconGameAccountClient* source =
  5499. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconGameAccountClient*>(
  5500. &from);
  5501. if (source == NULL) {
  5502. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5503. } else {
  5504. MergeFrom(*source);
  5505. }
  5506. }
  5507. void CSOEconGameAccountClient::MergeFrom(const CSOEconGameAccountClient& from) {
  5508. GOOGLE_CHECK_NE(&from, this);
  5509. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5510. if (from.has_additional_backpack_slots()) {
  5511. set_additional_backpack_slots(from.additional_backpack_slots());
  5512. }
  5513. if (from.has_bonus_xp_timestamp_refresh()) {
  5514. set_bonus_xp_timestamp_refresh(from.bonus_xp_timestamp_refresh());
  5515. }
  5516. if (from.has_bonus_xp_usedflags()) {
  5517. set_bonus_xp_usedflags(from.bonus_xp_usedflags());
  5518. }
  5519. if (from.has_elevated_state()) {
  5520. set_elevated_state(from.elevated_state());
  5521. }
  5522. if (from.has_elevated_timestamp()) {
  5523. set_elevated_timestamp(from.elevated_timestamp());
  5524. }
  5525. }
  5526. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5527. }
  5528. void CSOEconGameAccountClient::CopyFrom(const ::google::protobuf::Message& from) {
  5529. if (&from == this) return;
  5530. Clear();
  5531. MergeFrom(from);
  5532. }
  5533. void CSOEconGameAccountClient::CopyFrom(const CSOEconGameAccountClient& from) {
  5534. if (&from == this) return;
  5535. Clear();
  5536. MergeFrom(from);
  5537. }
  5538. bool CSOEconGameAccountClient::IsInitialized() const {
  5539. return true;
  5540. }
  5541. void CSOEconGameAccountClient::Swap(CSOEconGameAccountClient* other) {
  5542. if (other != this) {
  5543. std::swap(additional_backpack_slots_, other->additional_backpack_slots_);
  5544. std::swap(bonus_xp_timestamp_refresh_, other->bonus_xp_timestamp_refresh_);
  5545. std::swap(bonus_xp_usedflags_, other->bonus_xp_usedflags_);
  5546. std::swap(elevated_state_, other->elevated_state_);
  5547. std::swap(elevated_timestamp_, other->elevated_timestamp_);
  5548. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5549. _unknown_fields_.Swap(&other->_unknown_fields_);
  5550. std::swap(_cached_size_, other->_cached_size_);
  5551. }
  5552. }
  5553. ::google::protobuf::Metadata CSOEconGameAccountClient::GetMetadata() const {
  5554. protobuf_AssignDescriptorsOnce();
  5555. ::google::protobuf::Metadata metadata;
  5556. metadata.descriptor = CSOEconGameAccountClient_descriptor_;
  5557. metadata.reflection = CSOEconGameAccountClient_reflection_;
  5558. return metadata;
  5559. }
  5560. // ===================================================================
  5561. #ifndef _MSC_VER
  5562. const int CSOItemCriteriaCondition::kOpFieldNumber;
  5563. const int CSOItemCriteriaCondition::kFieldFieldNumber;
  5564. const int CSOItemCriteriaCondition::kRequiredFieldNumber;
  5565. const int CSOItemCriteriaCondition::kFloatValueFieldNumber;
  5566. const int CSOItemCriteriaCondition::kStringValueFieldNumber;
  5567. #endif // !_MSC_VER
  5568. CSOItemCriteriaCondition::CSOItemCriteriaCondition()
  5569. : ::google::protobuf::Message() {
  5570. SharedCtor();
  5571. }
  5572. void CSOItemCriteriaCondition::InitAsDefaultInstance() {
  5573. }
  5574. CSOItemCriteriaCondition::CSOItemCriteriaCondition(const CSOItemCriteriaCondition& from)
  5575. : ::google::protobuf::Message() {
  5576. SharedCtor();
  5577. MergeFrom(from);
  5578. }
  5579. void CSOItemCriteriaCondition::SharedCtor() {
  5580. _cached_size_ = 0;
  5581. op_ = 0;
  5582. field_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5583. required_ = false;
  5584. float_value_ = 0;
  5585. string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5586. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5587. }
  5588. CSOItemCriteriaCondition::~CSOItemCriteriaCondition() {
  5589. SharedDtor();
  5590. }
  5591. void CSOItemCriteriaCondition::SharedDtor() {
  5592. if (field_ != &::google::protobuf::internal::kEmptyString) {
  5593. delete field_;
  5594. }
  5595. if (string_value_ != &::google::protobuf::internal::kEmptyString) {
  5596. delete string_value_;
  5597. }
  5598. if (this != default_instance_) {
  5599. }
  5600. }
  5601. void CSOItemCriteriaCondition::SetCachedSize(int size) const {
  5602. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5603. _cached_size_ = size;
  5604. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5605. }
  5606. const ::google::protobuf::Descriptor* CSOItemCriteriaCondition::descriptor() {
  5607. protobuf_AssignDescriptorsOnce();
  5608. return CSOItemCriteriaCondition_descriptor_;
  5609. }
  5610. const CSOItemCriteriaCondition& CSOItemCriteriaCondition::default_instance() {
  5611. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  5612. return *default_instance_;
  5613. }
  5614. CSOItemCriteriaCondition* CSOItemCriteriaCondition::default_instance_ = NULL;
  5615. CSOItemCriteriaCondition* CSOItemCriteriaCondition::New() const {
  5616. return new CSOItemCriteriaCondition;
  5617. }
  5618. void CSOItemCriteriaCondition::Clear() {
  5619. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5620. op_ = 0;
  5621. if (has_field()) {
  5622. if (field_ != &::google::protobuf::internal::kEmptyString) {
  5623. field_->clear();
  5624. }
  5625. }
  5626. required_ = false;
  5627. float_value_ = 0;
  5628. if (has_string_value()) {
  5629. if (string_value_ != &::google::protobuf::internal::kEmptyString) {
  5630. string_value_->clear();
  5631. }
  5632. }
  5633. }
  5634. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5635. mutable_unknown_fields()->Clear();
  5636. }
  5637. bool CSOItemCriteriaCondition::MergePartialFromCodedStream(
  5638. ::google::protobuf::io::CodedInputStream* input) {
  5639. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5640. ::google::protobuf::uint32 tag;
  5641. while ((tag = input->ReadTag()) != 0) {
  5642. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5643. // optional int32 op = 1;
  5644. case 1: {
  5645. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5646. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5647. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5648. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5649. input, &op_)));
  5650. set_has_op();
  5651. } else {
  5652. goto handle_uninterpreted;
  5653. }
  5654. if (input->ExpectTag(18)) goto parse_field;
  5655. break;
  5656. }
  5657. // optional string field = 2;
  5658. case 2: {
  5659. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5660. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5661. parse_field:
  5662. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5663. input, this->mutable_field()));
  5664. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5665. this->field().data(), this->field().length(),
  5666. ::google::protobuf::internal::WireFormat::PARSE);
  5667. } else {
  5668. goto handle_uninterpreted;
  5669. }
  5670. if (input->ExpectTag(24)) goto parse_required;
  5671. break;
  5672. }
  5673. // optional bool required = 3;
  5674. case 3: {
  5675. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5676. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5677. parse_required:
  5678. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5679. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5680. input, &required_)));
  5681. set_has_required();
  5682. } else {
  5683. goto handle_uninterpreted;
  5684. }
  5685. if (input->ExpectTag(37)) goto parse_float_value;
  5686. break;
  5687. }
  5688. // optional float float_value = 4;
  5689. case 4: {
  5690. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5691. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  5692. parse_float_value:
  5693. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5694. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  5695. input, &float_value_)));
  5696. set_has_float_value();
  5697. } else {
  5698. goto handle_uninterpreted;
  5699. }
  5700. if (input->ExpectTag(42)) goto parse_string_value;
  5701. break;
  5702. }
  5703. // optional string string_value = 5;
  5704. case 5: {
  5705. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5706. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5707. parse_string_value:
  5708. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5709. input, this->mutable_string_value()));
  5710. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5711. this->string_value().data(), this->string_value().length(),
  5712. ::google::protobuf::internal::WireFormat::PARSE);
  5713. } else {
  5714. goto handle_uninterpreted;
  5715. }
  5716. if (input->ExpectAtEnd()) return true;
  5717. break;
  5718. }
  5719. default: {
  5720. handle_uninterpreted:
  5721. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5722. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5723. return true;
  5724. }
  5725. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5726. input, tag, mutable_unknown_fields()));
  5727. break;
  5728. }
  5729. }
  5730. }
  5731. return true;
  5732. #undef DO_
  5733. }
  5734. void CSOItemCriteriaCondition::SerializeWithCachedSizes(
  5735. ::google::protobuf::io::CodedOutputStream* output) const {
  5736. // optional int32 op = 1;
  5737. if (has_op()) {
  5738. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->op(), output);
  5739. }
  5740. // optional string field = 2;
  5741. if (has_field()) {
  5742. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5743. this->field().data(), this->field().length(),
  5744. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5745. ::google::protobuf::internal::WireFormatLite::WriteString(
  5746. 2, this->field(), output);
  5747. }
  5748. // optional bool required = 3;
  5749. if (has_required()) {
  5750. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->required(), output);
  5751. }
  5752. // optional float float_value = 4;
  5753. if (has_float_value()) {
  5754. ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->float_value(), output);
  5755. }
  5756. // optional string string_value = 5;
  5757. if (has_string_value()) {
  5758. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5759. this->string_value().data(), this->string_value().length(),
  5760. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5761. ::google::protobuf::internal::WireFormatLite::WriteString(
  5762. 5, this->string_value(), output);
  5763. }
  5764. if (!unknown_fields().empty()) {
  5765. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5766. unknown_fields(), output);
  5767. }
  5768. }
  5769. ::google::protobuf::uint8* CSOItemCriteriaCondition::SerializeWithCachedSizesToArray(
  5770. ::google::protobuf::uint8* target) const {
  5771. // optional int32 op = 1;
  5772. if (has_op()) {
  5773. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->op(), target);
  5774. }
  5775. // optional string field = 2;
  5776. if (has_field()) {
  5777. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5778. this->field().data(), this->field().length(),
  5779. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5780. target =
  5781. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5782. 2, this->field(), target);
  5783. }
  5784. // optional bool required = 3;
  5785. if (has_required()) {
  5786. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->required(), target);
  5787. }
  5788. // optional float float_value = 4;
  5789. if (has_float_value()) {
  5790. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->float_value(), target);
  5791. }
  5792. // optional string string_value = 5;
  5793. if (has_string_value()) {
  5794. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5795. this->string_value().data(), this->string_value().length(),
  5796. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5797. target =
  5798. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5799. 5, this->string_value(), target);
  5800. }
  5801. if (!unknown_fields().empty()) {
  5802. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5803. unknown_fields(), target);
  5804. }
  5805. return target;
  5806. }
  5807. int CSOItemCriteriaCondition::ByteSize() const {
  5808. int total_size = 0;
  5809. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5810. // optional int32 op = 1;
  5811. if (has_op()) {
  5812. total_size += 1 +
  5813. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5814. this->op());
  5815. }
  5816. // optional string field = 2;
  5817. if (has_field()) {
  5818. total_size += 1 +
  5819. ::google::protobuf::internal::WireFormatLite::StringSize(
  5820. this->field());
  5821. }
  5822. // optional bool required = 3;
  5823. if (has_required()) {
  5824. total_size += 1 + 1;
  5825. }
  5826. // optional float float_value = 4;
  5827. if (has_float_value()) {
  5828. total_size += 1 + 4;
  5829. }
  5830. // optional string string_value = 5;
  5831. if (has_string_value()) {
  5832. total_size += 1 +
  5833. ::google::protobuf::internal::WireFormatLite::StringSize(
  5834. this->string_value());
  5835. }
  5836. }
  5837. if (!unknown_fields().empty()) {
  5838. total_size +=
  5839. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5840. unknown_fields());
  5841. }
  5842. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5843. _cached_size_ = total_size;
  5844. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5845. return total_size;
  5846. }
  5847. void CSOItemCriteriaCondition::MergeFrom(const ::google::protobuf::Message& from) {
  5848. GOOGLE_CHECK_NE(&from, this);
  5849. const CSOItemCriteriaCondition* source =
  5850. ::google::protobuf::internal::dynamic_cast_if_available<const CSOItemCriteriaCondition*>(
  5851. &from);
  5852. if (source == NULL) {
  5853. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5854. } else {
  5855. MergeFrom(*source);
  5856. }
  5857. }
  5858. void CSOItemCriteriaCondition::MergeFrom(const CSOItemCriteriaCondition& from) {
  5859. GOOGLE_CHECK_NE(&from, this);
  5860. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5861. if (from.has_op()) {
  5862. set_op(from.op());
  5863. }
  5864. if (from.has_field()) {
  5865. set_field(from.field());
  5866. }
  5867. if (from.has_required()) {
  5868. set_required(from.required());
  5869. }
  5870. if (from.has_float_value()) {
  5871. set_float_value(from.float_value());
  5872. }
  5873. if (from.has_string_value()) {
  5874. set_string_value(from.string_value());
  5875. }
  5876. }
  5877. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5878. }
  5879. void CSOItemCriteriaCondition::CopyFrom(const ::google::protobuf::Message& from) {
  5880. if (&from == this) return;
  5881. Clear();
  5882. MergeFrom(from);
  5883. }
  5884. void CSOItemCriteriaCondition::CopyFrom(const CSOItemCriteriaCondition& from) {
  5885. if (&from == this) return;
  5886. Clear();
  5887. MergeFrom(from);
  5888. }
  5889. bool CSOItemCriteriaCondition::IsInitialized() const {
  5890. return true;
  5891. }
  5892. void CSOItemCriteriaCondition::Swap(CSOItemCriteriaCondition* other) {
  5893. if (other != this) {
  5894. std::swap(op_, other->op_);
  5895. std::swap(field_, other->field_);
  5896. std::swap(required_, other->required_);
  5897. std::swap(float_value_, other->float_value_);
  5898. std::swap(string_value_, other->string_value_);
  5899. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5900. _unknown_fields_.Swap(&other->_unknown_fields_);
  5901. std::swap(_cached_size_, other->_cached_size_);
  5902. }
  5903. }
  5904. ::google::protobuf::Metadata CSOItemCriteriaCondition::GetMetadata() const {
  5905. protobuf_AssignDescriptorsOnce();
  5906. ::google::protobuf::Metadata metadata;
  5907. metadata.descriptor = CSOItemCriteriaCondition_descriptor_;
  5908. metadata.reflection = CSOItemCriteriaCondition_reflection_;
  5909. return metadata;
  5910. }
  5911. // ===================================================================
  5912. #ifndef _MSC_VER
  5913. const int CSOItemCriteria::kItemLevelFieldNumber;
  5914. const int CSOItemCriteria::kItemQualityFieldNumber;
  5915. const int CSOItemCriteria::kItemLevelSetFieldNumber;
  5916. const int CSOItemCriteria::kItemQualitySetFieldNumber;
  5917. const int CSOItemCriteria::kInitialInventoryFieldNumber;
  5918. const int CSOItemCriteria::kInitialQuantityFieldNumber;
  5919. const int CSOItemCriteria::kIgnoreEnabledFlagFieldNumber;
  5920. const int CSOItemCriteria::kConditionsFieldNumber;
  5921. const int CSOItemCriteria::kItemRarityFieldNumber;
  5922. const int CSOItemCriteria::kItemRaritySetFieldNumber;
  5923. const int CSOItemCriteria::kRecentOnlyFieldNumber;
  5924. #endif // !_MSC_VER
  5925. CSOItemCriteria::CSOItemCriteria()
  5926. : ::google::protobuf::Message() {
  5927. SharedCtor();
  5928. }
  5929. void CSOItemCriteria::InitAsDefaultInstance() {
  5930. }
  5931. CSOItemCriteria::CSOItemCriteria(const CSOItemCriteria& from)
  5932. : ::google::protobuf::Message() {
  5933. SharedCtor();
  5934. MergeFrom(from);
  5935. }
  5936. void CSOItemCriteria::SharedCtor() {
  5937. _cached_size_ = 0;
  5938. item_level_ = 0u;
  5939. item_quality_ = 0;
  5940. item_level_set_ = false;
  5941. item_quality_set_ = false;
  5942. initial_inventory_ = 0u;
  5943. initial_quantity_ = 0u;
  5944. ignore_enabled_flag_ = false;
  5945. item_rarity_ = 0;
  5946. item_rarity_set_ = false;
  5947. recent_only_ = false;
  5948. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5949. }
  5950. CSOItemCriteria::~CSOItemCriteria() {
  5951. SharedDtor();
  5952. }
  5953. void CSOItemCriteria::SharedDtor() {
  5954. if (this != default_instance_) {
  5955. }
  5956. }
  5957. void CSOItemCriteria::SetCachedSize(int size) const {
  5958. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5959. _cached_size_ = size;
  5960. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5961. }
  5962. const ::google::protobuf::Descriptor* CSOItemCriteria::descriptor() {
  5963. protobuf_AssignDescriptorsOnce();
  5964. return CSOItemCriteria_descriptor_;
  5965. }
  5966. const CSOItemCriteria& CSOItemCriteria::default_instance() {
  5967. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  5968. return *default_instance_;
  5969. }
  5970. CSOItemCriteria* CSOItemCriteria::default_instance_ = NULL;
  5971. CSOItemCriteria* CSOItemCriteria::New() const {
  5972. return new CSOItemCriteria;
  5973. }
  5974. void CSOItemCriteria::Clear() {
  5975. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5976. item_level_ = 0u;
  5977. item_quality_ = 0;
  5978. item_level_set_ = false;
  5979. item_quality_set_ = false;
  5980. initial_inventory_ = 0u;
  5981. initial_quantity_ = 0u;
  5982. ignore_enabled_flag_ = false;
  5983. }
  5984. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  5985. item_rarity_ = 0;
  5986. item_rarity_set_ = false;
  5987. recent_only_ = false;
  5988. }
  5989. conditions_.Clear();
  5990. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5991. mutable_unknown_fields()->Clear();
  5992. }
  5993. bool CSOItemCriteria::MergePartialFromCodedStream(
  5994. ::google::protobuf::io::CodedInputStream* input) {
  5995. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5996. ::google::protobuf::uint32 tag;
  5997. while ((tag = input->ReadTag()) != 0) {
  5998. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5999. // optional uint32 item_level = 1;
  6000. case 1: {
  6001. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6002. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6003. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6004. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6005. input, &item_level_)));
  6006. set_has_item_level();
  6007. } else {
  6008. goto handle_uninterpreted;
  6009. }
  6010. if (input->ExpectTag(16)) goto parse_item_quality;
  6011. break;
  6012. }
  6013. // optional int32 item_quality = 2;
  6014. case 2: {
  6015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6017. parse_item_quality:
  6018. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6019. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6020. input, &item_quality_)));
  6021. set_has_item_quality();
  6022. } else {
  6023. goto handle_uninterpreted;
  6024. }
  6025. if (input->ExpectTag(24)) goto parse_item_level_set;
  6026. break;
  6027. }
  6028. // optional bool item_level_set = 3;
  6029. case 3: {
  6030. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6031. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6032. parse_item_level_set:
  6033. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6034. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6035. input, &item_level_set_)));
  6036. set_has_item_level_set();
  6037. } else {
  6038. goto handle_uninterpreted;
  6039. }
  6040. if (input->ExpectTag(32)) goto parse_item_quality_set;
  6041. break;
  6042. }
  6043. // optional bool item_quality_set = 4;
  6044. case 4: {
  6045. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6046. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6047. parse_item_quality_set:
  6048. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6049. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6050. input, &item_quality_set_)));
  6051. set_has_item_quality_set();
  6052. } else {
  6053. goto handle_uninterpreted;
  6054. }
  6055. if (input->ExpectTag(40)) goto parse_initial_inventory;
  6056. break;
  6057. }
  6058. // optional uint32 initial_inventory = 5;
  6059. case 5: {
  6060. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6061. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6062. parse_initial_inventory:
  6063. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6064. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6065. input, &initial_inventory_)));
  6066. set_has_initial_inventory();
  6067. } else {
  6068. goto handle_uninterpreted;
  6069. }
  6070. if (input->ExpectTag(48)) goto parse_initial_quantity;
  6071. break;
  6072. }
  6073. // optional uint32 initial_quantity = 6;
  6074. case 6: {
  6075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6077. parse_initial_quantity:
  6078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6079. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6080. input, &initial_quantity_)));
  6081. set_has_initial_quantity();
  6082. } else {
  6083. goto handle_uninterpreted;
  6084. }
  6085. if (input->ExpectTag(64)) goto parse_ignore_enabled_flag;
  6086. break;
  6087. }
  6088. // optional bool ignore_enabled_flag = 8;
  6089. case 8: {
  6090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6092. parse_ignore_enabled_flag:
  6093. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6094. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6095. input, &ignore_enabled_flag_)));
  6096. set_has_ignore_enabled_flag();
  6097. } else {
  6098. goto handle_uninterpreted;
  6099. }
  6100. if (input->ExpectTag(74)) goto parse_conditions;
  6101. break;
  6102. }
  6103. // repeated .CSOItemCriteriaCondition conditions = 9;
  6104. case 9: {
  6105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6107. parse_conditions:
  6108. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6109. input, add_conditions()));
  6110. } else {
  6111. goto handle_uninterpreted;
  6112. }
  6113. if (input->ExpectTag(74)) goto parse_conditions;
  6114. if (input->ExpectTag(80)) goto parse_item_rarity;
  6115. break;
  6116. }
  6117. // optional int32 item_rarity = 10;
  6118. case 10: {
  6119. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6120. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6121. parse_item_rarity:
  6122. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6123. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6124. input, &item_rarity_)));
  6125. set_has_item_rarity();
  6126. } else {
  6127. goto handle_uninterpreted;
  6128. }
  6129. if (input->ExpectTag(88)) goto parse_item_rarity_set;
  6130. break;
  6131. }
  6132. // optional bool item_rarity_set = 11;
  6133. case 11: {
  6134. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6135. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6136. parse_item_rarity_set:
  6137. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6138. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6139. input, &item_rarity_set_)));
  6140. set_has_item_rarity_set();
  6141. } else {
  6142. goto handle_uninterpreted;
  6143. }
  6144. if (input->ExpectTag(96)) goto parse_recent_only;
  6145. break;
  6146. }
  6147. // optional bool recent_only = 12;
  6148. case 12: {
  6149. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6150. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6151. parse_recent_only:
  6152. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6153. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6154. input, &recent_only_)));
  6155. set_has_recent_only();
  6156. } else {
  6157. goto handle_uninterpreted;
  6158. }
  6159. if (input->ExpectAtEnd()) return true;
  6160. break;
  6161. }
  6162. default: {
  6163. handle_uninterpreted:
  6164. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6165. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6166. return true;
  6167. }
  6168. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6169. input, tag, mutable_unknown_fields()));
  6170. break;
  6171. }
  6172. }
  6173. }
  6174. return true;
  6175. #undef DO_
  6176. }
  6177. void CSOItemCriteria::SerializeWithCachedSizes(
  6178. ::google::protobuf::io::CodedOutputStream* output) const {
  6179. // optional uint32 item_level = 1;
  6180. if (has_item_level()) {
  6181. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->item_level(), output);
  6182. }
  6183. // optional int32 item_quality = 2;
  6184. if (has_item_quality()) {
  6185. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->item_quality(), output);
  6186. }
  6187. // optional bool item_level_set = 3;
  6188. if (has_item_level_set()) {
  6189. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->item_level_set(), output);
  6190. }
  6191. // optional bool item_quality_set = 4;
  6192. if (has_item_quality_set()) {
  6193. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->item_quality_set(), output);
  6194. }
  6195. // optional uint32 initial_inventory = 5;
  6196. if (has_initial_inventory()) {
  6197. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->initial_inventory(), output);
  6198. }
  6199. // optional uint32 initial_quantity = 6;
  6200. if (has_initial_quantity()) {
  6201. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->initial_quantity(), output);
  6202. }
  6203. // optional bool ignore_enabled_flag = 8;
  6204. if (has_ignore_enabled_flag()) {
  6205. ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->ignore_enabled_flag(), output);
  6206. }
  6207. // repeated .CSOItemCriteriaCondition conditions = 9;
  6208. for (int i = 0; i < this->conditions_size(); i++) {
  6209. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6210. 9, this->conditions(i), output);
  6211. }
  6212. // optional int32 item_rarity = 10;
  6213. if (has_item_rarity()) {
  6214. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->item_rarity(), output);
  6215. }
  6216. // optional bool item_rarity_set = 11;
  6217. if (has_item_rarity_set()) {
  6218. ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->item_rarity_set(), output);
  6219. }
  6220. // optional bool recent_only = 12;
  6221. if (has_recent_only()) {
  6222. ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->recent_only(), output);
  6223. }
  6224. if (!unknown_fields().empty()) {
  6225. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6226. unknown_fields(), output);
  6227. }
  6228. }
  6229. ::google::protobuf::uint8* CSOItemCriteria::SerializeWithCachedSizesToArray(
  6230. ::google::protobuf::uint8* target) const {
  6231. // optional uint32 item_level = 1;
  6232. if (has_item_level()) {
  6233. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->item_level(), target);
  6234. }
  6235. // optional int32 item_quality = 2;
  6236. if (has_item_quality()) {
  6237. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->item_quality(), target);
  6238. }
  6239. // optional bool item_level_set = 3;
  6240. if (has_item_level_set()) {
  6241. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->item_level_set(), target);
  6242. }
  6243. // optional bool item_quality_set = 4;
  6244. if (has_item_quality_set()) {
  6245. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->item_quality_set(), target);
  6246. }
  6247. // optional uint32 initial_inventory = 5;
  6248. if (has_initial_inventory()) {
  6249. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->initial_inventory(), target);
  6250. }
  6251. // optional uint32 initial_quantity = 6;
  6252. if (has_initial_quantity()) {
  6253. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->initial_quantity(), target);
  6254. }
  6255. // optional bool ignore_enabled_flag = 8;
  6256. if (has_ignore_enabled_flag()) {
  6257. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->ignore_enabled_flag(), target);
  6258. }
  6259. // repeated .CSOItemCriteriaCondition conditions = 9;
  6260. for (int i = 0; i < this->conditions_size(); i++) {
  6261. target = ::google::protobuf::internal::WireFormatLite::
  6262. WriteMessageNoVirtualToArray(
  6263. 9, this->conditions(i), target);
  6264. }
  6265. // optional int32 item_rarity = 10;
  6266. if (has_item_rarity()) {
  6267. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->item_rarity(), target);
  6268. }
  6269. // optional bool item_rarity_set = 11;
  6270. if (has_item_rarity_set()) {
  6271. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->item_rarity_set(), target);
  6272. }
  6273. // optional bool recent_only = 12;
  6274. if (has_recent_only()) {
  6275. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->recent_only(), target);
  6276. }
  6277. if (!unknown_fields().empty()) {
  6278. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6279. unknown_fields(), target);
  6280. }
  6281. return target;
  6282. }
  6283. int CSOItemCriteria::ByteSize() const {
  6284. int total_size = 0;
  6285. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6286. // optional uint32 item_level = 1;
  6287. if (has_item_level()) {
  6288. total_size += 1 +
  6289. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6290. this->item_level());
  6291. }
  6292. // optional int32 item_quality = 2;
  6293. if (has_item_quality()) {
  6294. total_size += 1 +
  6295. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6296. this->item_quality());
  6297. }
  6298. // optional bool item_level_set = 3;
  6299. if (has_item_level_set()) {
  6300. total_size += 1 + 1;
  6301. }
  6302. // optional bool item_quality_set = 4;
  6303. if (has_item_quality_set()) {
  6304. total_size += 1 + 1;
  6305. }
  6306. // optional uint32 initial_inventory = 5;
  6307. if (has_initial_inventory()) {
  6308. total_size += 1 +
  6309. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6310. this->initial_inventory());
  6311. }
  6312. // optional uint32 initial_quantity = 6;
  6313. if (has_initial_quantity()) {
  6314. total_size += 1 +
  6315. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6316. this->initial_quantity());
  6317. }
  6318. // optional bool ignore_enabled_flag = 8;
  6319. if (has_ignore_enabled_flag()) {
  6320. total_size += 1 + 1;
  6321. }
  6322. }
  6323. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  6324. // optional int32 item_rarity = 10;
  6325. if (has_item_rarity()) {
  6326. total_size += 1 +
  6327. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6328. this->item_rarity());
  6329. }
  6330. // optional bool item_rarity_set = 11;
  6331. if (has_item_rarity_set()) {
  6332. total_size += 1 + 1;
  6333. }
  6334. // optional bool recent_only = 12;
  6335. if (has_recent_only()) {
  6336. total_size += 1 + 1;
  6337. }
  6338. }
  6339. // repeated .CSOItemCriteriaCondition conditions = 9;
  6340. total_size += 1 * this->conditions_size();
  6341. for (int i = 0; i < this->conditions_size(); i++) {
  6342. total_size +=
  6343. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6344. this->conditions(i));
  6345. }
  6346. if (!unknown_fields().empty()) {
  6347. total_size +=
  6348. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6349. unknown_fields());
  6350. }
  6351. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6352. _cached_size_ = total_size;
  6353. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6354. return total_size;
  6355. }
  6356. void CSOItemCriteria::MergeFrom(const ::google::protobuf::Message& from) {
  6357. GOOGLE_CHECK_NE(&from, this);
  6358. const CSOItemCriteria* source =
  6359. ::google::protobuf::internal::dynamic_cast_if_available<const CSOItemCriteria*>(
  6360. &from);
  6361. if (source == NULL) {
  6362. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6363. } else {
  6364. MergeFrom(*source);
  6365. }
  6366. }
  6367. void CSOItemCriteria::MergeFrom(const CSOItemCriteria& from) {
  6368. GOOGLE_CHECK_NE(&from, this);
  6369. conditions_.MergeFrom(from.conditions_);
  6370. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6371. if (from.has_item_level()) {
  6372. set_item_level(from.item_level());
  6373. }
  6374. if (from.has_item_quality()) {
  6375. set_item_quality(from.item_quality());
  6376. }
  6377. if (from.has_item_level_set()) {
  6378. set_item_level_set(from.item_level_set());
  6379. }
  6380. if (from.has_item_quality_set()) {
  6381. set_item_quality_set(from.item_quality_set());
  6382. }
  6383. if (from.has_initial_inventory()) {
  6384. set_initial_inventory(from.initial_inventory());
  6385. }
  6386. if (from.has_initial_quantity()) {
  6387. set_initial_quantity(from.initial_quantity());
  6388. }
  6389. if (from.has_ignore_enabled_flag()) {
  6390. set_ignore_enabled_flag(from.ignore_enabled_flag());
  6391. }
  6392. }
  6393. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  6394. if (from.has_item_rarity()) {
  6395. set_item_rarity(from.item_rarity());
  6396. }
  6397. if (from.has_item_rarity_set()) {
  6398. set_item_rarity_set(from.item_rarity_set());
  6399. }
  6400. if (from.has_recent_only()) {
  6401. set_recent_only(from.recent_only());
  6402. }
  6403. }
  6404. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6405. }
  6406. void CSOItemCriteria::CopyFrom(const ::google::protobuf::Message& from) {
  6407. if (&from == this) return;
  6408. Clear();
  6409. MergeFrom(from);
  6410. }
  6411. void CSOItemCriteria::CopyFrom(const CSOItemCriteria& from) {
  6412. if (&from == this) return;
  6413. Clear();
  6414. MergeFrom(from);
  6415. }
  6416. bool CSOItemCriteria::IsInitialized() const {
  6417. return true;
  6418. }
  6419. void CSOItemCriteria::Swap(CSOItemCriteria* other) {
  6420. if (other != this) {
  6421. std::swap(item_level_, other->item_level_);
  6422. std::swap(item_quality_, other->item_quality_);
  6423. std::swap(item_level_set_, other->item_level_set_);
  6424. std::swap(item_quality_set_, other->item_quality_set_);
  6425. std::swap(initial_inventory_, other->initial_inventory_);
  6426. std::swap(initial_quantity_, other->initial_quantity_);
  6427. std::swap(ignore_enabled_flag_, other->ignore_enabled_flag_);
  6428. conditions_.Swap(&other->conditions_);
  6429. std::swap(item_rarity_, other->item_rarity_);
  6430. std::swap(item_rarity_set_, other->item_rarity_set_);
  6431. std::swap(recent_only_, other->recent_only_);
  6432. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6433. _unknown_fields_.Swap(&other->_unknown_fields_);
  6434. std::swap(_cached_size_, other->_cached_size_);
  6435. }
  6436. }
  6437. ::google::protobuf::Metadata CSOItemCriteria::GetMetadata() const {
  6438. protobuf_AssignDescriptorsOnce();
  6439. ::google::protobuf::Metadata metadata;
  6440. metadata.descriptor = CSOItemCriteria_descriptor_;
  6441. metadata.reflection = CSOItemCriteria_reflection_;
  6442. return metadata;
  6443. }
  6444. // ===================================================================
  6445. #ifndef _MSC_VER
  6446. const int CSOItemRecipe::kDefIndexFieldNumber;
  6447. const int CSOItemRecipe::kNameFieldNumber;
  6448. const int CSOItemRecipe::kNAFieldNumber;
  6449. const int CSOItemRecipe::kDescInputsFieldNumber;
  6450. const int CSOItemRecipe::kDescOutputsFieldNumber;
  6451. const int CSOItemRecipe::kDiAFieldNumber;
  6452. const int CSOItemRecipe::kDiBFieldNumber;
  6453. const int CSOItemRecipe::kDiCFieldNumber;
  6454. const int CSOItemRecipe::kDoAFieldNumber;
  6455. const int CSOItemRecipe::kDoBFieldNumber;
  6456. const int CSOItemRecipe::kDoCFieldNumber;
  6457. const int CSOItemRecipe::kRequiresAllSameClassFieldNumber;
  6458. const int CSOItemRecipe::kRequiresAllSameSlotFieldNumber;
  6459. const int CSOItemRecipe::kClassUsageForOutputFieldNumber;
  6460. const int CSOItemRecipe::kSlotUsageForOutputFieldNumber;
  6461. const int CSOItemRecipe::kSetForOutputFieldNumber;
  6462. const int CSOItemRecipe::kInputItemsCriteriaFieldNumber;
  6463. const int CSOItemRecipe::kOutputItemsCriteriaFieldNumber;
  6464. const int CSOItemRecipe::kInputItemDupeCountsFieldNumber;
  6465. #endif // !_MSC_VER
  6466. CSOItemRecipe::CSOItemRecipe()
  6467. : ::google::protobuf::Message() {
  6468. SharedCtor();
  6469. }
  6470. void CSOItemRecipe::InitAsDefaultInstance() {
  6471. }
  6472. CSOItemRecipe::CSOItemRecipe(const CSOItemRecipe& from)
  6473. : ::google::protobuf::Message() {
  6474. SharedCtor();
  6475. MergeFrom(from);
  6476. }
  6477. void CSOItemRecipe::SharedCtor() {
  6478. _cached_size_ = 0;
  6479. def_index_ = 0u;
  6480. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6481. n_a_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6482. desc_inputs_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6483. desc_outputs_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6484. di_a_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6485. di_b_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6486. di_c_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6487. do_a_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6488. do_b_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6489. do_c_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  6490. requires_all_same_class_ = false;
  6491. requires_all_same_slot_ = false;
  6492. class_usage_for_output_ = 0;
  6493. slot_usage_for_output_ = 0;
  6494. set_for_output_ = 0;
  6495. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6496. }
  6497. CSOItemRecipe::~CSOItemRecipe() {
  6498. SharedDtor();
  6499. }
  6500. void CSOItemRecipe::SharedDtor() {
  6501. if (name_ != &::google::protobuf::internal::kEmptyString) {
  6502. delete name_;
  6503. }
  6504. if (n_a_ != &::google::protobuf::internal::kEmptyString) {
  6505. delete n_a_;
  6506. }
  6507. if (desc_inputs_ != &::google::protobuf::internal::kEmptyString) {
  6508. delete desc_inputs_;
  6509. }
  6510. if (desc_outputs_ != &::google::protobuf::internal::kEmptyString) {
  6511. delete desc_outputs_;
  6512. }
  6513. if (di_a_ != &::google::protobuf::internal::kEmptyString) {
  6514. delete di_a_;
  6515. }
  6516. if (di_b_ != &::google::protobuf::internal::kEmptyString) {
  6517. delete di_b_;
  6518. }
  6519. if (di_c_ != &::google::protobuf::internal::kEmptyString) {
  6520. delete di_c_;
  6521. }
  6522. if (do_a_ != &::google::protobuf::internal::kEmptyString) {
  6523. delete do_a_;
  6524. }
  6525. if (do_b_ != &::google::protobuf::internal::kEmptyString) {
  6526. delete do_b_;
  6527. }
  6528. if (do_c_ != &::google::protobuf::internal::kEmptyString) {
  6529. delete do_c_;
  6530. }
  6531. if (this != default_instance_) {
  6532. }
  6533. }
  6534. void CSOItemRecipe::SetCachedSize(int size) const {
  6535. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6536. _cached_size_ = size;
  6537. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6538. }
  6539. const ::google::protobuf::Descriptor* CSOItemRecipe::descriptor() {
  6540. protobuf_AssignDescriptorsOnce();
  6541. return CSOItemRecipe_descriptor_;
  6542. }
  6543. const CSOItemRecipe& CSOItemRecipe::default_instance() {
  6544. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  6545. return *default_instance_;
  6546. }
  6547. CSOItemRecipe* CSOItemRecipe::default_instance_ = NULL;
  6548. CSOItemRecipe* CSOItemRecipe::New() const {
  6549. return new CSOItemRecipe;
  6550. }
  6551. void CSOItemRecipe::Clear() {
  6552. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6553. def_index_ = 0u;
  6554. if (has_name()) {
  6555. if (name_ != &::google::protobuf::internal::kEmptyString) {
  6556. name_->clear();
  6557. }
  6558. }
  6559. if (has_n_a()) {
  6560. if (n_a_ != &::google::protobuf::internal::kEmptyString) {
  6561. n_a_->clear();
  6562. }
  6563. }
  6564. if (has_desc_inputs()) {
  6565. if (desc_inputs_ != &::google::protobuf::internal::kEmptyString) {
  6566. desc_inputs_->clear();
  6567. }
  6568. }
  6569. if (has_desc_outputs()) {
  6570. if (desc_outputs_ != &::google::protobuf::internal::kEmptyString) {
  6571. desc_outputs_->clear();
  6572. }
  6573. }
  6574. if (has_di_a()) {
  6575. if (di_a_ != &::google::protobuf::internal::kEmptyString) {
  6576. di_a_->clear();
  6577. }
  6578. }
  6579. if (has_di_b()) {
  6580. if (di_b_ != &::google::protobuf::internal::kEmptyString) {
  6581. di_b_->clear();
  6582. }
  6583. }
  6584. if (has_di_c()) {
  6585. if (di_c_ != &::google::protobuf::internal::kEmptyString) {
  6586. di_c_->clear();
  6587. }
  6588. }
  6589. }
  6590. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  6591. if (has_do_a()) {
  6592. if (do_a_ != &::google::protobuf::internal::kEmptyString) {
  6593. do_a_->clear();
  6594. }
  6595. }
  6596. if (has_do_b()) {
  6597. if (do_b_ != &::google::protobuf::internal::kEmptyString) {
  6598. do_b_->clear();
  6599. }
  6600. }
  6601. if (has_do_c()) {
  6602. if (do_c_ != &::google::protobuf::internal::kEmptyString) {
  6603. do_c_->clear();
  6604. }
  6605. }
  6606. requires_all_same_class_ = false;
  6607. requires_all_same_slot_ = false;
  6608. class_usage_for_output_ = 0;
  6609. slot_usage_for_output_ = 0;
  6610. set_for_output_ = 0;
  6611. }
  6612. input_items_criteria_.Clear();
  6613. output_items_criteria_.Clear();
  6614. input_item_dupe_counts_.Clear();
  6615. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6616. mutable_unknown_fields()->Clear();
  6617. }
  6618. bool CSOItemRecipe::MergePartialFromCodedStream(
  6619. ::google::protobuf::io::CodedInputStream* input) {
  6620. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6621. ::google::protobuf::uint32 tag;
  6622. while ((tag = input->ReadTag()) != 0) {
  6623. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6624. // optional uint32 def_index = 1;
  6625. case 1: {
  6626. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6627. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6629. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6630. input, &def_index_)));
  6631. set_has_def_index();
  6632. } else {
  6633. goto handle_uninterpreted;
  6634. }
  6635. if (input->ExpectTag(18)) goto parse_name;
  6636. break;
  6637. }
  6638. // optional string name = 2;
  6639. case 2: {
  6640. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6641. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6642. parse_name:
  6643. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6644. input, this->mutable_name()));
  6645. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6646. this->name().data(), this->name().length(),
  6647. ::google::protobuf::internal::WireFormat::PARSE);
  6648. } else {
  6649. goto handle_uninterpreted;
  6650. }
  6651. if (input->ExpectTag(26)) goto parse_n_a;
  6652. break;
  6653. }
  6654. // optional string n_a = 3;
  6655. case 3: {
  6656. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6657. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6658. parse_n_a:
  6659. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6660. input, this->mutable_n_a()));
  6661. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6662. this->n_a().data(), this->n_a().length(),
  6663. ::google::protobuf::internal::WireFormat::PARSE);
  6664. } else {
  6665. goto handle_uninterpreted;
  6666. }
  6667. if (input->ExpectTag(34)) goto parse_desc_inputs;
  6668. break;
  6669. }
  6670. // optional string desc_inputs = 4;
  6671. case 4: {
  6672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6674. parse_desc_inputs:
  6675. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6676. input, this->mutable_desc_inputs()));
  6677. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6678. this->desc_inputs().data(), this->desc_inputs().length(),
  6679. ::google::protobuf::internal::WireFormat::PARSE);
  6680. } else {
  6681. goto handle_uninterpreted;
  6682. }
  6683. if (input->ExpectTag(42)) goto parse_desc_outputs;
  6684. break;
  6685. }
  6686. // optional string desc_outputs = 5;
  6687. case 5: {
  6688. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6689. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6690. parse_desc_outputs:
  6691. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6692. input, this->mutable_desc_outputs()));
  6693. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6694. this->desc_outputs().data(), this->desc_outputs().length(),
  6695. ::google::protobuf::internal::WireFormat::PARSE);
  6696. } else {
  6697. goto handle_uninterpreted;
  6698. }
  6699. if (input->ExpectTag(50)) goto parse_di_a;
  6700. break;
  6701. }
  6702. // optional string di_a = 6;
  6703. case 6: {
  6704. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6705. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6706. parse_di_a:
  6707. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6708. input, this->mutable_di_a()));
  6709. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6710. this->di_a().data(), this->di_a().length(),
  6711. ::google::protobuf::internal::WireFormat::PARSE);
  6712. } else {
  6713. goto handle_uninterpreted;
  6714. }
  6715. if (input->ExpectTag(58)) goto parse_di_b;
  6716. break;
  6717. }
  6718. // optional string di_b = 7;
  6719. case 7: {
  6720. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6721. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6722. parse_di_b:
  6723. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6724. input, this->mutable_di_b()));
  6725. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6726. this->di_b().data(), this->di_b().length(),
  6727. ::google::protobuf::internal::WireFormat::PARSE);
  6728. } else {
  6729. goto handle_uninterpreted;
  6730. }
  6731. if (input->ExpectTag(66)) goto parse_di_c;
  6732. break;
  6733. }
  6734. // optional string di_c = 8;
  6735. case 8: {
  6736. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6737. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6738. parse_di_c:
  6739. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6740. input, this->mutable_di_c()));
  6741. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6742. this->di_c().data(), this->di_c().length(),
  6743. ::google::protobuf::internal::WireFormat::PARSE);
  6744. } else {
  6745. goto handle_uninterpreted;
  6746. }
  6747. if (input->ExpectTag(74)) goto parse_do_a;
  6748. break;
  6749. }
  6750. // optional string do_a = 9;
  6751. case 9: {
  6752. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6753. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6754. parse_do_a:
  6755. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6756. input, this->mutable_do_a()));
  6757. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6758. this->do_a().data(), this->do_a().length(),
  6759. ::google::protobuf::internal::WireFormat::PARSE);
  6760. } else {
  6761. goto handle_uninterpreted;
  6762. }
  6763. if (input->ExpectTag(82)) goto parse_do_b;
  6764. break;
  6765. }
  6766. // optional string do_b = 10;
  6767. case 10: {
  6768. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6769. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6770. parse_do_b:
  6771. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6772. input, this->mutable_do_b()));
  6773. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6774. this->do_b().data(), this->do_b().length(),
  6775. ::google::protobuf::internal::WireFormat::PARSE);
  6776. } else {
  6777. goto handle_uninterpreted;
  6778. }
  6779. if (input->ExpectTag(90)) goto parse_do_c;
  6780. break;
  6781. }
  6782. // optional string do_c = 11;
  6783. case 11: {
  6784. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6785. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6786. parse_do_c:
  6787. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6788. input, this->mutable_do_c()));
  6789. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6790. this->do_c().data(), this->do_c().length(),
  6791. ::google::protobuf::internal::WireFormat::PARSE);
  6792. } else {
  6793. goto handle_uninterpreted;
  6794. }
  6795. if (input->ExpectTag(96)) goto parse_requires_all_same_class;
  6796. break;
  6797. }
  6798. // optional bool requires_all_same_class = 12;
  6799. case 12: {
  6800. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6801. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6802. parse_requires_all_same_class:
  6803. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6804. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6805. input, &requires_all_same_class_)));
  6806. set_has_requires_all_same_class();
  6807. } else {
  6808. goto handle_uninterpreted;
  6809. }
  6810. if (input->ExpectTag(104)) goto parse_requires_all_same_slot;
  6811. break;
  6812. }
  6813. // optional bool requires_all_same_slot = 13;
  6814. case 13: {
  6815. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6816. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6817. parse_requires_all_same_slot:
  6818. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6819. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6820. input, &requires_all_same_slot_)));
  6821. set_has_requires_all_same_slot();
  6822. } else {
  6823. goto handle_uninterpreted;
  6824. }
  6825. if (input->ExpectTag(112)) goto parse_class_usage_for_output;
  6826. break;
  6827. }
  6828. // optional int32 class_usage_for_output = 14;
  6829. case 14: {
  6830. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6831. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6832. parse_class_usage_for_output:
  6833. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6834. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6835. input, &class_usage_for_output_)));
  6836. set_has_class_usage_for_output();
  6837. } else {
  6838. goto handle_uninterpreted;
  6839. }
  6840. if (input->ExpectTag(120)) goto parse_slot_usage_for_output;
  6841. break;
  6842. }
  6843. // optional int32 slot_usage_for_output = 15;
  6844. case 15: {
  6845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6847. parse_slot_usage_for_output:
  6848. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6849. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6850. input, &slot_usage_for_output_)));
  6851. set_has_slot_usage_for_output();
  6852. } else {
  6853. goto handle_uninterpreted;
  6854. }
  6855. if (input->ExpectTag(128)) goto parse_set_for_output;
  6856. break;
  6857. }
  6858. // optional int32 set_for_output = 16;
  6859. case 16: {
  6860. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6861. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6862. parse_set_for_output:
  6863. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6864. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6865. input, &set_for_output_)));
  6866. set_has_set_for_output();
  6867. } else {
  6868. goto handle_uninterpreted;
  6869. }
  6870. if (input->ExpectTag(162)) goto parse_input_items_criteria;
  6871. break;
  6872. }
  6873. // repeated .CSOItemCriteria input_items_criteria = 20;
  6874. case 20: {
  6875. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6876. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6877. parse_input_items_criteria:
  6878. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6879. input, add_input_items_criteria()));
  6880. } else {
  6881. goto handle_uninterpreted;
  6882. }
  6883. if (input->ExpectTag(162)) goto parse_input_items_criteria;
  6884. if (input->ExpectTag(170)) goto parse_output_items_criteria;
  6885. break;
  6886. }
  6887. // repeated .CSOItemCriteria output_items_criteria = 21;
  6888. case 21: {
  6889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6891. parse_output_items_criteria:
  6892. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6893. input, add_output_items_criteria()));
  6894. } else {
  6895. goto handle_uninterpreted;
  6896. }
  6897. if (input->ExpectTag(170)) goto parse_output_items_criteria;
  6898. if (input->ExpectTag(176)) goto parse_input_item_dupe_counts;
  6899. break;
  6900. }
  6901. // repeated uint32 input_item_dupe_counts = 22;
  6902. case 22: {
  6903. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6904. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6905. parse_input_item_dupe_counts:
  6906. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  6907. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6908. 2, 176, input, this->mutable_input_item_dupe_counts())));
  6909. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  6910. == ::google::protobuf::internal::WireFormatLite::
  6911. WIRETYPE_LENGTH_DELIMITED) {
  6912. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  6913. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6914. input, this->mutable_input_item_dupe_counts())));
  6915. } else {
  6916. goto handle_uninterpreted;
  6917. }
  6918. if (input->ExpectTag(176)) goto parse_input_item_dupe_counts;
  6919. if (input->ExpectAtEnd()) return true;
  6920. break;
  6921. }
  6922. default: {
  6923. handle_uninterpreted:
  6924. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6925. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6926. return true;
  6927. }
  6928. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6929. input, tag, mutable_unknown_fields()));
  6930. break;
  6931. }
  6932. }
  6933. }
  6934. return true;
  6935. #undef DO_
  6936. }
  6937. void CSOItemRecipe::SerializeWithCachedSizes(
  6938. ::google::protobuf::io::CodedOutputStream* output) const {
  6939. // optional uint32 def_index = 1;
  6940. if (has_def_index()) {
  6941. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->def_index(), output);
  6942. }
  6943. // optional string name = 2;
  6944. if (has_name()) {
  6945. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6946. this->name().data(), this->name().length(),
  6947. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6948. ::google::protobuf::internal::WireFormatLite::WriteString(
  6949. 2, this->name(), output);
  6950. }
  6951. // optional string n_a = 3;
  6952. if (has_n_a()) {
  6953. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6954. this->n_a().data(), this->n_a().length(),
  6955. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6956. ::google::protobuf::internal::WireFormatLite::WriteString(
  6957. 3, this->n_a(), output);
  6958. }
  6959. // optional string desc_inputs = 4;
  6960. if (has_desc_inputs()) {
  6961. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6962. this->desc_inputs().data(), this->desc_inputs().length(),
  6963. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6964. ::google::protobuf::internal::WireFormatLite::WriteString(
  6965. 4, this->desc_inputs(), output);
  6966. }
  6967. // optional string desc_outputs = 5;
  6968. if (has_desc_outputs()) {
  6969. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6970. this->desc_outputs().data(), this->desc_outputs().length(),
  6971. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6972. ::google::protobuf::internal::WireFormatLite::WriteString(
  6973. 5, this->desc_outputs(), output);
  6974. }
  6975. // optional string di_a = 6;
  6976. if (has_di_a()) {
  6977. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6978. this->di_a().data(), this->di_a().length(),
  6979. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6980. ::google::protobuf::internal::WireFormatLite::WriteString(
  6981. 6, this->di_a(), output);
  6982. }
  6983. // optional string di_b = 7;
  6984. if (has_di_b()) {
  6985. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6986. this->di_b().data(), this->di_b().length(),
  6987. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6988. ::google::protobuf::internal::WireFormatLite::WriteString(
  6989. 7, this->di_b(), output);
  6990. }
  6991. // optional string di_c = 8;
  6992. if (has_di_c()) {
  6993. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  6994. this->di_c().data(), this->di_c().length(),
  6995. ::google::protobuf::internal::WireFormat::SERIALIZE);
  6996. ::google::protobuf::internal::WireFormatLite::WriteString(
  6997. 8, this->di_c(), output);
  6998. }
  6999. // optional string do_a = 9;
  7000. if (has_do_a()) {
  7001. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7002. this->do_a().data(), this->do_a().length(),
  7003. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7004. ::google::protobuf::internal::WireFormatLite::WriteString(
  7005. 9, this->do_a(), output);
  7006. }
  7007. // optional string do_b = 10;
  7008. if (has_do_b()) {
  7009. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7010. this->do_b().data(), this->do_b().length(),
  7011. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7012. ::google::protobuf::internal::WireFormatLite::WriteString(
  7013. 10, this->do_b(), output);
  7014. }
  7015. // optional string do_c = 11;
  7016. if (has_do_c()) {
  7017. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7018. this->do_c().data(), this->do_c().length(),
  7019. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7020. ::google::protobuf::internal::WireFormatLite::WriteString(
  7021. 11, this->do_c(), output);
  7022. }
  7023. // optional bool requires_all_same_class = 12;
  7024. if (has_requires_all_same_class()) {
  7025. ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->requires_all_same_class(), output);
  7026. }
  7027. // optional bool requires_all_same_slot = 13;
  7028. if (has_requires_all_same_slot()) {
  7029. ::google::protobuf::internal::WireFormatLite::WriteBool(13, this->requires_all_same_slot(), output);
  7030. }
  7031. // optional int32 class_usage_for_output = 14;
  7032. if (has_class_usage_for_output()) {
  7033. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->class_usage_for_output(), output);
  7034. }
  7035. // optional int32 slot_usage_for_output = 15;
  7036. if (has_slot_usage_for_output()) {
  7037. ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->slot_usage_for_output(), output);
  7038. }
  7039. // optional int32 set_for_output = 16;
  7040. if (has_set_for_output()) {
  7041. ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->set_for_output(), output);
  7042. }
  7043. // repeated .CSOItemCriteria input_items_criteria = 20;
  7044. for (int i = 0; i < this->input_items_criteria_size(); i++) {
  7045. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7046. 20, this->input_items_criteria(i), output);
  7047. }
  7048. // repeated .CSOItemCriteria output_items_criteria = 21;
  7049. for (int i = 0; i < this->output_items_criteria_size(); i++) {
  7050. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7051. 21, this->output_items_criteria(i), output);
  7052. }
  7053. // repeated uint32 input_item_dupe_counts = 22;
  7054. for (int i = 0; i < this->input_item_dupe_counts_size(); i++) {
  7055. ::google::protobuf::internal::WireFormatLite::WriteUInt32(
  7056. 22, this->input_item_dupe_counts(i), output);
  7057. }
  7058. if (!unknown_fields().empty()) {
  7059. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7060. unknown_fields(), output);
  7061. }
  7062. }
  7063. ::google::protobuf::uint8* CSOItemRecipe::SerializeWithCachedSizesToArray(
  7064. ::google::protobuf::uint8* target) const {
  7065. // optional uint32 def_index = 1;
  7066. if (has_def_index()) {
  7067. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->def_index(), target);
  7068. }
  7069. // optional string name = 2;
  7070. if (has_name()) {
  7071. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7072. this->name().data(), this->name().length(),
  7073. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7074. target =
  7075. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7076. 2, this->name(), target);
  7077. }
  7078. // optional string n_a = 3;
  7079. if (has_n_a()) {
  7080. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7081. this->n_a().data(), this->n_a().length(),
  7082. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7083. target =
  7084. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7085. 3, this->n_a(), target);
  7086. }
  7087. // optional string desc_inputs = 4;
  7088. if (has_desc_inputs()) {
  7089. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7090. this->desc_inputs().data(), this->desc_inputs().length(),
  7091. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7092. target =
  7093. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7094. 4, this->desc_inputs(), target);
  7095. }
  7096. // optional string desc_outputs = 5;
  7097. if (has_desc_outputs()) {
  7098. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7099. this->desc_outputs().data(), this->desc_outputs().length(),
  7100. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7101. target =
  7102. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7103. 5, this->desc_outputs(), target);
  7104. }
  7105. // optional string di_a = 6;
  7106. if (has_di_a()) {
  7107. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7108. this->di_a().data(), this->di_a().length(),
  7109. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7110. target =
  7111. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7112. 6, this->di_a(), target);
  7113. }
  7114. // optional string di_b = 7;
  7115. if (has_di_b()) {
  7116. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7117. this->di_b().data(), this->di_b().length(),
  7118. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7119. target =
  7120. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7121. 7, this->di_b(), target);
  7122. }
  7123. // optional string di_c = 8;
  7124. if (has_di_c()) {
  7125. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7126. this->di_c().data(), this->di_c().length(),
  7127. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7128. target =
  7129. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7130. 8, this->di_c(), target);
  7131. }
  7132. // optional string do_a = 9;
  7133. if (has_do_a()) {
  7134. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7135. this->do_a().data(), this->do_a().length(),
  7136. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7137. target =
  7138. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7139. 9, this->do_a(), target);
  7140. }
  7141. // optional string do_b = 10;
  7142. if (has_do_b()) {
  7143. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7144. this->do_b().data(), this->do_b().length(),
  7145. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7146. target =
  7147. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7148. 10, this->do_b(), target);
  7149. }
  7150. // optional string do_c = 11;
  7151. if (has_do_c()) {
  7152. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7153. this->do_c().data(), this->do_c().length(),
  7154. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7155. target =
  7156. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7157. 11, this->do_c(), target);
  7158. }
  7159. // optional bool requires_all_same_class = 12;
  7160. if (has_requires_all_same_class()) {
  7161. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->requires_all_same_class(), target);
  7162. }
  7163. // optional bool requires_all_same_slot = 13;
  7164. if (has_requires_all_same_slot()) {
  7165. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(13, this->requires_all_same_slot(), target);
  7166. }
  7167. // optional int32 class_usage_for_output = 14;
  7168. if (has_class_usage_for_output()) {
  7169. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->class_usage_for_output(), target);
  7170. }
  7171. // optional int32 slot_usage_for_output = 15;
  7172. if (has_slot_usage_for_output()) {
  7173. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->slot_usage_for_output(), target);
  7174. }
  7175. // optional int32 set_for_output = 16;
  7176. if (has_set_for_output()) {
  7177. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->set_for_output(), target);
  7178. }
  7179. // repeated .CSOItemCriteria input_items_criteria = 20;
  7180. for (int i = 0; i < this->input_items_criteria_size(); i++) {
  7181. target = ::google::protobuf::internal::WireFormatLite::
  7182. WriteMessageNoVirtualToArray(
  7183. 20, this->input_items_criteria(i), target);
  7184. }
  7185. // repeated .CSOItemCriteria output_items_criteria = 21;
  7186. for (int i = 0; i < this->output_items_criteria_size(); i++) {
  7187. target = ::google::protobuf::internal::WireFormatLite::
  7188. WriteMessageNoVirtualToArray(
  7189. 21, this->output_items_criteria(i), target);
  7190. }
  7191. // repeated uint32 input_item_dupe_counts = 22;
  7192. for (int i = 0; i < this->input_item_dupe_counts_size(); i++) {
  7193. target = ::google::protobuf::internal::WireFormatLite::
  7194. WriteUInt32ToArray(22, this->input_item_dupe_counts(i), target);
  7195. }
  7196. if (!unknown_fields().empty()) {
  7197. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7198. unknown_fields(), target);
  7199. }
  7200. return target;
  7201. }
  7202. int CSOItemRecipe::ByteSize() const {
  7203. int total_size = 0;
  7204. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7205. // optional uint32 def_index = 1;
  7206. if (has_def_index()) {
  7207. total_size += 1 +
  7208. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7209. this->def_index());
  7210. }
  7211. // optional string name = 2;
  7212. if (has_name()) {
  7213. total_size += 1 +
  7214. ::google::protobuf::internal::WireFormatLite::StringSize(
  7215. this->name());
  7216. }
  7217. // optional string n_a = 3;
  7218. if (has_n_a()) {
  7219. total_size += 1 +
  7220. ::google::protobuf::internal::WireFormatLite::StringSize(
  7221. this->n_a());
  7222. }
  7223. // optional string desc_inputs = 4;
  7224. if (has_desc_inputs()) {
  7225. total_size += 1 +
  7226. ::google::protobuf::internal::WireFormatLite::StringSize(
  7227. this->desc_inputs());
  7228. }
  7229. // optional string desc_outputs = 5;
  7230. if (has_desc_outputs()) {
  7231. total_size += 1 +
  7232. ::google::protobuf::internal::WireFormatLite::StringSize(
  7233. this->desc_outputs());
  7234. }
  7235. // optional string di_a = 6;
  7236. if (has_di_a()) {
  7237. total_size += 1 +
  7238. ::google::protobuf::internal::WireFormatLite::StringSize(
  7239. this->di_a());
  7240. }
  7241. // optional string di_b = 7;
  7242. if (has_di_b()) {
  7243. total_size += 1 +
  7244. ::google::protobuf::internal::WireFormatLite::StringSize(
  7245. this->di_b());
  7246. }
  7247. // optional string di_c = 8;
  7248. if (has_di_c()) {
  7249. total_size += 1 +
  7250. ::google::protobuf::internal::WireFormatLite::StringSize(
  7251. this->di_c());
  7252. }
  7253. }
  7254. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7255. // optional string do_a = 9;
  7256. if (has_do_a()) {
  7257. total_size += 1 +
  7258. ::google::protobuf::internal::WireFormatLite::StringSize(
  7259. this->do_a());
  7260. }
  7261. // optional string do_b = 10;
  7262. if (has_do_b()) {
  7263. total_size += 1 +
  7264. ::google::protobuf::internal::WireFormatLite::StringSize(
  7265. this->do_b());
  7266. }
  7267. // optional string do_c = 11;
  7268. if (has_do_c()) {
  7269. total_size += 1 +
  7270. ::google::protobuf::internal::WireFormatLite::StringSize(
  7271. this->do_c());
  7272. }
  7273. // optional bool requires_all_same_class = 12;
  7274. if (has_requires_all_same_class()) {
  7275. total_size += 1 + 1;
  7276. }
  7277. // optional bool requires_all_same_slot = 13;
  7278. if (has_requires_all_same_slot()) {
  7279. total_size += 1 + 1;
  7280. }
  7281. // optional int32 class_usage_for_output = 14;
  7282. if (has_class_usage_for_output()) {
  7283. total_size += 1 +
  7284. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7285. this->class_usage_for_output());
  7286. }
  7287. // optional int32 slot_usage_for_output = 15;
  7288. if (has_slot_usage_for_output()) {
  7289. total_size += 1 +
  7290. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7291. this->slot_usage_for_output());
  7292. }
  7293. // optional int32 set_for_output = 16;
  7294. if (has_set_for_output()) {
  7295. total_size += 2 +
  7296. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7297. this->set_for_output());
  7298. }
  7299. }
  7300. // repeated .CSOItemCriteria input_items_criteria = 20;
  7301. total_size += 2 * this->input_items_criteria_size();
  7302. for (int i = 0; i < this->input_items_criteria_size(); i++) {
  7303. total_size +=
  7304. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7305. this->input_items_criteria(i));
  7306. }
  7307. // repeated .CSOItemCriteria output_items_criteria = 21;
  7308. total_size += 2 * this->output_items_criteria_size();
  7309. for (int i = 0; i < this->output_items_criteria_size(); i++) {
  7310. total_size +=
  7311. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7312. this->output_items_criteria(i));
  7313. }
  7314. // repeated uint32 input_item_dupe_counts = 22;
  7315. {
  7316. int data_size = 0;
  7317. for (int i = 0; i < this->input_item_dupe_counts_size(); i++) {
  7318. data_size += ::google::protobuf::internal::WireFormatLite::
  7319. UInt32Size(this->input_item_dupe_counts(i));
  7320. }
  7321. total_size += 2 * this->input_item_dupe_counts_size() + data_size;
  7322. }
  7323. if (!unknown_fields().empty()) {
  7324. total_size +=
  7325. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7326. unknown_fields());
  7327. }
  7328. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7329. _cached_size_ = total_size;
  7330. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7331. return total_size;
  7332. }
  7333. void CSOItemRecipe::MergeFrom(const ::google::protobuf::Message& from) {
  7334. GOOGLE_CHECK_NE(&from, this);
  7335. const CSOItemRecipe* source =
  7336. ::google::protobuf::internal::dynamic_cast_if_available<const CSOItemRecipe*>(
  7337. &from);
  7338. if (source == NULL) {
  7339. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7340. } else {
  7341. MergeFrom(*source);
  7342. }
  7343. }
  7344. void CSOItemRecipe::MergeFrom(const CSOItemRecipe& from) {
  7345. GOOGLE_CHECK_NE(&from, this);
  7346. input_items_criteria_.MergeFrom(from.input_items_criteria_);
  7347. output_items_criteria_.MergeFrom(from.output_items_criteria_);
  7348. input_item_dupe_counts_.MergeFrom(from.input_item_dupe_counts_);
  7349. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7350. if (from.has_def_index()) {
  7351. set_def_index(from.def_index());
  7352. }
  7353. if (from.has_name()) {
  7354. set_name(from.name());
  7355. }
  7356. if (from.has_n_a()) {
  7357. set_n_a(from.n_a());
  7358. }
  7359. if (from.has_desc_inputs()) {
  7360. set_desc_inputs(from.desc_inputs());
  7361. }
  7362. if (from.has_desc_outputs()) {
  7363. set_desc_outputs(from.desc_outputs());
  7364. }
  7365. if (from.has_di_a()) {
  7366. set_di_a(from.di_a());
  7367. }
  7368. if (from.has_di_b()) {
  7369. set_di_b(from.di_b());
  7370. }
  7371. if (from.has_di_c()) {
  7372. set_di_c(from.di_c());
  7373. }
  7374. }
  7375. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7376. if (from.has_do_a()) {
  7377. set_do_a(from.do_a());
  7378. }
  7379. if (from.has_do_b()) {
  7380. set_do_b(from.do_b());
  7381. }
  7382. if (from.has_do_c()) {
  7383. set_do_c(from.do_c());
  7384. }
  7385. if (from.has_requires_all_same_class()) {
  7386. set_requires_all_same_class(from.requires_all_same_class());
  7387. }
  7388. if (from.has_requires_all_same_slot()) {
  7389. set_requires_all_same_slot(from.requires_all_same_slot());
  7390. }
  7391. if (from.has_class_usage_for_output()) {
  7392. set_class_usage_for_output(from.class_usage_for_output());
  7393. }
  7394. if (from.has_slot_usage_for_output()) {
  7395. set_slot_usage_for_output(from.slot_usage_for_output());
  7396. }
  7397. if (from.has_set_for_output()) {
  7398. set_set_for_output(from.set_for_output());
  7399. }
  7400. }
  7401. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7402. }
  7403. void CSOItemRecipe::CopyFrom(const ::google::protobuf::Message& from) {
  7404. if (&from == this) return;
  7405. Clear();
  7406. MergeFrom(from);
  7407. }
  7408. void CSOItemRecipe::CopyFrom(const CSOItemRecipe& from) {
  7409. if (&from == this) return;
  7410. Clear();
  7411. MergeFrom(from);
  7412. }
  7413. bool CSOItemRecipe::IsInitialized() const {
  7414. return true;
  7415. }
  7416. void CSOItemRecipe::Swap(CSOItemRecipe* other) {
  7417. if (other != this) {
  7418. std::swap(def_index_, other->def_index_);
  7419. std::swap(name_, other->name_);
  7420. std::swap(n_a_, other->n_a_);
  7421. std::swap(desc_inputs_, other->desc_inputs_);
  7422. std::swap(desc_outputs_, other->desc_outputs_);
  7423. std::swap(di_a_, other->di_a_);
  7424. std::swap(di_b_, other->di_b_);
  7425. std::swap(di_c_, other->di_c_);
  7426. std::swap(do_a_, other->do_a_);
  7427. std::swap(do_b_, other->do_b_);
  7428. std::swap(do_c_, other->do_c_);
  7429. std::swap(requires_all_same_class_, other->requires_all_same_class_);
  7430. std::swap(requires_all_same_slot_, other->requires_all_same_slot_);
  7431. std::swap(class_usage_for_output_, other->class_usage_for_output_);
  7432. std::swap(slot_usage_for_output_, other->slot_usage_for_output_);
  7433. std::swap(set_for_output_, other->set_for_output_);
  7434. input_items_criteria_.Swap(&other->input_items_criteria_);
  7435. output_items_criteria_.Swap(&other->output_items_criteria_);
  7436. input_item_dupe_counts_.Swap(&other->input_item_dupe_counts_);
  7437. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7438. _unknown_fields_.Swap(&other->_unknown_fields_);
  7439. std::swap(_cached_size_, other->_cached_size_);
  7440. }
  7441. }
  7442. ::google::protobuf::Metadata CSOItemRecipe::GetMetadata() const {
  7443. protobuf_AssignDescriptorsOnce();
  7444. ::google::protobuf::Metadata metadata;
  7445. metadata.descriptor = CSOItemRecipe_descriptor_;
  7446. metadata.reflection = CSOItemRecipe_reflection_;
  7447. return metadata;
  7448. }
  7449. // ===================================================================
  7450. #ifndef _MSC_VER
  7451. const int CMsgDevNewItemRequest::kReceiverFieldNumber;
  7452. const int CMsgDevNewItemRequest::kCriteriaFieldNumber;
  7453. #endif // !_MSC_VER
  7454. CMsgDevNewItemRequest::CMsgDevNewItemRequest()
  7455. : ::google::protobuf::Message() {
  7456. SharedCtor();
  7457. }
  7458. void CMsgDevNewItemRequest::InitAsDefaultInstance() {
  7459. criteria_ = const_cast< ::CSOItemCriteria*>(&::CSOItemCriteria::default_instance());
  7460. }
  7461. CMsgDevNewItemRequest::CMsgDevNewItemRequest(const CMsgDevNewItemRequest& from)
  7462. : ::google::protobuf::Message() {
  7463. SharedCtor();
  7464. MergeFrom(from);
  7465. }
  7466. void CMsgDevNewItemRequest::SharedCtor() {
  7467. _cached_size_ = 0;
  7468. receiver_ = GOOGLE_ULONGLONG(0);
  7469. criteria_ = NULL;
  7470. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7471. }
  7472. CMsgDevNewItemRequest::~CMsgDevNewItemRequest() {
  7473. SharedDtor();
  7474. }
  7475. void CMsgDevNewItemRequest::SharedDtor() {
  7476. if (this != default_instance_) {
  7477. delete criteria_;
  7478. }
  7479. }
  7480. void CMsgDevNewItemRequest::SetCachedSize(int size) const {
  7481. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7482. _cached_size_ = size;
  7483. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7484. }
  7485. const ::google::protobuf::Descriptor* CMsgDevNewItemRequest::descriptor() {
  7486. protobuf_AssignDescriptorsOnce();
  7487. return CMsgDevNewItemRequest_descriptor_;
  7488. }
  7489. const CMsgDevNewItemRequest& CMsgDevNewItemRequest::default_instance() {
  7490. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  7491. return *default_instance_;
  7492. }
  7493. CMsgDevNewItemRequest* CMsgDevNewItemRequest::default_instance_ = NULL;
  7494. CMsgDevNewItemRequest* CMsgDevNewItemRequest::New() const {
  7495. return new CMsgDevNewItemRequest;
  7496. }
  7497. void CMsgDevNewItemRequest::Clear() {
  7498. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7499. receiver_ = GOOGLE_ULONGLONG(0);
  7500. if (has_criteria()) {
  7501. if (criteria_ != NULL) criteria_->::CSOItemCriteria::Clear();
  7502. }
  7503. }
  7504. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7505. mutable_unknown_fields()->Clear();
  7506. }
  7507. bool CMsgDevNewItemRequest::MergePartialFromCodedStream(
  7508. ::google::protobuf::io::CodedInputStream* input) {
  7509. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7510. ::google::protobuf::uint32 tag;
  7511. while ((tag = input->ReadTag()) != 0) {
  7512. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7513. // optional fixed64 receiver = 1;
  7514. case 1: {
  7515. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7516. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  7517. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7518. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  7519. input, &receiver_)));
  7520. set_has_receiver();
  7521. } else {
  7522. goto handle_uninterpreted;
  7523. }
  7524. if (input->ExpectTag(18)) goto parse_criteria;
  7525. break;
  7526. }
  7527. // optional .CSOItemCriteria criteria = 2;
  7528. case 2: {
  7529. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7530. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7531. parse_criteria:
  7532. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7533. input, mutable_criteria()));
  7534. } else {
  7535. goto handle_uninterpreted;
  7536. }
  7537. if (input->ExpectAtEnd()) return true;
  7538. break;
  7539. }
  7540. default: {
  7541. handle_uninterpreted:
  7542. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7543. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7544. return true;
  7545. }
  7546. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7547. input, tag, mutable_unknown_fields()));
  7548. break;
  7549. }
  7550. }
  7551. }
  7552. return true;
  7553. #undef DO_
  7554. }
  7555. void CMsgDevNewItemRequest::SerializeWithCachedSizes(
  7556. ::google::protobuf::io::CodedOutputStream* output) const {
  7557. // optional fixed64 receiver = 1;
  7558. if (has_receiver()) {
  7559. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->receiver(), output);
  7560. }
  7561. // optional .CSOItemCriteria criteria = 2;
  7562. if (has_criteria()) {
  7563. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7564. 2, this->criteria(), output);
  7565. }
  7566. if (!unknown_fields().empty()) {
  7567. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7568. unknown_fields(), output);
  7569. }
  7570. }
  7571. ::google::protobuf::uint8* CMsgDevNewItemRequest::SerializeWithCachedSizesToArray(
  7572. ::google::protobuf::uint8* target) const {
  7573. // optional fixed64 receiver = 1;
  7574. if (has_receiver()) {
  7575. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->receiver(), target);
  7576. }
  7577. // optional .CSOItemCriteria criteria = 2;
  7578. if (has_criteria()) {
  7579. target = ::google::protobuf::internal::WireFormatLite::
  7580. WriteMessageNoVirtualToArray(
  7581. 2, this->criteria(), target);
  7582. }
  7583. if (!unknown_fields().empty()) {
  7584. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7585. unknown_fields(), target);
  7586. }
  7587. return target;
  7588. }
  7589. int CMsgDevNewItemRequest::ByteSize() const {
  7590. int total_size = 0;
  7591. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7592. // optional fixed64 receiver = 1;
  7593. if (has_receiver()) {
  7594. total_size += 1 + 8;
  7595. }
  7596. // optional .CSOItemCriteria criteria = 2;
  7597. if (has_criteria()) {
  7598. total_size += 1 +
  7599. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7600. this->criteria());
  7601. }
  7602. }
  7603. if (!unknown_fields().empty()) {
  7604. total_size +=
  7605. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7606. unknown_fields());
  7607. }
  7608. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7609. _cached_size_ = total_size;
  7610. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7611. return total_size;
  7612. }
  7613. void CMsgDevNewItemRequest::MergeFrom(const ::google::protobuf::Message& from) {
  7614. GOOGLE_CHECK_NE(&from, this);
  7615. const CMsgDevNewItemRequest* source =
  7616. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgDevNewItemRequest*>(
  7617. &from);
  7618. if (source == NULL) {
  7619. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7620. } else {
  7621. MergeFrom(*source);
  7622. }
  7623. }
  7624. void CMsgDevNewItemRequest::MergeFrom(const CMsgDevNewItemRequest& from) {
  7625. GOOGLE_CHECK_NE(&from, this);
  7626. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7627. if (from.has_receiver()) {
  7628. set_receiver(from.receiver());
  7629. }
  7630. if (from.has_criteria()) {
  7631. mutable_criteria()->::CSOItemCriteria::MergeFrom(from.criteria());
  7632. }
  7633. }
  7634. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7635. }
  7636. void CMsgDevNewItemRequest::CopyFrom(const ::google::protobuf::Message& from) {
  7637. if (&from == this) return;
  7638. Clear();
  7639. MergeFrom(from);
  7640. }
  7641. void CMsgDevNewItemRequest::CopyFrom(const CMsgDevNewItemRequest& from) {
  7642. if (&from == this) return;
  7643. Clear();
  7644. MergeFrom(from);
  7645. }
  7646. bool CMsgDevNewItemRequest::IsInitialized() const {
  7647. return true;
  7648. }
  7649. void CMsgDevNewItemRequest::Swap(CMsgDevNewItemRequest* other) {
  7650. if (other != this) {
  7651. std::swap(receiver_, other->receiver_);
  7652. std::swap(criteria_, other->criteria_);
  7653. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7654. _unknown_fields_.Swap(&other->_unknown_fields_);
  7655. std::swap(_cached_size_, other->_cached_size_);
  7656. }
  7657. }
  7658. ::google::protobuf::Metadata CMsgDevNewItemRequest::GetMetadata() const {
  7659. protobuf_AssignDescriptorsOnce();
  7660. ::google::protobuf::Metadata metadata;
  7661. metadata.descriptor = CMsgDevNewItemRequest_descriptor_;
  7662. metadata.reflection = CMsgDevNewItemRequest_reflection_;
  7663. return metadata;
  7664. }
  7665. // ===================================================================
  7666. #ifndef _MSC_VER
  7667. const int CMsgIncrementKillCountAttribute::kKillerAccountIdFieldNumber;
  7668. const int CMsgIncrementKillCountAttribute::kVictimAccountIdFieldNumber;
  7669. const int CMsgIncrementKillCountAttribute::kItemIdFieldNumber;
  7670. const int CMsgIncrementKillCountAttribute::kEventTypeFieldNumber;
  7671. const int CMsgIncrementKillCountAttribute::kAmountFieldNumber;
  7672. #endif // !_MSC_VER
  7673. CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute()
  7674. : ::google::protobuf::Message() {
  7675. SharedCtor();
  7676. }
  7677. void CMsgIncrementKillCountAttribute::InitAsDefaultInstance() {
  7678. }
  7679. CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute(const CMsgIncrementKillCountAttribute& from)
  7680. : ::google::protobuf::Message() {
  7681. SharedCtor();
  7682. MergeFrom(from);
  7683. }
  7684. void CMsgIncrementKillCountAttribute::SharedCtor() {
  7685. _cached_size_ = 0;
  7686. killer_account_id_ = 0u;
  7687. victim_account_id_ = 0u;
  7688. item_id_ = GOOGLE_ULONGLONG(0);
  7689. event_type_ = 0u;
  7690. amount_ = 0u;
  7691. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7692. }
  7693. CMsgIncrementKillCountAttribute::~CMsgIncrementKillCountAttribute() {
  7694. SharedDtor();
  7695. }
  7696. void CMsgIncrementKillCountAttribute::SharedDtor() {
  7697. if (this != default_instance_) {
  7698. }
  7699. }
  7700. void CMsgIncrementKillCountAttribute::SetCachedSize(int size) const {
  7701. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7702. _cached_size_ = size;
  7703. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7704. }
  7705. const ::google::protobuf::Descriptor* CMsgIncrementKillCountAttribute::descriptor() {
  7706. protobuf_AssignDescriptorsOnce();
  7707. return CMsgIncrementKillCountAttribute_descriptor_;
  7708. }
  7709. const CMsgIncrementKillCountAttribute& CMsgIncrementKillCountAttribute::default_instance() {
  7710. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  7711. return *default_instance_;
  7712. }
  7713. CMsgIncrementKillCountAttribute* CMsgIncrementKillCountAttribute::default_instance_ = NULL;
  7714. CMsgIncrementKillCountAttribute* CMsgIncrementKillCountAttribute::New() const {
  7715. return new CMsgIncrementKillCountAttribute;
  7716. }
  7717. void CMsgIncrementKillCountAttribute::Clear() {
  7718. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7719. killer_account_id_ = 0u;
  7720. victim_account_id_ = 0u;
  7721. item_id_ = GOOGLE_ULONGLONG(0);
  7722. event_type_ = 0u;
  7723. amount_ = 0u;
  7724. }
  7725. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7726. mutable_unknown_fields()->Clear();
  7727. }
  7728. bool CMsgIncrementKillCountAttribute::MergePartialFromCodedStream(
  7729. ::google::protobuf::io::CodedInputStream* input) {
  7730. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7731. ::google::protobuf::uint32 tag;
  7732. while ((tag = input->ReadTag()) != 0) {
  7733. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7734. // optional fixed32 killer_account_id = 1;
  7735. case 1: {
  7736. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7737. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  7738. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7739. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  7740. input, &killer_account_id_)));
  7741. set_has_killer_account_id();
  7742. } else {
  7743. goto handle_uninterpreted;
  7744. }
  7745. if (input->ExpectTag(21)) goto parse_victim_account_id;
  7746. break;
  7747. }
  7748. // optional fixed32 victim_account_id = 2;
  7749. case 2: {
  7750. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7751. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  7752. parse_victim_account_id:
  7753. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7754. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  7755. input, &victim_account_id_)));
  7756. set_has_victim_account_id();
  7757. } else {
  7758. goto handle_uninterpreted;
  7759. }
  7760. if (input->ExpectTag(24)) goto parse_item_id;
  7761. break;
  7762. }
  7763. // optional uint64 item_id = 3;
  7764. case 3: {
  7765. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7766. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7767. parse_item_id:
  7768. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7769. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  7770. input, &item_id_)));
  7771. set_has_item_id();
  7772. } else {
  7773. goto handle_uninterpreted;
  7774. }
  7775. if (input->ExpectTag(32)) goto parse_event_type;
  7776. break;
  7777. }
  7778. // optional uint32 event_type = 4;
  7779. case 4: {
  7780. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7781. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7782. parse_event_type:
  7783. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7784. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  7785. input, &event_type_)));
  7786. set_has_event_type();
  7787. } else {
  7788. goto handle_uninterpreted;
  7789. }
  7790. if (input->ExpectTag(40)) goto parse_amount;
  7791. break;
  7792. }
  7793. // optional uint32 amount = 5;
  7794. case 5: {
  7795. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7796. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7797. parse_amount:
  7798. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7799. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  7800. input, &amount_)));
  7801. set_has_amount();
  7802. } else {
  7803. goto handle_uninterpreted;
  7804. }
  7805. if (input->ExpectAtEnd()) return true;
  7806. break;
  7807. }
  7808. default: {
  7809. handle_uninterpreted:
  7810. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7811. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7812. return true;
  7813. }
  7814. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7815. input, tag, mutable_unknown_fields()));
  7816. break;
  7817. }
  7818. }
  7819. }
  7820. return true;
  7821. #undef DO_
  7822. }
  7823. void CMsgIncrementKillCountAttribute::SerializeWithCachedSizes(
  7824. ::google::protobuf::io::CodedOutputStream* output) const {
  7825. // optional fixed32 killer_account_id = 1;
  7826. if (has_killer_account_id()) {
  7827. ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->killer_account_id(), output);
  7828. }
  7829. // optional fixed32 victim_account_id = 2;
  7830. if (has_victim_account_id()) {
  7831. ::google::protobuf::internal::WireFormatLite::WriteFixed32(2, this->victim_account_id(), output);
  7832. }
  7833. // optional uint64 item_id = 3;
  7834. if (has_item_id()) {
  7835. ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->item_id(), output);
  7836. }
  7837. // optional uint32 event_type = 4;
  7838. if (has_event_type()) {
  7839. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->event_type(), output);
  7840. }
  7841. // optional uint32 amount = 5;
  7842. if (has_amount()) {
  7843. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->amount(), output);
  7844. }
  7845. if (!unknown_fields().empty()) {
  7846. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7847. unknown_fields(), output);
  7848. }
  7849. }
  7850. ::google::protobuf::uint8* CMsgIncrementKillCountAttribute::SerializeWithCachedSizesToArray(
  7851. ::google::protobuf::uint8* target) const {
  7852. // optional fixed32 killer_account_id = 1;
  7853. if (has_killer_account_id()) {
  7854. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->killer_account_id(), target);
  7855. }
  7856. // optional fixed32 victim_account_id = 2;
  7857. if (has_victim_account_id()) {
  7858. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(2, this->victim_account_id(), target);
  7859. }
  7860. // optional uint64 item_id = 3;
  7861. if (has_item_id()) {
  7862. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->item_id(), target);
  7863. }
  7864. // optional uint32 event_type = 4;
  7865. if (has_event_type()) {
  7866. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->event_type(), target);
  7867. }
  7868. // optional uint32 amount = 5;
  7869. if (has_amount()) {
  7870. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->amount(), target);
  7871. }
  7872. if (!unknown_fields().empty()) {
  7873. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7874. unknown_fields(), target);
  7875. }
  7876. return target;
  7877. }
  7878. int CMsgIncrementKillCountAttribute::ByteSize() const {
  7879. int total_size = 0;
  7880. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7881. // optional fixed32 killer_account_id = 1;
  7882. if (has_killer_account_id()) {
  7883. total_size += 1 + 4;
  7884. }
  7885. // optional fixed32 victim_account_id = 2;
  7886. if (has_victim_account_id()) {
  7887. total_size += 1 + 4;
  7888. }
  7889. // optional uint64 item_id = 3;
  7890. if (has_item_id()) {
  7891. total_size += 1 +
  7892. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  7893. this->item_id());
  7894. }
  7895. // optional uint32 event_type = 4;
  7896. if (has_event_type()) {
  7897. total_size += 1 +
  7898. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7899. this->event_type());
  7900. }
  7901. // optional uint32 amount = 5;
  7902. if (has_amount()) {
  7903. total_size += 1 +
  7904. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7905. this->amount());
  7906. }
  7907. }
  7908. if (!unknown_fields().empty()) {
  7909. total_size +=
  7910. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7911. unknown_fields());
  7912. }
  7913. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7914. _cached_size_ = total_size;
  7915. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7916. return total_size;
  7917. }
  7918. void CMsgIncrementKillCountAttribute::MergeFrom(const ::google::protobuf::Message& from) {
  7919. GOOGLE_CHECK_NE(&from, this);
  7920. const CMsgIncrementKillCountAttribute* source =
  7921. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgIncrementKillCountAttribute*>(
  7922. &from);
  7923. if (source == NULL) {
  7924. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7925. } else {
  7926. MergeFrom(*source);
  7927. }
  7928. }
  7929. void CMsgIncrementKillCountAttribute::MergeFrom(const CMsgIncrementKillCountAttribute& from) {
  7930. GOOGLE_CHECK_NE(&from, this);
  7931. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7932. if (from.has_killer_account_id()) {
  7933. set_killer_account_id(from.killer_account_id());
  7934. }
  7935. if (from.has_victim_account_id()) {
  7936. set_victim_account_id(from.victim_account_id());
  7937. }
  7938. if (from.has_item_id()) {
  7939. set_item_id(from.item_id());
  7940. }
  7941. if (from.has_event_type()) {
  7942. set_event_type(from.event_type());
  7943. }
  7944. if (from.has_amount()) {
  7945. set_amount(from.amount());
  7946. }
  7947. }
  7948. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7949. }
  7950. void CMsgIncrementKillCountAttribute::CopyFrom(const ::google::protobuf::Message& from) {
  7951. if (&from == this) return;
  7952. Clear();
  7953. MergeFrom(from);
  7954. }
  7955. void CMsgIncrementKillCountAttribute::CopyFrom(const CMsgIncrementKillCountAttribute& from) {
  7956. if (&from == this) return;
  7957. Clear();
  7958. MergeFrom(from);
  7959. }
  7960. bool CMsgIncrementKillCountAttribute::IsInitialized() const {
  7961. return true;
  7962. }
  7963. void CMsgIncrementKillCountAttribute::Swap(CMsgIncrementKillCountAttribute* other) {
  7964. if (other != this) {
  7965. std::swap(killer_account_id_, other->killer_account_id_);
  7966. std::swap(victim_account_id_, other->victim_account_id_);
  7967. std::swap(item_id_, other->item_id_);
  7968. std::swap(event_type_, other->event_type_);
  7969. std::swap(amount_, other->amount_);
  7970. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7971. _unknown_fields_.Swap(&other->_unknown_fields_);
  7972. std::swap(_cached_size_, other->_cached_size_);
  7973. }
  7974. }
  7975. ::google::protobuf::Metadata CMsgIncrementKillCountAttribute::GetMetadata() const {
  7976. protobuf_AssignDescriptorsOnce();
  7977. ::google::protobuf::Metadata metadata;
  7978. metadata.descriptor = CMsgIncrementKillCountAttribute_descriptor_;
  7979. metadata.reflection = CMsgIncrementKillCountAttribute_reflection_;
  7980. return metadata;
  7981. }
  7982. // ===================================================================
  7983. #ifndef _MSC_VER
  7984. const int CMsgApplySticker::kStickerItemIdFieldNumber;
  7985. const int CMsgApplySticker::kItemItemIdFieldNumber;
  7986. const int CMsgApplySticker::kStickerSlotFieldNumber;
  7987. const int CMsgApplySticker::kBaseitemDefidxFieldNumber;
  7988. #endif // !_MSC_VER
  7989. CMsgApplySticker::CMsgApplySticker()
  7990. : ::google::protobuf::Message() {
  7991. SharedCtor();
  7992. }
  7993. void CMsgApplySticker::InitAsDefaultInstance() {
  7994. }
  7995. CMsgApplySticker::CMsgApplySticker(const CMsgApplySticker& from)
  7996. : ::google::protobuf::Message() {
  7997. SharedCtor();
  7998. MergeFrom(from);
  7999. }
  8000. void CMsgApplySticker::SharedCtor() {
  8001. _cached_size_ = 0;
  8002. sticker_item_id_ = GOOGLE_ULONGLONG(0);
  8003. item_item_id_ = GOOGLE_ULONGLONG(0);
  8004. sticker_slot_ = 0u;
  8005. baseitem_defidx_ = 0u;
  8006. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8007. }
  8008. CMsgApplySticker::~CMsgApplySticker() {
  8009. SharedDtor();
  8010. }
  8011. void CMsgApplySticker::SharedDtor() {
  8012. if (this != default_instance_) {
  8013. }
  8014. }
  8015. void CMsgApplySticker::SetCachedSize(int size) const {
  8016. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8017. _cached_size_ = size;
  8018. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8019. }
  8020. const ::google::protobuf::Descriptor* CMsgApplySticker::descriptor() {
  8021. protobuf_AssignDescriptorsOnce();
  8022. return CMsgApplySticker_descriptor_;
  8023. }
  8024. const CMsgApplySticker& CMsgApplySticker::default_instance() {
  8025. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  8026. return *default_instance_;
  8027. }
  8028. CMsgApplySticker* CMsgApplySticker::default_instance_ = NULL;
  8029. CMsgApplySticker* CMsgApplySticker::New() const {
  8030. return new CMsgApplySticker;
  8031. }
  8032. void CMsgApplySticker::Clear() {
  8033. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8034. sticker_item_id_ = GOOGLE_ULONGLONG(0);
  8035. item_item_id_ = GOOGLE_ULONGLONG(0);
  8036. sticker_slot_ = 0u;
  8037. baseitem_defidx_ = 0u;
  8038. }
  8039. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8040. mutable_unknown_fields()->Clear();
  8041. }
  8042. bool CMsgApplySticker::MergePartialFromCodedStream(
  8043. ::google::protobuf::io::CodedInputStream* input) {
  8044. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8045. ::google::protobuf::uint32 tag;
  8046. while ((tag = input->ReadTag()) != 0) {
  8047. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8048. // optional uint64 sticker_item_id = 1;
  8049. case 1: {
  8050. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8051. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8052. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8053. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8054. input, &sticker_item_id_)));
  8055. set_has_sticker_item_id();
  8056. } else {
  8057. goto handle_uninterpreted;
  8058. }
  8059. if (input->ExpectTag(16)) goto parse_item_item_id;
  8060. break;
  8061. }
  8062. // optional uint64 item_item_id = 2;
  8063. case 2: {
  8064. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8065. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8066. parse_item_item_id:
  8067. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8068. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8069. input, &item_item_id_)));
  8070. set_has_item_item_id();
  8071. } else {
  8072. goto handle_uninterpreted;
  8073. }
  8074. if (input->ExpectTag(24)) goto parse_sticker_slot;
  8075. break;
  8076. }
  8077. // optional uint32 sticker_slot = 3;
  8078. case 3: {
  8079. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8080. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8081. parse_sticker_slot:
  8082. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8083. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  8084. input, &sticker_slot_)));
  8085. set_has_sticker_slot();
  8086. } else {
  8087. goto handle_uninterpreted;
  8088. }
  8089. if (input->ExpectTag(32)) goto parse_baseitem_defidx;
  8090. break;
  8091. }
  8092. // optional uint32 baseitem_defidx = 4;
  8093. case 4: {
  8094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8096. parse_baseitem_defidx:
  8097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8098. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  8099. input, &baseitem_defidx_)));
  8100. set_has_baseitem_defidx();
  8101. } else {
  8102. goto handle_uninterpreted;
  8103. }
  8104. if (input->ExpectAtEnd()) return true;
  8105. break;
  8106. }
  8107. default: {
  8108. handle_uninterpreted:
  8109. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8110. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8111. return true;
  8112. }
  8113. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8114. input, tag, mutable_unknown_fields()));
  8115. break;
  8116. }
  8117. }
  8118. }
  8119. return true;
  8120. #undef DO_
  8121. }
  8122. void CMsgApplySticker::SerializeWithCachedSizes(
  8123. ::google::protobuf::io::CodedOutputStream* output) const {
  8124. // optional uint64 sticker_item_id = 1;
  8125. if (has_sticker_item_id()) {
  8126. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->sticker_item_id(), output);
  8127. }
  8128. // optional uint64 item_item_id = 2;
  8129. if (has_item_item_id()) {
  8130. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->item_item_id(), output);
  8131. }
  8132. // optional uint32 sticker_slot = 3;
  8133. if (has_sticker_slot()) {
  8134. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->sticker_slot(), output);
  8135. }
  8136. // optional uint32 baseitem_defidx = 4;
  8137. if (has_baseitem_defidx()) {
  8138. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->baseitem_defidx(), output);
  8139. }
  8140. if (!unknown_fields().empty()) {
  8141. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8142. unknown_fields(), output);
  8143. }
  8144. }
  8145. ::google::protobuf::uint8* CMsgApplySticker::SerializeWithCachedSizesToArray(
  8146. ::google::protobuf::uint8* target) const {
  8147. // optional uint64 sticker_item_id = 1;
  8148. if (has_sticker_item_id()) {
  8149. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->sticker_item_id(), target);
  8150. }
  8151. // optional uint64 item_item_id = 2;
  8152. if (has_item_item_id()) {
  8153. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->item_item_id(), target);
  8154. }
  8155. // optional uint32 sticker_slot = 3;
  8156. if (has_sticker_slot()) {
  8157. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->sticker_slot(), target);
  8158. }
  8159. // optional uint32 baseitem_defidx = 4;
  8160. if (has_baseitem_defidx()) {
  8161. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->baseitem_defidx(), target);
  8162. }
  8163. if (!unknown_fields().empty()) {
  8164. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8165. unknown_fields(), target);
  8166. }
  8167. return target;
  8168. }
  8169. int CMsgApplySticker::ByteSize() const {
  8170. int total_size = 0;
  8171. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8172. // optional uint64 sticker_item_id = 1;
  8173. if (has_sticker_item_id()) {
  8174. total_size += 1 +
  8175. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8176. this->sticker_item_id());
  8177. }
  8178. // optional uint64 item_item_id = 2;
  8179. if (has_item_item_id()) {
  8180. total_size += 1 +
  8181. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8182. this->item_item_id());
  8183. }
  8184. // optional uint32 sticker_slot = 3;
  8185. if (has_sticker_slot()) {
  8186. total_size += 1 +
  8187. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  8188. this->sticker_slot());
  8189. }
  8190. // optional uint32 baseitem_defidx = 4;
  8191. if (has_baseitem_defidx()) {
  8192. total_size += 1 +
  8193. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  8194. this->baseitem_defidx());
  8195. }
  8196. }
  8197. if (!unknown_fields().empty()) {
  8198. total_size +=
  8199. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8200. unknown_fields());
  8201. }
  8202. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8203. _cached_size_ = total_size;
  8204. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8205. return total_size;
  8206. }
  8207. void CMsgApplySticker::MergeFrom(const ::google::protobuf::Message& from) {
  8208. GOOGLE_CHECK_NE(&from, this);
  8209. const CMsgApplySticker* source =
  8210. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgApplySticker*>(
  8211. &from);
  8212. if (source == NULL) {
  8213. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8214. } else {
  8215. MergeFrom(*source);
  8216. }
  8217. }
  8218. void CMsgApplySticker::MergeFrom(const CMsgApplySticker& from) {
  8219. GOOGLE_CHECK_NE(&from, this);
  8220. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8221. if (from.has_sticker_item_id()) {
  8222. set_sticker_item_id(from.sticker_item_id());
  8223. }
  8224. if (from.has_item_item_id()) {
  8225. set_item_item_id(from.item_item_id());
  8226. }
  8227. if (from.has_sticker_slot()) {
  8228. set_sticker_slot(from.sticker_slot());
  8229. }
  8230. if (from.has_baseitem_defidx()) {
  8231. set_baseitem_defidx(from.baseitem_defidx());
  8232. }
  8233. }
  8234. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8235. }
  8236. void CMsgApplySticker::CopyFrom(const ::google::protobuf::Message& from) {
  8237. if (&from == this) return;
  8238. Clear();
  8239. MergeFrom(from);
  8240. }
  8241. void CMsgApplySticker::CopyFrom(const CMsgApplySticker& from) {
  8242. if (&from == this) return;
  8243. Clear();
  8244. MergeFrom(from);
  8245. }
  8246. bool CMsgApplySticker::IsInitialized() const {
  8247. return true;
  8248. }
  8249. void CMsgApplySticker::Swap(CMsgApplySticker* other) {
  8250. if (other != this) {
  8251. std::swap(sticker_item_id_, other->sticker_item_id_);
  8252. std::swap(item_item_id_, other->item_item_id_);
  8253. std::swap(sticker_slot_, other->sticker_slot_);
  8254. std::swap(baseitem_defidx_, other->baseitem_defidx_);
  8255. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8256. _unknown_fields_.Swap(&other->_unknown_fields_);
  8257. std::swap(_cached_size_, other->_cached_size_);
  8258. }
  8259. }
  8260. ::google::protobuf::Metadata CMsgApplySticker::GetMetadata() const {
  8261. protobuf_AssignDescriptorsOnce();
  8262. ::google::protobuf::Metadata metadata;
  8263. metadata.descriptor = CMsgApplySticker_descriptor_;
  8264. metadata.reflection = CMsgApplySticker_reflection_;
  8265. return metadata;
  8266. }
  8267. // ===================================================================
  8268. #ifndef _MSC_VER
  8269. const int CMsgApplyStatTrakSwap::kToolItemIdFieldNumber;
  8270. const int CMsgApplyStatTrakSwap::kItem1ItemIdFieldNumber;
  8271. const int CMsgApplyStatTrakSwap::kItem2ItemIdFieldNumber;
  8272. #endif // !_MSC_VER
  8273. CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap()
  8274. : ::google::protobuf::Message() {
  8275. SharedCtor();
  8276. }
  8277. void CMsgApplyStatTrakSwap::InitAsDefaultInstance() {
  8278. }
  8279. CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap(const CMsgApplyStatTrakSwap& from)
  8280. : ::google::protobuf::Message() {
  8281. SharedCtor();
  8282. MergeFrom(from);
  8283. }
  8284. void CMsgApplyStatTrakSwap::SharedCtor() {
  8285. _cached_size_ = 0;
  8286. tool_item_id_ = GOOGLE_ULONGLONG(0);
  8287. item_1_item_id_ = GOOGLE_ULONGLONG(0);
  8288. item_2_item_id_ = GOOGLE_ULONGLONG(0);
  8289. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8290. }
  8291. CMsgApplyStatTrakSwap::~CMsgApplyStatTrakSwap() {
  8292. SharedDtor();
  8293. }
  8294. void CMsgApplyStatTrakSwap::SharedDtor() {
  8295. if (this != default_instance_) {
  8296. }
  8297. }
  8298. void CMsgApplyStatTrakSwap::SetCachedSize(int size) const {
  8299. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8300. _cached_size_ = size;
  8301. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8302. }
  8303. const ::google::protobuf::Descriptor* CMsgApplyStatTrakSwap::descriptor() {
  8304. protobuf_AssignDescriptorsOnce();
  8305. return CMsgApplyStatTrakSwap_descriptor_;
  8306. }
  8307. const CMsgApplyStatTrakSwap& CMsgApplyStatTrakSwap::default_instance() {
  8308. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  8309. return *default_instance_;
  8310. }
  8311. CMsgApplyStatTrakSwap* CMsgApplyStatTrakSwap::default_instance_ = NULL;
  8312. CMsgApplyStatTrakSwap* CMsgApplyStatTrakSwap::New() const {
  8313. return new CMsgApplyStatTrakSwap;
  8314. }
  8315. void CMsgApplyStatTrakSwap::Clear() {
  8316. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8317. tool_item_id_ = GOOGLE_ULONGLONG(0);
  8318. item_1_item_id_ = GOOGLE_ULONGLONG(0);
  8319. item_2_item_id_ = GOOGLE_ULONGLONG(0);
  8320. }
  8321. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8322. mutable_unknown_fields()->Clear();
  8323. }
  8324. bool CMsgApplyStatTrakSwap::MergePartialFromCodedStream(
  8325. ::google::protobuf::io::CodedInputStream* input) {
  8326. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8327. ::google::protobuf::uint32 tag;
  8328. while ((tag = input->ReadTag()) != 0) {
  8329. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8330. // optional uint64 tool_item_id = 1;
  8331. case 1: {
  8332. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8333. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8334. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8335. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8336. input, &tool_item_id_)));
  8337. set_has_tool_item_id();
  8338. } else {
  8339. goto handle_uninterpreted;
  8340. }
  8341. if (input->ExpectTag(16)) goto parse_item_1_item_id;
  8342. break;
  8343. }
  8344. // optional uint64 item_1_item_id = 2;
  8345. case 2: {
  8346. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8347. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8348. parse_item_1_item_id:
  8349. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8350. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8351. input, &item_1_item_id_)));
  8352. set_has_item_1_item_id();
  8353. } else {
  8354. goto handle_uninterpreted;
  8355. }
  8356. if (input->ExpectTag(24)) goto parse_item_2_item_id;
  8357. break;
  8358. }
  8359. // optional uint64 item_2_item_id = 3;
  8360. case 3: {
  8361. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8362. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8363. parse_item_2_item_id:
  8364. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8365. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8366. input, &item_2_item_id_)));
  8367. set_has_item_2_item_id();
  8368. } else {
  8369. goto handle_uninterpreted;
  8370. }
  8371. if (input->ExpectAtEnd()) return true;
  8372. break;
  8373. }
  8374. default: {
  8375. handle_uninterpreted:
  8376. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8377. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8378. return true;
  8379. }
  8380. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8381. input, tag, mutable_unknown_fields()));
  8382. break;
  8383. }
  8384. }
  8385. }
  8386. return true;
  8387. #undef DO_
  8388. }
  8389. void CMsgApplyStatTrakSwap::SerializeWithCachedSizes(
  8390. ::google::protobuf::io::CodedOutputStream* output) const {
  8391. // optional uint64 tool_item_id = 1;
  8392. if (has_tool_item_id()) {
  8393. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->tool_item_id(), output);
  8394. }
  8395. // optional uint64 item_1_item_id = 2;
  8396. if (has_item_1_item_id()) {
  8397. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->item_1_item_id(), output);
  8398. }
  8399. // optional uint64 item_2_item_id = 3;
  8400. if (has_item_2_item_id()) {
  8401. ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->item_2_item_id(), output);
  8402. }
  8403. if (!unknown_fields().empty()) {
  8404. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8405. unknown_fields(), output);
  8406. }
  8407. }
  8408. ::google::protobuf::uint8* CMsgApplyStatTrakSwap::SerializeWithCachedSizesToArray(
  8409. ::google::protobuf::uint8* target) const {
  8410. // optional uint64 tool_item_id = 1;
  8411. if (has_tool_item_id()) {
  8412. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->tool_item_id(), target);
  8413. }
  8414. // optional uint64 item_1_item_id = 2;
  8415. if (has_item_1_item_id()) {
  8416. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->item_1_item_id(), target);
  8417. }
  8418. // optional uint64 item_2_item_id = 3;
  8419. if (has_item_2_item_id()) {
  8420. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->item_2_item_id(), target);
  8421. }
  8422. if (!unknown_fields().empty()) {
  8423. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8424. unknown_fields(), target);
  8425. }
  8426. return target;
  8427. }
  8428. int CMsgApplyStatTrakSwap::ByteSize() const {
  8429. int total_size = 0;
  8430. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8431. // optional uint64 tool_item_id = 1;
  8432. if (has_tool_item_id()) {
  8433. total_size += 1 +
  8434. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8435. this->tool_item_id());
  8436. }
  8437. // optional uint64 item_1_item_id = 2;
  8438. if (has_item_1_item_id()) {
  8439. total_size += 1 +
  8440. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8441. this->item_1_item_id());
  8442. }
  8443. // optional uint64 item_2_item_id = 3;
  8444. if (has_item_2_item_id()) {
  8445. total_size += 1 +
  8446. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8447. this->item_2_item_id());
  8448. }
  8449. }
  8450. if (!unknown_fields().empty()) {
  8451. total_size +=
  8452. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8453. unknown_fields());
  8454. }
  8455. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8456. _cached_size_ = total_size;
  8457. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8458. return total_size;
  8459. }
  8460. void CMsgApplyStatTrakSwap::MergeFrom(const ::google::protobuf::Message& from) {
  8461. GOOGLE_CHECK_NE(&from, this);
  8462. const CMsgApplyStatTrakSwap* source =
  8463. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgApplyStatTrakSwap*>(
  8464. &from);
  8465. if (source == NULL) {
  8466. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8467. } else {
  8468. MergeFrom(*source);
  8469. }
  8470. }
  8471. void CMsgApplyStatTrakSwap::MergeFrom(const CMsgApplyStatTrakSwap& from) {
  8472. GOOGLE_CHECK_NE(&from, this);
  8473. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8474. if (from.has_tool_item_id()) {
  8475. set_tool_item_id(from.tool_item_id());
  8476. }
  8477. if (from.has_item_1_item_id()) {
  8478. set_item_1_item_id(from.item_1_item_id());
  8479. }
  8480. if (from.has_item_2_item_id()) {
  8481. set_item_2_item_id(from.item_2_item_id());
  8482. }
  8483. }
  8484. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8485. }
  8486. void CMsgApplyStatTrakSwap::CopyFrom(const ::google::protobuf::Message& from) {
  8487. if (&from == this) return;
  8488. Clear();
  8489. MergeFrom(from);
  8490. }
  8491. void CMsgApplyStatTrakSwap::CopyFrom(const CMsgApplyStatTrakSwap& from) {
  8492. if (&from == this) return;
  8493. Clear();
  8494. MergeFrom(from);
  8495. }
  8496. bool CMsgApplyStatTrakSwap::IsInitialized() const {
  8497. return true;
  8498. }
  8499. void CMsgApplyStatTrakSwap::Swap(CMsgApplyStatTrakSwap* other) {
  8500. if (other != this) {
  8501. std::swap(tool_item_id_, other->tool_item_id_);
  8502. std::swap(item_1_item_id_, other->item_1_item_id_);
  8503. std::swap(item_2_item_id_, other->item_2_item_id_);
  8504. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8505. _unknown_fields_.Swap(&other->_unknown_fields_);
  8506. std::swap(_cached_size_, other->_cached_size_);
  8507. }
  8508. }
  8509. ::google::protobuf::Metadata CMsgApplyStatTrakSwap::GetMetadata() const {
  8510. protobuf_AssignDescriptorsOnce();
  8511. ::google::protobuf::Metadata metadata;
  8512. metadata.descriptor = CMsgApplyStatTrakSwap_descriptor_;
  8513. metadata.reflection = CMsgApplyStatTrakSwap_reflection_;
  8514. return metadata;
  8515. }
  8516. // ===================================================================
  8517. #ifndef _MSC_VER
  8518. const int CMsgApplyStrangePart::kStrangePartItemIdFieldNumber;
  8519. const int CMsgApplyStrangePart::kItemItemIdFieldNumber;
  8520. #endif // !_MSC_VER
  8521. CMsgApplyStrangePart::CMsgApplyStrangePart()
  8522. : ::google::protobuf::Message() {
  8523. SharedCtor();
  8524. }
  8525. void CMsgApplyStrangePart::InitAsDefaultInstance() {
  8526. }
  8527. CMsgApplyStrangePart::CMsgApplyStrangePart(const CMsgApplyStrangePart& from)
  8528. : ::google::protobuf::Message() {
  8529. SharedCtor();
  8530. MergeFrom(from);
  8531. }
  8532. void CMsgApplyStrangePart::SharedCtor() {
  8533. _cached_size_ = 0;
  8534. strange_part_item_id_ = GOOGLE_ULONGLONG(0);
  8535. item_item_id_ = GOOGLE_ULONGLONG(0);
  8536. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8537. }
  8538. CMsgApplyStrangePart::~CMsgApplyStrangePart() {
  8539. SharedDtor();
  8540. }
  8541. void CMsgApplyStrangePart::SharedDtor() {
  8542. if (this != default_instance_) {
  8543. }
  8544. }
  8545. void CMsgApplyStrangePart::SetCachedSize(int size) const {
  8546. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8547. _cached_size_ = size;
  8548. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8549. }
  8550. const ::google::protobuf::Descriptor* CMsgApplyStrangePart::descriptor() {
  8551. protobuf_AssignDescriptorsOnce();
  8552. return CMsgApplyStrangePart_descriptor_;
  8553. }
  8554. const CMsgApplyStrangePart& CMsgApplyStrangePart::default_instance() {
  8555. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  8556. return *default_instance_;
  8557. }
  8558. CMsgApplyStrangePart* CMsgApplyStrangePart::default_instance_ = NULL;
  8559. CMsgApplyStrangePart* CMsgApplyStrangePart::New() const {
  8560. return new CMsgApplyStrangePart;
  8561. }
  8562. void CMsgApplyStrangePart::Clear() {
  8563. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8564. strange_part_item_id_ = GOOGLE_ULONGLONG(0);
  8565. item_item_id_ = GOOGLE_ULONGLONG(0);
  8566. }
  8567. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8568. mutable_unknown_fields()->Clear();
  8569. }
  8570. bool CMsgApplyStrangePart::MergePartialFromCodedStream(
  8571. ::google::protobuf::io::CodedInputStream* input) {
  8572. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8573. ::google::protobuf::uint32 tag;
  8574. while ((tag = input->ReadTag()) != 0) {
  8575. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8576. // optional uint64 strange_part_item_id = 1;
  8577. case 1: {
  8578. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8579. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8580. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8581. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8582. input, &strange_part_item_id_)));
  8583. set_has_strange_part_item_id();
  8584. } else {
  8585. goto handle_uninterpreted;
  8586. }
  8587. if (input->ExpectTag(16)) goto parse_item_item_id;
  8588. break;
  8589. }
  8590. // optional uint64 item_item_id = 2;
  8591. case 2: {
  8592. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8593. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8594. parse_item_item_id:
  8595. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8596. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8597. input, &item_item_id_)));
  8598. set_has_item_item_id();
  8599. } else {
  8600. goto handle_uninterpreted;
  8601. }
  8602. if (input->ExpectAtEnd()) return true;
  8603. break;
  8604. }
  8605. default: {
  8606. handle_uninterpreted:
  8607. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8608. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8609. return true;
  8610. }
  8611. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8612. input, tag, mutable_unknown_fields()));
  8613. break;
  8614. }
  8615. }
  8616. }
  8617. return true;
  8618. #undef DO_
  8619. }
  8620. void CMsgApplyStrangePart::SerializeWithCachedSizes(
  8621. ::google::protobuf::io::CodedOutputStream* output) const {
  8622. // optional uint64 strange_part_item_id = 1;
  8623. if (has_strange_part_item_id()) {
  8624. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->strange_part_item_id(), output);
  8625. }
  8626. // optional uint64 item_item_id = 2;
  8627. if (has_item_item_id()) {
  8628. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->item_item_id(), output);
  8629. }
  8630. if (!unknown_fields().empty()) {
  8631. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8632. unknown_fields(), output);
  8633. }
  8634. }
  8635. ::google::protobuf::uint8* CMsgApplyStrangePart::SerializeWithCachedSizesToArray(
  8636. ::google::protobuf::uint8* target) const {
  8637. // optional uint64 strange_part_item_id = 1;
  8638. if (has_strange_part_item_id()) {
  8639. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->strange_part_item_id(), target);
  8640. }
  8641. // optional uint64 item_item_id = 2;
  8642. if (has_item_item_id()) {
  8643. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->item_item_id(), target);
  8644. }
  8645. if (!unknown_fields().empty()) {
  8646. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8647. unknown_fields(), target);
  8648. }
  8649. return target;
  8650. }
  8651. int CMsgApplyStrangePart::ByteSize() const {
  8652. int total_size = 0;
  8653. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8654. // optional uint64 strange_part_item_id = 1;
  8655. if (has_strange_part_item_id()) {
  8656. total_size += 1 +
  8657. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8658. this->strange_part_item_id());
  8659. }
  8660. // optional uint64 item_item_id = 2;
  8661. if (has_item_item_id()) {
  8662. total_size += 1 +
  8663. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8664. this->item_item_id());
  8665. }
  8666. }
  8667. if (!unknown_fields().empty()) {
  8668. total_size +=
  8669. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8670. unknown_fields());
  8671. }
  8672. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8673. _cached_size_ = total_size;
  8674. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8675. return total_size;
  8676. }
  8677. void CMsgApplyStrangePart::MergeFrom(const ::google::protobuf::Message& from) {
  8678. GOOGLE_CHECK_NE(&from, this);
  8679. const CMsgApplyStrangePart* source =
  8680. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgApplyStrangePart*>(
  8681. &from);
  8682. if (source == NULL) {
  8683. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8684. } else {
  8685. MergeFrom(*source);
  8686. }
  8687. }
  8688. void CMsgApplyStrangePart::MergeFrom(const CMsgApplyStrangePart& from) {
  8689. GOOGLE_CHECK_NE(&from, this);
  8690. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8691. if (from.has_strange_part_item_id()) {
  8692. set_strange_part_item_id(from.strange_part_item_id());
  8693. }
  8694. if (from.has_item_item_id()) {
  8695. set_item_item_id(from.item_item_id());
  8696. }
  8697. }
  8698. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8699. }
  8700. void CMsgApplyStrangePart::CopyFrom(const ::google::protobuf::Message& from) {
  8701. if (&from == this) return;
  8702. Clear();
  8703. MergeFrom(from);
  8704. }
  8705. void CMsgApplyStrangePart::CopyFrom(const CMsgApplyStrangePart& from) {
  8706. if (&from == this) return;
  8707. Clear();
  8708. MergeFrom(from);
  8709. }
  8710. bool CMsgApplyStrangePart::IsInitialized() const {
  8711. return true;
  8712. }
  8713. void CMsgApplyStrangePart::Swap(CMsgApplyStrangePart* other) {
  8714. if (other != this) {
  8715. std::swap(strange_part_item_id_, other->strange_part_item_id_);
  8716. std::swap(item_item_id_, other->item_item_id_);
  8717. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8718. _unknown_fields_.Swap(&other->_unknown_fields_);
  8719. std::swap(_cached_size_, other->_cached_size_);
  8720. }
  8721. }
  8722. ::google::protobuf::Metadata CMsgApplyStrangePart::GetMetadata() const {
  8723. protobuf_AssignDescriptorsOnce();
  8724. ::google::protobuf::Metadata metadata;
  8725. metadata.descriptor = CMsgApplyStrangePart_descriptor_;
  8726. metadata.reflection = CMsgApplyStrangePart_reflection_;
  8727. return metadata;
  8728. }
  8729. // ===================================================================
  8730. #ifndef _MSC_VER
  8731. const int CMsgApplyPennantUpgrade::kUpgradeItemIdFieldNumber;
  8732. const int CMsgApplyPennantUpgrade::kPennantItemIdFieldNumber;
  8733. #endif // !_MSC_VER
  8734. CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade()
  8735. : ::google::protobuf::Message() {
  8736. SharedCtor();
  8737. }
  8738. void CMsgApplyPennantUpgrade::InitAsDefaultInstance() {
  8739. }
  8740. CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade(const CMsgApplyPennantUpgrade& from)
  8741. : ::google::protobuf::Message() {
  8742. SharedCtor();
  8743. MergeFrom(from);
  8744. }
  8745. void CMsgApplyPennantUpgrade::SharedCtor() {
  8746. _cached_size_ = 0;
  8747. upgrade_item_id_ = GOOGLE_ULONGLONG(0);
  8748. pennant_item_id_ = GOOGLE_ULONGLONG(0);
  8749. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8750. }
  8751. CMsgApplyPennantUpgrade::~CMsgApplyPennantUpgrade() {
  8752. SharedDtor();
  8753. }
  8754. void CMsgApplyPennantUpgrade::SharedDtor() {
  8755. if (this != default_instance_) {
  8756. }
  8757. }
  8758. void CMsgApplyPennantUpgrade::SetCachedSize(int size) const {
  8759. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8760. _cached_size_ = size;
  8761. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8762. }
  8763. const ::google::protobuf::Descriptor* CMsgApplyPennantUpgrade::descriptor() {
  8764. protobuf_AssignDescriptorsOnce();
  8765. return CMsgApplyPennantUpgrade_descriptor_;
  8766. }
  8767. const CMsgApplyPennantUpgrade& CMsgApplyPennantUpgrade::default_instance() {
  8768. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  8769. return *default_instance_;
  8770. }
  8771. CMsgApplyPennantUpgrade* CMsgApplyPennantUpgrade::default_instance_ = NULL;
  8772. CMsgApplyPennantUpgrade* CMsgApplyPennantUpgrade::New() const {
  8773. return new CMsgApplyPennantUpgrade;
  8774. }
  8775. void CMsgApplyPennantUpgrade::Clear() {
  8776. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8777. upgrade_item_id_ = GOOGLE_ULONGLONG(0);
  8778. pennant_item_id_ = GOOGLE_ULONGLONG(0);
  8779. }
  8780. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8781. mutable_unknown_fields()->Clear();
  8782. }
  8783. bool CMsgApplyPennantUpgrade::MergePartialFromCodedStream(
  8784. ::google::protobuf::io::CodedInputStream* input) {
  8785. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8786. ::google::protobuf::uint32 tag;
  8787. while ((tag = input->ReadTag()) != 0) {
  8788. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8789. // optional uint64 upgrade_item_id = 1;
  8790. case 1: {
  8791. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8792. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8793. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8794. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8795. input, &upgrade_item_id_)));
  8796. set_has_upgrade_item_id();
  8797. } else {
  8798. goto handle_uninterpreted;
  8799. }
  8800. if (input->ExpectTag(16)) goto parse_pennant_item_id;
  8801. break;
  8802. }
  8803. // optional uint64 pennant_item_id = 2;
  8804. case 2: {
  8805. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8806. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8807. parse_pennant_item_id:
  8808. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8809. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  8810. input, &pennant_item_id_)));
  8811. set_has_pennant_item_id();
  8812. } else {
  8813. goto handle_uninterpreted;
  8814. }
  8815. if (input->ExpectAtEnd()) return true;
  8816. break;
  8817. }
  8818. default: {
  8819. handle_uninterpreted:
  8820. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8821. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8822. return true;
  8823. }
  8824. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8825. input, tag, mutable_unknown_fields()));
  8826. break;
  8827. }
  8828. }
  8829. }
  8830. return true;
  8831. #undef DO_
  8832. }
  8833. void CMsgApplyPennantUpgrade::SerializeWithCachedSizes(
  8834. ::google::protobuf::io::CodedOutputStream* output) const {
  8835. // optional uint64 upgrade_item_id = 1;
  8836. if (has_upgrade_item_id()) {
  8837. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->upgrade_item_id(), output);
  8838. }
  8839. // optional uint64 pennant_item_id = 2;
  8840. if (has_pennant_item_id()) {
  8841. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->pennant_item_id(), output);
  8842. }
  8843. if (!unknown_fields().empty()) {
  8844. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8845. unknown_fields(), output);
  8846. }
  8847. }
  8848. ::google::protobuf::uint8* CMsgApplyPennantUpgrade::SerializeWithCachedSizesToArray(
  8849. ::google::protobuf::uint8* target) const {
  8850. // optional uint64 upgrade_item_id = 1;
  8851. if (has_upgrade_item_id()) {
  8852. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->upgrade_item_id(), target);
  8853. }
  8854. // optional uint64 pennant_item_id = 2;
  8855. if (has_pennant_item_id()) {
  8856. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->pennant_item_id(), target);
  8857. }
  8858. if (!unknown_fields().empty()) {
  8859. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8860. unknown_fields(), target);
  8861. }
  8862. return target;
  8863. }
  8864. int CMsgApplyPennantUpgrade::ByteSize() const {
  8865. int total_size = 0;
  8866. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8867. // optional uint64 upgrade_item_id = 1;
  8868. if (has_upgrade_item_id()) {
  8869. total_size += 1 +
  8870. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8871. this->upgrade_item_id());
  8872. }
  8873. // optional uint64 pennant_item_id = 2;
  8874. if (has_pennant_item_id()) {
  8875. total_size += 1 +
  8876. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  8877. this->pennant_item_id());
  8878. }
  8879. }
  8880. if (!unknown_fields().empty()) {
  8881. total_size +=
  8882. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8883. unknown_fields());
  8884. }
  8885. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8886. _cached_size_ = total_size;
  8887. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8888. return total_size;
  8889. }
  8890. void CMsgApplyPennantUpgrade::MergeFrom(const ::google::protobuf::Message& from) {
  8891. GOOGLE_CHECK_NE(&from, this);
  8892. const CMsgApplyPennantUpgrade* source =
  8893. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgApplyPennantUpgrade*>(
  8894. &from);
  8895. if (source == NULL) {
  8896. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8897. } else {
  8898. MergeFrom(*source);
  8899. }
  8900. }
  8901. void CMsgApplyPennantUpgrade::MergeFrom(const CMsgApplyPennantUpgrade& from) {
  8902. GOOGLE_CHECK_NE(&from, this);
  8903. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8904. if (from.has_upgrade_item_id()) {
  8905. set_upgrade_item_id(from.upgrade_item_id());
  8906. }
  8907. if (from.has_pennant_item_id()) {
  8908. set_pennant_item_id(from.pennant_item_id());
  8909. }
  8910. }
  8911. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8912. }
  8913. void CMsgApplyPennantUpgrade::CopyFrom(const ::google::protobuf::Message& from) {
  8914. if (&from == this) return;
  8915. Clear();
  8916. MergeFrom(from);
  8917. }
  8918. void CMsgApplyPennantUpgrade::CopyFrom(const CMsgApplyPennantUpgrade& from) {
  8919. if (&from == this) return;
  8920. Clear();
  8921. MergeFrom(from);
  8922. }
  8923. bool CMsgApplyPennantUpgrade::IsInitialized() const {
  8924. return true;
  8925. }
  8926. void CMsgApplyPennantUpgrade::Swap(CMsgApplyPennantUpgrade* other) {
  8927. if (other != this) {
  8928. std::swap(upgrade_item_id_, other->upgrade_item_id_);
  8929. std::swap(pennant_item_id_, other->pennant_item_id_);
  8930. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8931. _unknown_fields_.Swap(&other->_unknown_fields_);
  8932. std::swap(_cached_size_, other->_cached_size_);
  8933. }
  8934. }
  8935. ::google::protobuf::Metadata CMsgApplyPennantUpgrade::GetMetadata() const {
  8936. protobuf_AssignDescriptorsOnce();
  8937. ::google::protobuf::Metadata metadata;
  8938. metadata.descriptor = CMsgApplyPennantUpgrade_descriptor_;
  8939. metadata.reflection = CMsgApplyPennantUpgrade_reflection_;
  8940. return metadata;
  8941. }
  8942. // ===================================================================
  8943. #ifndef _MSC_VER
  8944. const int CMsgApplyEggEssence::kEssenceItemIdFieldNumber;
  8945. const int CMsgApplyEggEssence::kEggItemIdFieldNumber;
  8946. #endif // !_MSC_VER
  8947. CMsgApplyEggEssence::CMsgApplyEggEssence()
  8948. : ::google::protobuf::Message() {
  8949. SharedCtor();
  8950. }
  8951. void CMsgApplyEggEssence::InitAsDefaultInstance() {
  8952. }
  8953. CMsgApplyEggEssence::CMsgApplyEggEssence(const CMsgApplyEggEssence& from)
  8954. : ::google::protobuf::Message() {
  8955. SharedCtor();
  8956. MergeFrom(from);
  8957. }
  8958. void CMsgApplyEggEssence::SharedCtor() {
  8959. _cached_size_ = 0;
  8960. essence_item_id_ = GOOGLE_ULONGLONG(0);
  8961. egg_item_id_ = GOOGLE_ULONGLONG(0);
  8962. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8963. }
  8964. CMsgApplyEggEssence::~CMsgApplyEggEssence() {
  8965. SharedDtor();
  8966. }
  8967. void CMsgApplyEggEssence::SharedDtor() {
  8968. if (this != default_instance_) {
  8969. }
  8970. }
  8971. void CMsgApplyEggEssence::SetCachedSize(int size) const {
  8972. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8973. _cached_size_ = size;
  8974. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8975. }
  8976. const ::google::protobuf::Descriptor* CMsgApplyEggEssence::descriptor() {
  8977. protobuf_AssignDescriptorsOnce();
  8978. return CMsgApplyEggEssence_descriptor_;
  8979. }
  8980. const CMsgApplyEggEssence& CMsgApplyEggEssence::default_instance() {
  8981. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  8982. return *default_instance_;
  8983. }
  8984. CMsgApplyEggEssence* CMsgApplyEggEssence::default_instance_ = NULL;
  8985. CMsgApplyEggEssence* CMsgApplyEggEssence::New() const {
  8986. return new CMsgApplyEggEssence;
  8987. }
  8988. void CMsgApplyEggEssence::Clear() {
  8989. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8990. essence_item_id_ = GOOGLE_ULONGLONG(0);
  8991. egg_item_id_ = GOOGLE_ULONGLONG(0);
  8992. }
  8993. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8994. mutable_unknown_fields()->Clear();
  8995. }
  8996. bool CMsgApplyEggEssence::MergePartialFromCodedStream(
  8997. ::google::protobuf::io::CodedInputStream* input) {
  8998. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8999. ::google::protobuf::uint32 tag;
  9000. while ((tag = input->ReadTag()) != 0) {
  9001. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9002. // optional uint64 essence_item_id = 1;
  9003. case 1: {
  9004. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9005. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9006. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9007. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9008. input, &essence_item_id_)));
  9009. set_has_essence_item_id();
  9010. } else {
  9011. goto handle_uninterpreted;
  9012. }
  9013. if (input->ExpectTag(16)) goto parse_egg_item_id;
  9014. break;
  9015. }
  9016. // optional uint64 egg_item_id = 2;
  9017. case 2: {
  9018. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9019. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9020. parse_egg_item_id:
  9021. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9022. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9023. input, &egg_item_id_)));
  9024. set_has_egg_item_id();
  9025. } else {
  9026. goto handle_uninterpreted;
  9027. }
  9028. if (input->ExpectAtEnd()) return true;
  9029. break;
  9030. }
  9031. default: {
  9032. handle_uninterpreted:
  9033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9035. return true;
  9036. }
  9037. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9038. input, tag, mutable_unknown_fields()));
  9039. break;
  9040. }
  9041. }
  9042. }
  9043. return true;
  9044. #undef DO_
  9045. }
  9046. void CMsgApplyEggEssence::SerializeWithCachedSizes(
  9047. ::google::protobuf::io::CodedOutputStream* output) const {
  9048. // optional uint64 essence_item_id = 1;
  9049. if (has_essence_item_id()) {
  9050. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->essence_item_id(), output);
  9051. }
  9052. // optional uint64 egg_item_id = 2;
  9053. if (has_egg_item_id()) {
  9054. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->egg_item_id(), output);
  9055. }
  9056. if (!unknown_fields().empty()) {
  9057. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9058. unknown_fields(), output);
  9059. }
  9060. }
  9061. ::google::protobuf::uint8* CMsgApplyEggEssence::SerializeWithCachedSizesToArray(
  9062. ::google::protobuf::uint8* target) const {
  9063. // optional uint64 essence_item_id = 1;
  9064. if (has_essence_item_id()) {
  9065. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->essence_item_id(), target);
  9066. }
  9067. // optional uint64 egg_item_id = 2;
  9068. if (has_egg_item_id()) {
  9069. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->egg_item_id(), target);
  9070. }
  9071. if (!unknown_fields().empty()) {
  9072. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9073. unknown_fields(), target);
  9074. }
  9075. return target;
  9076. }
  9077. int CMsgApplyEggEssence::ByteSize() const {
  9078. int total_size = 0;
  9079. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9080. // optional uint64 essence_item_id = 1;
  9081. if (has_essence_item_id()) {
  9082. total_size += 1 +
  9083. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9084. this->essence_item_id());
  9085. }
  9086. // optional uint64 egg_item_id = 2;
  9087. if (has_egg_item_id()) {
  9088. total_size += 1 +
  9089. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9090. this->egg_item_id());
  9091. }
  9092. }
  9093. if (!unknown_fields().empty()) {
  9094. total_size +=
  9095. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9096. unknown_fields());
  9097. }
  9098. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9099. _cached_size_ = total_size;
  9100. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9101. return total_size;
  9102. }
  9103. void CMsgApplyEggEssence::MergeFrom(const ::google::protobuf::Message& from) {
  9104. GOOGLE_CHECK_NE(&from, this);
  9105. const CMsgApplyEggEssence* source =
  9106. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgApplyEggEssence*>(
  9107. &from);
  9108. if (source == NULL) {
  9109. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9110. } else {
  9111. MergeFrom(*source);
  9112. }
  9113. }
  9114. void CMsgApplyEggEssence::MergeFrom(const CMsgApplyEggEssence& from) {
  9115. GOOGLE_CHECK_NE(&from, this);
  9116. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9117. if (from.has_essence_item_id()) {
  9118. set_essence_item_id(from.essence_item_id());
  9119. }
  9120. if (from.has_egg_item_id()) {
  9121. set_egg_item_id(from.egg_item_id());
  9122. }
  9123. }
  9124. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9125. }
  9126. void CMsgApplyEggEssence::CopyFrom(const ::google::protobuf::Message& from) {
  9127. if (&from == this) return;
  9128. Clear();
  9129. MergeFrom(from);
  9130. }
  9131. void CMsgApplyEggEssence::CopyFrom(const CMsgApplyEggEssence& from) {
  9132. if (&from == this) return;
  9133. Clear();
  9134. MergeFrom(from);
  9135. }
  9136. bool CMsgApplyEggEssence::IsInitialized() const {
  9137. return true;
  9138. }
  9139. void CMsgApplyEggEssence::Swap(CMsgApplyEggEssence* other) {
  9140. if (other != this) {
  9141. std::swap(essence_item_id_, other->essence_item_id_);
  9142. std::swap(egg_item_id_, other->egg_item_id_);
  9143. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9144. _unknown_fields_.Swap(&other->_unknown_fields_);
  9145. std::swap(_cached_size_, other->_cached_size_);
  9146. }
  9147. }
  9148. ::google::protobuf::Metadata CMsgApplyEggEssence::GetMetadata() const {
  9149. protobuf_AssignDescriptorsOnce();
  9150. ::google::protobuf::Metadata metadata;
  9151. metadata.descriptor = CMsgApplyEggEssence_descriptor_;
  9152. metadata.reflection = CMsgApplyEggEssence_reflection_;
  9153. return metadata;
  9154. }
  9155. // ===================================================================
  9156. #ifndef _MSC_VER
  9157. const int CSOEconItemAttribute::kDefIndexFieldNumber;
  9158. const int CSOEconItemAttribute::kValueFieldNumber;
  9159. const int CSOEconItemAttribute::kValueBytesFieldNumber;
  9160. #endif // !_MSC_VER
  9161. CSOEconItemAttribute::CSOEconItemAttribute()
  9162. : ::google::protobuf::Message() {
  9163. SharedCtor();
  9164. }
  9165. void CSOEconItemAttribute::InitAsDefaultInstance() {
  9166. }
  9167. CSOEconItemAttribute::CSOEconItemAttribute(const CSOEconItemAttribute& from)
  9168. : ::google::protobuf::Message() {
  9169. SharedCtor();
  9170. MergeFrom(from);
  9171. }
  9172. void CSOEconItemAttribute::SharedCtor() {
  9173. _cached_size_ = 0;
  9174. def_index_ = 0u;
  9175. value_ = 0u;
  9176. value_bytes_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9177. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9178. }
  9179. CSOEconItemAttribute::~CSOEconItemAttribute() {
  9180. SharedDtor();
  9181. }
  9182. void CSOEconItemAttribute::SharedDtor() {
  9183. if (value_bytes_ != &::google::protobuf::internal::kEmptyString) {
  9184. delete value_bytes_;
  9185. }
  9186. if (this != default_instance_) {
  9187. }
  9188. }
  9189. void CSOEconItemAttribute::SetCachedSize(int size) const {
  9190. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9191. _cached_size_ = size;
  9192. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9193. }
  9194. const ::google::protobuf::Descriptor* CSOEconItemAttribute::descriptor() {
  9195. protobuf_AssignDescriptorsOnce();
  9196. return CSOEconItemAttribute_descriptor_;
  9197. }
  9198. const CSOEconItemAttribute& CSOEconItemAttribute::default_instance() {
  9199. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  9200. return *default_instance_;
  9201. }
  9202. CSOEconItemAttribute* CSOEconItemAttribute::default_instance_ = NULL;
  9203. CSOEconItemAttribute* CSOEconItemAttribute::New() const {
  9204. return new CSOEconItemAttribute;
  9205. }
  9206. void CSOEconItemAttribute::Clear() {
  9207. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9208. def_index_ = 0u;
  9209. value_ = 0u;
  9210. if (has_value_bytes()) {
  9211. if (value_bytes_ != &::google::protobuf::internal::kEmptyString) {
  9212. value_bytes_->clear();
  9213. }
  9214. }
  9215. }
  9216. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9217. mutable_unknown_fields()->Clear();
  9218. }
  9219. bool CSOEconItemAttribute::MergePartialFromCodedStream(
  9220. ::google::protobuf::io::CodedInputStream* input) {
  9221. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9222. ::google::protobuf::uint32 tag;
  9223. while ((tag = input->ReadTag()) != 0) {
  9224. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9225. // optional uint32 def_index = 1;
  9226. case 1: {
  9227. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9228. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9229. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9230. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9231. input, &def_index_)));
  9232. set_has_def_index();
  9233. } else {
  9234. goto handle_uninterpreted;
  9235. }
  9236. if (input->ExpectTag(16)) goto parse_value;
  9237. break;
  9238. }
  9239. // optional uint32 value = 2;
  9240. case 2: {
  9241. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9242. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9243. parse_value:
  9244. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9245. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9246. input, &value_)));
  9247. set_has_value();
  9248. } else {
  9249. goto handle_uninterpreted;
  9250. }
  9251. if (input->ExpectTag(26)) goto parse_value_bytes;
  9252. break;
  9253. }
  9254. // optional bytes value_bytes = 3;
  9255. case 3: {
  9256. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9257. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9258. parse_value_bytes:
  9259. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  9260. input, this->mutable_value_bytes()));
  9261. } else {
  9262. goto handle_uninterpreted;
  9263. }
  9264. if (input->ExpectAtEnd()) return true;
  9265. break;
  9266. }
  9267. default: {
  9268. handle_uninterpreted:
  9269. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9270. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9271. return true;
  9272. }
  9273. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9274. input, tag, mutable_unknown_fields()));
  9275. break;
  9276. }
  9277. }
  9278. }
  9279. return true;
  9280. #undef DO_
  9281. }
  9282. void CSOEconItemAttribute::SerializeWithCachedSizes(
  9283. ::google::protobuf::io::CodedOutputStream* output) const {
  9284. // optional uint32 def_index = 1;
  9285. if (has_def_index()) {
  9286. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->def_index(), output);
  9287. }
  9288. // optional uint32 value = 2;
  9289. if (has_value()) {
  9290. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->value(), output);
  9291. }
  9292. // optional bytes value_bytes = 3;
  9293. if (has_value_bytes()) {
  9294. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  9295. 3, this->value_bytes(), output);
  9296. }
  9297. if (!unknown_fields().empty()) {
  9298. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9299. unknown_fields(), output);
  9300. }
  9301. }
  9302. ::google::protobuf::uint8* CSOEconItemAttribute::SerializeWithCachedSizesToArray(
  9303. ::google::protobuf::uint8* target) const {
  9304. // optional uint32 def_index = 1;
  9305. if (has_def_index()) {
  9306. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->def_index(), target);
  9307. }
  9308. // optional uint32 value = 2;
  9309. if (has_value()) {
  9310. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->value(), target);
  9311. }
  9312. // optional bytes value_bytes = 3;
  9313. if (has_value_bytes()) {
  9314. target =
  9315. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  9316. 3, this->value_bytes(), target);
  9317. }
  9318. if (!unknown_fields().empty()) {
  9319. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9320. unknown_fields(), target);
  9321. }
  9322. return target;
  9323. }
  9324. int CSOEconItemAttribute::ByteSize() const {
  9325. int total_size = 0;
  9326. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9327. // optional uint32 def_index = 1;
  9328. if (has_def_index()) {
  9329. total_size += 1 +
  9330. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  9331. this->def_index());
  9332. }
  9333. // optional uint32 value = 2;
  9334. if (has_value()) {
  9335. total_size += 1 +
  9336. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  9337. this->value());
  9338. }
  9339. // optional bytes value_bytes = 3;
  9340. if (has_value_bytes()) {
  9341. total_size += 1 +
  9342. ::google::protobuf::internal::WireFormatLite::BytesSize(
  9343. this->value_bytes());
  9344. }
  9345. }
  9346. if (!unknown_fields().empty()) {
  9347. total_size +=
  9348. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9349. unknown_fields());
  9350. }
  9351. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9352. _cached_size_ = total_size;
  9353. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9354. return total_size;
  9355. }
  9356. void CSOEconItemAttribute::MergeFrom(const ::google::protobuf::Message& from) {
  9357. GOOGLE_CHECK_NE(&from, this);
  9358. const CSOEconItemAttribute* source =
  9359. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconItemAttribute*>(
  9360. &from);
  9361. if (source == NULL) {
  9362. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9363. } else {
  9364. MergeFrom(*source);
  9365. }
  9366. }
  9367. void CSOEconItemAttribute::MergeFrom(const CSOEconItemAttribute& from) {
  9368. GOOGLE_CHECK_NE(&from, this);
  9369. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9370. if (from.has_def_index()) {
  9371. set_def_index(from.def_index());
  9372. }
  9373. if (from.has_value()) {
  9374. set_value(from.value());
  9375. }
  9376. if (from.has_value_bytes()) {
  9377. set_value_bytes(from.value_bytes());
  9378. }
  9379. }
  9380. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9381. }
  9382. void CSOEconItemAttribute::CopyFrom(const ::google::protobuf::Message& from) {
  9383. if (&from == this) return;
  9384. Clear();
  9385. MergeFrom(from);
  9386. }
  9387. void CSOEconItemAttribute::CopyFrom(const CSOEconItemAttribute& from) {
  9388. if (&from == this) return;
  9389. Clear();
  9390. MergeFrom(from);
  9391. }
  9392. bool CSOEconItemAttribute::IsInitialized() const {
  9393. return true;
  9394. }
  9395. void CSOEconItemAttribute::Swap(CSOEconItemAttribute* other) {
  9396. if (other != this) {
  9397. std::swap(def_index_, other->def_index_);
  9398. std::swap(value_, other->value_);
  9399. std::swap(value_bytes_, other->value_bytes_);
  9400. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9401. _unknown_fields_.Swap(&other->_unknown_fields_);
  9402. std::swap(_cached_size_, other->_cached_size_);
  9403. }
  9404. }
  9405. ::google::protobuf::Metadata CSOEconItemAttribute::GetMetadata() const {
  9406. protobuf_AssignDescriptorsOnce();
  9407. ::google::protobuf::Metadata metadata;
  9408. metadata.descriptor = CSOEconItemAttribute_descriptor_;
  9409. metadata.reflection = CSOEconItemAttribute_reflection_;
  9410. return metadata;
  9411. }
  9412. // ===================================================================
  9413. #ifndef _MSC_VER
  9414. const int CSOEconItemEquipped::kNewClassFieldNumber;
  9415. const int CSOEconItemEquipped::kNewSlotFieldNumber;
  9416. #endif // !_MSC_VER
  9417. CSOEconItemEquipped::CSOEconItemEquipped()
  9418. : ::google::protobuf::Message() {
  9419. SharedCtor();
  9420. }
  9421. void CSOEconItemEquipped::InitAsDefaultInstance() {
  9422. }
  9423. CSOEconItemEquipped::CSOEconItemEquipped(const CSOEconItemEquipped& from)
  9424. : ::google::protobuf::Message() {
  9425. SharedCtor();
  9426. MergeFrom(from);
  9427. }
  9428. void CSOEconItemEquipped::SharedCtor() {
  9429. _cached_size_ = 0;
  9430. new_class_ = 0u;
  9431. new_slot_ = 0u;
  9432. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9433. }
  9434. CSOEconItemEquipped::~CSOEconItemEquipped() {
  9435. SharedDtor();
  9436. }
  9437. void CSOEconItemEquipped::SharedDtor() {
  9438. if (this != default_instance_) {
  9439. }
  9440. }
  9441. void CSOEconItemEquipped::SetCachedSize(int size) const {
  9442. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9443. _cached_size_ = size;
  9444. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9445. }
  9446. const ::google::protobuf::Descriptor* CSOEconItemEquipped::descriptor() {
  9447. protobuf_AssignDescriptorsOnce();
  9448. return CSOEconItemEquipped_descriptor_;
  9449. }
  9450. const CSOEconItemEquipped& CSOEconItemEquipped::default_instance() {
  9451. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  9452. return *default_instance_;
  9453. }
  9454. CSOEconItemEquipped* CSOEconItemEquipped::default_instance_ = NULL;
  9455. CSOEconItemEquipped* CSOEconItemEquipped::New() const {
  9456. return new CSOEconItemEquipped;
  9457. }
  9458. void CSOEconItemEquipped::Clear() {
  9459. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9460. new_class_ = 0u;
  9461. new_slot_ = 0u;
  9462. }
  9463. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9464. mutable_unknown_fields()->Clear();
  9465. }
  9466. bool CSOEconItemEquipped::MergePartialFromCodedStream(
  9467. ::google::protobuf::io::CodedInputStream* input) {
  9468. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9469. ::google::protobuf::uint32 tag;
  9470. while ((tag = input->ReadTag()) != 0) {
  9471. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9472. // optional uint32 new_class = 1;
  9473. case 1: {
  9474. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9475. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9476. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9477. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9478. input, &new_class_)));
  9479. set_has_new_class();
  9480. } else {
  9481. goto handle_uninterpreted;
  9482. }
  9483. if (input->ExpectTag(16)) goto parse_new_slot;
  9484. break;
  9485. }
  9486. // optional uint32 new_slot = 2;
  9487. case 2: {
  9488. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9489. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9490. parse_new_slot:
  9491. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9492. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9493. input, &new_slot_)));
  9494. set_has_new_slot();
  9495. } else {
  9496. goto handle_uninterpreted;
  9497. }
  9498. if (input->ExpectAtEnd()) return true;
  9499. break;
  9500. }
  9501. default: {
  9502. handle_uninterpreted:
  9503. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9504. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9505. return true;
  9506. }
  9507. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9508. input, tag, mutable_unknown_fields()));
  9509. break;
  9510. }
  9511. }
  9512. }
  9513. return true;
  9514. #undef DO_
  9515. }
  9516. void CSOEconItemEquipped::SerializeWithCachedSizes(
  9517. ::google::protobuf::io::CodedOutputStream* output) const {
  9518. // optional uint32 new_class = 1;
  9519. if (has_new_class()) {
  9520. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->new_class(), output);
  9521. }
  9522. // optional uint32 new_slot = 2;
  9523. if (has_new_slot()) {
  9524. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->new_slot(), output);
  9525. }
  9526. if (!unknown_fields().empty()) {
  9527. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9528. unknown_fields(), output);
  9529. }
  9530. }
  9531. ::google::protobuf::uint8* CSOEconItemEquipped::SerializeWithCachedSizesToArray(
  9532. ::google::protobuf::uint8* target) const {
  9533. // optional uint32 new_class = 1;
  9534. if (has_new_class()) {
  9535. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->new_class(), target);
  9536. }
  9537. // optional uint32 new_slot = 2;
  9538. if (has_new_slot()) {
  9539. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->new_slot(), target);
  9540. }
  9541. if (!unknown_fields().empty()) {
  9542. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9543. unknown_fields(), target);
  9544. }
  9545. return target;
  9546. }
  9547. int CSOEconItemEquipped::ByteSize() const {
  9548. int total_size = 0;
  9549. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9550. // optional uint32 new_class = 1;
  9551. if (has_new_class()) {
  9552. total_size += 1 +
  9553. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  9554. this->new_class());
  9555. }
  9556. // optional uint32 new_slot = 2;
  9557. if (has_new_slot()) {
  9558. total_size += 1 +
  9559. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  9560. this->new_slot());
  9561. }
  9562. }
  9563. if (!unknown_fields().empty()) {
  9564. total_size +=
  9565. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9566. unknown_fields());
  9567. }
  9568. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9569. _cached_size_ = total_size;
  9570. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9571. return total_size;
  9572. }
  9573. void CSOEconItemEquipped::MergeFrom(const ::google::protobuf::Message& from) {
  9574. GOOGLE_CHECK_NE(&from, this);
  9575. const CSOEconItemEquipped* source =
  9576. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconItemEquipped*>(
  9577. &from);
  9578. if (source == NULL) {
  9579. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9580. } else {
  9581. MergeFrom(*source);
  9582. }
  9583. }
  9584. void CSOEconItemEquipped::MergeFrom(const CSOEconItemEquipped& from) {
  9585. GOOGLE_CHECK_NE(&from, this);
  9586. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9587. if (from.has_new_class()) {
  9588. set_new_class(from.new_class());
  9589. }
  9590. if (from.has_new_slot()) {
  9591. set_new_slot(from.new_slot());
  9592. }
  9593. }
  9594. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9595. }
  9596. void CSOEconItemEquipped::CopyFrom(const ::google::protobuf::Message& from) {
  9597. if (&from == this) return;
  9598. Clear();
  9599. MergeFrom(from);
  9600. }
  9601. void CSOEconItemEquipped::CopyFrom(const CSOEconItemEquipped& from) {
  9602. if (&from == this) return;
  9603. Clear();
  9604. MergeFrom(from);
  9605. }
  9606. bool CSOEconItemEquipped::IsInitialized() const {
  9607. return true;
  9608. }
  9609. void CSOEconItemEquipped::Swap(CSOEconItemEquipped* other) {
  9610. if (other != this) {
  9611. std::swap(new_class_, other->new_class_);
  9612. std::swap(new_slot_, other->new_slot_);
  9613. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9614. _unknown_fields_.Swap(&other->_unknown_fields_);
  9615. std::swap(_cached_size_, other->_cached_size_);
  9616. }
  9617. }
  9618. ::google::protobuf::Metadata CSOEconItemEquipped::GetMetadata() const {
  9619. protobuf_AssignDescriptorsOnce();
  9620. ::google::protobuf::Metadata metadata;
  9621. metadata.descriptor = CSOEconItemEquipped_descriptor_;
  9622. metadata.reflection = CSOEconItemEquipped_reflection_;
  9623. return metadata;
  9624. }
  9625. // ===================================================================
  9626. #ifndef _MSC_VER
  9627. const int CSOEconItem::kIdFieldNumber;
  9628. const int CSOEconItem::kAccountIdFieldNumber;
  9629. const int CSOEconItem::kInventoryFieldNumber;
  9630. const int CSOEconItem::kDefIndexFieldNumber;
  9631. const int CSOEconItem::kQuantityFieldNumber;
  9632. const int CSOEconItem::kLevelFieldNumber;
  9633. const int CSOEconItem::kQualityFieldNumber;
  9634. const int CSOEconItem::kFlagsFieldNumber;
  9635. const int CSOEconItem::kOriginFieldNumber;
  9636. const int CSOEconItem::kCustomNameFieldNumber;
  9637. const int CSOEconItem::kCustomDescFieldNumber;
  9638. const int CSOEconItem::kAttributeFieldNumber;
  9639. const int CSOEconItem::kInteriorItemFieldNumber;
  9640. const int CSOEconItem::kInUseFieldNumber;
  9641. const int CSOEconItem::kStyleFieldNumber;
  9642. const int CSOEconItem::kOriginalIdFieldNumber;
  9643. const int CSOEconItem::kEquippedStateFieldNumber;
  9644. const int CSOEconItem::kRarityFieldNumber;
  9645. #endif // !_MSC_VER
  9646. CSOEconItem::CSOEconItem()
  9647. : ::google::protobuf::Message() {
  9648. SharedCtor();
  9649. }
  9650. void CSOEconItem::InitAsDefaultInstance() {
  9651. interior_item_ = const_cast< ::CSOEconItem*>(&::CSOEconItem::default_instance());
  9652. }
  9653. CSOEconItem::CSOEconItem(const CSOEconItem& from)
  9654. : ::google::protobuf::Message() {
  9655. SharedCtor();
  9656. MergeFrom(from);
  9657. }
  9658. void CSOEconItem::SharedCtor() {
  9659. _cached_size_ = 0;
  9660. id_ = GOOGLE_ULONGLONG(0);
  9661. account_id_ = 0u;
  9662. inventory_ = 0u;
  9663. def_index_ = 0u;
  9664. quantity_ = 0u;
  9665. level_ = 0u;
  9666. quality_ = 0u;
  9667. flags_ = 0u;
  9668. origin_ = 0u;
  9669. custom_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9670. custom_desc_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9671. interior_item_ = NULL;
  9672. in_use_ = false;
  9673. style_ = 0u;
  9674. original_id_ = GOOGLE_ULONGLONG(0);
  9675. rarity_ = 0u;
  9676. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9677. }
  9678. CSOEconItem::~CSOEconItem() {
  9679. SharedDtor();
  9680. }
  9681. void CSOEconItem::SharedDtor() {
  9682. if (custom_name_ != &::google::protobuf::internal::kEmptyString) {
  9683. delete custom_name_;
  9684. }
  9685. if (custom_desc_ != &::google::protobuf::internal::kEmptyString) {
  9686. delete custom_desc_;
  9687. }
  9688. if (this != default_instance_) {
  9689. delete interior_item_;
  9690. }
  9691. }
  9692. void CSOEconItem::SetCachedSize(int size) const {
  9693. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9694. _cached_size_ = size;
  9695. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9696. }
  9697. const ::google::protobuf::Descriptor* CSOEconItem::descriptor() {
  9698. protobuf_AssignDescriptorsOnce();
  9699. return CSOEconItem_descriptor_;
  9700. }
  9701. const CSOEconItem& CSOEconItem::default_instance() {
  9702. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  9703. return *default_instance_;
  9704. }
  9705. CSOEconItem* CSOEconItem::default_instance_ = NULL;
  9706. CSOEconItem* CSOEconItem::New() const {
  9707. return new CSOEconItem;
  9708. }
  9709. void CSOEconItem::Clear() {
  9710. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9711. id_ = GOOGLE_ULONGLONG(0);
  9712. account_id_ = 0u;
  9713. inventory_ = 0u;
  9714. def_index_ = 0u;
  9715. quantity_ = 0u;
  9716. level_ = 0u;
  9717. quality_ = 0u;
  9718. flags_ = 0u;
  9719. }
  9720. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9721. origin_ = 0u;
  9722. if (has_custom_name()) {
  9723. if (custom_name_ != &::google::protobuf::internal::kEmptyString) {
  9724. custom_name_->clear();
  9725. }
  9726. }
  9727. if (has_custom_desc()) {
  9728. if (custom_desc_ != &::google::protobuf::internal::kEmptyString) {
  9729. custom_desc_->clear();
  9730. }
  9731. }
  9732. if (has_interior_item()) {
  9733. if (interior_item_ != NULL) interior_item_->::CSOEconItem::Clear();
  9734. }
  9735. in_use_ = false;
  9736. style_ = 0u;
  9737. original_id_ = GOOGLE_ULONGLONG(0);
  9738. }
  9739. if (_has_bits_[17 / 32] & (0xffu << (17 % 32))) {
  9740. rarity_ = 0u;
  9741. }
  9742. attribute_.Clear();
  9743. equipped_state_.Clear();
  9744. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9745. mutable_unknown_fields()->Clear();
  9746. }
  9747. bool CSOEconItem::MergePartialFromCodedStream(
  9748. ::google::protobuf::io::CodedInputStream* input) {
  9749. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9750. ::google::protobuf::uint32 tag;
  9751. while ((tag = input->ReadTag()) != 0) {
  9752. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9753. // optional uint64 id = 1;
  9754. case 1: {
  9755. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9756. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9757. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9758. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9759. input, &id_)));
  9760. set_has_id();
  9761. } else {
  9762. goto handle_uninterpreted;
  9763. }
  9764. if (input->ExpectTag(16)) goto parse_account_id;
  9765. break;
  9766. }
  9767. // optional uint32 account_id = 2;
  9768. case 2: {
  9769. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9770. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9771. parse_account_id:
  9772. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9773. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9774. input, &account_id_)));
  9775. set_has_account_id();
  9776. } else {
  9777. goto handle_uninterpreted;
  9778. }
  9779. if (input->ExpectTag(24)) goto parse_inventory;
  9780. break;
  9781. }
  9782. // optional uint32 inventory = 3;
  9783. case 3: {
  9784. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9785. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9786. parse_inventory:
  9787. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9788. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9789. input, &inventory_)));
  9790. set_has_inventory();
  9791. } else {
  9792. goto handle_uninterpreted;
  9793. }
  9794. if (input->ExpectTag(32)) goto parse_def_index;
  9795. break;
  9796. }
  9797. // optional uint32 def_index = 4;
  9798. case 4: {
  9799. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9800. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9801. parse_def_index:
  9802. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9803. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9804. input, &def_index_)));
  9805. set_has_def_index();
  9806. } else {
  9807. goto handle_uninterpreted;
  9808. }
  9809. if (input->ExpectTag(40)) goto parse_quantity;
  9810. break;
  9811. }
  9812. // optional uint32 quantity = 5;
  9813. case 5: {
  9814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9816. parse_quantity:
  9817. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9818. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9819. input, &quantity_)));
  9820. set_has_quantity();
  9821. } else {
  9822. goto handle_uninterpreted;
  9823. }
  9824. if (input->ExpectTag(48)) goto parse_level;
  9825. break;
  9826. }
  9827. // optional uint32 level = 6;
  9828. case 6: {
  9829. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9830. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9831. parse_level:
  9832. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9833. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9834. input, &level_)));
  9835. set_has_level();
  9836. } else {
  9837. goto handle_uninterpreted;
  9838. }
  9839. if (input->ExpectTag(56)) goto parse_quality;
  9840. break;
  9841. }
  9842. // optional uint32 quality = 7;
  9843. case 7: {
  9844. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9845. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9846. parse_quality:
  9847. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9848. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9849. input, &quality_)));
  9850. set_has_quality();
  9851. } else {
  9852. goto handle_uninterpreted;
  9853. }
  9854. if (input->ExpectTag(64)) goto parse_flags;
  9855. break;
  9856. }
  9857. // optional uint32 flags = 8 [default = 0];
  9858. case 8: {
  9859. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9860. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9861. parse_flags:
  9862. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9863. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9864. input, &flags_)));
  9865. set_has_flags();
  9866. } else {
  9867. goto handle_uninterpreted;
  9868. }
  9869. if (input->ExpectTag(72)) goto parse_origin;
  9870. break;
  9871. }
  9872. // optional uint32 origin = 9;
  9873. case 9: {
  9874. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9875. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9876. parse_origin:
  9877. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9878. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9879. input, &origin_)));
  9880. set_has_origin();
  9881. } else {
  9882. goto handle_uninterpreted;
  9883. }
  9884. if (input->ExpectTag(82)) goto parse_custom_name;
  9885. break;
  9886. }
  9887. // optional string custom_name = 10;
  9888. case 10: {
  9889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9891. parse_custom_name:
  9892. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9893. input, this->mutable_custom_name()));
  9894. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9895. this->custom_name().data(), this->custom_name().length(),
  9896. ::google::protobuf::internal::WireFormat::PARSE);
  9897. } else {
  9898. goto handle_uninterpreted;
  9899. }
  9900. if (input->ExpectTag(90)) goto parse_custom_desc;
  9901. break;
  9902. }
  9903. // optional string custom_desc = 11;
  9904. case 11: {
  9905. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9906. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9907. parse_custom_desc:
  9908. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9909. input, this->mutable_custom_desc()));
  9910. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9911. this->custom_desc().data(), this->custom_desc().length(),
  9912. ::google::protobuf::internal::WireFormat::PARSE);
  9913. } else {
  9914. goto handle_uninterpreted;
  9915. }
  9916. if (input->ExpectTag(98)) goto parse_attribute;
  9917. break;
  9918. }
  9919. // repeated .CSOEconItemAttribute attribute = 12;
  9920. case 12: {
  9921. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9922. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9923. parse_attribute:
  9924. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9925. input, add_attribute()));
  9926. } else {
  9927. goto handle_uninterpreted;
  9928. }
  9929. if (input->ExpectTag(98)) goto parse_attribute;
  9930. if (input->ExpectTag(106)) goto parse_interior_item;
  9931. break;
  9932. }
  9933. // optional .CSOEconItem interior_item = 13;
  9934. case 13: {
  9935. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9936. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9937. parse_interior_item:
  9938. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9939. input, mutable_interior_item()));
  9940. } else {
  9941. goto handle_uninterpreted;
  9942. }
  9943. if (input->ExpectTag(112)) goto parse_in_use;
  9944. break;
  9945. }
  9946. // optional bool in_use = 14 [default = false];
  9947. case 14: {
  9948. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9949. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9950. parse_in_use:
  9951. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9952. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  9953. input, &in_use_)));
  9954. set_has_in_use();
  9955. } else {
  9956. goto handle_uninterpreted;
  9957. }
  9958. if (input->ExpectTag(120)) goto parse_style;
  9959. break;
  9960. }
  9961. // optional uint32 style = 15 [default = 0];
  9962. case 15: {
  9963. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9964. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9965. parse_style:
  9966. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9967. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9968. input, &style_)));
  9969. set_has_style();
  9970. } else {
  9971. goto handle_uninterpreted;
  9972. }
  9973. if (input->ExpectTag(128)) goto parse_original_id;
  9974. break;
  9975. }
  9976. // optional uint64 original_id = 16 [default = 0];
  9977. case 16: {
  9978. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9979. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9980. parse_original_id:
  9981. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9982. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9983. input, &original_id_)));
  9984. set_has_original_id();
  9985. } else {
  9986. goto handle_uninterpreted;
  9987. }
  9988. if (input->ExpectTag(146)) goto parse_equipped_state;
  9989. break;
  9990. }
  9991. // repeated .CSOEconItemEquipped equipped_state = 18;
  9992. case 18: {
  9993. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9994. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9995. parse_equipped_state:
  9996. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9997. input, add_equipped_state()));
  9998. } else {
  9999. goto handle_uninterpreted;
  10000. }
  10001. if (input->ExpectTag(146)) goto parse_equipped_state;
  10002. if (input->ExpectTag(152)) goto parse_rarity;
  10003. break;
  10004. }
  10005. // optional uint32 rarity = 19;
  10006. case 19: {
  10007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10009. parse_rarity:
  10010. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10011. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10012. input, &rarity_)));
  10013. set_has_rarity();
  10014. } else {
  10015. goto handle_uninterpreted;
  10016. }
  10017. if (input->ExpectAtEnd()) return true;
  10018. break;
  10019. }
  10020. default: {
  10021. handle_uninterpreted:
  10022. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10023. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10024. return true;
  10025. }
  10026. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10027. input, tag, mutable_unknown_fields()));
  10028. break;
  10029. }
  10030. }
  10031. }
  10032. return true;
  10033. #undef DO_
  10034. }
  10035. void CSOEconItem::SerializeWithCachedSizes(
  10036. ::google::protobuf::io::CodedOutputStream* output) const {
  10037. // optional uint64 id = 1;
  10038. if (has_id()) {
  10039. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->id(), output);
  10040. }
  10041. // optional uint32 account_id = 2;
  10042. if (has_account_id()) {
  10043. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->account_id(), output);
  10044. }
  10045. // optional uint32 inventory = 3;
  10046. if (has_inventory()) {
  10047. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->inventory(), output);
  10048. }
  10049. // optional uint32 def_index = 4;
  10050. if (has_def_index()) {
  10051. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->def_index(), output);
  10052. }
  10053. // optional uint32 quantity = 5;
  10054. if (has_quantity()) {
  10055. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->quantity(), output);
  10056. }
  10057. // optional uint32 level = 6;
  10058. if (has_level()) {
  10059. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->level(), output);
  10060. }
  10061. // optional uint32 quality = 7;
  10062. if (has_quality()) {
  10063. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->quality(), output);
  10064. }
  10065. // optional uint32 flags = 8 [default = 0];
  10066. if (has_flags()) {
  10067. ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->flags(), output);
  10068. }
  10069. // optional uint32 origin = 9;
  10070. if (has_origin()) {
  10071. ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->origin(), output);
  10072. }
  10073. // optional string custom_name = 10;
  10074. if (has_custom_name()) {
  10075. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10076. this->custom_name().data(), this->custom_name().length(),
  10077. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10078. ::google::protobuf::internal::WireFormatLite::WriteString(
  10079. 10, this->custom_name(), output);
  10080. }
  10081. // optional string custom_desc = 11;
  10082. if (has_custom_desc()) {
  10083. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10084. this->custom_desc().data(), this->custom_desc().length(),
  10085. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10086. ::google::protobuf::internal::WireFormatLite::WriteString(
  10087. 11, this->custom_desc(), output);
  10088. }
  10089. // repeated .CSOEconItemAttribute attribute = 12;
  10090. for (int i = 0; i < this->attribute_size(); i++) {
  10091. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10092. 12, this->attribute(i), output);
  10093. }
  10094. // optional .CSOEconItem interior_item = 13;
  10095. if (has_interior_item()) {
  10096. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10097. 13, this->interior_item(), output);
  10098. }
  10099. // optional bool in_use = 14 [default = false];
  10100. if (has_in_use()) {
  10101. ::google::protobuf::internal::WireFormatLite::WriteBool(14, this->in_use(), output);
  10102. }
  10103. // optional uint32 style = 15 [default = 0];
  10104. if (has_style()) {
  10105. ::google::protobuf::internal::WireFormatLite::WriteUInt32(15, this->style(), output);
  10106. }
  10107. // optional uint64 original_id = 16 [default = 0];
  10108. if (has_original_id()) {
  10109. ::google::protobuf::internal::WireFormatLite::WriteUInt64(16, this->original_id(), output);
  10110. }
  10111. // repeated .CSOEconItemEquipped equipped_state = 18;
  10112. for (int i = 0; i < this->equipped_state_size(); i++) {
  10113. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10114. 18, this->equipped_state(i), output);
  10115. }
  10116. // optional uint32 rarity = 19;
  10117. if (has_rarity()) {
  10118. ::google::protobuf::internal::WireFormatLite::WriteUInt32(19, this->rarity(), output);
  10119. }
  10120. if (!unknown_fields().empty()) {
  10121. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10122. unknown_fields(), output);
  10123. }
  10124. }
  10125. ::google::protobuf::uint8* CSOEconItem::SerializeWithCachedSizesToArray(
  10126. ::google::protobuf::uint8* target) const {
  10127. // optional uint64 id = 1;
  10128. if (has_id()) {
  10129. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->id(), target);
  10130. }
  10131. // optional uint32 account_id = 2;
  10132. if (has_account_id()) {
  10133. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->account_id(), target);
  10134. }
  10135. // optional uint32 inventory = 3;
  10136. if (has_inventory()) {
  10137. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->inventory(), target);
  10138. }
  10139. // optional uint32 def_index = 4;
  10140. if (has_def_index()) {
  10141. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->def_index(), target);
  10142. }
  10143. // optional uint32 quantity = 5;
  10144. if (has_quantity()) {
  10145. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->quantity(), target);
  10146. }
  10147. // optional uint32 level = 6;
  10148. if (has_level()) {
  10149. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->level(), target);
  10150. }
  10151. // optional uint32 quality = 7;
  10152. if (has_quality()) {
  10153. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->quality(), target);
  10154. }
  10155. // optional uint32 flags = 8 [default = 0];
  10156. if (has_flags()) {
  10157. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->flags(), target);
  10158. }
  10159. // optional uint32 origin = 9;
  10160. if (has_origin()) {
  10161. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->origin(), target);
  10162. }
  10163. // optional string custom_name = 10;
  10164. if (has_custom_name()) {
  10165. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10166. this->custom_name().data(), this->custom_name().length(),
  10167. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10168. target =
  10169. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10170. 10, this->custom_name(), target);
  10171. }
  10172. // optional string custom_desc = 11;
  10173. if (has_custom_desc()) {
  10174. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10175. this->custom_desc().data(), this->custom_desc().length(),
  10176. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10177. target =
  10178. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10179. 11, this->custom_desc(), target);
  10180. }
  10181. // repeated .CSOEconItemAttribute attribute = 12;
  10182. for (int i = 0; i < this->attribute_size(); i++) {
  10183. target = ::google::protobuf::internal::WireFormatLite::
  10184. WriteMessageNoVirtualToArray(
  10185. 12, this->attribute(i), target);
  10186. }
  10187. // optional .CSOEconItem interior_item = 13;
  10188. if (has_interior_item()) {
  10189. target = ::google::protobuf::internal::WireFormatLite::
  10190. WriteMessageNoVirtualToArray(
  10191. 13, this->interior_item(), target);
  10192. }
  10193. // optional bool in_use = 14 [default = false];
  10194. if (has_in_use()) {
  10195. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(14, this->in_use(), target);
  10196. }
  10197. // optional uint32 style = 15 [default = 0];
  10198. if (has_style()) {
  10199. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(15, this->style(), target);
  10200. }
  10201. // optional uint64 original_id = 16 [default = 0];
  10202. if (has_original_id()) {
  10203. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(16, this->original_id(), target);
  10204. }
  10205. // repeated .CSOEconItemEquipped equipped_state = 18;
  10206. for (int i = 0; i < this->equipped_state_size(); i++) {
  10207. target = ::google::protobuf::internal::WireFormatLite::
  10208. WriteMessageNoVirtualToArray(
  10209. 18, this->equipped_state(i), target);
  10210. }
  10211. // optional uint32 rarity = 19;
  10212. if (has_rarity()) {
  10213. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(19, this->rarity(), target);
  10214. }
  10215. if (!unknown_fields().empty()) {
  10216. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10217. unknown_fields(), target);
  10218. }
  10219. return target;
  10220. }
  10221. int CSOEconItem::ByteSize() const {
  10222. int total_size = 0;
  10223. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10224. // optional uint64 id = 1;
  10225. if (has_id()) {
  10226. total_size += 1 +
  10227. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  10228. this->id());
  10229. }
  10230. // optional uint32 account_id = 2;
  10231. if (has_account_id()) {
  10232. total_size += 1 +
  10233. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10234. this->account_id());
  10235. }
  10236. // optional uint32 inventory = 3;
  10237. if (has_inventory()) {
  10238. total_size += 1 +
  10239. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10240. this->inventory());
  10241. }
  10242. // optional uint32 def_index = 4;
  10243. if (has_def_index()) {
  10244. total_size += 1 +
  10245. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10246. this->def_index());
  10247. }
  10248. // optional uint32 quantity = 5;
  10249. if (has_quantity()) {
  10250. total_size += 1 +
  10251. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10252. this->quantity());
  10253. }
  10254. // optional uint32 level = 6;
  10255. if (has_level()) {
  10256. total_size += 1 +
  10257. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10258. this->level());
  10259. }
  10260. // optional uint32 quality = 7;
  10261. if (has_quality()) {
  10262. total_size += 1 +
  10263. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10264. this->quality());
  10265. }
  10266. // optional uint32 flags = 8 [default = 0];
  10267. if (has_flags()) {
  10268. total_size += 1 +
  10269. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10270. this->flags());
  10271. }
  10272. }
  10273. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10274. // optional uint32 origin = 9;
  10275. if (has_origin()) {
  10276. total_size += 1 +
  10277. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10278. this->origin());
  10279. }
  10280. // optional string custom_name = 10;
  10281. if (has_custom_name()) {
  10282. total_size += 1 +
  10283. ::google::protobuf::internal::WireFormatLite::StringSize(
  10284. this->custom_name());
  10285. }
  10286. // optional string custom_desc = 11;
  10287. if (has_custom_desc()) {
  10288. total_size += 1 +
  10289. ::google::protobuf::internal::WireFormatLite::StringSize(
  10290. this->custom_desc());
  10291. }
  10292. // optional .CSOEconItem interior_item = 13;
  10293. if (has_interior_item()) {
  10294. total_size += 1 +
  10295. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10296. this->interior_item());
  10297. }
  10298. // optional bool in_use = 14 [default = false];
  10299. if (has_in_use()) {
  10300. total_size += 1 + 1;
  10301. }
  10302. // optional uint32 style = 15 [default = 0];
  10303. if (has_style()) {
  10304. total_size += 1 +
  10305. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10306. this->style());
  10307. }
  10308. // optional uint64 original_id = 16 [default = 0];
  10309. if (has_original_id()) {
  10310. total_size += 2 +
  10311. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  10312. this->original_id());
  10313. }
  10314. }
  10315. if (_has_bits_[17 / 32] & (0xffu << (17 % 32))) {
  10316. // optional uint32 rarity = 19;
  10317. if (has_rarity()) {
  10318. total_size += 2 +
  10319. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10320. this->rarity());
  10321. }
  10322. }
  10323. // repeated .CSOEconItemAttribute attribute = 12;
  10324. total_size += 1 * this->attribute_size();
  10325. for (int i = 0; i < this->attribute_size(); i++) {
  10326. total_size +=
  10327. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10328. this->attribute(i));
  10329. }
  10330. // repeated .CSOEconItemEquipped equipped_state = 18;
  10331. total_size += 2 * this->equipped_state_size();
  10332. for (int i = 0; i < this->equipped_state_size(); i++) {
  10333. total_size +=
  10334. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10335. this->equipped_state(i));
  10336. }
  10337. if (!unknown_fields().empty()) {
  10338. total_size +=
  10339. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10340. unknown_fields());
  10341. }
  10342. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10343. _cached_size_ = total_size;
  10344. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10345. return total_size;
  10346. }
  10347. void CSOEconItem::MergeFrom(const ::google::protobuf::Message& from) {
  10348. GOOGLE_CHECK_NE(&from, this);
  10349. const CSOEconItem* source =
  10350. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconItem*>(
  10351. &from);
  10352. if (source == NULL) {
  10353. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10354. } else {
  10355. MergeFrom(*source);
  10356. }
  10357. }
  10358. void CSOEconItem::MergeFrom(const CSOEconItem& from) {
  10359. GOOGLE_CHECK_NE(&from, this);
  10360. attribute_.MergeFrom(from.attribute_);
  10361. equipped_state_.MergeFrom(from.equipped_state_);
  10362. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10363. if (from.has_id()) {
  10364. set_id(from.id());
  10365. }
  10366. if (from.has_account_id()) {
  10367. set_account_id(from.account_id());
  10368. }
  10369. if (from.has_inventory()) {
  10370. set_inventory(from.inventory());
  10371. }
  10372. if (from.has_def_index()) {
  10373. set_def_index(from.def_index());
  10374. }
  10375. if (from.has_quantity()) {
  10376. set_quantity(from.quantity());
  10377. }
  10378. if (from.has_level()) {
  10379. set_level(from.level());
  10380. }
  10381. if (from.has_quality()) {
  10382. set_quality(from.quality());
  10383. }
  10384. if (from.has_flags()) {
  10385. set_flags(from.flags());
  10386. }
  10387. }
  10388. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10389. if (from.has_origin()) {
  10390. set_origin(from.origin());
  10391. }
  10392. if (from.has_custom_name()) {
  10393. set_custom_name(from.custom_name());
  10394. }
  10395. if (from.has_custom_desc()) {
  10396. set_custom_desc(from.custom_desc());
  10397. }
  10398. if (from.has_interior_item()) {
  10399. mutable_interior_item()->::CSOEconItem::MergeFrom(from.interior_item());
  10400. }
  10401. if (from.has_in_use()) {
  10402. set_in_use(from.in_use());
  10403. }
  10404. if (from.has_style()) {
  10405. set_style(from.style());
  10406. }
  10407. if (from.has_original_id()) {
  10408. set_original_id(from.original_id());
  10409. }
  10410. }
  10411. if (from._has_bits_[17 / 32] & (0xffu << (17 % 32))) {
  10412. if (from.has_rarity()) {
  10413. set_rarity(from.rarity());
  10414. }
  10415. }
  10416. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10417. }
  10418. void CSOEconItem::CopyFrom(const ::google::protobuf::Message& from) {
  10419. if (&from == this) return;
  10420. Clear();
  10421. MergeFrom(from);
  10422. }
  10423. void CSOEconItem::CopyFrom(const CSOEconItem& from) {
  10424. if (&from == this) return;
  10425. Clear();
  10426. MergeFrom(from);
  10427. }
  10428. bool CSOEconItem::IsInitialized() const {
  10429. return true;
  10430. }
  10431. void CSOEconItem::Swap(CSOEconItem* other) {
  10432. if (other != this) {
  10433. std::swap(id_, other->id_);
  10434. std::swap(account_id_, other->account_id_);
  10435. std::swap(inventory_, other->inventory_);
  10436. std::swap(def_index_, other->def_index_);
  10437. std::swap(quantity_, other->quantity_);
  10438. std::swap(level_, other->level_);
  10439. std::swap(quality_, other->quality_);
  10440. std::swap(flags_, other->flags_);
  10441. std::swap(origin_, other->origin_);
  10442. std::swap(custom_name_, other->custom_name_);
  10443. std::swap(custom_desc_, other->custom_desc_);
  10444. attribute_.Swap(&other->attribute_);
  10445. std::swap(interior_item_, other->interior_item_);
  10446. std::swap(in_use_, other->in_use_);
  10447. std::swap(style_, other->style_);
  10448. std::swap(original_id_, other->original_id_);
  10449. equipped_state_.Swap(&other->equipped_state_);
  10450. std::swap(rarity_, other->rarity_);
  10451. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10452. _unknown_fields_.Swap(&other->_unknown_fields_);
  10453. std::swap(_cached_size_, other->_cached_size_);
  10454. }
  10455. }
  10456. ::google::protobuf::Metadata CSOEconItem::GetMetadata() const {
  10457. protobuf_AssignDescriptorsOnce();
  10458. ::google::protobuf::Metadata metadata;
  10459. metadata.descriptor = CSOEconItem_descriptor_;
  10460. metadata.reflection = CSOEconItem_reflection_;
  10461. return metadata;
  10462. }
  10463. // ===================================================================
  10464. #ifndef _MSC_VER
  10465. const int CMsgAdjustItemEquippedState::kItemIdFieldNumber;
  10466. const int CMsgAdjustItemEquippedState::kNewClassFieldNumber;
  10467. const int CMsgAdjustItemEquippedState::kNewSlotFieldNumber;
  10468. const int CMsgAdjustItemEquippedState::kSwapFieldNumber;
  10469. #endif // !_MSC_VER
  10470. CMsgAdjustItemEquippedState::CMsgAdjustItemEquippedState()
  10471. : ::google::protobuf::Message() {
  10472. SharedCtor();
  10473. }
  10474. void CMsgAdjustItemEquippedState::InitAsDefaultInstance() {
  10475. }
  10476. CMsgAdjustItemEquippedState::CMsgAdjustItemEquippedState(const CMsgAdjustItemEquippedState& from)
  10477. : ::google::protobuf::Message() {
  10478. SharedCtor();
  10479. MergeFrom(from);
  10480. }
  10481. void CMsgAdjustItemEquippedState::SharedCtor() {
  10482. _cached_size_ = 0;
  10483. item_id_ = GOOGLE_ULONGLONG(0);
  10484. new_class_ = 0u;
  10485. new_slot_ = 0u;
  10486. swap_ = false;
  10487. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10488. }
  10489. CMsgAdjustItemEquippedState::~CMsgAdjustItemEquippedState() {
  10490. SharedDtor();
  10491. }
  10492. void CMsgAdjustItemEquippedState::SharedDtor() {
  10493. if (this != default_instance_) {
  10494. }
  10495. }
  10496. void CMsgAdjustItemEquippedState::SetCachedSize(int size) const {
  10497. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10498. _cached_size_ = size;
  10499. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10500. }
  10501. const ::google::protobuf::Descriptor* CMsgAdjustItemEquippedState::descriptor() {
  10502. protobuf_AssignDescriptorsOnce();
  10503. return CMsgAdjustItemEquippedState_descriptor_;
  10504. }
  10505. const CMsgAdjustItemEquippedState& CMsgAdjustItemEquippedState::default_instance() {
  10506. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  10507. return *default_instance_;
  10508. }
  10509. CMsgAdjustItemEquippedState* CMsgAdjustItemEquippedState::default_instance_ = NULL;
  10510. CMsgAdjustItemEquippedState* CMsgAdjustItemEquippedState::New() const {
  10511. return new CMsgAdjustItemEquippedState;
  10512. }
  10513. void CMsgAdjustItemEquippedState::Clear() {
  10514. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10515. item_id_ = GOOGLE_ULONGLONG(0);
  10516. new_class_ = 0u;
  10517. new_slot_ = 0u;
  10518. swap_ = false;
  10519. }
  10520. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10521. mutable_unknown_fields()->Clear();
  10522. }
  10523. bool CMsgAdjustItemEquippedState::MergePartialFromCodedStream(
  10524. ::google::protobuf::io::CodedInputStream* input) {
  10525. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10526. ::google::protobuf::uint32 tag;
  10527. while ((tag = input->ReadTag()) != 0) {
  10528. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10529. // optional uint64 item_id = 1;
  10530. case 1: {
  10531. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10532. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10533. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10534. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  10535. input, &item_id_)));
  10536. set_has_item_id();
  10537. } else {
  10538. goto handle_uninterpreted;
  10539. }
  10540. if (input->ExpectTag(16)) goto parse_new_class;
  10541. break;
  10542. }
  10543. // optional uint32 new_class = 2;
  10544. case 2: {
  10545. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10546. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10547. parse_new_class:
  10548. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10549. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10550. input, &new_class_)));
  10551. set_has_new_class();
  10552. } else {
  10553. goto handle_uninterpreted;
  10554. }
  10555. if (input->ExpectTag(24)) goto parse_new_slot;
  10556. break;
  10557. }
  10558. // optional uint32 new_slot = 3;
  10559. case 3: {
  10560. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10561. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10562. parse_new_slot:
  10563. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10564. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10565. input, &new_slot_)));
  10566. set_has_new_slot();
  10567. } else {
  10568. goto handle_uninterpreted;
  10569. }
  10570. if (input->ExpectTag(32)) goto parse_swap;
  10571. break;
  10572. }
  10573. // optional bool swap = 4;
  10574. case 4: {
  10575. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10576. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10577. parse_swap:
  10578. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10579. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  10580. input, &swap_)));
  10581. set_has_swap();
  10582. } else {
  10583. goto handle_uninterpreted;
  10584. }
  10585. if (input->ExpectAtEnd()) return true;
  10586. break;
  10587. }
  10588. default: {
  10589. handle_uninterpreted:
  10590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10592. return true;
  10593. }
  10594. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10595. input, tag, mutable_unknown_fields()));
  10596. break;
  10597. }
  10598. }
  10599. }
  10600. return true;
  10601. #undef DO_
  10602. }
  10603. void CMsgAdjustItemEquippedState::SerializeWithCachedSizes(
  10604. ::google::protobuf::io::CodedOutputStream* output) const {
  10605. // optional uint64 item_id = 1;
  10606. if (has_item_id()) {
  10607. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->item_id(), output);
  10608. }
  10609. // optional uint32 new_class = 2;
  10610. if (has_new_class()) {
  10611. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->new_class(), output);
  10612. }
  10613. // optional uint32 new_slot = 3;
  10614. if (has_new_slot()) {
  10615. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->new_slot(), output);
  10616. }
  10617. // optional bool swap = 4;
  10618. if (has_swap()) {
  10619. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->swap(), output);
  10620. }
  10621. if (!unknown_fields().empty()) {
  10622. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10623. unknown_fields(), output);
  10624. }
  10625. }
  10626. ::google::protobuf::uint8* CMsgAdjustItemEquippedState::SerializeWithCachedSizesToArray(
  10627. ::google::protobuf::uint8* target) const {
  10628. // optional uint64 item_id = 1;
  10629. if (has_item_id()) {
  10630. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->item_id(), target);
  10631. }
  10632. // optional uint32 new_class = 2;
  10633. if (has_new_class()) {
  10634. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->new_class(), target);
  10635. }
  10636. // optional uint32 new_slot = 3;
  10637. if (has_new_slot()) {
  10638. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->new_slot(), target);
  10639. }
  10640. // optional bool swap = 4;
  10641. if (has_swap()) {
  10642. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->swap(), target);
  10643. }
  10644. if (!unknown_fields().empty()) {
  10645. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10646. unknown_fields(), target);
  10647. }
  10648. return target;
  10649. }
  10650. int CMsgAdjustItemEquippedState::ByteSize() const {
  10651. int total_size = 0;
  10652. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10653. // optional uint64 item_id = 1;
  10654. if (has_item_id()) {
  10655. total_size += 1 +
  10656. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  10657. this->item_id());
  10658. }
  10659. // optional uint32 new_class = 2;
  10660. if (has_new_class()) {
  10661. total_size += 1 +
  10662. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10663. this->new_class());
  10664. }
  10665. // optional uint32 new_slot = 3;
  10666. if (has_new_slot()) {
  10667. total_size += 1 +
  10668. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10669. this->new_slot());
  10670. }
  10671. // optional bool swap = 4;
  10672. if (has_swap()) {
  10673. total_size += 1 + 1;
  10674. }
  10675. }
  10676. if (!unknown_fields().empty()) {
  10677. total_size +=
  10678. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10679. unknown_fields());
  10680. }
  10681. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10682. _cached_size_ = total_size;
  10683. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10684. return total_size;
  10685. }
  10686. void CMsgAdjustItemEquippedState::MergeFrom(const ::google::protobuf::Message& from) {
  10687. GOOGLE_CHECK_NE(&from, this);
  10688. const CMsgAdjustItemEquippedState* source =
  10689. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAdjustItemEquippedState*>(
  10690. &from);
  10691. if (source == NULL) {
  10692. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10693. } else {
  10694. MergeFrom(*source);
  10695. }
  10696. }
  10697. void CMsgAdjustItemEquippedState::MergeFrom(const CMsgAdjustItemEquippedState& from) {
  10698. GOOGLE_CHECK_NE(&from, this);
  10699. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10700. if (from.has_item_id()) {
  10701. set_item_id(from.item_id());
  10702. }
  10703. if (from.has_new_class()) {
  10704. set_new_class(from.new_class());
  10705. }
  10706. if (from.has_new_slot()) {
  10707. set_new_slot(from.new_slot());
  10708. }
  10709. if (from.has_swap()) {
  10710. set_swap(from.swap());
  10711. }
  10712. }
  10713. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10714. }
  10715. void CMsgAdjustItemEquippedState::CopyFrom(const ::google::protobuf::Message& from) {
  10716. if (&from == this) return;
  10717. Clear();
  10718. MergeFrom(from);
  10719. }
  10720. void CMsgAdjustItemEquippedState::CopyFrom(const CMsgAdjustItemEquippedState& from) {
  10721. if (&from == this) return;
  10722. Clear();
  10723. MergeFrom(from);
  10724. }
  10725. bool CMsgAdjustItemEquippedState::IsInitialized() const {
  10726. return true;
  10727. }
  10728. void CMsgAdjustItemEquippedState::Swap(CMsgAdjustItemEquippedState* other) {
  10729. if (other != this) {
  10730. std::swap(item_id_, other->item_id_);
  10731. std::swap(new_class_, other->new_class_);
  10732. std::swap(new_slot_, other->new_slot_);
  10733. std::swap(swap_, other->swap_);
  10734. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10735. _unknown_fields_.Swap(&other->_unknown_fields_);
  10736. std::swap(_cached_size_, other->_cached_size_);
  10737. }
  10738. }
  10739. ::google::protobuf::Metadata CMsgAdjustItemEquippedState::GetMetadata() const {
  10740. protobuf_AssignDescriptorsOnce();
  10741. ::google::protobuf::Metadata metadata;
  10742. metadata.descriptor = CMsgAdjustItemEquippedState_descriptor_;
  10743. metadata.reflection = CMsgAdjustItemEquippedState_reflection_;
  10744. return metadata;
  10745. }
  10746. // ===================================================================
  10747. #ifndef _MSC_VER
  10748. const int CMsgSortItems::kSortTypeFieldNumber;
  10749. #endif // !_MSC_VER
  10750. CMsgSortItems::CMsgSortItems()
  10751. : ::google::protobuf::Message() {
  10752. SharedCtor();
  10753. }
  10754. void CMsgSortItems::InitAsDefaultInstance() {
  10755. }
  10756. CMsgSortItems::CMsgSortItems(const CMsgSortItems& from)
  10757. : ::google::protobuf::Message() {
  10758. SharedCtor();
  10759. MergeFrom(from);
  10760. }
  10761. void CMsgSortItems::SharedCtor() {
  10762. _cached_size_ = 0;
  10763. sort_type_ = 0u;
  10764. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10765. }
  10766. CMsgSortItems::~CMsgSortItems() {
  10767. SharedDtor();
  10768. }
  10769. void CMsgSortItems::SharedDtor() {
  10770. if (this != default_instance_) {
  10771. }
  10772. }
  10773. void CMsgSortItems::SetCachedSize(int size) const {
  10774. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10775. _cached_size_ = size;
  10776. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10777. }
  10778. const ::google::protobuf::Descriptor* CMsgSortItems::descriptor() {
  10779. protobuf_AssignDescriptorsOnce();
  10780. return CMsgSortItems_descriptor_;
  10781. }
  10782. const CMsgSortItems& CMsgSortItems::default_instance() {
  10783. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  10784. return *default_instance_;
  10785. }
  10786. CMsgSortItems* CMsgSortItems::default_instance_ = NULL;
  10787. CMsgSortItems* CMsgSortItems::New() const {
  10788. return new CMsgSortItems;
  10789. }
  10790. void CMsgSortItems::Clear() {
  10791. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10792. sort_type_ = 0u;
  10793. }
  10794. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10795. mutable_unknown_fields()->Clear();
  10796. }
  10797. bool CMsgSortItems::MergePartialFromCodedStream(
  10798. ::google::protobuf::io::CodedInputStream* input) {
  10799. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10800. ::google::protobuf::uint32 tag;
  10801. while ((tag = input->ReadTag()) != 0) {
  10802. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10803. // optional uint32 sort_type = 1;
  10804. case 1: {
  10805. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10806. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10807. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10808. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10809. input, &sort_type_)));
  10810. set_has_sort_type();
  10811. } else {
  10812. goto handle_uninterpreted;
  10813. }
  10814. if (input->ExpectAtEnd()) return true;
  10815. break;
  10816. }
  10817. default: {
  10818. handle_uninterpreted:
  10819. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10820. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10821. return true;
  10822. }
  10823. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10824. input, tag, mutable_unknown_fields()));
  10825. break;
  10826. }
  10827. }
  10828. }
  10829. return true;
  10830. #undef DO_
  10831. }
  10832. void CMsgSortItems::SerializeWithCachedSizes(
  10833. ::google::protobuf::io::CodedOutputStream* output) const {
  10834. // optional uint32 sort_type = 1;
  10835. if (has_sort_type()) {
  10836. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->sort_type(), output);
  10837. }
  10838. if (!unknown_fields().empty()) {
  10839. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10840. unknown_fields(), output);
  10841. }
  10842. }
  10843. ::google::protobuf::uint8* CMsgSortItems::SerializeWithCachedSizesToArray(
  10844. ::google::protobuf::uint8* target) const {
  10845. // optional uint32 sort_type = 1;
  10846. if (has_sort_type()) {
  10847. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->sort_type(), target);
  10848. }
  10849. if (!unknown_fields().empty()) {
  10850. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10851. unknown_fields(), target);
  10852. }
  10853. return target;
  10854. }
  10855. int CMsgSortItems::ByteSize() const {
  10856. int total_size = 0;
  10857. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10858. // optional uint32 sort_type = 1;
  10859. if (has_sort_type()) {
  10860. total_size += 1 +
  10861. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10862. this->sort_type());
  10863. }
  10864. }
  10865. if (!unknown_fields().empty()) {
  10866. total_size +=
  10867. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10868. unknown_fields());
  10869. }
  10870. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10871. _cached_size_ = total_size;
  10872. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10873. return total_size;
  10874. }
  10875. void CMsgSortItems::MergeFrom(const ::google::protobuf::Message& from) {
  10876. GOOGLE_CHECK_NE(&from, this);
  10877. const CMsgSortItems* source =
  10878. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgSortItems*>(
  10879. &from);
  10880. if (source == NULL) {
  10881. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10882. } else {
  10883. MergeFrom(*source);
  10884. }
  10885. }
  10886. void CMsgSortItems::MergeFrom(const CMsgSortItems& from) {
  10887. GOOGLE_CHECK_NE(&from, this);
  10888. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10889. if (from.has_sort_type()) {
  10890. set_sort_type(from.sort_type());
  10891. }
  10892. }
  10893. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10894. }
  10895. void CMsgSortItems::CopyFrom(const ::google::protobuf::Message& from) {
  10896. if (&from == this) return;
  10897. Clear();
  10898. MergeFrom(from);
  10899. }
  10900. void CMsgSortItems::CopyFrom(const CMsgSortItems& from) {
  10901. if (&from == this) return;
  10902. Clear();
  10903. MergeFrom(from);
  10904. }
  10905. bool CMsgSortItems::IsInitialized() const {
  10906. return true;
  10907. }
  10908. void CMsgSortItems::Swap(CMsgSortItems* other) {
  10909. if (other != this) {
  10910. std::swap(sort_type_, other->sort_type_);
  10911. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10912. _unknown_fields_.Swap(&other->_unknown_fields_);
  10913. std::swap(_cached_size_, other->_cached_size_);
  10914. }
  10915. }
  10916. ::google::protobuf::Metadata CMsgSortItems::GetMetadata() const {
  10917. protobuf_AssignDescriptorsOnce();
  10918. ::google::protobuf::Metadata metadata;
  10919. metadata.descriptor = CMsgSortItems_descriptor_;
  10920. metadata.reflection = CMsgSortItems_reflection_;
  10921. return metadata;
  10922. }
  10923. // ===================================================================
  10924. #ifndef _MSC_VER
  10925. const int CSOEconClaimCode::kAccountIdFieldNumber;
  10926. const int CSOEconClaimCode::kCodeTypeFieldNumber;
  10927. const int CSOEconClaimCode::kTimeAcquiredFieldNumber;
  10928. const int CSOEconClaimCode::kCodeFieldNumber;
  10929. #endif // !_MSC_VER
  10930. CSOEconClaimCode::CSOEconClaimCode()
  10931. : ::google::protobuf::Message() {
  10932. SharedCtor();
  10933. }
  10934. void CSOEconClaimCode::InitAsDefaultInstance() {
  10935. }
  10936. CSOEconClaimCode::CSOEconClaimCode(const CSOEconClaimCode& from)
  10937. : ::google::protobuf::Message() {
  10938. SharedCtor();
  10939. MergeFrom(from);
  10940. }
  10941. void CSOEconClaimCode::SharedCtor() {
  10942. _cached_size_ = 0;
  10943. account_id_ = 0u;
  10944. code_type_ = 0u;
  10945. time_acquired_ = 0u;
  10946. code_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10948. }
  10949. CSOEconClaimCode::~CSOEconClaimCode() {
  10950. SharedDtor();
  10951. }
  10952. void CSOEconClaimCode::SharedDtor() {
  10953. if (code_ != &::google::protobuf::internal::kEmptyString) {
  10954. delete code_;
  10955. }
  10956. if (this != default_instance_) {
  10957. }
  10958. }
  10959. void CSOEconClaimCode::SetCachedSize(int size) const {
  10960. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10961. _cached_size_ = size;
  10962. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10963. }
  10964. const ::google::protobuf::Descriptor* CSOEconClaimCode::descriptor() {
  10965. protobuf_AssignDescriptorsOnce();
  10966. return CSOEconClaimCode_descriptor_;
  10967. }
  10968. const CSOEconClaimCode& CSOEconClaimCode::default_instance() {
  10969. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  10970. return *default_instance_;
  10971. }
  10972. CSOEconClaimCode* CSOEconClaimCode::default_instance_ = NULL;
  10973. CSOEconClaimCode* CSOEconClaimCode::New() const {
  10974. return new CSOEconClaimCode;
  10975. }
  10976. void CSOEconClaimCode::Clear() {
  10977. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10978. account_id_ = 0u;
  10979. code_type_ = 0u;
  10980. time_acquired_ = 0u;
  10981. if (has_code()) {
  10982. if (code_ != &::google::protobuf::internal::kEmptyString) {
  10983. code_->clear();
  10984. }
  10985. }
  10986. }
  10987. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10988. mutable_unknown_fields()->Clear();
  10989. }
  10990. bool CSOEconClaimCode::MergePartialFromCodedStream(
  10991. ::google::protobuf::io::CodedInputStream* input) {
  10992. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10993. ::google::protobuf::uint32 tag;
  10994. while ((tag = input->ReadTag()) != 0) {
  10995. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10996. // optional uint32 account_id = 1;
  10997. case 1: {
  10998. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10999. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11000. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11001. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11002. input, &account_id_)));
  11003. set_has_account_id();
  11004. } else {
  11005. goto handle_uninterpreted;
  11006. }
  11007. if (input->ExpectTag(16)) goto parse_code_type;
  11008. break;
  11009. }
  11010. // optional uint32 code_type = 2;
  11011. case 2: {
  11012. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11013. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11014. parse_code_type:
  11015. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11016. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11017. input, &code_type_)));
  11018. set_has_code_type();
  11019. } else {
  11020. goto handle_uninterpreted;
  11021. }
  11022. if (input->ExpectTag(24)) goto parse_time_acquired;
  11023. break;
  11024. }
  11025. // optional uint32 time_acquired = 3;
  11026. case 3: {
  11027. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11028. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11029. parse_time_acquired:
  11030. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11031. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11032. input, &time_acquired_)));
  11033. set_has_time_acquired();
  11034. } else {
  11035. goto handle_uninterpreted;
  11036. }
  11037. if (input->ExpectTag(34)) goto parse_code;
  11038. break;
  11039. }
  11040. // optional string code = 4;
  11041. case 4: {
  11042. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11043. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11044. parse_code:
  11045. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11046. input, this->mutable_code()));
  11047. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11048. this->code().data(), this->code().length(),
  11049. ::google::protobuf::internal::WireFormat::PARSE);
  11050. } else {
  11051. goto handle_uninterpreted;
  11052. }
  11053. if (input->ExpectAtEnd()) return true;
  11054. break;
  11055. }
  11056. default: {
  11057. handle_uninterpreted:
  11058. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11059. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11060. return true;
  11061. }
  11062. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11063. input, tag, mutable_unknown_fields()));
  11064. break;
  11065. }
  11066. }
  11067. }
  11068. return true;
  11069. #undef DO_
  11070. }
  11071. void CSOEconClaimCode::SerializeWithCachedSizes(
  11072. ::google::protobuf::io::CodedOutputStream* output) const {
  11073. // optional uint32 account_id = 1;
  11074. if (has_account_id()) {
  11075. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->account_id(), output);
  11076. }
  11077. // optional uint32 code_type = 2;
  11078. if (has_code_type()) {
  11079. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->code_type(), output);
  11080. }
  11081. // optional uint32 time_acquired = 3;
  11082. if (has_time_acquired()) {
  11083. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->time_acquired(), output);
  11084. }
  11085. // optional string code = 4;
  11086. if (has_code()) {
  11087. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11088. this->code().data(), this->code().length(),
  11089. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11090. ::google::protobuf::internal::WireFormatLite::WriteString(
  11091. 4, this->code(), output);
  11092. }
  11093. if (!unknown_fields().empty()) {
  11094. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11095. unknown_fields(), output);
  11096. }
  11097. }
  11098. ::google::protobuf::uint8* CSOEconClaimCode::SerializeWithCachedSizesToArray(
  11099. ::google::protobuf::uint8* target) const {
  11100. // optional uint32 account_id = 1;
  11101. if (has_account_id()) {
  11102. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->account_id(), target);
  11103. }
  11104. // optional uint32 code_type = 2;
  11105. if (has_code_type()) {
  11106. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->code_type(), target);
  11107. }
  11108. // optional uint32 time_acquired = 3;
  11109. if (has_time_acquired()) {
  11110. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->time_acquired(), target);
  11111. }
  11112. // optional string code = 4;
  11113. if (has_code()) {
  11114. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11115. this->code().data(), this->code().length(),
  11116. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11117. target =
  11118. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11119. 4, this->code(), target);
  11120. }
  11121. if (!unknown_fields().empty()) {
  11122. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11123. unknown_fields(), target);
  11124. }
  11125. return target;
  11126. }
  11127. int CSOEconClaimCode::ByteSize() const {
  11128. int total_size = 0;
  11129. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11130. // optional uint32 account_id = 1;
  11131. if (has_account_id()) {
  11132. total_size += 1 +
  11133. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11134. this->account_id());
  11135. }
  11136. // optional uint32 code_type = 2;
  11137. if (has_code_type()) {
  11138. total_size += 1 +
  11139. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11140. this->code_type());
  11141. }
  11142. // optional uint32 time_acquired = 3;
  11143. if (has_time_acquired()) {
  11144. total_size += 1 +
  11145. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11146. this->time_acquired());
  11147. }
  11148. // optional string code = 4;
  11149. if (has_code()) {
  11150. total_size += 1 +
  11151. ::google::protobuf::internal::WireFormatLite::StringSize(
  11152. this->code());
  11153. }
  11154. }
  11155. if (!unknown_fields().empty()) {
  11156. total_size +=
  11157. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11158. unknown_fields());
  11159. }
  11160. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11161. _cached_size_ = total_size;
  11162. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11163. return total_size;
  11164. }
  11165. void CSOEconClaimCode::MergeFrom(const ::google::protobuf::Message& from) {
  11166. GOOGLE_CHECK_NE(&from, this);
  11167. const CSOEconClaimCode* source =
  11168. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconClaimCode*>(
  11169. &from);
  11170. if (source == NULL) {
  11171. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11172. } else {
  11173. MergeFrom(*source);
  11174. }
  11175. }
  11176. void CSOEconClaimCode::MergeFrom(const CSOEconClaimCode& from) {
  11177. GOOGLE_CHECK_NE(&from, this);
  11178. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11179. if (from.has_account_id()) {
  11180. set_account_id(from.account_id());
  11181. }
  11182. if (from.has_code_type()) {
  11183. set_code_type(from.code_type());
  11184. }
  11185. if (from.has_time_acquired()) {
  11186. set_time_acquired(from.time_acquired());
  11187. }
  11188. if (from.has_code()) {
  11189. set_code(from.code());
  11190. }
  11191. }
  11192. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11193. }
  11194. void CSOEconClaimCode::CopyFrom(const ::google::protobuf::Message& from) {
  11195. if (&from == this) return;
  11196. Clear();
  11197. MergeFrom(from);
  11198. }
  11199. void CSOEconClaimCode::CopyFrom(const CSOEconClaimCode& from) {
  11200. if (&from == this) return;
  11201. Clear();
  11202. MergeFrom(from);
  11203. }
  11204. bool CSOEconClaimCode::IsInitialized() const {
  11205. return true;
  11206. }
  11207. void CSOEconClaimCode::Swap(CSOEconClaimCode* other) {
  11208. if (other != this) {
  11209. std::swap(account_id_, other->account_id_);
  11210. std::swap(code_type_, other->code_type_);
  11211. std::swap(time_acquired_, other->time_acquired_);
  11212. std::swap(code_, other->code_);
  11213. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11214. _unknown_fields_.Swap(&other->_unknown_fields_);
  11215. std::swap(_cached_size_, other->_cached_size_);
  11216. }
  11217. }
  11218. ::google::protobuf::Metadata CSOEconClaimCode::GetMetadata() const {
  11219. protobuf_AssignDescriptorsOnce();
  11220. ::google::protobuf::Metadata metadata;
  11221. metadata.descriptor = CSOEconClaimCode_descriptor_;
  11222. metadata.reflection = CSOEconClaimCode_reflection_;
  11223. return metadata;
  11224. }
  11225. // ===================================================================
  11226. #ifndef _MSC_VER
  11227. const int CMsgStoreGetUserData::kPriceSheetVersionFieldNumber;
  11228. const int CMsgStoreGetUserData::kCurrencyFieldNumber;
  11229. #endif // !_MSC_VER
  11230. CMsgStoreGetUserData::CMsgStoreGetUserData()
  11231. : ::google::protobuf::Message() {
  11232. SharedCtor();
  11233. }
  11234. void CMsgStoreGetUserData::InitAsDefaultInstance() {
  11235. }
  11236. CMsgStoreGetUserData::CMsgStoreGetUserData(const CMsgStoreGetUserData& from)
  11237. : ::google::protobuf::Message() {
  11238. SharedCtor();
  11239. MergeFrom(from);
  11240. }
  11241. void CMsgStoreGetUserData::SharedCtor() {
  11242. _cached_size_ = 0;
  11243. price_sheet_version_ = 0u;
  11244. currency_ = 0;
  11245. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11246. }
  11247. CMsgStoreGetUserData::~CMsgStoreGetUserData() {
  11248. SharedDtor();
  11249. }
  11250. void CMsgStoreGetUserData::SharedDtor() {
  11251. if (this != default_instance_) {
  11252. }
  11253. }
  11254. void CMsgStoreGetUserData::SetCachedSize(int size) const {
  11255. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11256. _cached_size_ = size;
  11257. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11258. }
  11259. const ::google::protobuf::Descriptor* CMsgStoreGetUserData::descriptor() {
  11260. protobuf_AssignDescriptorsOnce();
  11261. return CMsgStoreGetUserData_descriptor_;
  11262. }
  11263. const CMsgStoreGetUserData& CMsgStoreGetUserData::default_instance() {
  11264. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  11265. return *default_instance_;
  11266. }
  11267. CMsgStoreGetUserData* CMsgStoreGetUserData::default_instance_ = NULL;
  11268. CMsgStoreGetUserData* CMsgStoreGetUserData::New() const {
  11269. return new CMsgStoreGetUserData;
  11270. }
  11271. void CMsgStoreGetUserData::Clear() {
  11272. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11273. price_sheet_version_ = 0u;
  11274. currency_ = 0;
  11275. }
  11276. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11277. mutable_unknown_fields()->Clear();
  11278. }
  11279. bool CMsgStoreGetUserData::MergePartialFromCodedStream(
  11280. ::google::protobuf::io::CodedInputStream* input) {
  11281. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11282. ::google::protobuf::uint32 tag;
  11283. while ((tag = input->ReadTag()) != 0) {
  11284. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11285. // optional fixed32 price_sheet_version = 1;
  11286. case 1: {
  11287. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11288. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  11289. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11290. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  11291. input, &price_sheet_version_)));
  11292. set_has_price_sheet_version();
  11293. } else {
  11294. goto handle_uninterpreted;
  11295. }
  11296. if (input->ExpectTag(16)) goto parse_currency;
  11297. break;
  11298. }
  11299. // optional int32 currency = 2;
  11300. case 2: {
  11301. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11302. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11303. parse_currency:
  11304. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11305. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11306. input, &currency_)));
  11307. set_has_currency();
  11308. } else {
  11309. goto handle_uninterpreted;
  11310. }
  11311. if (input->ExpectAtEnd()) return true;
  11312. break;
  11313. }
  11314. default: {
  11315. handle_uninterpreted:
  11316. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11317. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11318. return true;
  11319. }
  11320. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11321. input, tag, mutable_unknown_fields()));
  11322. break;
  11323. }
  11324. }
  11325. }
  11326. return true;
  11327. #undef DO_
  11328. }
  11329. void CMsgStoreGetUserData::SerializeWithCachedSizes(
  11330. ::google::protobuf::io::CodedOutputStream* output) const {
  11331. // optional fixed32 price_sheet_version = 1;
  11332. if (has_price_sheet_version()) {
  11333. ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->price_sheet_version(), output);
  11334. }
  11335. // optional int32 currency = 2;
  11336. if (has_currency()) {
  11337. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->currency(), output);
  11338. }
  11339. if (!unknown_fields().empty()) {
  11340. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11341. unknown_fields(), output);
  11342. }
  11343. }
  11344. ::google::protobuf::uint8* CMsgStoreGetUserData::SerializeWithCachedSizesToArray(
  11345. ::google::protobuf::uint8* target) const {
  11346. // optional fixed32 price_sheet_version = 1;
  11347. if (has_price_sheet_version()) {
  11348. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->price_sheet_version(), target);
  11349. }
  11350. // optional int32 currency = 2;
  11351. if (has_currency()) {
  11352. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->currency(), target);
  11353. }
  11354. if (!unknown_fields().empty()) {
  11355. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11356. unknown_fields(), target);
  11357. }
  11358. return target;
  11359. }
  11360. int CMsgStoreGetUserData::ByteSize() const {
  11361. int total_size = 0;
  11362. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11363. // optional fixed32 price_sheet_version = 1;
  11364. if (has_price_sheet_version()) {
  11365. total_size += 1 + 4;
  11366. }
  11367. // optional int32 currency = 2;
  11368. if (has_currency()) {
  11369. total_size += 1 +
  11370. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11371. this->currency());
  11372. }
  11373. }
  11374. if (!unknown_fields().empty()) {
  11375. total_size +=
  11376. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11377. unknown_fields());
  11378. }
  11379. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11380. _cached_size_ = total_size;
  11381. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11382. return total_size;
  11383. }
  11384. void CMsgStoreGetUserData::MergeFrom(const ::google::protobuf::Message& from) {
  11385. GOOGLE_CHECK_NE(&from, this);
  11386. const CMsgStoreGetUserData* source =
  11387. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgStoreGetUserData*>(
  11388. &from);
  11389. if (source == NULL) {
  11390. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11391. } else {
  11392. MergeFrom(*source);
  11393. }
  11394. }
  11395. void CMsgStoreGetUserData::MergeFrom(const CMsgStoreGetUserData& from) {
  11396. GOOGLE_CHECK_NE(&from, this);
  11397. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11398. if (from.has_price_sheet_version()) {
  11399. set_price_sheet_version(from.price_sheet_version());
  11400. }
  11401. if (from.has_currency()) {
  11402. set_currency(from.currency());
  11403. }
  11404. }
  11405. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11406. }
  11407. void CMsgStoreGetUserData::CopyFrom(const ::google::protobuf::Message& from) {
  11408. if (&from == this) return;
  11409. Clear();
  11410. MergeFrom(from);
  11411. }
  11412. void CMsgStoreGetUserData::CopyFrom(const CMsgStoreGetUserData& from) {
  11413. if (&from == this) return;
  11414. Clear();
  11415. MergeFrom(from);
  11416. }
  11417. bool CMsgStoreGetUserData::IsInitialized() const {
  11418. return true;
  11419. }
  11420. void CMsgStoreGetUserData::Swap(CMsgStoreGetUserData* other) {
  11421. if (other != this) {
  11422. std::swap(price_sheet_version_, other->price_sheet_version_);
  11423. std::swap(currency_, other->currency_);
  11424. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11425. _unknown_fields_.Swap(&other->_unknown_fields_);
  11426. std::swap(_cached_size_, other->_cached_size_);
  11427. }
  11428. }
  11429. ::google::protobuf::Metadata CMsgStoreGetUserData::GetMetadata() const {
  11430. protobuf_AssignDescriptorsOnce();
  11431. ::google::protobuf::Metadata metadata;
  11432. metadata.descriptor = CMsgStoreGetUserData_descriptor_;
  11433. metadata.reflection = CMsgStoreGetUserData_reflection_;
  11434. return metadata;
  11435. }
  11436. // ===================================================================
  11437. #ifndef _MSC_VER
  11438. const int CMsgStoreGetUserDataResponse::kResultFieldNumber;
  11439. const int CMsgStoreGetUserDataResponse::kCurrencyDeprecatedFieldNumber;
  11440. const int CMsgStoreGetUserDataResponse::kCountryDeprecatedFieldNumber;
  11441. const int CMsgStoreGetUserDataResponse::kPriceSheetVersionFieldNumber;
  11442. const int CMsgStoreGetUserDataResponse::kPriceSheetFieldNumber;
  11443. #endif // !_MSC_VER
  11444. CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse()
  11445. : ::google::protobuf::Message() {
  11446. SharedCtor();
  11447. }
  11448. void CMsgStoreGetUserDataResponse::InitAsDefaultInstance() {
  11449. }
  11450. CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse(const CMsgStoreGetUserDataResponse& from)
  11451. : ::google::protobuf::Message() {
  11452. SharedCtor();
  11453. MergeFrom(from);
  11454. }
  11455. void CMsgStoreGetUserDataResponse::SharedCtor() {
  11456. _cached_size_ = 0;
  11457. result_ = 0;
  11458. currency_deprecated_ = 0;
  11459. country_deprecated_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11460. price_sheet_version_ = 0u;
  11461. price_sheet_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11462. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11463. }
  11464. CMsgStoreGetUserDataResponse::~CMsgStoreGetUserDataResponse() {
  11465. SharedDtor();
  11466. }
  11467. void CMsgStoreGetUserDataResponse::SharedDtor() {
  11468. if (country_deprecated_ != &::google::protobuf::internal::kEmptyString) {
  11469. delete country_deprecated_;
  11470. }
  11471. if (price_sheet_ != &::google::protobuf::internal::kEmptyString) {
  11472. delete price_sheet_;
  11473. }
  11474. if (this != default_instance_) {
  11475. }
  11476. }
  11477. void CMsgStoreGetUserDataResponse::SetCachedSize(int size) const {
  11478. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11479. _cached_size_ = size;
  11480. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11481. }
  11482. const ::google::protobuf::Descriptor* CMsgStoreGetUserDataResponse::descriptor() {
  11483. protobuf_AssignDescriptorsOnce();
  11484. return CMsgStoreGetUserDataResponse_descriptor_;
  11485. }
  11486. const CMsgStoreGetUserDataResponse& CMsgStoreGetUserDataResponse::default_instance() {
  11487. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  11488. return *default_instance_;
  11489. }
  11490. CMsgStoreGetUserDataResponse* CMsgStoreGetUserDataResponse::default_instance_ = NULL;
  11491. CMsgStoreGetUserDataResponse* CMsgStoreGetUserDataResponse::New() const {
  11492. return new CMsgStoreGetUserDataResponse;
  11493. }
  11494. void CMsgStoreGetUserDataResponse::Clear() {
  11495. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11496. result_ = 0;
  11497. currency_deprecated_ = 0;
  11498. if (has_country_deprecated()) {
  11499. if (country_deprecated_ != &::google::protobuf::internal::kEmptyString) {
  11500. country_deprecated_->clear();
  11501. }
  11502. }
  11503. price_sheet_version_ = 0u;
  11504. if (has_price_sheet()) {
  11505. if (price_sheet_ != &::google::protobuf::internal::kEmptyString) {
  11506. price_sheet_->clear();
  11507. }
  11508. }
  11509. }
  11510. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11511. mutable_unknown_fields()->Clear();
  11512. }
  11513. bool CMsgStoreGetUserDataResponse::MergePartialFromCodedStream(
  11514. ::google::protobuf::io::CodedInputStream* input) {
  11515. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11516. ::google::protobuf::uint32 tag;
  11517. while ((tag = input->ReadTag()) != 0) {
  11518. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11519. // optional int32 result = 1;
  11520. case 1: {
  11521. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11522. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11523. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11524. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11525. input, &result_)));
  11526. set_has_result();
  11527. } else {
  11528. goto handle_uninterpreted;
  11529. }
  11530. if (input->ExpectTag(16)) goto parse_currency_deprecated;
  11531. break;
  11532. }
  11533. // optional int32 currency_deprecated = 2;
  11534. case 2: {
  11535. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11536. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11537. parse_currency_deprecated:
  11538. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11539. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11540. input, &currency_deprecated_)));
  11541. set_has_currency_deprecated();
  11542. } else {
  11543. goto handle_uninterpreted;
  11544. }
  11545. if (input->ExpectTag(26)) goto parse_country_deprecated;
  11546. break;
  11547. }
  11548. // optional string country_deprecated = 3;
  11549. case 3: {
  11550. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11551. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11552. parse_country_deprecated:
  11553. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11554. input, this->mutable_country_deprecated()));
  11555. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11556. this->country_deprecated().data(), this->country_deprecated().length(),
  11557. ::google::protobuf::internal::WireFormat::PARSE);
  11558. } else {
  11559. goto handle_uninterpreted;
  11560. }
  11561. if (input->ExpectTag(37)) goto parse_price_sheet_version;
  11562. break;
  11563. }
  11564. // optional fixed32 price_sheet_version = 4;
  11565. case 4: {
  11566. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11567. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  11568. parse_price_sheet_version:
  11569. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11570. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  11571. input, &price_sheet_version_)));
  11572. set_has_price_sheet_version();
  11573. } else {
  11574. goto handle_uninterpreted;
  11575. }
  11576. if (input->ExpectTag(66)) goto parse_price_sheet;
  11577. break;
  11578. }
  11579. // optional bytes price_sheet = 8;
  11580. case 8: {
  11581. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11582. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11583. parse_price_sheet:
  11584. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  11585. input, this->mutable_price_sheet()));
  11586. } else {
  11587. goto handle_uninterpreted;
  11588. }
  11589. if (input->ExpectAtEnd()) return true;
  11590. break;
  11591. }
  11592. default: {
  11593. handle_uninterpreted:
  11594. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11595. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11596. return true;
  11597. }
  11598. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11599. input, tag, mutable_unknown_fields()));
  11600. break;
  11601. }
  11602. }
  11603. }
  11604. return true;
  11605. #undef DO_
  11606. }
  11607. void CMsgStoreGetUserDataResponse::SerializeWithCachedSizes(
  11608. ::google::protobuf::io::CodedOutputStream* output) const {
  11609. // optional int32 result = 1;
  11610. if (has_result()) {
  11611. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->result(), output);
  11612. }
  11613. // optional int32 currency_deprecated = 2;
  11614. if (has_currency_deprecated()) {
  11615. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->currency_deprecated(), output);
  11616. }
  11617. // optional string country_deprecated = 3;
  11618. if (has_country_deprecated()) {
  11619. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11620. this->country_deprecated().data(), this->country_deprecated().length(),
  11621. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11622. ::google::protobuf::internal::WireFormatLite::WriteString(
  11623. 3, this->country_deprecated(), output);
  11624. }
  11625. // optional fixed32 price_sheet_version = 4;
  11626. if (has_price_sheet_version()) {
  11627. ::google::protobuf::internal::WireFormatLite::WriteFixed32(4, this->price_sheet_version(), output);
  11628. }
  11629. // optional bytes price_sheet = 8;
  11630. if (has_price_sheet()) {
  11631. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  11632. 8, this->price_sheet(), output);
  11633. }
  11634. if (!unknown_fields().empty()) {
  11635. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11636. unknown_fields(), output);
  11637. }
  11638. }
  11639. ::google::protobuf::uint8* CMsgStoreGetUserDataResponse::SerializeWithCachedSizesToArray(
  11640. ::google::protobuf::uint8* target) const {
  11641. // optional int32 result = 1;
  11642. if (has_result()) {
  11643. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->result(), target);
  11644. }
  11645. // optional int32 currency_deprecated = 2;
  11646. if (has_currency_deprecated()) {
  11647. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->currency_deprecated(), target);
  11648. }
  11649. // optional string country_deprecated = 3;
  11650. if (has_country_deprecated()) {
  11651. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11652. this->country_deprecated().data(), this->country_deprecated().length(),
  11653. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11654. target =
  11655. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11656. 3, this->country_deprecated(), target);
  11657. }
  11658. // optional fixed32 price_sheet_version = 4;
  11659. if (has_price_sheet_version()) {
  11660. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(4, this->price_sheet_version(), target);
  11661. }
  11662. // optional bytes price_sheet = 8;
  11663. if (has_price_sheet()) {
  11664. target =
  11665. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  11666. 8, this->price_sheet(), target);
  11667. }
  11668. if (!unknown_fields().empty()) {
  11669. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11670. unknown_fields(), target);
  11671. }
  11672. return target;
  11673. }
  11674. int CMsgStoreGetUserDataResponse::ByteSize() const {
  11675. int total_size = 0;
  11676. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11677. // optional int32 result = 1;
  11678. if (has_result()) {
  11679. total_size += 1 +
  11680. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11681. this->result());
  11682. }
  11683. // optional int32 currency_deprecated = 2;
  11684. if (has_currency_deprecated()) {
  11685. total_size += 1 +
  11686. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11687. this->currency_deprecated());
  11688. }
  11689. // optional string country_deprecated = 3;
  11690. if (has_country_deprecated()) {
  11691. total_size += 1 +
  11692. ::google::protobuf::internal::WireFormatLite::StringSize(
  11693. this->country_deprecated());
  11694. }
  11695. // optional fixed32 price_sheet_version = 4;
  11696. if (has_price_sheet_version()) {
  11697. total_size += 1 + 4;
  11698. }
  11699. // optional bytes price_sheet = 8;
  11700. if (has_price_sheet()) {
  11701. total_size += 1 +
  11702. ::google::protobuf::internal::WireFormatLite::BytesSize(
  11703. this->price_sheet());
  11704. }
  11705. }
  11706. if (!unknown_fields().empty()) {
  11707. total_size +=
  11708. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11709. unknown_fields());
  11710. }
  11711. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11712. _cached_size_ = total_size;
  11713. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11714. return total_size;
  11715. }
  11716. void CMsgStoreGetUserDataResponse::MergeFrom(const ::google::protobuf::Message& from) {
  11717. GOOGLE_CHECK_NE(&from, this);
  11718. const CMsgStoreGetUserDataResponse* source =
  11719. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgStoreGetUserDataResponse*>(
  11720. &from);
  11721. if (source == NULL) {
  11722. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11723. } else {
  11724. MergeFrom(*source);
  11725. }
  11726. }
  11727. void CMsgStoreGetUserDataResponse::MergeFrom(const CMsgStoreGetUserDataResponse& from) {
  11728. GOOGLE_CHECK_NE(&from, this);
  11729. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11730. if (from.has_result()) {
  11731. set_result(from.result());
  11732. }
  11733. if (from.has_currency_deprecated()) {
  11734. set_currency_deprecated(from.currency_deprecated());
  11735. }
  11736. if (from.has_country_deprecated()) {
  11737. set_country_deprecated(from.country_deprecated());
  11738. }
  11739. if (from.has_price_sheet_version()) {
  11740. set_price_sheet_version(from.price_sheet_version());
  11741. }
  11742. if (from.has_price_sheet()) {
  11743. set_price_sheet(from.price_sheet());
  11744. }
  11745. }
  11746. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11747. }
  11748. void CMsgStoreGetUserDataResponse::CopyFrom(const ::google::protobuf::Message& from) {
  11749. if (&from == this) return;
  11750. Clear();
  11751. MergeFrom(from);
  11752. }
  11753. void CMsgStoreGetUserDataResponse::CopyFrom(const CMsgStoreGetUserDataResponse& from) {
  11754. if (&from == this) return;
  11755. Clear();
  11756. MergeFrom(from);
  11757. }
  11758. bool CMsgStoreGetUserDataResponse::IsInitialized() const {
  11759. return true;
  11760. }
  11761. void CMsgStoreGetUserDataResponse::Swap(CMsgStoreGetUserDataResponse* other) {
  11762. if (other != this) {
  11763. std::swap(result_, other->result_);
  11764. std::swap(currency_deprecated_, other->currency_deprecated_);
  11765. std::swap(country_deprecated_, other->country_deprecated_);
  11766. std::swap(price_sheet_version_, other->price_sheet_version_);
  11767. std::swap(price_sheet_, other->price_sheet_);
  11768. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11769. _unknown_fields_.Swap(&other->_unknown_fields_);
  11770. std::swap(_cached_size_, other->_cached_size_);
  11771. }
  11772. }
  11773. ::google::protobuf::Metadata CMsgStoreGetUserDataResponse::GetMetadata() const {
  11774. protobuf_AssignDescriptorsOnce();
  11775. ::google::protobuf::Metadata metadata;
  11776. metadata.descriptor = CMsgStoreGetUserDataResponse_descriptor_;
  11777. metadata.reflection = CMsgStoreGetUserDataResponse_reflection_;
  11778. return metadata;
  11779. }
  11780. // ===================================================================
  11781. #ifndef _MSC_VER
  11782. const int CMsgUpdateItemSchema::kItemsGameFieldNumber;
  11783. const int CMsgUpdateItemSchema::kItemSchemaVersionFieldNumber;
  11784. const int CMsgUpdateItemSchema::kItemsGameUrlDEPRECATED2013FieldNumber;
  11785. const int CMsgUpdateItemSchema::kItemsGameUrlFieldNumber;
  11786. #endif // !_MSC_VER
  11787. CMsgUpdateItemSchema::CMsgUpdateItemSchema()
  11788. : ::google::protobuf::Message() {
  11789. SharedCtor();
  11790. }
  11791. void CMsgUpdateItemSchema::InitAsDefaultInstance() {
  11792. }
  11793. CMsgUpdateItemSchema::CMsgUpdateItemSchema(const CMsgUpdateItemSchema& from)
  11794. : ::google::protobuf::Message() {
  11795. SharedCtor();
  11796. MergeFrom(from);
  11797. }
  11798. void CMsgUpdateItemSchema::SharedCtor() {
  11799. _cached_size_ = 0;
  11800. items_game_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11801. item_schema_version_ = 0u;
  11802. items_game_url_deprecated2013_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11803. items_game_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11804. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11805. }
  11806. CMsgUpdateItemSchema::~CMsgUpdateItemSchema() {
  11807. SharedDtor();
  11808. }
  11809. void CMsgUpdateItemSchema::SharedDtor() {
  11810. if (items_game_ != &::google::protobuf::internal::kEmptyString) {
  11811. delete items_game_;
  11812. }
  11813. if (items_game_url_deprecated2013_ != &::google::protobuf::internal::kEmptyString) {
  11814. delete items_game_url_deprecated2013_;
  11815. }
  11816. if (items_game_url_ != &::google::protobuf::internal::kEmptyString) {
  11817. delete items_game_url_;
  11818. }
  11819. if (this != default_instance_) {
  11820. }
  11821. }
  11822. void CMsgUpdateItemSchema::SetCachedSize(int size) const {
  11823. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11824. _cached_size_ = size;
  11825. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11826. }
  11827. const ::google::protobuf::Descriptor* CMsgUpdateItemSchema::descriptor() {
  11828. protobuf_AssignDescriptorsOnce();
  11829. return CMsgUpdateItemSchema_descriptor_;
  11830. }
  11831. const CMsgUpdateItemSchema& CMsgUpdateItemSchema::default_instance() {
  11832. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  11833. return *default_instance_;
  11834. }
  11835. CMsgUpdateItemSchema* CMsgUpdateItemSchema::default_instance_ = NULL;
  11836. CMsgUpdateItemSchema* CMsgUpdateItemSchema::New() const {
  11837. return new CMsgUpdateItemSchema;
  11838. }
  11839. void CMsgUpdateItemSchema::Clear() {
  11840. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11841. if (has_items_game()) {
  11842. if (items_game_ != &::google::protobuf::internal::kEmptyString) {
  11843. items_game_->clear();
  11844. }
  11845. }
  11846. item_schema_version_ = 0u;
  11847. if (has_items_game_url_deprecated2013()) {
  11848. if (items_game_url_deprecated2013_ != &::google::protobuf::internal::kEmptyString) {
  11849. items_game_url_deprecated2013_->clear();
  11850. }
  11851. }
  11852. if (has_items_game_url()) {
  11853. if (items_game_url_ != &::google::protobuf::internal::kEmptyString) {
  11854. items_game_url_->clear();
  11855. }
  11856. }
  11857. }
  11858. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11859. mutable_unknown_fields()->Clear();
  11860. }
  11861. bool CMsgUpdateItemSchema::MergePartialFromCodedStream(
  11862. ::google::protobuf::io::CodedInputStream* input) {
  11863. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11864. ::google::protobuf::uint32 tag;
  11865. while ((tag = input->ReadTag()) != 0) {
  11866. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11867. // optional bytes items_game = 1;
  11868. case 1: {
  11869. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11870. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11871. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  11872. input, this->mutable_items_game()));
  11873. } else {
  11874. goto handle_uninterpreted;
  11875. }
  11876. if (input->ExpectTag(21)) goto parse_item_schema_version;
  11877. break;
  11878. }
  11879. // optional fixed32 item_schema_version = 2;
  11880. case 2: {
  11881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  11883. parse_item_schema_version:
  11884. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11885. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  11886. input, &item_schema_version_)));
  11887. set_has_item_schema_version();
  11888. } else {
  11889. goto handle_uninterpreted;
  11890. }
  11891. if (input->ExpectTag(26)) goto parse_items_game_url_DEPRECATED2013;
  11892. break;
  11893. }
  11894. // optional string items_game_url_DEPRECATED2013 = 3;
  11895. case 3: {
  11896. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11897. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11898. parse_items_game_url_DEPRECATED2013:
  11899. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11900. input, this->mutable_items_game_url_deprecated2013()));
  11901. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11902. this->items_game_url_deprecated2013().data(), this->items_game_url_deprecated2013().length(),
  11903. ::google::protobuf::internal::WireFormat::PARSE);
  11904. } else {
  11905. goto handle_uninterpreted;
  11906. }
  11907. if (input->ExpectTag(34)) goto parse_items_game_url;
  11908. break;
  11909. }
  11910. // optional string items_game_url = 4;
  11911. case 4: {
  11912. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11913. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11914. parse_items_game_url:
  11915. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11916. input, this->mutable_items_game_url()));
  11917. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11918. this->items_game_url().data(), this->items_game_url().length(),
  11919. ::google::protobuf::internal::WireFormat::PARSE);
  11920. } else {
  11921. goto handle_uninterpreted;
  11922. }
  11923. if (input->ExpectAtEnd()) return true;
  11924. break;
  11925. }
  11926. default: {
  11927. handle_uninterpreted:
  11928. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11929. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11930. return true;
  11931. }
  11932. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11933. input, tag, mutable_unknown_fields()));
  11934. break;
  11935. }
  11936. }
  11937. }
  11938. return true;
  11939. #undef DO_
  11940. }
  11941. void CMsgUpdateItemSchema::SerializeWithCachedSizes(
  11942. ::google::protobuf::io::CodedOutputStream* output) const {
  11943. // optional bytes items_game = 1;
  11944. if (has_items_game()) {
  11945. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  11946. 1, this->items_game(), output);
  11947. }
  11948. // optional fixed32 item_schema_version = 2;
  11949. if (has_item_schema_version()) {
  11950. ::google::protobuf::internal::WireFormatLite::WriteFixed32(2, this->item_schema_version(), output);
  11951. }
  11952. // optional string items_game_url_DEPRECATED2013 = 3;
  11953. if (has_items_game_url_deprecated2013()) {
  11954. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11955. this->items_game_url_deprecated2013().data(), this->items_game_url_deprecated2013().length(),
  11956. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11957. ::google::protobuf::internal::WireFormatLite::WriteString(
  11958. 3, this->items_game_url_deprecated2013(), output);
  11959. }
  11960. // optional string items_game_url = 4;
  11961. if (has_items_game_url()) {
  11962. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11963. this->items_game_url().data(), this->items_game_url().length(),
  11964. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11965. ::google::protobuf::internal::WireFormatLite::WriteString(
  11966. 4, this->items_game_url(), output);
  11967. }
  11968. if (!unknown_fields().empty()) {
  11969. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11970. unknown_fields(), output);
  11971. }
  11972. }
  11973. ::google::protobuf::uint8* CMsgUpdateItemSchema::SerializeWithCachedSizesToArray(
  11974. ::google::protobuf::uint8* target) const {
  11975. // optional bytes items_game = 1;
  11976. if (has_items_game()) {
  11977. target =
  11978. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  11979. 1, this->items_game(), target);
  11980. }
  11981. // optional fixed32 item_schema_version = 2;
  11982. if (has_item_schema_version()) {
  11983. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(2, this->item_schema_version(), target);
  11984. }
  11985. // optional string items_game_url_DEPRECATED2013 = 3;
  11986. if (has_items_game_url_deprecated2013()) {
  11987. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11988. this->items_game_url_deprecated2013().data(), this->items_game_url_deprecated2013().length(),
  11989. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11990. target =
  11991. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11992. 3, this->items_game_url_deprecated2013(), target);
  11993. }
  11994. // optional string items_game_url = 4;
  11995. if (has_items_game_url()) {
  11996. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11997. this->items_game_url().data(), this->items_game_url().length(),
  11998. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11999. target =
  12000. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12001. 4, this->items_game_url(), target);
  12002. }
  12003. if (!unknown_fields().empty()) {
  12004. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12005. unknown_fields(), target);
  12006. }
  12007. return target;
  12008. }
  12009. int CMsgUpdateItemSchema::ByteSize() const {
  12010. int total_size = 0;
  12011. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12012. // optional bytes items_game = 1;
  12013. if (has_items_game()) {
  12014. total_size += 1 +
  12015. ::google::protobuf::internal::WireFormatLite::BytesSize(
  12016. this->items_game());
  12017. }
  12018. // optional fixed32 item_schema_version = 2;
  12019. if (has_item_schema_version()) {
  12020. total_size += 1 + 4;
  12021. }
  12022. // optional string items_game_url_DEPRECATED2013 = 3;
  12023. if (has_items_game_url_deprecated2013()) {
  12024. total_size += 1 +
  12025. ::google::protobuf::internal::WireFormatLite::StringSize(
  12026. this->items_game_url_deprecated2013());
  12027. }
  12028. // optional string items_game_url = 4;
  12029. if (has_items_game_url()) {
  12030. total_size += 1 +
  12031. ::google::protobuf::internal::WireFormatLite::StringSize(
  12032. this->items_game_url());
  12033. }
  12034. }
  12035. if (!unknown_fields().empty()) {
  12036. total_size +=
  12037. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12038. unknown_fields());
  12039. }
  12040. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12041. _cached_size_ = total_size;
  12042. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12043. return total_size;
  12044. }
  12045. void CMsgUpdateItemSchema::MergeFrom(const ::google::protobuf::Message& from) {
  12046. GOOGLE_CHECK_NE(&from, this);
  12047. const CMsgUpdateItemSchema* source =
  12048. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgUpdateItemSchema*>(
  12049. &from);
  12050. if (source == NULL) {
  12051. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12052. } else {
  12053. MergeFrom(*source);
  12054. }
  12055. }
  12056. void CMsgUpdateItemSchema::MergeFrom(const CMsgUpdateItemSchema& from) {
  12057. GOOGLE_CHECK_NE(&from, this);
  12058. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12059. if (from.has_items_game()) {
  12060. set_items_game(from.items_game());
  12061. }
  12062. if (from.has_item_schema_version()) {
  12063. set_item_schema_version(from.item_schema_version());
  12064. }
  12065. if (from.has_items_game_url_deprecated2013()) {
  12066. set_items_game_url_deprecated2013(from.items_game_url_deprecated2013());
  12067. }
  12068. if (from.has_items_game_url()) {
  12069. set_items_game_url(from.items_game_url());
  12070. }
  12071. }
  12072. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12073. }
  12074. void CMsgUpdateItemSchema::CopyFrom(const ::google::protobuf::Message& from) {
  12075. if (&from == this) return;
  12076. Clear();
  12077. MergeFrom(from);
  12078. }
  12079. void CMsgUpdateItemSchema::CopyFrom(const CMsgUpdateItemSchema& from) {
  12080. if (&from == this) return;
  12081. Clear();
  12082. MergeFrom(from);
  12083. }
  12084. bool CMsgUpdateItemSchema::IsInitialized() const {
  12085. return true;
  12086. }
  12087. void CMsgUpdateItemSchema::Swap(CMsgUpdateItemSchema* other) {
  12088. if (other != this) {
  12089. std::swap(items_game_, other->items_game_);
  12090. std::swap(item_schema_version_, other->item_schema_version_);
  12091. std::swap(items_game_url_deprecated2013_, other->items_game_url_deprecated2013_);
  12092. std::swap(items_game_url_, other->items_game_url_);
  12093. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12094. _unknown_fields_.Swap(&other->_unknown_fields_);
  12095. std::swap(_cached_size_, other->_cached_size_);
  12096. }
  12097. }
  12098. ::google::protobuf::Metadata CMsgUpdateItemSchema::GetMetadata() const {
  12099. protobuf_AssignDescriptorsOnce();
  12100. ::google::protobuf::Metadata metadata;
  12101. metadata.descriptor = CMsgUpdateItemSchema_descriptor_;
  12102. metadata.reflection = CMsgUpdateItemSchema_reflection_;
  12103. return metadata;
  12104. }
  12105. // ===================================================================
  12106. #ifndef _MSC_VER
  12107. const int CMsgGCError::kErrorTextFieldNumber;
  12108. #endif // !_MSC_VER
  12109. CMsgGCError::CMsgGCError()
  12110. : ::google::protobuf::Message() {
  12111. SharedCtor();
  12112. }
  12113. void CMsgGCError::InitAsDefaultInstance() {
  12114. }
  12115. CMsgGCError::CMsgGCError(const CMsgGCError& from)
  12116. : ::google::protobuf::Message() {
  12117. SharedCtor();
  12118. MergeFrom(from);
  12119. }
  12120. void CMsgGCError::SharedCtor() {
  12121. _cached_size_ = 0;
  12122. error_text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12123. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12124. }
  12125. CMsgGCError::~CMsgGCError() {
  12126. SharedDtor();
  12127. }
  12128. void CMsgGCError::SharedDtor() {
  12129. if (error_text_ != &::google::protobuf::internal::kEmptyString) {
  12130. delete error_text_;
  12131. }
  12132. if (this != default_instance_) {
  12133. }
  12134. }
  12135. void CMsgGCError::SetCachedSize(int size) const {
  12136. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12137. _cached_size_ = size;
  12138. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12139. }
  12140. const ::google::protobuf::Descriptor* CMsgGCError::descriptor() {
  12141. protobuf_AssignDescriptorsOnce();
  12142. return CMsgGCError_descriptor_;
  12143. }
  12144. const CMsgGCError& CMsgGCError::default_instance() {
  12145. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  12146. return *default_instance_;
  12147. }
  12148. CMsgGCError* CMsgGCError::default_instance_ = NULL;
  12149. CMsgGCError* CMsgGCError::New() const {
  12150. return new CMsgGCError;
  12151. }
  12152. void CMsgGCError::Clear() {
  12153. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12154. if (has_error_text()) {
  12155. if (error_text_ != &::google::protobuf::internal::kEmptyString) {
  12156. error_text_->clear();
  12157. }
  12158. }
  12159. }
  12160. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12161. mutable_unknown_fields()->Clear();
  12162. }
  12163. bool CMsgGCError::MergePartialFromCodedStream(
  12164. ::google::protobuf::io::CodedInputStream* input) {
  12165. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12166. ::google::protobuf::uint32 tag;
  12167. while ((tag = input->ReadTag()) != 0) {
  12168. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12169. // optional string error_text = 1;
  12170. case 1: {
  12171. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12172. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12173. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12174. input, this->mutable_error_text()));
  12175. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12176. this->error_text().data(), this->error_text().length(),
  12177. ::google::protobuf::internal::WireFormat::PARSE);
  12178. } else {
  12179. goto handle_uninterpreted;
  12180. }
  12181. if (input->ExpectAtEnd()) return true;
  12182. break;
  12183. }
  12184. default: {
  12185. handle_uninterpreted:
  12186. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12187. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12188. return true;
  12189. }
  12190. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12191. input, tag, mutable_unknown_fields()));
  12192. break;
  12193. }
  12194. }
  12195. }
  12196. return true;
  12197. #undef DO_
  12198. }
  12199. void CMsgGCError::SerializeWithCachedSizes(
  12200. ::google::protobuf::io::CodedOutputStream* output) const {
  12201. // optional string error_text = 1;
  12202. if (has_error_text()) {
  12203. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12204. this->error_text().data(), this->error_text().length(),
  12205. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12206. ::google::protobuf::internal::WireFormatLite::WriteString(
  12207. 1, this->error_text(), output);
  12208. }
  12209. if (!unknown_fields().empty()) {
  12210. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12211. unknown_fields(), output);
  12212. }
  12213. }
  12214. ::google::protobuf::uint8* CMsgGCError::SerializeWithCachedSizesToArray(
  12215. ::google::protobuf::uint8* target) const {
  12216. // optional string error_text = 1;
  12217. if (has_error_text()) {
  12218. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12219. this->error_text().data(), this->error_text().length(),
  12220. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12221. target =
  12222. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12223. 1, this->error_text(), target);
  12224. }
  12225. if (!unknown_fields().empty()) {
  12226. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12227. unknown_fields(), target);
  12228. }
  12229. return target;
  12230. }
  12231. int CMsgGCError::ByteSize() const {
  12232. int total_size = 0;
  12233. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12234. // optional string error_text = 1;
  12235. if (has_error_text()) {
  12236. total_size += 1 +
  12237. ::google::protobuf::internal::WireFormatLite::StringSize(
  12238. this->error_text());
  12239. }
  12240. }
  12241. if (!unknown_fields().empty()) {
  12242. total_size +=
  12243. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12244. unknown_fields());
  12245. }
  12246. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12247. _cached_size_ = total_size;
  12248. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12249. return total_size;
  12250. }
  12251. void CMsgGCError::MergeFrom(const ::google::protobuf::Message& from) {
  12252. GOOGLE_CHECK_NE(&from, this);
  12253. const CMsgGCError* source =
  12254. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCError*>(
  12255. &from);
  12256. if (source == NULL) {
  12257. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12258. } else {
  12259. MergeFrom(*source);
  12260. }
  12261. }
  12262. void CMsgGCError::MergeFrom(const CMsgGCError& from) {
  12263. GOOGLE_CHECK_NE(&from, this);
  12264. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12265. if (from.has_error_text()) {
  12266. set_error_text(from.error_text());
  12267. }
  12268. }
  12269. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12270. }
  12271. void CMsgGCError::CopyFrom(const ::google::protobuf::Message& from) {
  12272. if (&from == this) return;
  12273. Clear();
  12274. MergeFrom(from);
  12275. }
  12276. void CMsgGCError::CopyFrom(const CMsgGCError& from) {
  12277. if (&from == this) return;
  12278. Clear();
  12279. MergeFrom(from);
  12280. }
  12281. bool CMsgGCError::IsInitialized() const {
  12282. return true;
  12283. }
  12284. void CMsgGCError::Swap(CMsgGCError* other) {
  12285. if (other != this) {
  12286. std::swap(error_text_, other->error_text_);
  12287. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12288. _unknown_fields_.Swap(&other->_unknown_fields_);
  12289. std::swap(_cached_size_, other->_cached_size_);
  12290. }
  12291. }
  12292. ::google::protobuf::Metadata CMsgGCError::GetMetadata() const {
  12293. protobuf_AssignDescriptorsOnce();
  12294. ::google::protobuf::Metadata metadata;
  12295. metadata.descriptor = CMsgGCError_descriptor_;
  12296. metadata.reflection = CMsgGCError_reflection_;
  12297. return metadata;
  12298. }
  12299. // ===================================================================
  12300. #ifndef _MSC_VER
  12301. #endif // !_MSC_VER
  12302. CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh()
  12303. : ::google::protobuf::Message() {
  12304. SharedCtor();
  12305. }
  12306. void CMsgRequestInventoryRefresh::InitAsDefaultInstance() {
  12307. }
  12308. CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh(const CMsgRequestInventoryRefresh& from)
  12309. : ::google::protobuf::Message() {
  12310. SharedCtor();
  12311. MergeFrom(from);
  12312. }
  12313. void CMsgRequestInventoryRefresh::SharedCtor() {
  12314. _cached_size_ = 0;
  12315. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12316. }
  12317. CMsgRequestInventoryRefresh::~CMsgRequestInventoryRefresh() {
  12318. SharedDtor();
  12319. }
  12320. void CMsgRequestInventoryRefresh::SharedDtor() {
  12321. if (this != default_instance_) {
  12322. }
  12323. }
  12324. void CMsgRequestInventoryRefresh::SetCachedSize(int size) const {
  12325. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12326. _cached_size_ = size;
  12327. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12328. }
  12329. const ::google::protobuf::Descriptor* CMsgRequestInventoryRefresh::descriptor() {
  12330. protobuf_AssignDescriptorsOnce();
  12331. return CMsgRequestInventoryRefresh_descriptor_;
  12332. }
  12333. const CMsgRequestInventoryRefresh& CMsgRequestInventoryRefresh::default_instance() {
  12334. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  12335. return *default_instance_;
  12336. }
  12337. CMsgRequestInventoryRefresh* CMsgRequestInventoryRefresh::default_instance_ = NULL;
  12338. CMsgRequestInventoryRefresh* CMsgRequestInventoryRefresh::New() const {
  12339. return new CMsgRequestInventoryRefresh;
  12340. }
  12341. void CMsgRequestInventoryRefresh::Clear() {
  12342. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12343. mutable_unknown_fields()->Clear();
  12344. }
  12345. bool CMsgRequestInventoryRefresh::MergePartialFromCodedStream(
  12346. ::google::protobuf::io::CodedInputStream* input) {
  12347. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12348. ::google::protobuf::uint32 tag;
  12349. while ((tag = input->ReadTag()) != 0) {
  12350. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12351. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12352. return true;
  12353. }
  12354. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12355. input, tag, mutable_unknown_fields()));
  12356. }
  12357. return true;
  12358. #undef DO_
  12359. }
  12360. void CMsgRequestInventoryRefresh::SerializeWithCachedSizes(
  12361. ::google::protobuf::io::CodedOutputStream* output) const {
  12362. if (!unknown_fields().empty()) {
  12363. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12364. unknown_fields(), output);
  12365. }
  12366. }
  12367. ::google::protobuf::uint8* CMsgRequestInventoryRefresh::SerializeWithCachedSizesToArray(
  12368. ::google::protobuf::uint8* target) const {
  12369. if (!unknown_fields().empty()) {
  12370. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12371. unknown_fields(), target);
  12372. }
  12373. return target;
  12374. }
  12375. int CMsgRequestInventoryRefresh::ByteSize() const {
  12376. int total_size = 0;
  12377. if (!unknown_fields().empty()) {
  12378. total_size +=
  12379. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12380. unknown_fields());
  12381. }
  12382. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12383. _cached_size_ = total_size;
  12384. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12385. return total_size;
  12386. }
  12387. void CMsgRequestInventoryRefresh::MergeFrom(const ::google::protobuf::Message& from) {
  12388. GOOGLE_CHECK_NE(&from, this);
  12389. const CMsgRequestInventoryRefresh* source =
  12390. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgRequestInventoryRefresh*>(
  12391. &from);
  12392. if (source == NULL) {
  12393. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12394. } else {
  12395. MergeFrom(*source);
  12396. }
  12397. }
  12398. void CMsgRequestInventoryRefresh::MergeFrom(const CMsgRequestInventoryRefresh& from) {
  12399. GOOGLE_CHECK_NE(&from, this);
  12400. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12401. }
  12402. void CMsgRequestInventoryRefresh::CopyFrom(const ::google::protobuf::Message& from) {
  12403. if (&from == this) return;
  12404. Clear();
  12405. MergeFrom(from);
  12406. }
  12407. void CMsgRequestInventoryRefresh::CopyFrom(const CMsgRequestInventoryRefresh& from) {
  12408. if (&from == this) return;
  12409. Clear();
  12410. MergeFrom(from);
  12411. }
  12412. bool CMsgRequestInventoryRefresh::IsInitialized() const {
  12413. return true;
  12414. }
  12415. void CMsgRequestInventoryRefresh::Swap(CMsgRequestInventoryRefresh* other) {
  12416. if (other != this) {
  12417. _unknown_fields_.Swap(&other->_unknown_fields_);
  12418. std::swap(_cached_size_, other->_cached_size_);
  12419. }
  12420. }
  12421. ::google::protobuf::Metadata CMsgRequestInventoryRefresh::GetMetadata() const {
  12422. protobuf_AssignDescriptorsOnce();
  12423. ::google::protobuf::Metadata metadata;
  12424. metadata.descriptor = CMsgRequestInventoryRefresh_descriptor_;
  12425. metadata.reflection = CMsgRequestInventoryRefresh_reflection_;
  12426. return metadata;
  12427. }
  12428. // ===================================================================
  12429. #ifndef _MSC_VER
  12430. const int CMsgConVarValue::kNameFieldNumber;
  12431. const int CMsgConVarValue::kValueFieldNumber;
  12432. #endif // !_MSC_VER
  12433. CMsgConVarValue::CMsgConVarValue()
  12434. : ::google::protobuf::Message() {
  12435. SharedCtor();
  12436. }
  12437. void CMsgConVarValue::InitAsDefaultInstance() {
  12438. }
  12439. CMsgConVarValue::CMsgConVarValue(const CMsgConVarValue& from)
  12440. : ::google::protobuf::Message() {
  12441. SharedCtor();
  12442. MergeFrom(from);
  12443. }
  12444. void CMsgConVarValue::SharedCtor() {
  12445. _cached_size_ = 0;
  12446. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12447. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12448. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12449. }
  12450. CMsgConVarValue::~CMsgConVarValue() {
  12451. SharedDtor();
  12452. }
  12453. void CMsgConVarValue::SharedDtor() {
  12454. if (name_ != &::google::protobuf::internal::kEmptyString) {
  12455. delete name_;
  12456. }
  12457. if (value_ != &::google::protobuf::internal::kEmptyString) {
  12458. delete value_;
  12459. }
  12460. if (this != default_instance_) {
  12461. }
  12462. }
  12463. void CMsgConVarValue::SetCachedSize(int size) const {
  12464. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12465. _cached_size_ = size;
  12466. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12467. }
  12468. const ::google::protobuf::Descriptor* CMsgConVarValue::descriptor() {
  12469. protobuf_AssignDescriptorsOnce();
  12470. return CMsgConVarValue_descriptor_;
  12471. }
  12472. const CMsgConVarValue& CMsgConVarValue::default_instance() {
  12473. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  12474. return *default_instance_;
  12475. }
  12476. CMsgConVarValue* CMsgConVarValue::default_instance_ = NULL;
  12477. CMsgConVarValue* CMsgConVarValue::New() const {
  12478. return new CMsgConVarValue;
  12479. }
  12480. void CMsgConVarValue::Clear() {
  12481. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12482. if (has_name()) {
  12483. if (name_ != &::google::protobuf::internal::kEmptyString) {
  12484. name_->clear();
  12485. }
  12486. }
  12487. if (has_value()) {
  12488. if (value_ != &::google::protobuf::internal::kEmptyString) {
  12489. value_->clear();
  12490. }
  12491. }
  12492. }
  12493. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12494. mutable_unknown_fields()->Clear();
  12495. }
  12496. bool CMsgConVarValue::MergePartialFromCodedStream(
  12497. ::google::protobuf::io::CodedInputStream* input) {
  12498. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12499. ::google::protobuf::uint32 tag;
  12500. while ((tag = input->ReadTag()) != 0) {
  12501. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12502. // optional string name = 1;
  12503. case 1: {
  12504. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12505. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12506. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12507. input, this->mutable_name()));
  12508. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12509. this->name().data(), this->name().length(),
  12510. ::google::protobuf::internal::WireFormat::PARSE);
  12511. } else {
  12512. goto handle_uninterpreted;
  12513. }
  12514. if (input->ExpectTag(18)) goto parse_value;
  12515. break;
  12516. }
  12517. // optional string value = 2;
  12518. case 2: {
  12519. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12520. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12521. parse_value:
  12522. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12523. input, this->mutable_value()));
  12524. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12525. this->value().data(), this->value().length(),
  12526. ::google::protobuf::internal::WireFormat::PARSE);
  12527. } else {
  12528. goto handle_uninterpreted;
  12529. }
  12530. if (input->ExpectAtEnd()) return true;
  12531. break;
  12532. }
  12533. default: {
  12534. handle_uninterpreted:
  12535. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12536. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12537. return true;
  12538. }
  12539. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12540. input, tag, mutable_unknown_fields()));
  12541. break;
  12542. }
  12543. }
  12544. }
  12545. return true;
  12546. #undef DO_
  12547. }
  12548. void CMsgConVarValue::SerializeWithCachedSizes(
  12549. ::google::protobuf::io::CodedOutputStream* output) const {
  12550. // optional string name = 1;
  12551. if (has_name()) {
  12552. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12553. this->name().data(), this->name().length(),
  12554. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12555. ::google::protobuf::internal::WireFormatLite::WriteString(
  12556. 1, this->name(), output);
  12557. }
  12558. // optional string value = 2;
  12559. if (has_value()) {
  12560. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12561. this->value().data(), this->value().length(),
  12562. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12563. ::google::protobuf::internal::WireFormatLite::WriteString(
  12564. 2, this->value(), output);
  12565. }
  12566. if (!unknown_fields().empty()) {
  12567. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12568. unknown_fields(), output);
  12569. }
  12570. }
  12571. ::google::protobuf::uint8* CMsgConVarValue::SerializeWithCachedSizesToArray(
  12572. ::google::protobuf::uint8* target) const {
  12573. // optional string name = 1;
  12574. if (has_name()) {
  12575. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12576. this->name().data(), this->name().length(),
  12577. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12578. target =
  12579. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12580. 1, this->name(), target);
  12581. }
  12582. // optional string value = 2;
  12583. if (has_value()) {
  12584. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12585. this->value().data(), this->value().length(),
  12586. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12587. target =
  12588. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12589. 2, this->value(), target);
  12590. }
  12591. if (!unknown_fields().empty()) {
  12592. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12593. unknown_fields(), target);
  12594. }
  12595. return target;
  12596. }
  12597. int CMsgConVarValue::ByteSize() const {
  12598. int total_size = 0;
  12599. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12600. // optional string name = 1;
  12601. if (has_name()) {
  12602. total_size += 1 +
  12603. ::google::protobuf::internal::WireFormatLite::StringSize(
  12604. this->name());
  12605. }
  12606. // optional string value = 2;
  12607. if (has_value()) {
  12608. total_size += 1 +
  12609. ::google::protobuf::internal::WireFormatLite::StringSize(
  12610. this->value());
  12611. }
  12612. }
  12613. if (!unknown_fields().empty()) {
  12614. total_size +=
  12615. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12616. unknown_fields());
  12617. }
  12618. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12619. _cached_size_ = total_size;
  12620. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12621. return total_size;
  12622. }
  12623. void CMsgConVarValue::MergeFrom(const ::google::protobuf::Message& from) {
  12624. GOOGLE_CHECK_NE(&from, this);
  12625. const CMsgConVarValue* source =
  12626. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgConVarValue*>(
  12627. &from);
  12628. if (source == NULL) {
  12629. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12630. } else {
  12631. MergeFrom(*source);
  12632. }
  12633. }
  12634. void CMsgConVarValue::MergeFrom(const CMsgConVarValue& from) {
  12635. GOOGLE_CHECK_NE(&from, this);
  12636. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12637. if (from.has_name()) {
  12638. set_name(from.name());
  12639. }
  12640. if (from.has_value()) {
  12641. set_value(from.value());
  12642. }
  12643. }
  12644. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12645. }
  12646. void CMsgConVarValue::CopyFrom(const ::google::protobuf::Message& from) {
  12647. if (&from == this) return;
  12648. Clear();
  12649. MergeFrom(from);
  12650. }
  12651. void CMsgConVarValue::CopyFrom(const CMsgConVarValue& from) {
  12652. if (&from == this) return;
  12653. Clear();
  12654. MergeFrom(from);
  12655. }
  12656. bool CMsgConVarValue::IsInitialized() const {
  12657. return true;
  12658. }
  12659. void CMsgConVarValue::Swap(CMsgConVarValue* other) {
  12660. if (other != this) {
  12661. std::swap(name_, other->name_);
  12662. std::swap(value_, other->value_);
  12663. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12664. _unknown_fields_.Swap(&other->_unknown_fields_);
  12665. std::swap(_cached_size_, other->_cached_size_);
  12666. }
  12667. }
  12668. ::google::protobuf::Metadata CMsgConVarValue::GetMetadata() const {
  12669. protobuf_AssignDescriptorsOnce();
  12670. ::google::protobuf::Metadata metadata;
  12671. metadata.descriptor = CMsgConVarValue_descriptor_;
  12672. metadata.reflection = CMsgConVarValue_reflection_;
  12673. return metadata;
  12674. }
  12675. // ===================================================================
  12676. #ifndef _MSC_VER
  12677. const int CMsgReplicateConVars::kConvarsFieldNumber;
  12678. #endif // !_MSC_VER
  12679. CMsgReplicateConVars::CMsgReplicateConVars()
  12680. : ::google::protobuf::Message() {
  12681. SharedCtor();
  12682. }
  12683. void CMsgReplicateConVars::InitAsDefaultInstance() {
  12684. }
  12685. CMsgReplicateConVars::CMsgReplicateConVars(const CMsgReplicateConVars& from)
  12686. : ::google::protobuf::Message() {
  12687. SharedCtor();
  12688. MergeFrom(from);
  12689. }
  12690. void CMsgReplicateConVars::SharedCtor() {
  12691. _cached_size_ = 0;
  12692. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12693. }
  12694. CMsgReplicateConVars::~CMsgReplicateConVars() {
  12695. SharedDtor();
  12696. }
  12697. void CMsgReplicateConVars::SharedDtor() {
  12698. if (this != default_instance_) {
  12699. }
  12700. }
  12701. void CMsgReplicateConVars::SetCachedSize(int size) const {
  12702. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12703. _cached_size_ = size;
  12704. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12705. }
  12706. const ::google::protobuf::Descriptor* CMsgReplicateConVars::descriptor() {
  12707. protobuf_AssignDescriptorsOnce();
  12708. return CMsgReplicateConVars_descriptor_;
  12709. }
  12710. const CMsgReplicateConVars& CMsgReplicateConVars::default_instance() {
  12711. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  12712. return *default_instance_;
  12713. }
  12714. CMsgReplicateConVars* CMsgReplicateConVars::default_instance_ = NULL;
  12715. CMsgReplicateConVars* CMsgReplicateConVars::New() const {
  12716. return new CMsgReplicateConVars;
  12717. }
  12718. void CMsgReplicateConVars::Clear() {
  12719. convars_.Clear();
  12720. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12721. mutable_unknown_fields()->Clear();
  12722. }
  12723. bool CMsgReplicateConVars::MergePartialFromCodedStream(
  12724. ::google::protobuf::io::CodedInputStream* input) {
  12725. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12726. ::google::protobuf::uint32 tag;
  12727. while ((tag = input->ReadTag()) != 0) {
  12728. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12729. // repeated .CMsgConVarValue convars = 1;
  12730. case 1: {
  12731. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12732. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12733. parse_convars:
  12734. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  12735. input, add_convars()));
  12736. } else {
  12737. goto handle_uninterpreted;
  12738. }
  12739. if (input->ExpectTag(10)) goto parse_convars;
  12740. if (input->ExpectAtEnd()) return true;
  12741. break;
  12742. }
  12743. default: {
  12744. handle_uninterpreted:
  12745. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12746. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12747. return true;
  12748. }
  12749. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12750. input, tag, mutable_unknown_fields()));
  12751. break;
  12752. }
  12753. }
  12754. }
  12755. return true;
  12756. #undef DO_
  12757. }
  12758. void CMsgReplicateConVars::SerializeWithCachedSizes(
  12759. ::google::protobuf::io::CodedOutputStream* output) const {
  12760. // repeated .CMsgConVarValue convars = 1;
  12761. for (int i = 0; i < this->convars_size(); i++) {
  12762. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12763. 1, this->convars(i), output);
  12764. }
  12765. if (!unknown_fields().empty()) {
  12766. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12767. unknown_fields(), output);
  12768. }
  12769. }
  12770. ::google::protobuf::uint8* CMsgReplicateConVars::SerializeWithCachedSizesToArray(
  12771. ::google::protobuf::uint8* target) const {
  12772. // repeated .CMsgConVarValue convars = 1;
  12773. for (int i = 0; i < this->convars_size(); i++) {
  12774. target = ::google::protobuf::internal::WireFormatLite::
  12775. WriteMessageNoVirtualToArray(
  12776. 1, this->convars(i), target);
  12777. }
  12778. if (!unknown_fields().empty()) {
  12779. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12780. unknown_fields(), target);
  12781. }
  12782. return target;
  12783. }
  12784. int CMsgReplicateConVars::ByteSize() const {
  12785. int total_size = 0;
  12786. // repeated .CMsgConVarValue convars = 1;
  12787. total_size += 1 * this->convars_size();
  12788. for (int i = 0; i < this->convars_size(); i++) {
  12789. total_size +=
  12790. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12791. this->convars(i));
  12792. }
  12793. if (!unknown_fields().empty()) {
  12794. total_size +=
  12795. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12796. unknown_fields());
  12797. }
  12798. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12799. _cached_size_ = total_size;
  12800. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12801. return total_size;
  12802. }
  12803. void CMsgReplicateConVars::MergeFrom(const ::google::protobuf::Message& from) {
  12804. GOOGLE_CHECK_NE(&from, this);
  12805. const CMsgReplicateConVars* source =
  12806. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgReplicateConVars*>(
  12807. &from);
  12808. if (source == NULL) {
  12809. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12810. } else {
  12811. MergeFrom(*source);
  12812. }
  12813. }
  12814. void CMsgReplicateConVars::MergeFrom(const CMsgReplicateConVars& from) {
  12815. GOOGLE_CHECK_NE(&from, this);
  12816. convars_.MergeFrom(from.convars_);
  12817. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12818. }
  12819. void CMsgReplicateConVars::CopyFrom(const ::google::protobuf::Message& from) {
  12820. if (&from == this) return;
  12821. Clear();
  12822. MergeFrom(from);
  12823. }
  12824. void CMsgReplicateConVars::CopyFrom(const CMsgReplicateConVars& from) {
  12825. if (&from == this) return;
  12826. Clear();
  12827. MergeFrom(from);
  12828. }
  12829. bool CMsgReplicateConVars::IsInitialized() const {
  12830. return true;
  12831. }
  12832. void CMsgReplicateConVars::Swap(CMsgReplicateConVars* other) {
  12833. if (other != this) {
  12834. convars_.Swap(&other->convars_);
  12835. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12836. _unknown_fields_.Swap(&other->_unknown_fields_);
  12837. std::swap(_cached_size_, other->_cached_size_);
  12838. }
  12839. }
  12840. ::google::protobuf::Metadata CMsgReplicateConVars::GetMetadata() const {
  12841. protobuf_AssignDescriptorsOnce();
  12842. ::google::protobuf::Metadata metadata;
  12843. metadata.descriptor = CMsgReplicateConVars_descriptor_;
  12844. metadata.reflection = CMsgReplicateConVars_reflection_;
  12845. return metadata;
  12846. }
  12847. // ===================================================================
  12848. #ifndef _MSC_VER
  12849. const int CMsgUseItem::kItemIdFieldNumber;
  12850. const int CMsgUseItem::kTargetSteamIdFieldNumber;
  12851. const int CMsgUseItem::kGiftPotentialTargetsFieldNumber;
  12852. const int CMsgUseItem::kDuelClassLockFieldNumber;
  12853. const int CMsgUseItem::kInitiatorSteamIdFieldNumber;
  12854. #endif // !_MSC_VER
  12855. CMsgUseItem::CMsgUseItem()
  12856. : ::google::protobuf::Message() {
  12857. SharedCtor();
  12858. }
  12859. void CMsgUseItem::InitAsDefaultInstance() {
  12860. }
  12861. CMsgUseItem::CMsgUseItem(const CMsgUseItem& from)
  12862. : ::google::protobuf::Message() {
  12863. SharedCtor();
  12864. MergeFrom(from);
  12865. }
  12866. void CMsgUseItem::SharedCtor() {
  12867. _cached_size_ = 0;
  12868. item_id_ = GOOGLE_ULONGLONG(0);
  12869. target_steam_id_ = GOOGLE_ULONGLONG(0);
  12870. duel__class_lock_ = 0u;
  12871. initiator_steam_id_ = GOOGLE_ULONGLONG(0);
  12872. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12873. }
  12874. CMsgUseItem::~CMsgUseItem() {
  12875. SharedDtor();
  12876. }
  12877. void CMsgUseItem::SharedDtor() {
  12878. if (this != default_instance_) {
  12879. }
  12880. }
  12881. void CMsgUseItem::SetCachedSize(int size) const {
  12882. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12883. _cached_size_ = size;
  12884. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12885. }
  12886. const ::google::protobuf::Descriptor* CMsgUseItem::descriptor() {
  12887. protobuf_AssignDescriptorsOnce();
  12888. return CMsgUseItem_descriptor_;
  12889. }
  12890. const CMsgUseItem& CMsgUseItem::default_instance() {
  12891. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  12892. return *default_instance_;
  12893. }
  12894. CMsgUseItem* CMsgUseItem::default_instance_ = NULL;
  12895. CMsgUseItem* CMsgUseItem::New() const {
  12896. return new CMsgUseItem;
  12897. }
  12898. void CMsgUseItem::Clear() {
  12899. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12900. item_id_ = GOOGLE_ULONGLONG(0);
  12901. target_steam_id_ = GOOGLE_ULONGLONG(0);
  12902. duel__class_lock_ = 0u;
  12903. initiator_steam_id_ = GOOGLE_ULONGLONG(0);
  12904. }
  12905. gift__potential_targets_.Clear();
  12906. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12907. mutable_unknown_fields()->Clear();
  12908. }
  12909. bool CMsgUseItem::MergePartialFromCodedStream(
  12910. ::google::protobuf::io::CodedInputStream* input) {
  12911. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12912. ::google::protobuf::uint32 tag;
  12913. while ((tag = input->ReadTag()) != 0) {
  12914. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12915. // optional uint64 item_id = 1;
  12916. case 1: {
  12917. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12918. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12919. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12920. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  12921. input, &item_id_)));
  12922. set_has_item_id();
  12923. } else {
  12924. goto handle_uninterpreted;
  12925. }
  12926. if (input->ExpectTag(17)) goto parse_target_steam_id;
  12927. break;
  12928. }
  12929. // optional fixed64 target_steam_id = 2;
  12930. case 2: {
  12931. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12932. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  12933. parse_target_steam_id:
  12934. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12935. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  12936. input, &target_steam_id_)));
  12937. set_has_target_steam_id();
  12938. } else {
  12939. goto handle_uninterpreted;
  12940. }
  12941. if (input->ExpectTag(24)) goto parse_gift__potential_targets;
  12942. break;
  12943. }
  12944. // repeated uint32 gift__potential_targets = 3;
  12945. case 3: {
  12946. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12947. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12948. parse_gift__potential_targets:
  12949. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  12950. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12951. 1, 24, input, this->mutable_gift__potential_targets())));
  12952. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  12953. == ::google::protobuf::internal::WireFormatLite::
  12954. WIRETYPE_LENGTH_DELIMITED) {
  12955. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  12956. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12957. input, this->mutable_gift__potential_targets())));
  12958. } else {
  12959. goto handle_uninterpreted;
  12960. }
  12961. if (input->ExpectTag(24)) goto parse_gift__potential_targets;
  12962. if (input->ExpectTag(32)) goto parse_duel__class_lock;
  12963. break;
  12964. }
  12965. // optional uint32 duel__class_lock = 4;
  12966. case 4: {
  12967. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12968. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12969. parse_duel__class_lock:
  12970. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12971. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12972. input, &duel__class_lock_)));
  12973. set_has_duel__class_lock();
  12974. } else {
  12975. goto handle_uninterpreted;
  12976. }
  12977. if (input->ExpectTag(41)) goto parse_initiator_steam_id;
  12978. break;
  12979. }
  12980. // optional fixed64 initiator_steam_id = 5;
  12981. case 5: {
  12982. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12983. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  12984. parse_initiator_steam_id:
  12985. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12986. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  12987. input, &initiator_steam_id_)));
  12988. set_has_initiator_steam_id();
  12989. } else {
  12990. goto handle_uninterpreted;
  12991. }
  12992. if (input->ExpectAtEnd()) return true;
  12993. break;
  12994. }
  12995. default: {
  12996. handle_uninterpreted:
  12997. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12998. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12999. return true;
  13000. }
  13001. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13002. input, tag, mutable_unknown_fields()));
  13003. break;
  13004. }
  13005. }
  13006. }
  13007. return true;
  13008. #undef DO_
  13009. }
  13010. void CMsgUseItem::SerializeWithCachedSizes(
  13011. ::google::protobuf::io::CodedOutputStream* output) const {
  13012. // optional uint64 item_id = 1;
  13013. if (has_item_id()) {
  13014. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->item_id(), output);
  13015. }
  13016. // optional fixed64 target_steam_id = 2;
  13017. if (has_target_steam_id()) {
  13018. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->target_steam_id(), output);
  13019. }
  13020. // repeated uint32 gift__potential_targets = 3;
  13021. for (int i = 0; i < this->gift__potential_targets_size(); i++) {
  13022. ::google::protobuf::internal::WireFormatLite::WriteUInt32(
  13023. 3, this->gift__potential_targets(i), output);
  13024. }
  13025. // optional uint32 duel__class_lock = 4;
  13026. if (has_duel__class_lock()) {
  13027. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->duel__class_lock(), output);
  13028. }
  13029. // optional fixed64 initiator_steam_id = 5;
  13030. if (has_initiator_steam_id()) {
  13031. ::google::protobuf::internal::WireFormatLite::WriteFixed64(5, this->initiator_steam_id(), output);
  13032. }
  13033. if (!unknown_fields().empty()) {
  13034. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13035. unknown_fields(), output);
  13036. }
  13037. }
  13038. ::google::protobuf::uint8* CMsgUseItem::SerializeWithCachedSizesToArray(
  13039. ::google::protobuf::uint8* target) const {
  13040. // optional uint64 item_id = 1;
  13041. if (has_item_id()) {
  13042. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->item_id(), target);
  13043. }
  13044. // optional fixed64 target_steam_id = 2;
  13045. if (has_target_steam_id()) {
  13046. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->target_steam_id(), target);
  13047. }
  13048. // repeated uint32 gift__potential_targets = 3;
  13049. for (int i = 0; i < this->gift__potential_targets_size(); i++) {
  13050. target = ::google::protobuf::internal::WireFormatLite::
  13051. WriteUInt32ToArray(3, this->gift__potential_targets(i), target);
  13052. }
  13053. // optional uint32 duel__class_lock = 4;
  13054. if (has_duel__class_lock()) {
  13055. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->duel__class_lock(), target);
  13056. }
  13057. // optional fixed64 initiator_steam_id = 5;
  13058. if (has_initiator_steam_id()) {
  13059. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(5, this->initiator_steam_id(), target);
  13060. }
  13061. if (!unknown_fields().empty()) {
  13062. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13063. unknown_fields(), target);
  13064. }
  13065. return target;
  13066. }
  13067. int CMsgUseItem::ByteSize() const {
  13068. int total_size = 0;
  13069. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13070. // optional uint64 item_id = 1;
  13071. if (has_item_id()) {
  13072. total_size += 1 +
  13073. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  13074. this->item_id());
  13075. }
  13076. // optional fixed64 target_steam_id = 2;
  13077. if (has_target_steam_id()) {
  13078. total_size += 1 + 8;
  13079. }
  13080. // optional uint32 duel__class_lock = 4;
  13081. if (has_duel__class_lock()) {
  13082. total_size += 1 +
  13083. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13084. this->duel__class_lock());
  13085. }
  13086. // optional fixed64 initiator_steam_id = 5;
  13087. if (has_initiator_steam_id()) {
  13088. total_size += 1 + 8;
  13089. }
  13090. }
  13091. // repeated uint32 gift__potential_targets = 3;
  13092. {
  13093. int data_size = 0;
  13094. for (int i = 0; i < this->gift__potential_targets_size(); i++) {
  13095. data_size += ::google::protobuf::internal::WireFormatLite::
  13096. UInt32Size(this->gift__potential_targets(i));
  13097. }
  13098. total_size += 1 * this->gift__potential_targets_size() + data_size;
  13099. }
  13100. if (!unknown_fields().empty()) {
  13101. total_size +=
  13102. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13103. unknown_fields());
  13104. }
  13105. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13106. _cached_size_ = total_size;
  13107. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13108. return total_size;
  13109. }
  13110. void CMsgUseItem::MergeFrom(const ::google::protobuf::Message& from) {
  13111. GOOGLE_CHECK_NE(&from, this);
  13112. const CMsgUseItem* source =
  13113. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgUseItem*>(
  13114. &from);
  13115. if (source == NULL) {
  13116. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13117. } else {
  13118. MergeFrom(*source);
  13119. }
  13120. }
  13121. void CMsgUseItem::MergeFrom(const CMsgUseItem& from) {
  13122. GOOGLE_CHECK_NE(&from, this);
  13123. gift__potential_targets_.MergeFrom(from.gift__potential_targets_);
  13124. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13125. if (from.has_item_id()) {
  13126. set_item_id(from.item_id());
  13127. }
  13128. if (from.has_target_steam_id()) {
  13129. set_target_steam_id(from.target_steam_id());
  13130. }
  13131. if (from.has_duel__class_lock()) {
  13132. set_duel__class_lock(from.duel__class_lock());
  13133. }
  13134. if (from.has_initiator_steam_id()) {
  13135. set_initiator_steam_id(from.initiator_steam_id());
  13136. }
  13137. }
  13138. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13139. }
  13140. void CMsgUseItem::CopyFrom(const ::google::protobuf::Message& from) {
  13141. if (&from == this) return;
  13142. Clear();
  13143. MergeFrom(from);
  13144. }
  13145. void CMsgUseItem::CopyFrom(const CMsgUseItem& from) {
  13146. if (&from == this) return;
  13147. Clear();
  13148. MergeFrom(from);
  13149. }
  13150. bool CMsgUseItem::IsInitialized() const {
  13151. return true;
  13152. }
  13153. void CMsgUseItem::Swap(CMsgUseItem* other) {
  13154. if (other != this) {
  13155. std::swap(item_id_, other->item_id_);
  13156. std::swap(target_steam_id_, other->target_steam_id_);
  13157. gift__potential_targets_.Swap(&other->gift__potential_targets_);
  13158. std::swap(duel__class_lock_, other->duel__class_lock_);
  13159. std::swap(initiator_steam_id_, other->initiator_steam_id_);
  13160. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13161. _unknown_fields_.Swap(&other->_unknown_fields_);
  13162. std::swap(_cached_size_, other->_cached_size_);
  13163. }
  13164. }
  13165. ::google::protobuf::Metadata CMsgUseItem::GetMetadata() const {
  13166. protobuf_AssignDescriptorsOnce();
  13167. ::google::protobuf::Metadata metadata;
  13168. metadata.descriptor = CMsgUseItem_descriptor_;
  13169. metadata.reflection = CMsgUseItem_reflection_;
  13170. return metadata;
  13171. }
  13172. // ===================================================================
  13173. #ifndef _MSC_VER
  13174. const int CMsgReplayUploadedToYouTube::kYoutubeUrlFieldNumber;
  13175. const int CMsgReplayUploadedToYouTube::kYoutubeAccountNameFieldNumber;
  13176. const int CMsgReplayUploadedToYouTube::kSessionIdFieldNumber;
  13177. #endif // !_MSC_VER
  13178. CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube()
  13179. : ::google::protobuf::Message() {
  13180. SharedCtor();
  13181. }
  13182. void CMsgReplayUploadedToYouTube::InitAsDefaultInstance() {
  13183. }
  13184. CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube(const CMsgReplayUploadedToYouTube& from)
  13185. : ::google::protobuf::Message() {
  13186. SharedCtor();
  13187. MergeFrom(from);
  13188. }
  13189. void CMsgReplayUploadedToYouTube::SharedCtor() {
  13190. _cached_size_ = 0;
  13191. youtube_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  13192. youtube_account_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  13193. session_id_ = GOOGLE_ULONGLONG(0);
  13194. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13195. }
  13196. CMsgReplayUploadedToYouTube::~CMsgReplayUploadedToYouTube() {
  13197. SharedDtor();
  13198. }
  13199. void CMsgReplayUploadedToYouTube::SharedDtor() {
  13200. if (youtube_url_ != &::google::protobuf::internal::kEmptyString) {
  13201. delete youtube_url_;
  13202. }
  13203. if (youtube_account_name_ != &::google::protobuf::internal::kEmptyString) {
  13204. delete youtube_account_name_;
  13205. }
  13206. if (this != default_instance_) {
  13207. }
  13208. }
  13209. void CMsgReplayUploadedToYouTube::SetCachedSize(int size) const {
  13210. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13211. _cached_size_ = size;
  13212. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13213. }
  13214. const ::google::protobuf::Descriptor* CMsgReplayUploadedToYouTube::descriptor() {
  13215. protobuf_AssignDescriptorsOnce();
  13216. return CMsgReplayUploadedToYouTube_descriptor_;
  13217. }
  13218. const CMsgReplayUploadedToYouTube& CMsgReplayUploadedToYouTube::default_instance() {
  13219. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  13220. return *default_instance_;
  13221. }
  13222. CMsgReplayUploadedToYouTube* CMsgReplayUploadedToYouTube::default_instance_ = NULL;
  13223. CMsgReplayUploadedToYouTube* CMsgReplayUploadedToYouTube::New() const {
  13224. return new CMsgReplayUploadedToYouTube;
  13225. }
  13226. void CMsgReplayUploadedToYouTube::Clear() {
  13227. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13228. if (has_youtube_url()) {
  13229. if (youtube_url_ != &::google::protobuf::internal::kEmptyString) {
  13230. youtube_url_->clear();
  13231. }
  13232. }
  13233. if (has_youtube_account_name()) {
  13234. if (youtube_account_name_ != &::google::protobuf::internal::kEmptyString) {
  13235. youtube_account_name_->clear();
  13236. }
  13237. }
  13238. session_id_ = GOOGLE_ULONGLONG(0);
  13239. }
  13240. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13241. mutable_unknown_fields()->Clear();
  13242. }
  13243. bool CMsgReplayUploadedToYouTube::MergePartialFromCodedStream(
  13244. ::google::protobuf::io::CodedInputStream* input) {
  13245. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13246. ::google::protobuf::uint32 tag;
  13247. while ((tag = input->ReadTag()) != 0) {
  13248. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13249. // optional string youtube_url = 1;
  13250. case 1: {
  13251. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13252. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13253. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13254. input, this->mutable_youtube_url()));
  13255. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13256. this->youtube_url().data(), this->youtube_url().length(),
  13257. ::google::protobuf::internal::WireFormat::PARSE);
  13258. } else {
  13259. goto handle_uninterpreted;
  13260. }
  13261. if (input->ExpectTag(18)) goto parse_youtube_account_name;
  13262. break;
  13263. }
  13264. // optional string youtube_account_name = 2;
  13265. case 2: {
  13266. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13267. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13268. parse_youtube_account_name:
  13269. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13270. input, this->mutable_youtube_account_name()));
  13271. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13272. this->youtube_account_name().data(), this->youtube_account_name().length(),
  13273. ::google::protobuf::internal::WireFormat::PARSE);
  13274. } else {
  13275. goto handle_uninterpreted;
  13276. }
  13277. if (input->ExpectTag(24)) goto parse_session_id;
  13278. break;
  13279. }
  13280. // optional uint64 session_id = 3;
  13281. case 3: {
  13282. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13283. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13284. parse_session_id:
  13285. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13286. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  13287. input, &session_id_)));
  13288. set_has_session_id();
  13289. } else {
  13290. goto handle_uninterpreted;
  13291. }
  13292. if (input->ExpectAtEnd()) return true;
  13293. break;
  13294. }
  13295. default: {
  13296. handle_uninterpreted:
  13297. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13298. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13299. return true;
  13300. }
  13301. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13302. input, tag, mutable_unknown_fields()));
  13303. break;
  13304. }
  13305. }
  13306. }
  13307. return true;
  13308. #undef DO_
  13309. }
  13310. void CMsgReplayUploadedToYouTube::SerializeWithCachedSizes(
  13311. ::google::protobuf::io::CodedOutputStream* output) const {
  13312. // optional string youtube_url = 1;
  13313. if (has_youtube_url()) {
  13314. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13315. this->youtube_url().data(), this->youtube_url().length(),
  13316. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13317. ::google::protobuf::internal::WireFormatLite::WriteString(
  13318. 1, this->youtube_url(), output);
  13319. }
  13320. // optional string youtube_account_name = 2;
  13321. if (has_youtube_account_name()) {
  13322. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13323. this->youtube_account_name().data(), this->youtube_account_name().length(),
  13324. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13325. ::google::protobuf::internal::WireFormatLite::WriteString(
  13326. 2, this->youtube_account_name(), output);
  13327. }
  13328. // optional uint64 session_id = 3;
  13329. if (has_session_id()) {
  13330. ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->session_id(), output);
  13331. }
  13332. if (!unknown_fields().empty()) {
  13333. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13334. unknown_fields(), output);
  13335. }
  13336. }
  13337. ::google::protobuf::uint8* CMsgReplayUploadedToYouTube::SerializeWithCachedSizesToArray(
  13338. ::google::protobuf::uint8* target) const {
  13339. // optional string youtube_url = 1;
  13340. if (has_youtube_url()) {
  13341. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13342. this->youtube_url().data(), this->youtube_url().length(),
  13343. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13344. target =
  13345. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13346. 1, this->youtube_url(), target);
  13347. }
  13348. // optional string youtube_account_name = 2;
  13349. if (has_youtube_account_name()) {
  13350. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13351. this->youtube_account_name().data(), this->youtube_account_name().length(),
  13352. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13353. target =
  13354. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13355. 2, this->youtube_account_name(), target);
  13356. }
  13357. // optional uint64 session_id = 3;
  13358. if (has_session_id()) {
  13359. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->session_id(), target);
  13360. }
  13361. if (!unknown_fields().empty()) {
  13362. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13363. unknown_fields(), target);
  13364. }
  13365. return target;
  13366. }
  13367. int CMsgReplayUploadedToYouTube::ByteSize() const {
  13368. int total_size = 0;
  13369. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13370. // optional string youtube_url = 1;
  13371. if (has_youtube_url()) {
  13372. total_size += 1 +
  13373. ::google::protobuf::internal::WireFormatLite::StringSize(
  13374. this->youtube_url());
  13375. }
  13376. // optional string youtube_account_name = 2;
  13377. if (has_youtube_account_name()) {
  13378. total_size += 1 +
  13379. ::google::protobuf::internal::WireFormatLite::StringSize(
  13380. this->youtube_account_name());
  13381. }
  13382. // optional uint64 session_id = 3;
  13383. if (has_session_id()) {
  13384. total_size += 1 +
  13385. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  13386. this->session_id());
  13387. }
  13388. }
  13389. if (!unknown_fields().empty()) {
  13390. total_size +=
  13391. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13392. unknown_fields());
  13393. }
  13394. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13395. _cached_size_ = total_size;
  13396. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13397. return total_size;
  13398. }
  13399. void CMsgReplayUploadedToYouTube::MergeFrom(const ::google::protobuf::Message& from) {
  13400. GOOGLE_CHECK_NE(&from, this);
  13401. const CMsgReplayUploadedToYouTube* source =
  13402. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgReplayUploadedToYouTube*>(
  13403. &from);
  13404. if (source == NULL) {
  13405. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13406. } else {
  13407. MergeFrom(*source);
  13408. }
  13409. }
  13410. void CMsgReplayUploadedToYouTube::MergeFrom(const CMsgReplayUploadedToYouTube& from) {
  13411. GOOGLE_CHECK_NE(&from, this);
  13412. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13413. if (from.has_youtube_url()) {
  13414. set_youtube_url(from.youtube_url());
  13415. }
  13416. if (from.has_youtube_account_name()) {
  13417. set_youtube_account_name(from.youtube_account_name());
  13418. }
  13419. if (from.has_session_id()) {
  13420. set_session_id(from.session_id());
  13421. }
  13422. }
  13423. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13424. }
  13425. void CMsgReplayUploadedToYouTube::CopyFrom(const ::google::protobuf::Message& from) {
  13426. if (&from == this) return;
  13427. Clear();
  13428. MergeFrom(from);
  13429. }
  13430. void CMsgReplayUploadedToYouTube::CopyFrom(const CMsgReplayUploadedToYouTube& from) {
  13431. if (&from == this) return;
  13432. Clear();
  13433. MergeFrom(from);
  13434. }
  13435. bool CMsgReplayUploadedToYouTube::IsInitialized() const {
  13436. return true;
  13437. }
  13438. void CMsgReplayUploadedToYouTube::Swap(CMsgReplayUploadedToYouTube* other) {
  13439. if (other != this) {
  13440. std::swap(youtube_url_, other->youtube_url_);
  13441. std::swap(youtube_account_name_, other->youtube_account_name_);
  13442. std::swap(session_id_, other->session_id_);
  13443. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13444. _unknown_fields_.Swap(&other->_unknown_fields_);
  13445. std::swap(_cached_size_, other->_cached_size_);
  13446. }
  13447. }
  13448. ::google::protobuf::Metadata CMsgReplayUploadedToYouTube::GetMetadata() const {
  13449. protobuf_AssignDescriptorsOnce();
  13450. ::google::protobuf::Metadata metadata;
  13451. metadata.descriptor = CMsgReplayUploadedToYouTube_descriptor_;
  13452. metadata.reflection = CMsgReplayUploadedToYouTube_reflection_;
  13453. return metadata;
  13454. }
  13455. // ===================================================================
  13456. #ifndef _MSC_VER
  13457. const int CMsgConsumableExhausted::kItemDefIdFieldNumber;
  13458. #endif // !_MSC_VER
  13459. CMsgConsumableExhausted::CMsgConsumableExhausted()
  13460. : ::google::protobuf::Message() {
  13461. SharedCtor();
  13462. }
  13463. void CMsgConsumableExhausted::InitAsDefaultInstance() {
  13464. }
  13465. CMsgConsumableExhausted::CMsgConsumableExhausted(const CMsgConsumableExhausted& from)
  13466. : ::google::protobuf::Message() {
  13467. SharedCtor();
  13468. MergeFrom(from);
  13469. }
  13470. void CMsgConsumableExhausted::SharedCtor() {
  13471. _cached_size_ = 0;
  13472. item_def_id_ = 0;
  13473. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13474. }
  13475. CMsgConsumableExhausted::~CMsgConsumableExhausted() {
  13476. SharedDtor();
  13477. }
  13478. void CMsgConsumableExhausted::SharedDtor() {
  13479. if (this != default_instance_) {
  13480. }
  13481. }
  13482. void CMsgConsumableExhausted::SetCachedSize(int size) const {
  13483. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13484. _cached_size_ = size;
  13485. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13486. }
  13487. const ::google::protobuf::Descriptor* CMsgConsumableExhausted::descriptor() {
  13488. protobuf_AssignDescriptorsOnce();
  13489. return CMsgConsumableExhausted_descriptor_;
  13490. }
  13491. const CMsgConsumableExhausted& CMsgConsumableExhausted::default_instance() {
  13492. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  13493. return *default_instance_;
  13494. }
  13495. CMsgConsumableExhausted* CMsgConsumableExhausted::default_instance_ = NULL;
  13496. CMsgConsumableExhausted* CMsgConsumableExhausted::New() const {
  13497. return new CMsgConsumableExhausted;
  13498. }
  13499. void CMsgConsumableExhausted::Clear() {
  13500. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13501. item_def_id_ = 0;
  13502. }
  13503. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13504. mutable_unknown_fields()->Clear();
  13505. }
  13506. bool CMsgConsumableExhausted::MergePartialFromCodedStream(
  13507. ::google::protobuf::io::CodedInputStream* input) {
  13508. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13509. ::google::protobuf::uint32 tag;
  13510. while ((tag = input->ReadTag()) != 0) {
  13511. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13512. // optional int32 item_def_id = 1;
  13513. case 1: {
  13514. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13515. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13516. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13517. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13518. input, &item_def_id_)));
  13519. set_has_item_def_id();
  13520. } else {
  13521. goto handle_uninterpreted;
  13522. }
  13523. if (input->ExpectAtEnd()) return true;
  13524. break;
  13525. }
  13526. default: {
  13527. handle_uninterpreted:
  13528. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13529. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13530. return true;
  13531. }
  13532. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13533. input, tag, mutable_unknown_fields()));
  13534. break;
  13535. }
  13536. }
  13537. }
  13538. return true;
  13539. #undef DO_
  13540. }
  13541. void CMsgConsumableExhausted::SerializeWithCachedSizes(
  13542. ::google::protobuf::io::CodedOutputStream* output) const {
  13543. // optional int32 item_def_id = 1;
  13544. if (has_item_def_id()) {
  13545. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->item_def_id(), output);
  13546. }
  13547. if (!unknown_fields().empty()) {
  13548. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13549. unknown_fields(), output);
  13550. }
  13551. }
  13552. ::google::protobuf::uint8* CMsgConsumableExhausted::SerializeWithCachedSizesToArray(
  13553. ::google::protobuf::uint8* target) const {
  13554. // optional int32 item_def_id = 1;
  13555. if (has_item_def_id()) {
  13556. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->item_def_id(), target);
  13557. }
  13558. if (!unknown_fields().empty()) {
  13559. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13560. unknown_fields(), target);
  13561. }
  13562. return target;
  13563. }
  13564. int CMsgConsumableExhausted::ByteSize() const {
  13565. int total_size = 0;
  13566. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13567. // optional int32 item_def_id = 1;
  13568. if (has_item_def_id()) {
  13569. total_size += 1 +
  13570. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13571. this->item_def_id());
  13572. }
  13573. }
  13574. if (!unknown_fields().empty()) {
  13575. total_size +=
  13576. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13577. unknown_fields());
  13578. }
  13579. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13580. _cached_size_ = total_size;
  13581. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13582. return total_size;
  13583. }
  13584. void CMsgConsumableExhausted::MergeFrom(const ::google::protobuf::Message& from) {
  13585. GOOGLE_CHECK_NE(&from, this);
  13586. const CMsgConsumableExhausted* source =
  13587. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgConsumableExhausted*>(
  13588. &from);
  13589. if (source == NULL) {
  13590. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13591. } else {
  13592. MergeFrom(*source);
  13593. }
  13594. }
  13595. void CMsgConsumableExhausted::MergeFrom(const CMsgConsumableExhausted& from) {
  13596. GOOGLE_CHECK_NE(&from, this);
  13597. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13598. if (from.has_item_def_id()) {
  13599. set_item_def_id(from.item_def_id());
  13600. }
  13601. }
  13602. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13603. }
  13604. void CMsgConsumableExhausted::CopyFrom(const ::google::protobuf::Message& from) {
  13605. if (&from == this) return;
  13606. Clear();
  13607. MergeFrom(from);
  13608. }
  13609. void CMsgConsumableExhausted::CopyFrom(const CMsgConsumableExhausted& from) {
  13610. if (&from == this) return;
  13611. Clear();
  13612. MergeFrom(from);
  13613. }
  13614. bool CMsgConsumableExhausted::IsInitialized() const {
  13615. return true;
  13616. }
  13617. void CMsgConsumableExhausted::Swap(CMsgConsumableExhausted* other) {
  13618. if (other != this) {
  13619. std::swap(item_def_id_, other->item_def_id_);
  13620. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13621. _unknown_fields_.Swap(&other->_unknown_fields_);
  13622. std::swap(_cached_size_, other->_cached_size_);
  13623. }
  13624. }
  13625. ::google::protobuf::Metadata CMsgConsumableExhausted::GetMetadata() const {
  13626. protobuf_AssignDescriptorsOnce();
  13627. ::google::protobuf::Metadata metadata;
  13628. metadata.descriptor = CMsgConsumableExhausted_descriptor_;
  13629. metadata.reflection = CMsgConsumableExhausted_reflection_;
  13630. return metadata;
  13631. }
  13632. // ===================================================================
  13633. #ifndef _MSC_VER
  13634. const int CMsgItemAcknowledged__DEPRECATED::kAccountIdFieldNumber;
  13635. const int CMsgItemAcknowledged__DEPRECATED::kInventoryFieldNumber;
  13636. const int CMsgItemAcknowledged__DEPRECATED::kDefIndexFieldNumber;
  13637. const int CMsgItemAcknowledged__DEPRECATED::kQualityFieldNumber;
  13638. const int CMsgItemAcknowledged__DEPRECATED::kRarityFieldNumber;
  13639. const int CMsgItemAcknowledged__DEPRECATED::kOriginFieldNumber;
  13640. const int CMsgItemAcknowledged__DEPRECATED::kItemIdFieldNumber;
  13641. #endif // !_MSC_VER
  13642. CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED()
  13643. : ::google::protobuf::Message() {
  13644. SharedCtor();
  13645. }
  13646. void CMsgItemAcknowledged__DEPRECATED::InitAsDefaultInstance() {
  13647. }
  13648. CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED(const CMsgItemAcknowledged__DEPRECATED& from)
  13649. : ::google::protobuf::Message() {
  13650. SharedCtor();
  13651. MergeFrom(from);
  13652. }
  13653. void CMsgItemAcknowledged__DEPRECATED::SharedCtor() {
  13654. _cached_size_ = 0;
  13655. account_id_ = 0u;
  13656. inventory_ = 0u;
  13657. def_index_ = 0u;
  13658. quality_ = 0u;
  13659. rarity_ = 0u;
  13660. origin_ = 0u;
  13661. item_id_ = GOOGLE_ULONGLONG(0);
  13662. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13663. }
  13664. CMsgItemAcknowledged__DEPRECATED::~CMsgItemAcknowledged__DEPRECATED() {
  13665. SharedDtor();
  13666. }
  13667. void CMsgItemAcknowledged__DEPRECATED::SharedDtor() {
  13668. if (this != default_instance_) {
  13669. }
  13670. }
  13671. void CMsgItemAcknowledged__DEPRECATED::SetCachedSize(int size) const {
  13672. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13673. _cached_size_ = size;
  13674. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13675. }
  13676. const ::google::protobuf::Descriptor* CMsgItemAcknowledged__DEPRECATED::descriptor() {
  13677. protobuf_AssignDescriptorsOnce();
  13678. return CMsgItemAcknowledged__DEPRECATED_descriptor_;
  13679. }
  13680. const CMsgItemAcknowledged__DEPRECATED& CMsgItemAcknowledged__DEPRECATED::default_instance() {
  13681. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  13682. return *default_instance_;
  13683. }
  13684. CMsgItemAcknowledged__DEPRECATED* CMsgItemAcknowledged__DEPRECATED::default_instance_ = NULL;
  13685. CMsgItemAcknowledged__DEPRECATED* CMsgItemAcknowledged__DEPRECATED::New() const {
  13686. return new CMsgItemAcknowledged__DEPRECATED;
  13687. }
  13688. void CMsgItemAcknowledged__DEPRECATED::Clear() {
  13689. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13690. account_id_ = 0u;
  13691. inventory_ = 0u;
  13692. def_index_ = 0u;
  13693. quality_ = 0u;
  13694. rarity_ = 0u;
  13695. origin_ = 0u;
  13696. item_id_ = GOOGLE_ULONGLONG(0);
  13697. }
  13698. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13699. mutable_unknown_fields()->Clear();
  13700. }
  13701. bool CMsgItemAcknowledged__DEPRECATED::MergePartialFromCodedStream(
  13702. ::google::protobuf::io::CodedInputStream* input) {
  13703. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13704. ::google::protobuf::uint32 tag;
  13705. while ((tag = input->ReadTag()) != 0) {
  13706. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13707. // optional uint32 account_id = 1;
  13708. case 1: {
  13709. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13710. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13711. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13712. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13713. input, &account_id_)));
  13714. set_has_account_id();
  13715. } else {
  13716. goto handle_uninterpreted;
  13717. }
  13718. if (input->ExpectTag(16)) goto parse_inventory;
  13719. break;
  13720. }
  13721. // optional uint32 inventory = 2;
  13722. case 2: {
  13723. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13724. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13725. parse_inventory:
  13726. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13727. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13728. input, &inventory_)));
  13729. set_has_inventory();
  13730. } else {
  13731. goto handle_uninterpreted;
  13732. }
  13733. if (input->ExpectTag(24)) goto parse_def_index;
  13734. break;
  13735. }
  13736. // optional uint32 def_index = 3;
  13737. case 3: {
  13738. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13739. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13740. parse_def_index:
  13741. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13742. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13743. input, &def_index_)));
  13744. set_has_def_index();
  13745. } else {
  13746. goto handle_uninterpreted;
  13747. }
  13748. if (input->ExpectTag(32)) goto parse_quality;
  13749. break;
  13750. }
  13751. // optional uint32 quality = 4;
  13752. case 4: {
  13753. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13754. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13755. parse_quality:
  13756. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13757. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13758. input, &quality_)));
  13759. set_has_quality();
  13760. } else {
  13761. goto handle_uninterpreted;
  13762. }
  13763. if (input->ExpectTag(40)) goto parse_rarity;
  13764. break;
  13765. }
  13766. // optional uint32 rarity = 5;
  13767. case 5: {
  13768. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13769. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13770. parse_rarity:
  13771. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13772. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13773. input, &rarity_)));
  13774. set_has_rarity();
  13775. } else {
  13776. goto handle_uninterpreted;
  13777. }
  13778. if (input->ExpectTag(48)) goto parse_origin;
  13779. break;
  13780. }
  13781. // optional uint32 origin = 6;
  13782. case 6: {
  13783. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13784. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13785. parse_origin:
  13786. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13787. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13788. input, &origin_)));
  13789. set_has_origin();
  13790. } else {
  13791. goto handle_uninterpreted;
  13792. }
  13793. if (input->ExpectTag(56)) goto parse_item_id;
  13794. break;
  13795. }
  13796. // optional uint64 item_id = 7;
  13797. case 7: {
  13798. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13799. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13800. parse_item_id:
  13801. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13802. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  13803. input, &item_id_)));
  13804. set_has_item_id();
  13805. } else {
  13806. goto handle_uninterpreted;
  13807. }
  13808. if (input->ExpectAtEnd()) return true;
  13809. break;
  13810. }
  13811. default: {
  13812. handle_uninterpreted:
  13813. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13814. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13815. return true;
  13816. }
  13817. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13818. input, tag, mutable_unknown_fields()));
  13819. break;
  13820. }
  13821. }
  13822. }
  13823. return true;
  13824. #undef DO_
  13825. }
  13826. void CMsgItemAcknowledged__DEPRECATED::SerializeWithCachedSizes(
  13827. ::google::protobuf::io::CodedOutputStream* output) const {
  13828. // optional uint32 account_id = 1;
  13829. if (has_account_id()) {
  13830. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->account_id(), output);
  13831. }
  13832. // optional uint32 inventory = 2;
  13833. if (has_inventory()) {
  13834. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->inventory(), output);
  13835. }
  13836. // optional uint32 def_index = 3;
  13837. if (has_def_index()) {
  13838. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->def_index(), output);
  13839. }
  13840. // optional uint32 quality = 4;
  13841. if (has_quality()) {
  13842. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->quality(), output);
  13843. }
  13844. // optional uint32 rarity = 5;
  13845. if (has_rarity()) {
  13846. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->rarity(), output);
  13847. }
  13848. // optional uint32 origin = 6;
  13849. if (has_origin()) {
  13850. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->origin(), output);
  13851. }
  13852. // optional uint64 item_id = 7;
  13853. if (has_item_id()) {
  13854. ::google::protobuf::internal::WireFormatLite::WriteUInt64(7, this->item_id(), output);
  13855. }
  13856. if (!unknown_fields().empty()) {
  13857. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13858. unknown_fields(), output);
  13859. }
  13860. }
  13861. ::google::protobuf::uint8* CMsgItemAcknowledged__DEPRECATED::SerializeWithCachedSizesToArray(
  13862. ::google::protobuf::uint8* target) const {
  13863. // optional uint32 account_id = 1;
  13864. if (has_account_id()) {
  13865. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->account_id(), target);
  13866. }
  13867. // optional uint32 inventory = 2;
  13868. if (has_inventory()) {
  13869. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->inventory(), target);
  13870. }
  13871. // optional uint32 def_index = 3;
  13872. if (has_def_index()) {
  13873. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->def_index(), target);
  13874. }
  13875. // optional uint32 quality = 4;
  13876. if (has_quality()) {
  13877. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->quality(), target);
  13878. }
  13879. // optional uint32 rarity = 5;
  13880. if (has_rarity()) {
  13881. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->rarity(), target);
  13882. }
  13883. // optional uint32 origin = 6;
  13884. if (has_origin()) {
  13885. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->origin(), target);
  13886. }
  13887. // optional uint64 item_id = 7;
  13888. if (has_item_id()) {
  13889. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(7, this->item_id(), target);
  13890. }
  13891. if (!unknown_fields().empty()) {
  13892. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13893. unknown_fields(), target);
  13894. }
  13895. return target;
  13896. }
  13897. int CMsgItemAcknowledged__DEPRECATED::ByteSize() const {
  13898. int total_size = 0;
  13899. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13900. // optional uint32 account_id = 1;
  13901. if (has_account_id()) {
  13902. total_size += 1 +
  13903. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13904. this->account_id());
  13905. }
  13906. // optional uint32 inventory = 2;
  13907. if (has_inventory()) {
  13908. total_size += 1 +
  13909. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13910. this->inventory());
  13911. }
  13912. // optional uint32 def_index = 3;
  13913. if (has_def_index()) {
  13914. total_size += 1 +
  13915. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13916. this->def_index());
  13917. }
  13918. // optional uint32 quality = 4;
  13919. if (has_quality()) {
  13920. total_size += 1 +
  13921. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13922. this->quality());
  13923. }
  13924. // optional uint32 rarity = 5;
  13925. if (has_rarity()) {
  13926. total_size += 1 +
  13927. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13928. this->rarity());
  13929. }
  13930. // optional uint32 origin = 6;
  13931. if (has_origin()) {
  13932. total_size += 1 +
  13933. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13934. this->origin());
  13935. }
  13936. // optional uint64 item_id = 7;
  13937. if (has_item_id()) {
  13938. total_size += 1 +
  13939. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  13940. this->item_id());
  13941. }
  13942. }
  13943. if (!unknown_fields().empty()) {
  13944. total_size +=
  13945. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13946. unknown_fields());
  13947. }
  13948. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13949. _cached_size_ = total_size;
  13950. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13951. return total_size;
  13952. }
  13953. void CMsgItemAcknowledged__DEPRECATED::MergeFrom(const ::google::protobuf::Message& from) {
  13954. GOOGLE_CHECK_NE(&from, this);
  13955. const CMsgItemAcknowledged__DEPRECATED* source =
  13956. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgItemAcknowledged__DEPRECATED*>(
  13957. &from);
  13958. if (source == NULL) {
  13959. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13960. } else {
  13961. MergeFrom(*source);
  13962. }
  13963. }
  13964. void CMsgItemAcknowledged__DEPRECATED::MergeFrom(const CMsgItemAcknowledged__DEPRECATED& from) {
  13965. GOOGLE_CHECK_NE(&from, this);
  13966. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13967. if (from.has_account_id()) {
  13968. set_account_id(from.account_id());
  13969. }
  13970. if (from.has_inventory()) {
  13971. set_inventory(from.inventory());
  13972. }
  13973. if (from.has_def_index()) {
  13974. set_def_index(from.def_index());
  13975. }
  13976. if (from.has_quality()) {
  13977. set_quality(from.quality());
  13978. }
  13979. if (from.has_rarity()) {
  13980. set_rarity(from.rarity());
  13981. }
  13982. if (from.has_origin()) {
  13983. set_origin(from.origin());
  13984. }
  13985. if (from.has_item_id()) {
  13986. set_item_id(from.item_id());
  13987. }
  13988. }
  13989. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13990. }
  13991. void CMsgItemAcknowledged__DEPRECATED::CopyFrom(const ::google::protobuf::Message& from) {
  13992. if (&from == this) return;
  13993. Clear();
  13994. MergeFrom(from);
  13995. }
  13996. void CMsgItemAcknowledged__DEPRECATED::CopyFrom(const CMsgItemAcknowledged__DEPRECATED& from) {
  13997. if (&from == this) return;
  13998. Clear();
  13999. MergeFrom(from);
  14000. }
  14001. bool CMsgItemAcknowledged__DEPRECATED::IsInitialized() const {
  14002. return true;
  14003. }
  14004. void CMsgItemAcknowledged__DEPRECATED::Swap(CMsgItemAcknowledged__DEPRECATED* other) {
  14005. if (other != this) {
  14006. std::swap(account_id_, other->account_id_);
  14007. std::swap(inventory_, other->inventory_);
  14008. std::swap(def_index_, other->def_index_);
  14009. std::swap(quality_, other->quality_);
  14010. std::swap(rarity_, other->rarity_);
  14011. std::swap(origin_, other->origin_);
  14012. std::swap(item_id_, other->item_id_);
  14013. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14014. _unknown_fields_.Swap(&other->_unknown_fields_);
  14015. std::swap(_cached_size_, other->_cached_size_);
  14016. }
  14017. }
  14018. ::google::protobuf::Metadata CMsgItemAcknowledged__DEPRECATED::GetMetadata() const {
  14019. protobuf_AssignDescriptorsOnce();
  14020. ::google::protobuf::Metadata metadata;
  14021. metadata.descriptor = CMsgItemAcknowledged__DEPRECATED_descriptor_;
  14022. metadata.reflection = CMsgItemAcknowledged__DEPRECATED_reflection_;
  14023. return metadata;
  14024. }
  14025. // ===================================================================
  14026. #ifndef _MSC_VER
  14027. const int CMsgSetItemPositions_ItemPosition::kLegacyItemIdFieldNumber;
  14028. const int CMsgSetItemPositions_ItemPosition::kPositionFieldNumber;
  14029. const int CMsgSetItemPositions_ItemPosition::kItemIdFieldNumber;
  14030. #endif // !_MSC_VER
  14031. CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition()
  14032. : ::google::protobuf::Message() {
  14033. SharedCtor();
  14034. }
  14035. void CMsgSetItemPositions_ItemPosition::InitAsDefaultInstance() {
  14036. }
  14037. CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition(const CMsgSetItemPositions_ItemPosition& from)
  14038. : ::google::protobuf::Message() {
  14039. SharedCtor();
  14040. MergeFrom(from);
  14041. }
  14042. void CMsgSetItemPositions_ItemPosition::SharedCtor() {
  14043. _cached_size_ = 0;
  14044. legacy_item_id_ = 0u;
  14045. position_ = 0u;
  14046. item_id_ = GOOGLE_ULONGLONG(0);
  14047. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14048. }
  14049. CMsgSetItemPositions_ItemPosition::~CMsgSetItemPositions_ItemPosition() {
  14050. SharedDtor();
  14051. }
  14052. void CMsgSetItemPositions_ItemPosition::SharedDtor() {
  14053. if (this != default_instance_) {
  14054. }
  14055. }
  14056. void CMsgSetItemPositions_ItemPosition::SetCachedSize(int size) const {
  14057. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14058. _cached_size_ = size;
  14059. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14060. }
  14061. const ::google::protobuf::Descriptor* CMsgSetItemPositions_ItemPosition::descriptor() {
  14062. protobuf_AssignDescriptorsOnce();
  14063. return CMsgSetItemPositions_ItemPosition_descriptor_;
  14064. }
  14065. const CMsgSetItemPositions_ItemPosition& CMsgSetItemPositions_ItemPosition::default_instance() {
  14066. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  14067. return *default_instance_;
  14068. }
  14069. CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions_ItemPosition::default_instance_ = NULL;
  14070. CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions_ItemPosition::New() const {
  14071. return new CMsgSetItemPositions_ItemPosition;
  14072. }
  14073. void CMsgSetItemPositions_ItemPosition::Clear() {
  14074. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14075. legacy_item_id_ = 0u;
  14076. position_ = 0u;
  14077. item_id_ = GOOGLE_ULONGLONG(0);
  14078. }
  14079. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14080. mutable_unknown_fields()->Clear();
  14081. }
  14082. bool CMsgSetItemPositions_ItemPosition::MergePartialFromCodedStream(
  14083. ::google::protobuf::io::CodedInputStream* input) {
  14084. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14085. ::google::protobuf::uint32 tag;
  14086. while ((tag = input->ReadTag()) != 0) {
  14087. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14088. // optional uint32 legacy_item_id = 1;
  14089. case 1: {
  14090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14092. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14093. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14094. input, &legacy_item_id_)));
  14095. set_has_legacy_item_id();
  14096. } else {
  14097. goto handle_uninterpreted;
  14098. }
  14099. if (input->ExpectTag(16)) goto parse_position;
  14100. break;
  14101. }
  14102. // optional uint32 position = 2;
  14103. case 2: {
  14104. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14105. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14106. parse_position:
  14107. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14108. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14109. input, &position_)));
  14110. set_has_position();
  14111. } else {
  14112. goto handle_uninterpreted;
  14113. }
  14114. if (input->ExpectTag(24)) goto parse_item_id;
  14115. break;
  14116. }
  14117. // optional uint64 item_id = 3;
  14118. case 3: {
  14119. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14120. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14121. parse_item_id:
  14122. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14123. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  14124. input, &item_id_)));
  14125. set_has_item_id();
  14126. } else {
  14127. goto handle_uninterpreted;
  14128. }
  14129. if (input->ExpectAtEnd()) return true;
  14130. break;
  14131. }
  14132. default: {
  14133. handle_uninterpreted:
  14134. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14135. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14136. return true;
  14137. }
  14138. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14139. input, tag, mutable_unknown_fields()));
  14140. break;
  14141. }
  14142. }
  14143. }
  14144. return true;
  14145. #undef DO_
  14146. }
  14147. void CMsgSetItemPositions_ItemPosition::SerializeWithCachedSizes(
  14148. ::google::protobuf::io::CodedOutputStream* output) const {
  14149. // optional uint32 legacy_item_id = 1;
  14150. if (has_legacy_item_id()) {
  14151. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->legacy_item_id(), output);
  14152. }
  14153. // optional uint32 position = 2;
  14154. if (has_position()) {
  14155. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->position(), output);
  14156. }
  14157. // optional uint64 item_id = 3;
  14158. if (has_item_id()) {
  14159. ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->item_id(), output);
  14160. }
  14161. if (!unknown_fields().empty()) {
  14162. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14163. unknown_fields(), output);
  14164. }
  14165. }
  14166. ::google::protobuf::uint8* CMsgSetItemPositions_ItemPosition::SerializeWithCachedSizesToArray(
  14167. ::google::protobuf::uint8* target) const {
  14168. // optional uint32 legacy_item_id = 1;
  14169. if (has_legacy_item_id()) {
  14170. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->legacy_item_id(), target);
  14171. }
  14172. // optional uint32 position = 2;
  14173. if (has_position()) {
  14174. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->position(), target);
  14175. }
  14176. // optional uint64 item_id = 3;
  14177. if (has_item_id()) {
  14178. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->item_id(), target);
  14179. }
  14180. if (!unknown_fields().empty()) {
  14181. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14182. unknown_fields(), target);
  14183. }
  14184. return target;
  14185. }
  14186. int CMsgSetItemPositions_ItemPosition::ByteSize() const {
  14187. int total_size = 0;
  14188. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14189. // optional uint32 legacy_item_id = 1;
  14190. if (has_legacy_item_id()) {
  14191. total_size += 1 +
  14192. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14193. this->legacy_item_id());
  14194. }
  14195. // optional uint32 position = 2;
  14196. if (has_position()) {
  14197. total_size += 1 +
  14198. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14199. this->position());
  14200. }
  14201. // optional uint64 item_id = 3;
  14202. if (has_item_id()) {
  14203. total_size += 1 +
  14204. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  14205. this->item_id());
  14206. }
  14207. }
  14208. if (!unknown_fields().empty()) {
  14209. total_size +=
  14210. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14211. unknown_fields());
  14212. }
  14213. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14214. _cached_size_ = total_size;
  14215. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14216. return total_size;
  14217. }
  14218. void CMsgSetItemPositions_ItemPosition::MergeFrom(const ::google::protobuf::Message& from) {
  14219. GOOGLE_CHECK_NE(&from, this);
  14220. const CMsgSetItemPositions_ItemPosition* source =
  14221. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgSetItemPositions_ItemPosition*>(
  14222. &from);
  14223. if (source == NULL) {
  14224. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14225. } else {
  14226. MergeFrom(*source);
  14227. }
  14228. }
  14229. void CMsgSetItemPositions_ItemPosition::MergeFrom(const CMsgSetItemPositions_ItemPosition& from) {
  14230. GOOGLE_CHECK_NE(&from, this);
  14231. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14232. if (from.has_legacy_item_id()) {
  14233. set_legacy_item_id(from.legacy_item_id());
  14234. }
  14235. if (from.has_position()) {
  14236. set_position(from.position());
  14237. }
  14238. if (from.has_item_id()) {
  14239. set_item_id(from.item_id());
  14240. }
  14241. }
  14242. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14243. }
  14244. void CMsgSetItemPositions_ItemPosition::CopyFrom(const ::google::protobuf::Message& from) {
  14245. if (&from == this) return;
  14246. Clear();
  14247. MergeFrom(from);
  14248. }
  14249. void CMsgSetItemPositions_ItemPosition::CopyFrom(const CMsgSetItemPositions_ItemPosition& from) {
  14250. if (&from == this) return;
  14251. Clear();
  14252. MergeFrom(from);
  14253. }
  14254. bool CMsgSetItemPositions_ItemPosition::IsInitialized() const {
  14255. return true;
  14256. }
  14257. void CMsgSetItemPositions_ItemPosition::Swap(CMsgSetItemPositions_ItemPosition* other) {
  14258. if (other != this) {
  14259. std::swap(legacy_item_id_, other->legacy_item_id_);
  14260. std::swap(position_, other->position_);
  14261. std::swap(item_id_, other->item_id_);
  14262. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14263. _unknown_fields_.Swap(&other->_unknown_fields_);
  14264. std::swap(_cached_size_, other->_cached_size_);
  14265. }
  14266. }
  14267. ::google::protobuf::Metadata CMsgSetItemPositions_ItemPosition::GetMetadata() const {
  14268. protobuf_AssignDescriptorsOnce();
  14269. ::google::protobuf::Metadata metadata;
  14270. metadata.descriptor = CMsgSetItemPositions_ItemPosition_descriptor_;
  14271. metadata.reflection = CMsgSetItemPositions_ItemPosition_reflection_;
  14272. return metadata;
  14273. }
  14274. // -------------------------------------------------------------------
  14275. #ifndef _MSC_VER
  14276. const int CMsgSetItemPositions::kItemPositionsFieldNumber;
  14277. #endif // !_MSC_VER
  14278. CMsgSetItemPositions::CMsgSetItemPositions()
  14279. : ::google::protobuf::Message() {
  14280. SharedCtor();
  14281. }
  14282. void CMsgSetItemPositions::InitAsDefaultInstance() {
  14283. }
  14284. CMsgSetItemPositions::CMsgSetItemPositions(const CMsgSetItemPositions& from)
  14285. : ::google::protobuf::Message() {
  14286. SharedCtor();
  14287. MergeFrom(from);
  14288. }
  14289. void CMsgSetItemPositions::SharedCtor() {
  14290. _cached_size_ = 0;
  14291. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14292. }
  14293. CMsgSetItemPositions::~CMsgSetItemPositions() {
  14294. SharedDtor();
  14295. }
  14296. void CMsgSetItemPositions::SharedDtor() {
  14297. if (this != default_instance_) {
  14298. }
  14299. }
  14300. void CMsgSetItemPositions::SetCachedSize(int size) const {
  14301. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14302. _cached_size_ = size;
  14303. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14304. }
  14305. const ::google::protobuf::Descriptor* CMsgSetItemPositions::descriptor() {
  14306. protobuf_AssignDescriptorsOnce();
  14307. return CMsgSetItemPositions_descriptor_;
  14308. }
  14309. const CMsgSetItemPositions& CMsgSetItemPositions::default_instance() {
  14310. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  14311. return *default_instance_;
  14312. }
  14313. CMsgSetItemPositions* CMsgSetItemPositions::default_instance_ = NULL;
  14314. CMsgSetItemPositions* CMsgSetItemPositions::New() const {
  14315. return new CMsgSetItemPositions;
  14316. }
  14317. void CMsgSetItemPositions::Clear() {
  14318. item_positions_.Clear();
  14319. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14320. mutable_unknown_fields()->Clear();
  14321. }
  14322. bool CMsgSetItemPositions::MergePartialFromCodedStream(
  14323. ::google::protobuf::io::CodedInputStream* input) {
  14324. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14325. ::google::protobuf::uint32 tag;
  14326. while ((tag = input->ReadTag()) != 0) {
  14327. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14328. // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1;
  14329. case 1: {
  14330. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14331. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14332. parse_item_positions:
  14333. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14334. input, add_item_positions()));
  14335. } else {
  14336. goto handle_uninterpreted;
  14337. }
  14338. if (input->ExpectTag(10)) goto parse_item_positions;
  14339. if (input->ExpectAtEnd()) return true;
  14340. break;
  14341. }
  14342. default: {
  14343. handle_uninterpreted:
  14344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14346. return true;
  14347. }
  14348. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14349. input, tag, mutable_unknown_fields()));
  14350. break;
  14351. }
  14352. }
  14353. }
  14354. return true;
  14355. #undef DO_
  14356. }
  14357. void CMsgSetItemPositions::SerializeWithCachedSizes(
  14358. ::google::protobuf::io::CodedOutputStream* output) const {
  14359. // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1;
  14360. for (int i = 0; i < this->item_positions_size(); i++) {
  14361. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14362. 1, this->item_positions(i), output);
  14363. }
  14364. if (!unknown_fields().empty()) {
  14365. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14366. unknown_fields(), output);
  14367. }
  14368. }
  14369. ::google::protobuf::uint8* CMsgSetItemPositions::SerializeWithCachedSizesToArray(
  14370. ::google::protobuf::uint8* target) const {
  14371. // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1;
  14372. for (int i = 0; i < this->item_positions_size(); i++) {
  14373. target = ::google::protobuf::internal::WireFormatLite::
  14374. WriteMessageNoVirtualToArray(
  14375. 1, this->item_positions(i), target);
  14376. }
  14377. if (!unknown_fields().empty()) {
  14378. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14379. unknown_fields(), target);
  14380. }
  14381. return target;
  14382. }
  14383. int CMsgSetItemPositions::ByteSize() const {
  14384. int total_size = 0;
  14385. // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1;
  14386. total_size += 1 * this->item_positions_size();
  14387. for (int i = 0; i < this->item_positions_size(); i++) {
  14388. total_size +=
  14389. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14390. this->item_positions(i));
  14391. }
  14392. if (!unknown_fields().empty()) {
  14393. total_size +=
  14394. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14395. unknown_fields());
  14396. }
  14397. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14398. _cached_size_ = total_size;
  14399. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14400. return total_size;
  14401. }
  14402. void CMsgSetItemPositions::MergeFrom(const ::google::protobuf::Message& from) {
  14403. GOOGLE_CHECK_NE(&from, this);
  14404. const CMsgSetItemPositions* source =
  14405. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgSetItemPositions*>(
  14406. &from);
  14407. if (source == NULL) {
  14408. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14409. } else {
  14410. MergeFrom(*source);
  14411. }
  14412. }
  14413. void CMsgSetItemPositions::MergeFrom(const CMsgSetItemPositions& from) {
  14414. GOOGLE_CHECK_NE(&from, this);
  14415. item_positions_.MergeFrom(from.item_positions_);
  14416. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14417. }
  14418. void CMsgSetItemPositions::CopyFrom(const ::google::protobuf::Message& from) {
  14419. if (&from == this) return;
  14420. Clear();
  14421. MergeFrom(from);
  14422. }
  14423. void CMsgSetItemPositions::CopyFrom(const CMsgSetItemPositions& from) {
  14424. if (&from == this) return;
  14425. Clear();
  14426. MergeFrom(from);
  14427. }
  14428. bool CMsgSetItemPositions::IsInitialized() const {
  14429. return true;
  14430. }
  14431. void CMsgSetItemPositions::Swap(CMsgSetItemPositions* other) {
  14432. if (other != this) {
  14433. item_positions_.Swap(&other->item_positions_);
  14434. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14435. _unknown_fields_.Swap(&other->_unknown_fields_);
  14436. std::swap(_cached_size_, other->_cached_size_);
  14437. }
  14438. }
  14439. ::google::protobuf::Metadata CMsgSetItemPositions::GetMetadata() const {
  14440. protobuf_AssignDescriptorsOnce();
  14441. ::google::protobuf::Metadata metadata;
  14442. metadata.descriptor = CMsgSetItemPositions_descriptor_;
  14443. metadata.reflection = CMsgSetItemPositions_reflection_;
  14444. return metadata;
  14445. }
  14446. // ===================================================================
  14447. #ifndef _MSC_VER
  14448. const int CMsgGCReportAbuse::kTargetSteamIdFieldNumber;
  14449. const int CMsgGCReportAbuse::kDescriptionFieldNumber;
  14450. const int CMsgGCReportAbuse::kGidFieldNumber;
  14451. const int CMsgGCReportAbuse::kAbuseTypeFieldNumber;
  14452. const int CMsgGCReportAbuse::kContentTypeFieldNumber;
  14453. const int CMsgGCReportAbuse::kTargetGameServerIpFieldNumber;
  14454. const int CMsgGCReportAbuse::kTargetGameServerPortFieldNumber;
  14455. #endif // !_MSC_VER
  14456. CMsgGCReportAbuse::CMsgGCReportAbuse()
  14457. : ::google::protobuf::Message() {
  14458. SharedCtor();
  14459. }
  14460. void CMsgGCReportAbuse::InitAsDefaultInstance() {
  14461. }
  14462. CMsgGCReportAbuse::CMsgGCReportAbuse(const CMsgGCReportAbuse& from)
  14463. : ::google::protobuf::Message() {
  14464. SharedCtor();
  14465. MergeFrom(from);
  14466. }
  14467. void CMsgGCReportAbuse::SharedCtor() {
  14468. _cached_size_ = 0;
  14469. target_steam_id_ = GOOGLE_ULONGLONG(0);
  14470. description_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14471. gid_ = GOOGLE_ULONGLONG(0);
  14472. abuse_type_ = 0u;
  14473. content_type_ = 0u;
  14474. target_game_server_ip_ = 0u;
  14475. target_game_server_port_ = 0u;
  14476. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14477. }
  14478. CMsgGCReportAbuse::~CMsgGCReportAbuse() {
  14479. SharedDtor();
  14480. }
  14481. void CMsgGCReportAbuse::SharedDtor() {
  14482. if (description_ != &::google::protobuf::internal::kEmptyString) {
  14483. delete description_;
  14484. }
  14485. if (this != default_instance_) {
  14486. }
  14487. }
  14488. void CMsgGCReportAbuse::SetCachedSize(int size) const {
  14489. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14490. _cached_size_ = size;
  14491. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14492. }
  14493. const ::google::protobuf::Descriptor* CMsgGCReportAbuse::descriptor() {
  14494. protobuf_AssignDescriptorsOnce();
  14495. return CMsgGCReportAbuse_descriptor_;
  14496. }
  14497. const CMsgGCReportAbuse& CMsgGCReportAbuse::default_instance() {
  14498. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  14499. return *default_instance_;
  14500. }
  14501. CMsgGCReportAbuse* CMsgGCReportAbuse::default_instance_ = NULL;
  14502. CMsgGCReportAbuse* CMsgGCReportAbuse::New() const {
  14503. return new CMsgGCReportAbuse;
  14504. }
  14505. void CMsgGCReportAbuse::Clear() {
  14506. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14507. target_steam_id_ = GOOGLE_ULONGLONG(0);
  14508. if (has_description()) {
  14509. if (description_ != &::google::protobuf::internal::kEmptyString) {
  14510. description_->clear();
  14511. }
  14512. }
  14513. gid_ = GOOGLE_ULONGLONG(0);
  14514. abuse_type_ = 0u;
  14515. content_type_ = 0u;
  14516. target_game_server_ip_ = 0u;
  14517. target_game_server_port_ = 0u;
  14518. }
  14519. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14520. mutable_unknown_fields()->Clear();
  14521. }
  14522. bool CMsgGCReportAbuse::MergePartialFromCodedStream(
  14523. ::google::protobuf::io::CodedInputStream* input) {
  14524. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14525. ::google::protobuf::uint32 tag;
  14526. while ((tag = input->ReadTag()) != 0) {
  14527. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14528. // optional fixed64 target_steam_id = 1;
  14529. case 1: {
  14530. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14531. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  14532. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14533. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  14534. input, &target_steam_id_)));
  14535. set_has_target_steam_id();
  14536. } else {
  14537. goto handle_uninterpreted;
  14538. }
  14539. if (input->ExpectTag(16)) goto parse_abuse_type;
  14540. break;
  14541. }
  14542. // optional uint32 abuse_type = 2;
  14543. case 2: {
  14544. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14545. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14546. parse_abuse_type:
  14547. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14548. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14549. input, &abuse_type_)));
  14550. set_has_abuse_type();
  14551. } else {
  14552. goto handle_uninterpreted;
  14553. }
  14554. if (input->ExpectTag(24)) goto parse_content_type;
  14555. break;
  14556. }
  14557. // optional uint32 content_type = 3;
  14558. case 3: {
  14559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14561. parse_content_type:
  14562. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14563. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14564. input, &content_type_)));
  14565. set_has_content_type();
  14566. } else {
  14567. goto handle_uninterpreted;
  14568. }
  14569. if (input->ExpectTag(34)) goto parse_description;
  14570. break;
  14571. }
  14572. // optional string description = 4;
  14573. case 4: {
  14574. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14575. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14576. parse_description:
  14577. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14578. input, this->mutable_description()));
  14579. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14580. this->description().data(), this->description().length(),
  14581. ::google::protobuf::internal::WireFormat::PARSE);
  14582. } else {
  14583. goto handle_uninterpreted;
  14584. }
  14585. if (input->ExpectTag(40)) goto parse_gid;
  14586. break;
  14587. }
  14588. // optional uint64 gid = 5;
  14589. case 5: {
  14590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14592. parse_gid:
  14593. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14594. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  14595. input, &gid_)));
  14596. set_has_gid();
  14597. } else {
  14598. goto handle_uninterpreted;
  14599. }
  14600. if (input->ExpectTag(53)) goto parse_target_game_server_ip;
  14601. break;
  14602. }
  14603. // optional fixed32 target_game_server_ip = 6;
  14604. case 6: {
  14605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  14607. parse_target_game_server_ip:
  14608. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14609. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  14610. input, &target_game_server_ip_)));
  14611. set_has_target_game_server_ip();
  14612. } else {
  14613. goto handle_uninterpreted;
  14614. }
  14615. if (input->ExpectTag(56)) goto parse_target_game_server_port;
  14616. break;
  14617. }
  14618. // optional uint32 target_game_server_port = 7;
  14619. case 7: {
  14620. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14621. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14622. parse_target_game_server_port:
  14623. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14624. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14625. input, &target_game_server_port_)));
  14626. set_has_target_game_server_port();
  14627. } else {
  14628. goto handle_uninterpreted;
  14629. }
  14630. if (input->ExpectAtEnd()) return true;
  14631. break;
  14632. }
  14633. default: {
  14634. handle_uninterpreted:
  14635. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14636. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14637. return true;
  14638. }
  14639. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14640. input, tag, mutable_unknown_fields()));
  14641. break;
  14642. }
  14643. }
  14644. }
  14645. return true;
  14646. #undef DO_
  14647. }
  14648. void CMsgGCReportAbuse::SerializeWithCachedSizes(
  14649. ::google::protobuf::io::CodedOutputStream* output) const {
  14650. // optional fixed64 target_steam_id = 1;
  14651. if (has_target_steam_id()) {
  14652. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->target_steam_id(), output);
  14653. }
  14654. // optional uint32 abuse_type = 2;
  14655. if (has_abuse_type()) {
  14656. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->abuse_type(), output);
  14657. }
  14658. // optional uint32 content_type = 3;
  14659. if (has_content_type()) {
  14660. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->content_type(), output);
  14661. }
  14662. // optional string description = 4;
  14663. if (has_description()) {
  14664. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14665. this->description().data(), this->description().length(),
  14666. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14667. ::google::protobuf::internal::WireFormatLite::WriteString(
  14668. 4, this->description(), output);
  14669. }
  14670. // optional uint64 gid = 5;
  14671. if (has_gid()) {
  14672. ::google::protobuf::internal::WireFormatLite::WriteUInt64(5, this->gid(), output);
  14673. }
  14674. // optional fixed32 target_game_server_ip = 6;
  14675. if (has_target_game_server_ip()) {
  14676. ::google::protobuf::internal::WireFormatLite::WriteFixed32(6, this->target_game_server_ip(), output);
  14677. }
  14678. // optional uint32 target_game_server_port = 7;
  14679. if (has_target_game_server_port()) {
  14680. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->target_game_server_port(), output);
  14681. }
  14682. if (!unknown_fields().empty()) {
  14683. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14684. unknown_fields(), output);
  14685. }
  14686. }
  14687. ::google::protobuf::uint8* CMsgGCReportAbuse::SerializeWithCachedSizesToArray(
  14688. ::google::protobuf::uint8* target) const {
  14689. // optional fixed64 target_steam_id = 1;
  14690. if (has_target_steam_id()) {
  14691. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->target_steam_id(), target);
  14692. }
  14693. // optional uint32 abuse_type = 2;
  14694. if (has_abuse_type()) {
  14695. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->abuse_type(), target);
  14696. }
  14697. // optional uint32 content_type = 3;
  14698. if (has_content_type()) {
  14699. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->content_type(), target);
  14700. }
  14701. // optional string description = 4;
  14702. if (has_description()) {
  14703. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14704. this->description().data(), this->description().length(),
  14705. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14706. target =
  14707. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  14708. 4, this->description(), target);
  14709. }
  14710. // optional uint64 gid = 5;
  14711. if (has_gid()) {
  14712. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(5, this->gid(), target);
  14713. }
  14714. // optional fixed32 target_game_server_ip = 6;
  14715. if (has_target_game_server_ip()) {
  14716. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(6, this->target_game_server_ip(), target);
  14717. }
  14718. // optional uint32 target_game_server_port = 7;
  14719. if (has_target_game_server_port()) {
  14720. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->target_game_server_port(), target);
  14721. }
  14722. if (!unknown_fields().empty()) {
  14723. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14724. unknown_fields(), target);
  14725. }
  14726. return target;
  14727. }
  14728. int CMsgGCReportAbuse::ByteSize() const {
  14729. int total_size = 0;
  14730. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14731. // optional fixed64 target_steam_id = 1;
  14732. if (has_target_steam_id()) {
  14733. total_size += 1 + 8;
  14734. }
  14735. // optional string description = 4;
  14736. if (has_description()) {
  14737. total_size += 1 +
  14738. ::google::protobuf::internal::WireFormatLite::StringSize(
  14739. this->description());
  14740. }
  14741. // optional uint64 gid = 5;
  14742. if (has_gid()) {
  14743. total_size += 1 +
  14744. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  14745. this->gid());
  14746. }
  14747. // optional uint32 abuse_type = 2;
  14748. if (has_abuse_type()) {
  14749. total_size += 1 +
  14750. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14751. this->abuse_type());
  14752. }
  14753. // optional uint32 content_type = 3;
  14754. if (has_content_type()) {
  14755. total_size += 1 +
  14756. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14757. this->content_type());
  14758. }
  14759. // optional fixed32 target_game_server_ip = 6;
  14760. if (has_target_game_server_ip()) {
  14761. total_size += 1 + 4;
  14762. }
  14763. // optional uint32 target_game_server_port = 7;
  14764. if (has_target_game_server_port()) {
  14765. total_size += 1 +
  14766. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14767. this->target_game_server_port());
  14768. }
  14769. }
  14770. if (!unknown_fields().empty()) {
  14771. total_size +=
  14772. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14773. unknown_fields());
  14774. }
  14775. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14776. _cached_size_ = total_size;
  14777. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14778. return total_size;
  14779. }
  14780. void CMsgGCReportAbuse::MergeFrom(const ::google::protobuf::Message& from) {
  14781. GOOGLE_CHECK_NE(&from, this);
  14782. const CMsgGCReportAbuse* source =
  14783. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCReportAbuse*>(
  14784. &from);
  14785. if (source == NULL) {
  14786. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14787. } else {
  14788. MergeFrom(*source);
  14789. }
  14790. }
  14791. void CMsgGCReportAbuse::MergeFrom(const CMsgGCReportAbuse& from) {
  14792. GOOGLE_CHECK_NE(&from, this);
  14793. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14794. if (from.has_target_steam_id()) {
  14795. set_target_steam_id(from.target_steam_id());
  14796. }
  14797. if (from.has_description()) {
  14798. set_description(from.description());
  14799. }
  14800. if (from.has_gid()) {
  14801. set_gid(from.gid());
  14802. }
  14803. if (from.has_abuse_type()) {
  14804. set_abuse_type(from.abuse_type());
  14805. }
  14806. if (from.has_content_type()) {
  14807. set_content_type(from.content_type());
  14808. }
  14809. if (from.has_target_game_server_ip()) {
  14810. set_target_game_server_ip(from.target_game_server_ip());
  14811. }
  14812. if (from.has_target_game_server_port()) {
  14813. set_target_game_server_port(from.target_game_server_port());
  14814. }
  14815. }
  14816. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14817. }
  14818. void CMsgGCReportAbuse::CopyFrom(const ::google::protobuf::Message& from) {
  14819. if (&from == this) return;
  14820. Clear();
  14821. MergeFrom(from);
  14822. }
  14823. void CMsgGCReportAbuse::CopyFrom(const CMsgGCReportAbuse& from) {
  14824. if (&from == this) return;
  14825. Clear();
  14826. MergeFrom(from);
  14827. }
  14828. bool CMsgGCReportAbuse::IsInitialized() const {
  14829. return true;
  14830. }
  14831. void CMsgGCReportAbuse::Swap(CMsgGCReportAbuse* other) {
  14832. if (other != this) {
  14833. std::swap(target_steam_id_, other->target_steam_id_);
  14834. std::swap(description_, other->description_);
  14835. std::swap(gid_, other->gid_);
  14836. std::swap(abuse_type_, other->abuse_type_);
  14837. std::swap(content_type_, other->content_type_);
  14838. std::swap(target_game_server_ip_, other->target_game_server_ip_);
  14839. std::swap(target_game_server_port_, other->target_game_server_port_);
  14840. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14841. _unknown_fields_.Swap(&other->_unknown_fields_);
  14842. std::swap(_cached_size_, other->_cached_size_);
  14843. }
  14844. }
  14845. ::google::protobuf::Metadata CMsgGCReportAbuse::GetMetadata() const {
  14846. protobuf_AssignDescriptorsOnce();
  14847. ::google::protobuf::Metadata metadata;
  14848. metadata.descriptor = CMsgGCReportAbuse_descriptor_;
  14849. metadata.reflection = CMsgGCReportAbuse_reflection_;
  14850. return metadata;
  14851. }
  14852. // ===================================================================
  14853. #ifndef _MSC_VER
  14854. const int CMsgGCReportAbuseResponse::kTargetSteamIdFieldNumber;
  14855. const int CMsgGCReportAbuseResponse::kResultFieldNumber;
  14856. const int CMsgGCReportAbuseResponse::kErrorMessageFieldNumber;
  14857. #endif // !_MSC_VER
  14858. CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse()
  14859. : ::google::protobuf::Message() {
  14860. SharedCtor();
  14861. }
  14862. void CMsgGCReportAbuseResponse::InitAsDefaultInstance() {
  14863. }
  14864. CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse(const CMsgGCReportAbuseResponse& from)
  14865. : ::google::protobuf::Message() {
  14866. SharedCtor();
  14867. MergeFrom(from);
  14868. }
  14869. void CMsgGCReportAbuseResponse::SharedCtor() {
  14870. _cached_size_ = 0;
  14871. target_steam_id_ = GOOGLE_ULONGLONG(0);
  14872. result_ = 0u;
  14873. error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14874. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14875. }
  14876. CMsgGCReportAbuseResponse::~CMsgGCReportAbuseResponse() {
  14877. SharedDtor();
  14878. }
  14879. void CMsgGCReportAbuseResponse::SharedDtor() {
  14880. if (error_message_ != &::google::protobuf::internal::kEmptyString) {
  14881. delete error_message_;
  14882. }
  14883. if (this != default_instance_) {
  14884. }
  14885. }
  14886. void CMsgGCReportAbuseResponse::SetCachedSize(int size) const {
  14887. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14888. _cached_size_ = size;
  14889. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14890. }
  14891. const ::google::protobuf::Descriptor* CMsgGCReportAbuseResponse::descriptor() {
  14892. protobuf_AssignDescriptorsOnce();
  14893. return CMsgGCReportAbuseResponse_descriptor_;
  14894. }
  14895. const CMsgGCReportAbuseResponse& CMsgGCReportAbuseResponse::default_instance() {
  14896. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  14897. return *default_instance_;
  14898. }
  14899. CMsgGCReportAbuseResponse* CMsgGCReportAbuseResponse::default_instance_ = NULL;
  14900. CMsgGCReportAbuseResponse* CMsgGCReportAbuseResponse::New() const {
  14901. return new CMsgGCReportAbuseResponse;
  14902. }
  14903. void CMsgGCReportAbuseResponse::Clear() {
  14904. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14905. target_steam_id_ = GOOGLE_ULONGLONG(0);
  14906. result_ = 0u;
  14907. if (has_error_message()) {
  14908. if (error_message_ != &::google::protobuf::internal::kEmptyString) {
  14909. error_message_->clear();
  14910. }
  14911. }
  14912. }
  14913. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14914. mutable_unknown_fields()->Clear();
  14915. }
  14916. bool CMsgGCReportAbuseResponse::MergePartialFromCodedStream(
  14917. ::google::protobuf::io::CodedInputStream* input) {
  14918. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14919. ::google::protobuf::uint32 tag;
  14920. while ((tag = input->ReadTag()) != 0) {
  14921. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14922. // optional fixed64 target_steam_id = 1;
  14923. case 1: {
  14924. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14925. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  14926. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14927. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  14928. input, &target_steam_id_)));
  14929. set_has_target_steam_id();
  14930. } else {
  14931. goto handle_uninterpreted;
  14932. }
  14933. if (input->ExpectTag(16)) goto parse_result;
  14934. break;
  14935. }
  14936. // optional uint32 result = 2;
  14937. case 2: {
  14938. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14939. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14940. parse_result:
  14941. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14942. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14943. input, &result_)));
  14944. set_has_result();
  14945. } else {
  14946. goto handle_uninterpreted;
  14947. }
  14948. if (input->ExpectTag(26)) goto parse_error_message;
  14949. break;
  14950. }
  14951. // optional string error_message = 3;
  14952. case 3: {
  14953. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14954. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14955. parse_error_message:
  14956. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14957. input, this->mutable_error_message()));
  14958. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14959. this->error_message().data(), this->error_message().length(),
  14960. ::google::protobuf::internal::WireFormat::PARSE);
  14961. } else {
  14962. goto handle_uninterpreted;
  14963. }
  14964. if (input->ExpectAtEnd()) return true;
  14965. break;
  14966. }
  14967. default: {
  14968. handle_uninterpreted:
  14969. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14970. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14971. return true;
  14972. }
  14973. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14974. input, tag, mutable_unknown_fields()));
  14975. break;
  14976. }
  14977. }
  14978. }
  14979. return true;
  14980. #undef DO_
  14981. }
  14982. void CMsgGCReportAbuseResponse::SerializeWithCachedSizes(
  14983. ::google::protobuf::io::CodedOutputStream* output) const {
  14984. // optional fixed64 target_steam_id = 1;
  14985. if (has_target_steam_id()) {
  14986. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->target_steam_id(), output);
  14987. }
  14988. // optional uint32 result = 2;
  14989. if (has_result()) {
  14990. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->result(), output);
  14991. }
  14992. // optional string error_message = 3;
  14993. if (has_error_message()) {
  14994. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14995. this->error_message().data(), this->error_message().length(),
  14996. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14997. ::google::protobuf::internal::WireFormatLite::WriteString(
  14998. 3, this->error_message(), output);
  14999. }
  15000. if (!unknown_fields().empty()) {
  15001. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15002. unknown_fields(), output);
  15003. }
  15004. }
  15005. ::google::protobuf::uint8* CMsgGCReportAbuseResponse::SerializeWithCachedSizesToArray(
  15006. ::google::protobuf::uint8* target) const {
  15007. // optional fixed64 target_steam_id = 1;
  15008. if (has_target_steam_id()) {
  15009. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->target_steam_id(), target);
  15010. }
  15011. // optional uint32 result = 2;
  15012. if (has_result()) {
  15013. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->result(), target);
  15014. }
  15015. // optional string error_message = 3;
  15016. if (has_error_message()) {
  15017. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15018. this->error_message().data(), this->error_message().length(),
  15019. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15020. target =
  15021. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15022. 3, this->error_message(), target);
  15023. }
  15024. if (!unknown_fields().empty()) {
  15025. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15026. unknown_fields(), target);
  15027. }
  15028. return target;
  15029. }
  15030. int CMsgGCReportAbuseResponse::ByteSize() const {
  15031. int total_size = 0;
  15032. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15033. // optional fixed64 target_steam_id = 1;
  15034. if (has_target_steam_id()) {
  15035. total_size += 1 + 8;
  15036. }
  15037. // optional uint32 result = 2;
  15038. if (has_result()) {
  15039. total_size += 1 +
  15040. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  15041. this->result());
  15042. }
  15043. // optional string error_message = 3;
  15044. if (has_error_message()) {
  15045. total_size += 1 +
  15046. ::google::protobuf::internal::WireFormatLite::StringSize(
  15047. this->error_message());
  15048. }
  15049. }
  15050. if (!unknown_fields().empty()) {
  15051. total_size +=
  15052. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15053. unknown_fields());
  15054. }
  15055. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15056. _cached_size_ = total_size;
  15057. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15058. return total_size;
  15059. }
  15060. void CMsgGCReportAbuseResponse::MergeFrom(const ::google::protobuf::Message& from) {
  15061. GOOGLE_CHECK_NE(&from, this);
  15062. const CMsgGCReportAbuseResponse* source =
  15063. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCReportAbuseResponse*>(
  15064. &from);
  15065. if (source == NULL) {
  15066. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15067. } else {
  15068. MergeFrom(*source);
  15069. }
  15070. }
  15071. void CMsgGCReportAbuseResponse::MergeFrom(const CMsgGCReportAbuseResponse& from) {
  15072. GOOGLE_CHECK_NE(&from, this);
  15073. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15074. if (from.has_target_steam_id()) {
  15075. set_target_steam_id(from.target_steam_id());
  15076. }
  15077. if (from.has_result()) {
  15078. set_result(from.result());
  15079. }
  15080. if (from.has_error_message()) {
  15081. set_error_message(from.error_message());
  15082. }
  15083. }
  15084. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15085. }
  15086. void CMsgGCReportAbuseResponse::CopyFrom(const ::google::protobuf::Message& from) {
  15087. if (&from == this) return;
  15088. Clear();
  15089. MergeFrom(from);
  15090. }
  15091. void CMsgGCReportAbuseResponse::CopyFrom(const CMsgGCReportAbuseResponse& from) {
  15092. if (&from == this) return;
  15093. Clear();
  15094. MergeFrom(from);
  15095. }
  15096. bool CMsgGCReportAbuseResponse::IsInitialized() const {
  15097. return true;
  15098. }
  15099. void CMsgGCReportAbuseResponse::Swap(CMsgGCReportAbuseResponse* other) {
  15100. if (other != this) {
  15101. std::swap(target_steam_id_, other->target_steam_id_);
  15102. std::swap(result_, other->result_);
  15103. std::swap(error_message_, other->error_message_);
  15104. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15105. _unknown_fields_.Swap(&other->_unknown_fields_);
  15106. std::swap(_cached_size_, other->_cached_size_);
  15107. }
  15108. }
  15109. ::google::protobuf::Metadata CMsgGCReportAbuseResponse::GetMetadata() const {
  15110. protobuf_AssignDescriptorsOnce();
  15111. ::google::protobuf::Metadata metadata;
  15112. metadata.descriptor = CMsgGCReportAbuseResponse_descriptor_;
  15113. metadata.reflection = CMsgGCReportAbuseResponse_reflection_;
  15114. return metadata;
  15115. }
  15116. // ===================================================================
  15117. #ifndef _MSC_VER
  15118. const int CMsgGCNameItemNotification::kPlayerSteamidFieldNumber;
  15119. const int CMsgGCNameItemNotification::kItemDefIndexFieldNumber;
  15120. const int CMsgGCNameItemNotification::kItemNameCustomFieldNumber;
  15121. #endif // !_MSC_VER
  15122. CMsgGCNameItemNotification::CMsgGCNameItemNotification()
  15123. : ::google::protobuf::Message() {
  15124. SharedCtor();
  15125. }
  15126. void CMsgGCNameItemNotification::InitAsDefaultInstance() {
  15127. }
  15128. CMsgGCNameItemNotification::CMsgGCNameItemNotification(const CMsgGCNameItemNotification& from)
  15129. : ::google::protobuf::Message() {
  15130. SharedCtor();
  15131. MergeFrom(from);
  15132. }
  15133. void CMsgGCNameItemNotification::SharedCtor() {
  15134. _cached_size_ = 0;
  15135. player_steamid_ = GOOGLE_ULONGLONG(0);
  15136. item_def_index_ = 0u;
  15137. item_name_custom_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15138. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15139. }
  15140. CMsgGCNameItemNotification::~CMsgGCNameItemNotification() {
  15141. SharedDtor();
  15142. }
  15143. void CMsgGCNameItemNotification::SharedDtor() {
  15144. if (item_name_custom_ != &::google::protobuf::internal::kEmptyString) {
  15145. delete item_name_custom_;
  15146. }
  15147. if (this != default_instance_) {
  15148. }
  15149. }
  15150. void CMsgGCNameItemNotification::SetCachedSize(int size) const {
  15151. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15152. _cached_size_ = size;
  15153. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15154. }
  15155. const ::google::protobuf::Descriptor* CMsgGCNameItemNotification::descriptor() {
  15156. protobuf_AssignDescriptorsOnce();
  15157. return CMsgGCNameItemNotification_descriptor_;
  15158. }
  15159. const CMsgGCNameItemNotification& CMsgGCNameItemNotification::default_instance() {
  15160. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  15161. return *default_instance_;
  15162. }
  15163. CMsgGCNameItemNotification* CMsgGCNameItemNotification::default_instance_ = NULL;
  15164. CMsgGCNameItemNotification* CMsgGCNameItemNotification::New() const {
  15165. return new CMsgGCNameItemNotification;
  15166. }
  15167. void CMsgGCNameItemNotification::Clear() {
  15168. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15169. player_steamid_ = GOOGLE_ULONGLONG(0);
  15170. item_def_index_ = 0u;
  15171. if (has_item_name_custom()) {
  15172. if (item_name_custom_ != &::google::protobuf::internal::kEmptyString) {
  15173. item_name_custom_->clear();
  15174. }
  15175. }
  15176. }
  15177. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15178. mutable_unknown_fields()->Clear();
  15179. }
  15180. bool CMsgGCNameItemNotification::MergePartialFromCodedStream(
  15181. ::google::protobuf::io::CodedInputStream* input) {
  15182. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15183. ::google::protobuf::uint32 tag;
  15184. while ((tag = input->ReadTag()) != 0) {
  15185. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15186. // optional fixed64 player_steamid = 1;
  15187. case 1: {
  15188. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15189. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  15190. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15191. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  15192. input, &player_steamid_)));
  15193. set_has_player_steamid();
  15194. } else {
  15195. goto handle_uninterpreted;
  15196. }
  15197. if (input->ExpectTag(16)) goto parse_item_def_index;
  15198. break;
  15199. }
  15200. // optional uint32 item_def_index = 2;
  15201. case 2: {
  15202. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15203. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15204. parse_item_def_index:
  15205. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15206. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15207. input, &item_def_index_)));
  15208. set_has_item_def_index();
  15209. } else {
  15210. goto handle_uninterpreted;
  15211. }
  15212. if (input->ExpectTag(26)) goto parse_item_name_custom;
  15213. break;
  15214. }
  15215. // optional string item_name_custom = 3;
  15216. case 3: {
  15217. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15218. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15219. parse_item_name_custom:
  15220. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15221. input, this->mutable_item_name_custom()));
  15222. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15223. this->item_name_custom().data(), this->item_name_custom().length(),
  15224. ::google::protobuf::internal::WireFormat::PARSE);
  15225. } else {
  15226. goto handle_uninterpreted;
  15227. }
  15228. if (input->ExpectAtEnd()) return true;
  15229. break;
  15230. }
  15231. default: {
  15232. handle_uninterpreted:
  15233. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15234. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15235. return true;
  15236. }
  15237. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15238. input, tag, mutable_unknown_fields()));
  15239. break;
  15240. }
  15241. }
  15242. }
  15243. return true;
  15244. #undef DO_
  15245. }
  15246. void CMsgGCNameItemNotification::SerializeWithCachedSizes(
  15247. ::google::protobuf::io::CodedOutputStream* output) const {
  15248. // optional fixed64 player_steamid = 1;
  15249. if (has_player_steamid()) {
  15250. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->player_steamid(), output);
  15251. }
  15252. // optional uint32 item_def_index = 2;
  15253. if (has_item_def_index()) {
  15254. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->item_def_index(), output);
  15255. }
  15256. // optional string item_name_custom = 3;
  15257. if (has_item_name_custom()) {
  15258. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15259. this->item_name_custom().data(), this->item_name_custom().length(),
  15260. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15261. ::google::protobuf::internal::WireFormatLite::WriteString(
  15262. 3, this->item_name_custom(), output);
  15263. }
  15264. if (!unknown_fields().empty()) {
  15265. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15266. unknown_fields(), output);
  15267. }
  15268. }
  15269. ::google::protobuf::uint8* CMsgGCNameItemNotification::SerializeWithCachedSizesToArray(
  15270. ::google::protobuf::uint8* target) const {
  15271. // optional fixed64 player_steamid = 1;
  15272. if (has_player_steamid()) {
  15273. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->player_steamid(), target);
  15274. }
  15275. // optional uint32 item_def_index = 2;
  15276. if (has_item_def_index()) {
  15277. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->item_def_index(), target);
  15278. }
  15279. // optional string item_name_custom = 3;
  15280. if (has_item_name_custom()) {
  15281. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15282. this->item_name_custom().data(), this->item_name_custom().length(),
  15283. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15284. target =
  15285. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15286. 3, this->item_name_custom(), target);
  15287. }
  15288. if (!unknown_fields().empty()) {
  15289. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15290. unknown_fields(), target);
  15291. }
  15292. return target;
  15293. }
  15294. int CMsgGCNameItemNotification::ByteSize() const {
  15295. int total_size = 0;
  15296. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15297. // optional fixed64 player_steamid = 1;
  15298. if (has_player_steamid()) {
  15299. total_size += 1 + 8;
  15300. }
  15301. // optional uint32 item_def_index = 2;
  15302. if (has_item_def_index()) {
  15303. total_size += 1 +
  15304. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  15305. this->item_def_index());
  15306. }
  15307. // optional string item_name_custom = 3;
  15308. if (has_item_name_custom()) {
  15309. total_size += 1 +
  15310. ::google::protobuf::internal::WireFormatLite::StringSize(
  15311. this->item_name_custom());
  15312. }
  15313. }
  15314. if (!unknown_fields().empty()) {
  15315. total_size +=
  15316. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15317. unknown_fields());
  15318. }
  15319. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15320. _cached_size_ = total_size;
  15321. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15322. return total_size;
  15323. }
  15324. void CMsgGCNameItemNotification::MergeFrom(const ::google::protobuf::Message& from) {
  15325. GOOGLE_CHECK_NE(&from, this);
  15326. const CMsgGCNameItemNotification* source =
  15327. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCNameItemNotification*>(
  15328. &from);
  15329. if (source == NULL) {
  15330. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15331. } else {
  15332. MergeFrom(*source);
  15333. }
  15334. }
  15335. void CMsgGCNameItemNotification::MergeFrom(const CMsgGCNameItemNotification& from) {
  15336. GOOGLE_CHECK_NE(&from, this);
  15337. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15338. if (from.has_player_steamid()) {
  15339. set_player_steamid(from.player_steamid());
  15340. }
  15341. if (from.has_item_def_index()) {
  15342. set_item_def_index(from.item_def_index());
  15343. }
  15344. if (from.has_item_name_custom()) {
  15345. set_item_name_custom(from.item_name_custom());
  15346. }
  15347. }
  15348. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15349. }
  15350. void CMsgGCNameItemNotification::CopyFrom(const ::google::protobuf::Message& from) {
  15351. if (&from == this) return;
  15352. Clear();
  15353. MergeFrom(from);
  15354. }
  15355. void CMsgGCNameItemNotification::CopyFrom(const CMsgGCNameItemNotification& from) {
  15356. if (&from == this) return;
  15357. Clear();
  15358. MergeFrom(from);
  15359. }
  15360. bool CMsgGCNameItemNotification::IsInitialized() const {
  15361. return true;
  15362. }
  15363. void CMsgGCNameItemNotification::Swap(CMsgGCNameItemNotification* other) {
  15364. if (other != this) {
  15365. std::swap(player_steamid_, other->player_steamid_);
  15366. std::swap(item_def_index_, other->item_def_index_);
  15367. std::swap(item_name_custom_, other->item_name_custom_);
  15368. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15369. _unknown_fields_.Swap(&other->_unknown_fields_);
  15370. std::swap(_cached_size_, other->_cached_size_);
  15371. }
  15372. }
  15373. ::google::protobuf::Metadata CMsgGCNameItemNotification::GetMetadata() const {
  15374. protobuf_AssignDescriptorsOnce();
  15375. ::google::protobuf::Metadata metadata;
  15376. metadata.descriptor = CMsgGCNameItemNotification_descriptor_;
  15377. metadata.reflection = CMsgGCNameItemNotification_reflection_;
  15378. return metadata;
  15379. }
  15380. // ===================================================================
  15381. #ifndef _MSC_VER
  15382. const int CMsgGCClientDisplayNotification::kNotificationTitleLocalizationKeyFieldNumber;
  15383. const int CMsgGCClientDisplayNotification::kNotificationBodyLocalizationKeyFieldNumber;
  15384. const int CMsgGCClientDisplayNotification::kBodySubstringKeysFieldNumber;
  15385. const int CMsgGCClientDisplayNotification::kBodySubstringValuesFieldNumber;
  15386. #endif // !_MSC_VER
  15387. CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification()
  15388. : ::google::protobuf::Message() {
  15389. SharedCtor();
  15390. }
  15391. void CMsgGCClientDisplayNotification::InitAsDefaultInstance() {
  15392. }
  15393. CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification(const CMsgGCClientDisplayNotification& from)
  15394. : ::google::protobuf::Message() {
  15395. SharedCtor();
  15396. MergeFrom(from);
  15397. }
  15398. void CMsgGCClientDisplayNotification::SharedCtor() {
  15399. _cached_size_ = 0;
  15400. notification_title_localization_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15401. notification_body_localization_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15402. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15403. }
  15404. CMsgGCClientDisplayNotification::~CMsgGCClientDisplayNotification() {
  15405. SharedDtor();
  15406. }
  15407. void CMsgGCClientDisplayNotification::SharedDtor() {
  15408. if (notification_title_localization_key_ != &::google::protobuf::internal::kEmptyString) {
  15409. delete notification_title_localization_key_;
  15410. }
  15411. if (notification_body_localization_key_ != &::google::protobuf::internal::kEmptyString) {
  15412. delete notification_body_localization_key_;
  15413. }
  15414. if (this != default_instance_) {
  15415. }
  15416. }
  15417. void CMsgGCClientDisplayNotification::SetCachedSize(int size) const {
  15418. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15419. _cached_size_ = size;
  15420. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15421. }
  15422. const ::google::protobuf::Descriptor* CMsgGCClientDisplayNotification::descriptor() {
  15423. protobuf_AssignDescriptorsOnce();
  15424. return CMsgGCClientDisplayNotification_descriptor_;
  15425. }
  15426. const CMsgGCClientDisplayNotification& CMsgGCClientDisplayNotification::default_instance() {
  15427. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  15428. return *default_instance_;
  15429. }
  15430. CMsgGCClientDisplayNotification* CMsgGCClientDisplayNotification::default_instance_ = NULL;
  15431. CMsgGCClientDisplayNotification* CMsgGCClientDisplayNotification::New() const {
  15432. return new CMsgGCClientDisplayNotification;
  15433. }
  15434. void CMsgGCClientDisplayNotification::Clear() {
  15435. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15436. if (has_notification_title_localization_key()) {
  15437. if (notification_title_localization_key_ != &::google::protobuf::internal::kEmptyString) {
  15438. notification_title_localization_key_->clear();
  15439. }
  15440. }
  15441. if (has_notification_body_localization_key()) {
  15442. if (notification_body_localization_key_ != &::google::protobuf::internal::kEmptyString) {
  15443. notification_body_localization_key_->clear();
  15444. }
  15445. }
  15446. }
  15447. body_substring_keys_.Clear();
  15448. body_substring_values_.Clear();
  15449. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15450. mutable_unknown_fields()->Clear();
  15451. }
  15452. bool CMsgGCClientDisplayNotification::MergePartialFromCodedStream(
  15453. ::google::protobuf::io::CodedInputStream* input) {
  15454. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15455. ::google::protobuf::uint32 tag;
  15456. while ((tag = input->ReadTag()) != 0) {
  15457. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15458. // optional string notification_title_localization_key = 1;
  15459. case 1: {
  15460. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15461. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15462. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15463. input, this->mutable_notification_title_localization_key()));
  15464. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15465. this->notification_title_localization_key().data(), this->notification_title_localization_key().length(),
  15466. ::google::protobuf::internal::WireFormat::PARSE);
  15467. } else {
  15468. goto handle_uninterpreted;
  15469. }
  15470. if (input->ExpectTag(18)) goto parse_notification_body_localization_key;
  15471. break;
  15472. }
  15473. // optional string notification_body_localization_key = 2;
  15474. case 2: {
  15475. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15476. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15477. parse_notification_body_localization_key:
  15478. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15479. input, this->mutable_notification_body_localization_key()));
  15480. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15481. this->notification_body_localization_key().data(), this->notification_body_localization_key().length(),
  15482. ::google::protobuf::internal::WireFormat::PARSE);
  15483. } else {
  15484. goto handle_uninterpreted;
  15485. }
  15486. if (input->ExpectTag(26)) goto parse_body_substring_keys;
  15487. break;
  15488. }
  15489. // repeated string body_substring_keys = 3;
  15490. case 3: {
  15491. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15492. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15493. parse_body_substring_keys:
  15494. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15495. input, this->add_body_substring_keys()));
  15496. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15497. this->body_substring_keys(this->body_substring_keys_size() - 1).data(),
  15498. this->body_substring_keys(this->body_substring_keys_size() - 1).length(),
  15499. ::google::protobuf::internal::WireFormat::PARSE);
  15500. } else {
  15501. goto handle_uninterpreted;
  15502. }
  15503. if (input->ExpectTag(26)) goto parse_body_substring_keys;
  15504. if (input->ExpectTag(34)) goto parse_body_substring_values;
  15505. break;
  15506. }
  15507. // repeated string body_substring_values = 4;
  15508. case 4: {
  15509. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15510. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15511. parse_body_substring_values:
  15512. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15513. input, this->add_body_substring_values()));
  15514. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15515. this->body_substring_values(this->body_substring_values_size() - 1).data(),
  15516. this->body_substring_values(this->body_substring_values_size() - 1).length(),
  15517. ::google::protobuf::internal::WireFormat::PARSE);
  15518. } else {
  15519. goto handle_uninterpreted;
  15520. }
  15521. if (input->ExpectTag(34)) goto parse_body_substring_values;
  15522. if (input->ExpectAtEnd()) return true;
  15523. break;
  15524. }
  15525. default: {
  15526. handle_uninterpreted:
  15527. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15528. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15529. return true;
  15530. }
  15531. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15532. input, tag, mutable_unknown_fields()));
  15533. break;
  15534. }
  15535. }
  15536. }
  15537. return true;
  15538. #undef DO_
  15539. }
  15540. void CMsgGCClientDisplayNotification::SerializeWithCachedSizes(
  15541. ::google::protobuf::io::CodedOutputStream* output) const {
  15542. // optional string notification_title_localization_key = 1;
  15543. if (has_notification_title_localization_key()) {
  15544. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15545. this->notification_title_localization_key().data(), this->notification_title_localization_key().length(),
  15546. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15547. ::google::protobuf::internal::WireFormatLite::WriteString(
  15548. 1, this->notification_title_localization_key(), output);
  15549. }
  15550. // optional string notification_body_localization_key = 2;
  15551. if (has_notification_body_localization_key()) {
  15552. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15553. this->notification_body_localization_key().data(), this->notification_body_localization_key().length(),
  15554. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15555. ::google::protobuf::internal::WireFormatLite::WriteString(
  15556. 2, this->notification_body_localization_key(), output);
  15557. }
  15558. // repeated string body_substring_keys = 3;
  15559. for (int i = 0; i < this->body_substring_keys_size(); i++) {
  15560. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15561. this->body_substring_keys(i).data(), this->body_substring_keys(i).length(),
  15562. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15563. ::google::protobuf::internal::WireFormatLite::WriteString(
  15564. 3, this->body_substring_keys(i), output);
  15565. }
  15566. // repeated string body_substring_values = 4;
  15567. for (int i = 0; i < this->body_substring_values_size(); i++) {
  15568. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15569. this->body_substring_values(i).data(), this->body_substring_values(i).length(),
  15570. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15571. ::google::protobuf::internal::WireFormatLite::WriteString(
  15572. 4, this->body_substring_values(i), output);
  15573. }
  15574. if (!unknown_fields().empty()) {
  15575. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15576. unknown_fields(), output);
  15577. }
  15578. }
  15579. ::google::protobuf::uint8* CMsgGCClientDisplayNotification::SerializeWithCachedSizesToArray(
  15580. ::google::protobuf::uint8* target) const {
  15581. // optional string notification_title_localization_key = 1;
  15582. if (has_notification_title_localization_key()) {
  15583. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15584. this->notification_title_localization_key().data(), this->notification_title_localization_key().length(),
  15585. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15586. target =
  15587. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15588. 1, this->notification_title_localization_key(), target);
  15589. }
  15590. // optional string notification_body_localization_key = 2;
  15591. if (has_notification_body_localization_key()) {
  15592. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15593. this->notification_body_localization_key().data(), this->notification_body_localization_key().length(),
  15594. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15595. target =
  15596. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15597. 2, this->notification_body_localization_key(), target);
  15598. }
  15599. // repeated string body_substring_keys = 3;
  15600. for (int i = 0; i < this->body_substring_keys_size(); i++) {
  15601. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15602. this->body_substring_keys(i).data(), this->body_substring_keys(i).length(),
  15603. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15604. target = ::google::protobuf::internal::WireFormatLite::
  15605. WriteStringToArray(3, this->body_substring_keys(i), target);
  15606. }
  15607. // repeated string body_substring_values = 4;
  15608. for (int i = 0; i < this->body_substring_values_size(); i++) {
  15609. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15610. this->body_substring_values(i).data(), this->body_substring_values(i).length(),
  15611. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15612. target = ::google::protobuf::internal::WireFormatLite::
  15613. WriteStringToArray(4, this->body_substring_values(i), target);
  15614. }
  15615. if (!unknown_fields().empty()) {
  15616. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15617. unknown_fields(), target);
  15618. }
  15619. return target;
  15620. }
  15621. int CMsgGCClientDisplayNotification::ByteSize() const {
  15622. int total_size = 0;
  15623. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15624. // optional string notification_title_localization_key = 1;
  15625. if (has_notification_title_localization_key()) {
  15626. total_size += 1 +
  15627. ::google::protobuf::internal::WireFormatLite::StringSize(
  15628. this->notification_title_localization_key());
  15629. }
  15630. // optional string notification_body_localization_key = 2;
  15631. if (has_notification_body_localization_key()) {
  15632. total_size += 1 +
  15633. ::google::protobuf::internal::WireFormatLite::StringSize(
  15634. this->notification_body_localization_key());
  15635. }
  15636. }
  15637. // repeated string body_substring_keys = 3;
  15638. total_size += 1 * this->body_substring_keys_size();
  15639. for (int i = 0; i < this->body_substring_keys_size(); i++) {
  15640. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  15641. this->body_substring_keys(i));
  15642. }
  15643. // repeated string body_substring_values = 4;
  15644. total_size += 1 * this->body_substring_values_size();
  15645. for (int i = 0; i < this->body_substring_values_size(); i++) {
  15646. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  15647. this->body_substring_values(i));
  15648. }
  15649. if (!unknown_fields().empty()) {
  15650. total_size +=
  15651. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15652. unknown_fields());
  15653. }
  15654. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15655. _cached_size_ = total_size;
  15656. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15657. return total_size;
  15658. }
  15659. void CMsgGCClientDisplayNotification::MergeFrom(const ::google::protobuf::Message& from) {
  15660. GOOGLE_CHECK_NE(&from, this);
  15661. const CMsgGCClientDisplayNotification* source =
  15662. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCClientDisplayNotification*>(
  15663. &from);
  15664. if (source == NULL) {
  15665. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15666. } else {
  15667. MergeFrom(*source);
  15668. }
  15669. }
  15670. void CMsgGCClientDisplayNotification::MergeFrom(const CMsgGCClientDisplayNotification& from) {
  15671. GOOGLE_CHECK_NE(&from, this);
  15672. body_substring_keys_.MergeFrom(from.body_substring_keys_);
  15673. body_substring_values_.MergeFrom(from.body_substring_values_);
  15674. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15675. if (from.has_notification_title_localization_key()) {
  15676. set_notification_title_localization_key(from.notification_title_localization_key());
  15677. }
  15678. if (from.has_notification_body_localization_key()) {
  15679. set_notification_body_localization_key(from.notification_body_localization_key());
  15680. }
  15681. }
  15682. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15683. }
  15684. void CMsgGCClientDisplayNotification::CopyFrom(const ::google::protobuf::Message& from) {
  15685. if (&from == this) return;
  15686. Clear();
  15687. MergeFrom(from);
  15688. }
  15689. void CMsgGCClientDisplayNotification::CopyFrom(const CMsgGCClientDisplayNotification& from) {
  15690. if (&from == this) return;
  15691. Clear();
  15692. MergeFrom(from);
  15693. }
  15694. bool CMsgGCClientDisplayNotification::IsInitialized() const {
  15695. return true;
  15696. }
  15697. void CMsgGCClientDisplayNotification::Swap(CMsgGCClientDisplayNotification* other) {
  15698. if (other != this) {
  15699. std::swap(notification_title_localization_key_, other->notification_title_localization_key_);
  15700. std::swap(notification_body_localization_key_, other->notification_body_localization_key_);
  15701. body_substring_keys_.Swap(&other->body_substring_keys_);
  15702. body_substring_values_.Swap(&other->body_substring_values_);
  15703. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15704. _unknown_fields_.Swap(&other->_unknown_fields_);
  15705. std::swap(_cached_size_, other->_cached_size_);
  15706. }
  15707. }
  15708. ::google::protobuf::Metadata CMsgGCClientDisplayNotification::GetMetadata() const {
  15709. protobuf_AssignDescriptorsOnce();
  15710. ::google::protobuf::Metadata metadata;
  15711. metadata.descriptor = CMsgGCClientDisplayNotification_descriptor_;
  15712. metadata.reflection = CMsgGCClientDisplayNotification_reflection_;
  15713. return metadata;
  15714. }
  15715. // ===================================================================
  15716. #ifndef _MSC_VER
  15717. const int CMsgGCShowItemsPickedUp::kPlayerSteamidFieldNumber;
  15718. #endif // !_MSC_VER
  15719. CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp()
  15720. : ::google::protobuf::Message() {
  15721. SharedCtor();
  15722. }
  15723. void CMsgGCShowItemsPickedUp::InitAsDefaultInstance() {
  15724. }
  15725. CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp(const CMsgGCShowItemsPickedUp& from)
  15726. : ::google::protobuf::Message() {
  15727. SharedCtor();
  15728. MergeFrom(from);
  15729. }
  15730. void CMsgGCShowItemsPickedUp::SharedCtor() {
  15731. _cached_size_ = 0;
  15732. player_steamid_ = GOOGLE_ULONGLONG(0);
  15733. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15734. }
  15735. CMsgGCShowItemsPickedUp::~CMsgGCShowItemsPickedUp() {
  15736. SharedDtor();
  15737. }
  15738. void CMsgGCShowItemsPickedUp::SharedDtor() {
  15739. if (this != default_instance_) {
  15740. }
  15741. }
  15742. void CMsgGCShowItemsPickedUp::SetCachedSize(int size) const {
  15743. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15744. _cached_size_ = size;
  15745. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15746. }
  15747. const ::google::protobuf::Descriptor* CMsgGCShowItemsPickedUp::descriptor() {
  15748. protobuf_AssignDescriptorsOnce();
  15749. return CMsgGCShowItemsPickedUp_descriptor_;
  15750. }
  15751. const CMsgGCShowItemsPickedUp& CMsgGCShowItemsPickedUp::default_instance() {
  15752. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  15753. return *default_instance_;
  15754. }
  15755. CMsgGCShowItemsPickedUp* CMsgGCShowItemsPickedUp::default_instance_ = NULL;
  15756. CMsgGCShowItemsPickedUp* CMsgGCShowItemsPickedUp::New() const {
  15757. return new CMsgGCShowItemsPickedUp;
  15758. }
  15759. void CMsgGCShowItemsPickedUp::Clear() {
  15760. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15761. player_steamid_ = GOOGLE_ULONGLONG(0);
  15762. }
  15763. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15764. mutable_unknown_fields()->Clear();
  15765. }
  15766. bool CMsgGCShowItemsPickedUp::MergePartialFromCodedStream(
  15767. ::google::protobuf::io::CodedInputStream* input) {
  15768. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15769. ::google::protobuf::uint32 tag;
  15770. while ((tag = input->ReadTag()) != 0) {
  15771. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15772. // optional fixed64 player_steamid = 1;
  15773. case 1: {
  15774. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15775. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  15776. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15777. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  15778. input, &player_steamid_)));
  15779. set_has_player_steamid();
  15780. } else {
  15781. goto handle_uninterpreted;
  15782. }
  15783. if (input->ExpectAtEnd()) return true;
  15784. break;
  15785. }
  15786. default: {
  15787. handle_uninterpreted:
  15788. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15789. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15790. return true;
  15791. }
  15792. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15793. input, tag, mutable_unknown_fields()));
  15794. break;
  15795. }
  15796. }
  15797. }
  15798. return true;
  15799. #undef DO_
  15800. }
  15801. void CMsgGCShowItemsPickedUp::SerializeWithCachedSizes(
  15802. ::google::protobuf::io::CodedOutputStream* output) const {
  15803. // optional fixed64 player_steamid = 1;
  15804. if (has_player_steamid()) {
  15805. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->player_steamid(), output);
  15806. }
  15807. if (!unknown_fields().empty()) {
  15808. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15809. unknown_fields(), output);
  15810. }
  15811. }
  15812. ::google::protobuf::uint8* CMsgGCShowItemsPickedUp::SerializeWithCachedSizesToArray(
  15813. ::google::protobuf::uint8* target) const {
  15814. // optional fixed64 player_steamid = 1;
  15815. if (has_player_steamid()) {
  15816. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->player_steamid(), target);
  15817. }
  15818. if (!unknown_fields().empty()) {
  15819. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15820. unknown_fields(), target);
  15821. }
  15822. return target;
  15823. }
  15824. int CMsgGCShowItemsPickedUp::ByteSize() const {
  15825. int total_size = 0;
  15826. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15827. // optional fixed64 player_steamid = 1;
  15828. if (has_player_steamid()) {
  15829. total_size += 1 + 8;
  15830. }
  15831. }
  15832. if (!unknown_fields().empty()) {
  15833. total_size +=
  15834. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15835. unknown_fields());
  15836. }
  15837. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15838. _cached_size_ = total_size;
  15839. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15840. return total_size;
  15841. }
  15842. void CMsgGCShowItemsPickedUp::MergeFrom(const ::google::protobuf::Message& from) {
  15843. GOOGLE_CHECK_NE(&from, this);
  15844. const CMsgGCShowItemsPickedUp* source =
  15845. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCShowItemsPickedUp*>(
  15846. &from);
  15847. if (source == NULL) {
  15848. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15849. } else {
  15850. MergeFrom(*source);
  15851. }
  15852. }
  15853. void CMsgGCShowItemsPickedUp::MergeFrom(const CMsgGCShowItemsPickedUp& from) {
  15854. GOOGLE_CHECK_NE(&from, this);
  15855. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15856. if (from.has_player_steamid()) {
  15857. set_player_steamid(from.player_steamid());
  15858. }
  15859. }
  15860. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15861. }
  15862. void CMsgGCShowItemsPickedUp::CopyFrom(const ::google::protobuf::Message& from) {
  15863. if (&from == this) return;
  15864. Clear();
  15865. MergeFrom(from);
  15866. }
  15867. void CMsgGCShowItemsPickedUp::CopyFrom(const CMsgGCShowItemsPickedUp& from) {
  15868. if (&from == this) return;
  15869. Clear();
  15870. MergeFrom(from);
  15871. }
  15872. bool CMsgGCShowItemsPickedUp::IsInitialized() const {
  15873. return true;
  15874. }
  15875. void CMsgGCShowItemsPickedUp::Swap(CMsgGCShowItemsPickedUp* other) {
  15876. if (other != this) {
  15877. std::swap(player_steamid_, other->player_steamid_);
  15878. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15879. _unknown_fields_.Swap(&other->_unknown_fields_);
  15880. std::swap(_cached_size_, other->_cached_size_);
  15881. }
  15882. }
  15883. ::google::protobuf::Metadata CMsgGCShowItemsPickedUp::GetMetadata() const {
  15884. protobuf_AssignDescriptorsOnce();
  15885. ::google::protobuf::Metadata metadata;
  15886. metadata.descriptor = CMsgGCShowItemsPickedUp_descriptor_;
  15887. metadata.reflection = CMsgGCShowItemsPickedUp_reflection_;
  15888. return metadata;
  15889. }
  15890. // ===================================================================
  15891. #ifndef _MSC_VER
  15892. const int CMsgGCIncrementKillCountResponse::kKillerAccountIdFieldNumber;
  15893. const int CMsgGCIncrementKillCountResponse::kNumKillsFieldNumber;
  15894. const int CMsgGCIncrementKillCountResponse::kItemDefFieldNumber;
  15895. const int CMsgGCIncrementKillCountResponse::kLevelTypeFieldNumber;
  15896. #endif // !_MSC_VER
  15897. CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse()
  15898. : ::google::protobuf::Message() {
  15899. SharedCtor();
  15900. }
  15901. void CMsgGCIncrementKillCountResponse::InitAsDefaultInstance() {
  15902. }
  15903. CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse(const CMsgGCIncrementKillCountResponse& from)
  15904. : ::google::protobuf::Message() {
  15905. SharedCtor();
  15906. MergeFrom(from);
  15907. }
  15908. void CMsgGCIncrementKillCountResponse::SharedCtor() {
  15909. _cached_size_ = 0;
  15910. killer_account_id_ = 0u;
  15911. num_kills_ = 0u;
  15912. item_def_ = 0u;
  15913. level_type_ = 0u;
  15914. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15915. }
  15916. CMsgGCIncrementKillCountResponse::~CMsgGCIncrementKillCountResponse() {
  15917. SharedDtor();
  15918. }
  15919. void CMsgGCIncrementKillCountResponse::SharedDtor() {
  15920. if (this != default_instance_) {
  15921. }
  15922. }
  15923. void CMsgGCIncrementKillCountResponse::SetCachedSize(int size) const {
  15924. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15925. _cached_size_ = size;
  15926. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15927. }
  15928. const ::google::protobuf::Descriptor* CMsgGCIncrementKillCountResponse::descriptor() {
  15929. protobuf_AssignDescriptorsOnce();
  15930. return CMsgGCIncrementKillCountResponse_descriptor_;
  15931. }
  15932. const CMsgGCIncrementKillCountResponse& CMsgGCIncrementKillCountResponse::default_instance() {
  15933. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  15934. return *default_instance_;
  15935. }
  15936. CMsgGCIncrementKillCountResponse* CMsgGCIncrementKillCountResponse::default_instance_ = NULL;
  15937. CMsgGCIncrementKillCountResponse* CMsgGCIncrementKillCountResponse::New() const {
  15938. return new CMsgGCIncrementKillCountResponse;
  15939. }
  15940. void CMsgGCIncrementKillCountResponse::Clear() {
  15941. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15942. killer_account_id_ = 0u;
  15943. num_kills_ = 0u;
  15944. item_def_ = 0u;
  15945. level_type_ = 0u;
  15946. }
  15947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15948. mutable_unknown_fields()->Clear();
  15949. }
  15950. bool CMsgGCIncrementKillCountResponse::MergePartialFromCodedStream(
  15951. ::google::protobuf::io::CodedInputStream* input) {
  15952. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15953. ::google::protobuf::uint32 tag;
  15954. while ((tag = input->ReadTag()) != 0) {
  15955. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15956. // optional uint32 killer_account_id = 1;
  15957. case 1: {
  15958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15960. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15961. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15962. input, &killer_account_id_)));
  15963. set_has_killer_account_id();
  15964. } else {
  15965. goto handle_uninterpreted;
  15966. }
  15967. if (input->ExpectTag(16)) goto parse_num_kills;
  15968. break;
  15969. }
  15970. // optional uint32 num_kills = 2;
  15971. case 2: {
  15972. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15973. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15974. parse_num_kills:
  15975. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15976. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15977. input, &num_kills_)));
  15978. set_has_num_kills();
  15979. } else {
  15980. goto handle_uninterpreted;
  15981. }
  15982. if (input->ExpectTag(24)) goto parse_item_def;
  15983. break;
  15984. }
  15985. // optional uint32 item_def = 3;
  15986. case 3: {
  15987. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15988. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15989. parse_item_def:
  15990. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15991. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15992. input, &item_def_)));
  15993. set_has_item_def();
  15994. } else {
  15995. goto handle_uninterpreted;
  15996. }
  15997. if (input->ExpectTag(32)) goto parse_level_type;
  15998. break;
  15999. }
  16000. // optional uint32 level_type = 4;
  16001. case 4: {
  16002. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16003. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16004. parse_level_type:
  16005. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16006. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16007. input, &level_type_)));
  16008. set_has_level_type();
  16009. } else {
  16010. goto handle_uninterpreted;
  16011. }
  16012. if (input->ExpectAtEnd()) return true;
  16013. break;
  16014. }
  16015. default: {
  16016. handle_uninterpreted:
  16017. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16018. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16019. return true;
  16020. }
  16021. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16022. input, tag, mutable_unknown_fields()));
  16023. break;
  16024. }
  16025. }
  16026. }
  16027. return true;
  16028. #undef DO_
  16029. }
  16030. void CMsgGCIncrementKillCountResponse::SerializeWithCachedSizes(
  16031. ::google::protobuf::io::CodedOutputStream* output) const {
  16032. // optional uint32 killer_account_id = 1;
  16033. if (has_killer_account_id()) {
  16034. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->killer_account_id(), output);
  16035. }
  16036. // optional uint32 num_kills = 2;
  16037. if (has_num_kills()) {
  16038. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->num_kills(), output);
  16039. }
  16040. // optional uint32 item_def = 3;
  16041. if (has_item_def()) {
  16042. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->item_def(), output);
  16043. }
  16044. // optional uint32 level_type = 4;
  16045. if (has_level_type()) {
  16046. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->level_type(), output);
  16047. }
  16048. if (!unknown_fields().empty()) {
  16049. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16050. unknown_fields(), output);
  16051. }
  16052. }
  16053. ::google::protobuf::uint8* CMsgGCIncrementKillCountResponse::SerializeWithCachedSizesToArray(
  16054. ::google::protobuf::uint8* target) const {
  16055. // optional uint32 killer_account_id = 1;
  16056. if (has_killer_account_id()) {
  16057. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->killer_account_id(), target);
  16058. }
  16059. // optional uint32 num_kills = 2;
  16060. if (has_num_kills()) {
  16061. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->num_kills(), target);
  16062. }
  16063. // optional uint32 item_def = 3;
  16064. if (has_item_def()) {
  16065. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->item_def(), target);
  16066. }
  16067. // optional uint32 level_type = 4;
  16068. if (has_level_type()) {
  16069. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->level_type(), target);
  16070. }
  16071. if (!unknown_fields().empty()) {
  16072. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16073. unknown_fields(), target);
  16074. }
  16075. return target;
  16076. }
  16077. int CMsgGCIncrementKillCountResponse::ByteSize() const {
  16078. int total_size = 0;
  16079. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16080. // optional uint32 killer_account_id = 1;
  16081. if (has_killer_account_id()) {
  16082. total_size += 1 +
  16083. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16084. this->killer_account_id());
  16085. }
  16086. // optional uint32 num_kills = 2;
  16087. if (has_num_kills()) {
  16088. total_size += 1 +
  16089. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16090. this->num_kills());
  16091. }
  16092. // optional uint32 item_def = 3;
  16093. if (has_item_def()) {
  16094. total_size += 1 +
  16095. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16096. this->item_def());
  16097. }
  16098. // optional uint32 level_type = 4;
  16099. if (has_level_type()) {
  16100. total_size += 1 +
  16101. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16102. this->level_type());
  16103. }
  16104. }
  16105. if (!unknown_fields().empty()) {
  16106. total_size +=
  16107. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16108. unknown_fields());
  16109. }
  16110. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16111. _cached_size_ = total_size;
  16112. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16113. return total_size;
  16114. }
  16115. void CMsgGCIncrementKillCountResponse::MergeFrom(const ::google::protobuf::Message& from) {
  16116. GOOGLE_CHECK_NE(&from, this);
  16117. const CMsgGCIncrementKillCountResponse* source =
  16118. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCIncrementKillCountResponse*>(
  16119. &from);
  16120. if (source == NULL) {
  16121. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16122. } else {
  16123. MergeFrom(*source);
  16124. }
  16125. }
  16126. void CMsgGCIncrementKillCountResponse::MergeFrom(const CMsgGCIncrementKillCountResponse& from) {
  16127. GOOGLE_CHECK_NE(&from, this);
  16128. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16129. if (from.has_killer_account_id()) {
  16130. set_killer_account_id(from.killer_account_id());
  16131. }
  16132. if (from.has_num_kills()) {
  16133. set_num_kills(from.num_kills());
  16134. }
  16135. if (from.has_item_def()) {
  16136. set_item_def(from.item_def());
  16137. }
  16138. if (from.has_level_type()) {
  16139. set_level_type(from.level_type());
  16140. }
  16141. }
  16142. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16143. }
  16144. void CMsgGCIncrementKillCountResponse::CopyFrom(const ::google::protobuf::Message& from) {
  16145. if (&from == this) return;
  16146. Clear();
  16147. MergeFrom(from);
  16148. }
  16149. void CMsgGCIncrementKillCountResponse::CopyFrom(const CMsgGCIncrementKillCountResponse& from) {
  16150. if (&from == this) return;
  16151. Clear();
  16152. MergeFrom(from);
  16153. }
  16154. bool CMsgGCIncrementKillCountResponse::IsInitialized() const {
  16155. return true;
  16156. }
  16157. void CMsgGCIncrementKillCountResponse::Swap(CMsgGCIncrementKillCountResponse* other) {
  16158. if (other != this) {
  16159. std::swap(killer_account_id_, other->killer_account_id_);
  16160. std::swap(num_kills_, other->num_kills_);
  16161. std::swap(item_def_, other->item_def_);
  16162. std::swap(level_type_, other->level_type_);
  16163. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16164. _unknown_fields_.Swap(&other->_unknown_fields_);
  16165. std::swap(_cached_size_, other->_cached_size_);
  16166. }
  16167. }
  16168. ::google::protobuf::Metadata CMsgGCIncrementKillCountResponse::GetMetadata() const {
  16169. protobuf_AssignDescriptorsOnce();
  16170. ::google::protobuf::Metadata metadata;
  16171. metadata.descriptor = CMsgGCIncrementKillCountResponse_descriptor_;
  16172. metadata.reflection = CMsgGCIncrementKillCountResponse_reflection_;
  16173. return metadata;
  16174. }
  16175. // ===================================================================
  16176. #ifndef _MSC_VER
  16177. const int CSOEconItemDropRateBonus::kAccountIdFieldNumber;
  16178. const int CSOEconItemDropRateBonus::kExpirationDateFieldNumber;
  16179. const int CSOEconItemDropRateBonus::kBonusFieldNumber;
  16180. const int CSOEconItemDropRateBonus::kBonusCountFieldNumber;
  16181. const int CSOEconItemDropRateBonus::kItemIdFieldNumber;
  16182. const int CSOEconItemDropRateBonus::kDefIndexFieldNumber;
  16183. #endif // !_MSC_VER
  16184. CSOEconItemDropRateBonus::CSOEconItemDropRateBonus()
  16185. : ::google::protobuf::Message() {
  16186. SharedCtor();
  16187. }
  16188. void CSOEconItemDropRateBonus::InitAsDefaultInstance() {
  16189. }
  16190. CSOEconItemDropRateBonus::CSOEconItemDropRateBonus(const CSOEconItemDropRateBonus& from)
  16191. : ::google::protobuf::Message() {
  16192. SharedCtor();
  16193. MergeFrom(from);
  16194. }
  16195. void CSOEconItemDropRateBonus::SharedCtor() {
  16196. _cached_size_ = 0;
  16197. account_id_ = 0u;
  16198. expiration_date_ = 0u;
  16199. bonus_ = 0;
  16200. bonus_count_ = 0u;
  16201. item_id_ = GOOGLE_ULONGLONG(0);
  16202. def_index_ = 0u;
  16203. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16204. }
  16205. CSOEconItemDropRateBonus::~CSOEconItemDropRateBonus() {
  16206. SharedDtor();
  16207. }
  16208. void CSOEconItemDropRateBonus::SharedDtor() {
  16209. if (this != default_instance_) {
  16210. }
  16211. }
  16212. void CSOEconItemDropRateBonus::SetCachedSize(int size) const {
  16213. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16214. _cached_size_ = size;
  16215. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16216. }
  16217. const ::google::protobuf::Descriptor* CSOEconItemDropRateBonus::descriptor() {
  16218. protobuf_AssignDescriptorsOnce();
  16219. return CSOEconItemDropRateBonus_descriptor_;
  16220. }
  16221. const CSOEconItemDropRateBonus& CSOEconItemDropRateBonus::default_instance() {
  16222. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  16223. return *default_instance_;
  16224. }
  16225. CSOEconItemDropRateBonus* CSOEconItemDropRateBonus::default_instance_ = NULL;
  16226. CSOEconItemDropRateBonus* CSOEconItemDropRateBonus::New() const {
  16227. return new CSOEconItemDropRateBonus;
  16228. }
  16229. void CSOEconItemDropRateBonus::Clear() {
  16230. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16231. account_id_ = 0u;
  16232. expiration_date_ = 0u;
  16233. bonus_ = 0;
  16234. bonus_count_ = 0u;
  16235. item_id_ = GOOGLE_ULONGLONG(0);
  16236. def_index_ = 0u;
  16237. }
  16238. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16239. mutable_unknown_fields()->Clear();
  16240. }
  16241. bool CSOEconItemDropRateBonus::MergePartialFromCodedStream(
  16242. ::google::protobuf::io::CodedInputStream* input) {
  16243. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16244. ::google::protobuf::uint32 tag;
  16245. while ((tag = input->ReadTag()) != 0) {
  16246. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16247. // optional uint32 account_id = 1;
  16248. case 1: {
  16249. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16250. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16251. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16252. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16253. input, &account_id_)));
  16254. set_has_account_id();
  16255. } else {
  16256. goto handle_uninterpreted;
  16257. }
  16258. if (input->ExpectTag(21)) goto parse_expiration_date;
  16259. break;
  16260. }
  16261. // optional fixed32 expiration_date = 2;
  16262. case 2: {
  16263. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16264. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  16265. parse_expiration_date:
  16266. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16267. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  16268. input, &expiration_date_)));
  16269. set_has_expiration_date();
  16270. } else {
  16271. goto handle_uninterpreted;
  16272. }
  16273. if (input->ExpectTag(29)) goto parse_bonus;
  16274. break;
  16275. }
  16276. // optional float bonus = 3;
  16277. case 3: {
  16278. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16279. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  16280. parse_bonus:
  16281. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16282. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  16283. input, &bonus_)));
  16284. set_has_bonus();
  16285. } else {
  16286. goto handle_uninterpreted;
  16287. }
  16288. if (input->ExpectTag(32)) goto parse_bonus_count;
  16289. break;
  16290. }
  16291. // optional uint32 bonus_count = 4;
  16292. case 4: {
  16293. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16294. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16295. parse_bonus_count:
  16296. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16297. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16298. input, &bonus_count_)));
  16299. set_has_bonus_count();
  16300. } else {
  16301. goto handle_uninterpreted;
  16302. }
  16303. if (input->ExpectTag(40)) goto parse_item_id;
  16304. break;
  16305. }
  16306. // optional uint64 item_id = 5;
  16307. case 5: {
  16308. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16309. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16310. parse_item_id:
  16311. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16312. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  16313. input, &item_id_)));
  16314. set_has_item_id();
  16315. } else {
  16316. goto handle_uninterpreted;
  16317. }
  16318. if (input->ExpectTag(48)) goto parse_def_index;
  16319. break;
  16320. }
  16321. // optional uint32 def_index = 6;
  16322. case 6: {
  16323. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16324. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16325. parse_def_index:
  16326. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16327. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16328. input, &def_index_)));
  16329. set_has_def_index();
  16330. } else {
  16331. goto handle_uninterpreted;
  16332. }
  16333. if (input->ExpectAtEnd()) return true;
  16334. break;
  16335. }
  16336. default: {
  16337. handle_uninterpreted:
  16338. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16339. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16340. return true;
  16341. }
  16342. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16343. input, tag, mutable_unknown_fields()));
  16344. break;
  16345. }
  16346. }
  16347. }
  16348. return true;
  16349. #undef DO_
  16350. }
  16351. void CSOEconItemDropRateBonus::SerializeWithCachedSizes(
  16352. ::google::protobuf::io::CodedOutputStream* output) const {
  16353. // optional uint32 account_id = 1;
  16354. if (has_account_id()) {
  16355. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->account_id(), output);
  16356. }
  16357. // optional fixed32 expiration_date = 2;
  16358. if (has_expiration_date()) {
  16359. ::google::protobuf::internal::WireFormatLite::WriteFixed32(2, this->expiration_date(), output);
  16360. }
  16361. // optional float bonus = 3;
  16362. if (has_bonus()) {
  16363. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->bonus(), output);
  16364. }
  16365. // optional uint32 bonus_count = 4;
  16366. if (has_bonus_count()) {
  16367. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->bonus_count(), output);
  16368. }
  16369. // optional uint64 item_id = 5;
  16370. if (has_item_id()) {
  16371. ::google::protobuf::internal::WireFormatLite::WriteUInt64(5, this->item_id(), output);
  16372. }
  16373. // optional uint32 def_index = 6;
  16374. if (has_def_index()) {
  16375. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->def_index(), output);
  16376. }
  16377. if (!unknown_fields().empty()) {
  16378. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16379. unknown_fields(), output);
  16380. }
  16381. }
  16382. ::google::protobuf::uint8* CSOEconItemDropRateBonus::SerializeWithCachedSizesToArray(
  16383. ::google::protobuf::uint8* target) const {
  16384. // optional uint32 account_id = 1;
  16385. if (has_account_id()) {
  16386. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->account_id(), target);
  16387. }
  16388. // optional fixed32 expiration_date = 2;
  16389. if (has_expiration_date()) {
  16390. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(2, this->expiration_date(), target);
  16391. }
  16392. // optional float bonus = 3;
  16393. if (has_bonus()) {
  16394. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->bonus(), target);
  16395. }
  16396. // optional uint32 bonus_count = 4;
  16397. if (has_bonus_count()) {
  16398. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->bonus_count(), target);
  16399. }
  16400. // optional uint64 item_id = 5;
  16401. if (has_item_id()) {
  16402. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(5, this->item_id(), target);
  16403. }
  16404. // optional uint32 def_index = 6;
  16405. if (has_def_index()) {
  16406. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->def_index(), target);
  16407. }
  16408. if (!unknown_fields().empty()) {
  16409. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16410. unknown_fields(), target);
  16411. }
  16412. return target;
  16413. }
  16414. int CSOEconItemDropRateBonus::ByteSize() const {
  16415. int total_size = 0;
  16416. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16417. // optional uint32 account_id = 1;
  16418. if (has_account_id()) {
  16419. total_size += 1 +
  16420. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16421. this->account_id());
  16422. }
  16423. // optional fixed32 expiration_date = 2;
  16424. if (has_expiration_date()) {
  16425. total_size += 1 + 4;
  16426. }
  16427. // optional float bonus = 3;
  16428. if (has_bonus()) {
  16429. total_size += 1 + 4;
  16430. }
  16431. // optional uint32 bonus_count = 4;
  16432. if (has_bonus_count()) {
  16433. total_size += 1 +
  16434. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16435. this->bonus_count());
  16436. }
  16437. // optional uint64 item_id = 5;
  16438. if (has_item_id()) {
  16439. total_size += 1 +
  16440. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  16441. this->item_id());
  16442. }
  16443. // optional uint32 def_index = 6;
  16444. if (has_def_index()) {
  16445. total_size += 1 +
  16446. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16447. this->def_index());
  16448. }
  16449. }
  16450. if (!unknown_fields().empty()) {
  16451. total_size +=
  16452. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16453. unknown_fields());
  16454. }
  16455. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16456. _cached_size_ = total_size;
  16457. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16458. return total_size;
  16459. }
  16460. void CSOEconItemDropRateBonus::MergeFrom(const ::google::protobuf::Message& from) {
  16461. GOOGLE_CHECK_NE(&from, this);
  16462. const CSOEconItemDropRateBonus* source =
  16463. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconItemDropRateBonus*>(
  16464. &from);
  16465. if (source == NULL) {
  16466. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16467. } else {
  16468. MergeFrom(*source);
  16469. }
  16470. }
  16471. void CSOEconItemDropRateBonus::MergeFrom(const CSOEconItemDropRateBonus& from) {
  16472. GOOGLE_CHECK_NE(&from, this);
  16473. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16474. if (from.has_account_id()) {
  16475. set_account_id(from.account_id());
  16476. }
  16477. if (from.has_expiration_date()) {
  16478. set_expiration_date(from.expiration_date());
  16479. }
  16480. if (from.has_bonus()) {
  16481. set_bonus(from.bonus());
  16482. }
  16483. if (from.has_bonus_count()) {
  16484. set_bonus_count(from.bonus_count());
  16485. }
  16486. if (from.has_item_id()) {
  16487. set_item_id(from.item_id());
  16488. }
  16489. if (from.has_def_index()) {
  16490. set_def_index(from.def_index());
  16491. }
  16492. }
  16493. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16494. }
  16495. void CSOEconItemDropRateBonus::CopyFrom(const ::google::protobuf::Message& from) {
  16496. if (&from == this) return;
  16497. Clear();
  16498. MergeFrom(from);
  16499. }
  16500. void CSOEconItemDropRateBonus::CopyFrom(const CSOEconItemDropRateBonus& from) {
  16501. if (&from == this) return;
  16502. Clear();
  16503. MergeFrom(from);
  16504. }
  16505. bool CSOEconItemDropRateBonus::IsInitialized() const {
  16506. return true;
  16507. }
  16508. void CSOEconItemDropRateBonus::Swap(CSOEconItemDropRateBonus* other) {
  16509. if (other != this) {
  16510. std::swap(account_id_, other->account_id_);
  16511. std::swap(expiration_date_, other->expiration_date_);
  16512. std::swap(bonus_, other->bonus_);
  16513. std::swap(bonus_count_, other->bonus_count_);
  16514. std::swap(item_id_, other->item_id_);
  16515. std::swap(def_index_, other->def_index_);
  16516. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16517. _unknown_fields_.Swap(&other->_unknown_fields_);
  16518. std::swap(_cached_size_, other->_cached_size_);
  16519. }
  16520. }
  16521. ::google::protobuf::Metadata CSOEconItemDropRateBonus::GetMetadata() const {
  16522. protobuf_AssignDescriptorsOnce();
  16523. ::google::protobuf::Metadata metadata;
  16524. metadata.descriptor = CSOEconItemDropRateBonus_descriptor_;
  16525. metadata.reflection = CSOEconItemDropRateBonus_reflection_;
  16526. return metadata;
  16527. }
  16528. // ===================================================================
  16529. #ifndef _MSC_VER
  16530. const int CSOEconItemLeagueViewPass::kAccountIdFieldNumber;
  16531. const int CSOEconItemLeagueViewPass::kLeagueIdFieldNumber;
  16532. const int CSOEconItemLeagueViewPass::kAdminFieldNumber;
  16533. const int CSOEconItemLeagueViewPass::kItemindexFieldNumber;
  16534. #endif // !_MSC_VER
  16535. CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass()
  16536. : ::google::protobuf::Message() {
  16537. SharedCtor();
  16538. }
  16539. void CSOEconItemLeagueViewPass::InitAsDefaultInstance() {
  16540. }
  16541. CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass(const CSOEconItemLeagueViewPass& from)
  16542. : ::google::protobuf::Message() {
  16543. SharedCtor();
  16544. MergeFrom(from);
  16545. }
  16546. void CSOEconItemLeagueViewPass::SharedCtor() {
  16547. _cached_size_ = 0;
  16548. account_id_ = 0u;
  16549. league_id_ = 0u;
  16550. admin_ = 0u;
  16551. itemindex_ = 0u;
  16552. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16553. }
  16554. CSOEconItemLeagueViewPass::~CSOEconItemLeagueViewPass() {
  16555. SharedDtor();
  16556. }
  16557. void CSOEconItemLeagueViewPass::SharedDtor() {
  16558. if (this != default_instance_) {
  16559. }
  16560. }
  16561. void CSOEconItemLeagueViewPass::SetCachedSize(int size) const {
  16562. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16563. _cached_size_ = size;
  16564. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16565. }
  16566. const ::google::protobuf::Descriptor* CSOEconItemLeagueViewPass::descriptor() {
  16567. protobuf_AssignDescriptorsOnce();
  16568. return CSOEconItemLeagueViewPass_descriptor_;
  16569. }
  16570. const CSOEconItemLeagueViewPass& CSOEconItemLeagueViewPass::default_instance() {
  16571. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  16572. return *default_instance_;
  16573. }
  16574. CSOEconItemLeagueViewPass* CSOEconItemLeagueViewPass::default_instance_ = NULL;
  16575. CSOEconItemLeagueViewPass* CSOEconItemLeagueViewPass::New() const {
  16576. return new CSOEconItemLeagueViewPass;
  16577. }
  16578. void CSOEconItemLeagueViewPass::Clear() {
  16579. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16580. account_id_ = 0u;
  16581. league_id_ = 0u;
  16582. admin_ = 0u;
  16583. itemindex_ = 0u;
  16584. }
  16585. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16586. mutable_unknown_fields()->Clear();
  16587. }
  16588. bool CSOEconItemLeagueViewPass::MergePartialFromCodedStream(
  16589. ::google::protobuf::io::CodedInputStream* input) {
  16590. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16591. ::google::protobuf::uint32 tag;
  16592. while ((tag = input->ReadTag()) != 0) {
  16593. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16594. // optional uint32 account_id = 1;
  16595. case 1: {
  16596. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16597. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16598. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16599. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16600. input, &account_id_)));
  16601. set_has_account_id();
  16602. } else {
  16603. goto handle_uninterpreted;
  16604. }
  16605. if (input->ExpectTag(16)) goto parse_league_id;
  16606. break;
  16607. }
  16608. // optional uint32 league_id = 2;
  16609. case 2: {
  16610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16612. parse_league_id:
  16613. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16614. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16615. input, &league_id_)));
  16616. set_has_league_id();
  16617. } else {
  16618. goto handle_uninterpreted;
  16619. }
  16620. if (input->ExpectTag(24)) goto parse_admin;
  16621. break;
  16622. }
  16623. // optional uint32 admin = 3;
  16624. case 3: {
  16625. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16626. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16627. parse_admin:
  16628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16629. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16630. input, &admin_)));
  16631. set_has_admin();
  16632. } else {
  16633. goto handle_uninterpreted;
  16634. }
  16635. if (input->ExpectTag(32)) goto parse_itemindex;
  16636. break;
  16637. }
  16638. // optional uint32 itemindex = 4;
  16639. case 4: {
  16640. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16641. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16642. parse_itemindex:
  16643. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16644. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16645. input, &itemindex_)));
  16646. set_has_itemindex();
  16647. } else {
  16648. goto handle_uninterpreted;
  16649. }
  16650. if (input->ExpectAtEnd()) return true;
  16651. break;
  16652. }
  16653. default: {
  16654. handle_uninterpreted:
  16655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16657. return true;
  16658. }
  16659. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16660. input, tag, mutable_unknown_fields()));
  16661. break;
  16662. }
  16663. }
  16664. }
  16665. return true;
  16666. #undef DO_
  16667. }
  16668. void CSOEconItemLeagueViewPass::SerializeWithCachedSizes(
  16669. ::google::protobuf::io::CodedOutputStream* output) const {
  16670. // optional uint32 account_id = 1;
  16671. if (has_account_id()) {
  16672. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->account_id(), output);
  16673. }
  16674. // optional uint32 league_id = 2;
  16675. if (has_league_id()) {
  16676. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->league_id(), output);
  16677. }
  16678. // optional uint32 admin = 3;
  16679. if (has_admin()) {
  16680. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->admin(), output);
  16681. }
  16682. // optional uint32 itemindex = 4;
  16683. if (has_itemindex()) {
  16684. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->itemindex(), output);
  16685. }
  16686. if (!unknown_fields().empty()) {
  16687. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16688. unknown_fields(), output);
  16689. }
  16690. }
  16691. ::google::protobuf::uint8* CSOEconItemLeagueViewPass::SerializeWithCachedSizesToArray(
  16692. ::google::protobuf::uint8* target) const {
  16693. // optional uint32 account_id = 1;
  16694. if (has_account_id()) {
  16695. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->account_id(), target);
  16696. }
  16697. // optional uint32 league_id = 2;
  16698. if (has_league_id()) {
  16699. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->league_id(), target);
  16700. }
  16701. // optional uint32 admin = 3;
  16702. if (has_admin()) {
  16703. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->admin(), target);
  16704. }
  16705. // optional uint32 itemindex = 4;
  16706. if (has_itemindex()) {
  16707. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->itemindex(), target);
  16708. }
  16709. if (!unknown_fields().empty()) {
  16710. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16711. unknown_fields(), target);
  16712. }
  16713. return target;
  16714. }
  16715. int CSOEconItemLeagueViewPass::ByteSize() const {
  16716. int total_size = 0;
  16717. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16718. // optional uint32 account_id = 1;
  16719. if (has_account_id()) {
  16720. total_size += 1 +
  16721. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16722. this->account_id());
  16723. }
  16724. // optional uint32 league_id = 2;
  16725. if (has_league_id()) {
  16726. total_size += 1 +
  16727. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16728. this->league_id());
  16729. }
  16730. // optional uint32 admin = 3;
  16731. if (has_admin()) {
  16732. total_size += 1 +
  16733. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16734. this->admin());
  16735. }
  16736. // optional uint32 itemindex = 4;
  16737. if (has_itemindex()) {
  16738. total_size += 1 +
  16739. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16740. this->itemindex());
  16741. }
  16742. }
  16743. if (!unknown_fields().empty()) {
  16744. total_size +=
  16745. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16746. unknown_fields());
  16747. }
  16748. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16749. _cached_size_ = total_size;
  16750. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16751. return total_size;
  16752. }
  16753. void CSOEconItemLeagueViewPass::MergeFrom(const ::google::protobuf::Message& from) {
  16754. GOOGLE_CHECK_NE(&from, this);
  16755. const CSOEconItemLeagueViewPass* source =
  16756. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconItemLeagueViewPass*>(
  16757. &from);
  16758. if (source == NULL) {
  16759. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16760. } else {
  16761. MergeFrom(*source);
  16762. }
  16763. }
  16764. void CSOEconItemLeagueViewPass::MergeFrom(const CSOEconItemLeagueViewPass& from) {
  16765. GOOGLE_CHECK_NE(&from, this);
  16766. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16767. if (from.has_account_id()) {
  16768. set_account_id(from.account_id());
  16769. }
  16770. if (from.has_league_id()) {
  16771. set_league_id(from.league_id());
  16772. }
  16773. if (from.has_admin()) {
  16774. set_admin(from.admin());
  16775. }
  16776. if (from.has_itemindex()) {
  16777. set_itemindex(from.itemindex());
  16778. }
  16779. }
  16780. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16781. }
  16782. void CSOEconItemLeagueViewPass::CopyFrom(const ::google::protobuf::Message& from) {
  16783. if (&from == this) return;
  16784. Clear();
  16785. MergeFrom(from);
  16786. }
  16787. void CSOEconItemLeagueViewPass::CopyFrom(const CSOEconItemLeagueViewPass& from) {
  16788. if (&from == this) return;
  16789. Clear();
  16790. MergeFrom(from);
  16791. }
  16792. bool CSOEconItemLeagueViewPass::IsInitialized() const {
  16793. return true;
  16794. }
  16795. void CSOEconItemLeagueViewPass::Swap(CSOEconItemLeagueViewPass* other) {
  16796. if (other != this) {
  16797. std::swap(account_id_, other->account_id_);
  16798. std::swap(league_id_, other->league_id_);
  16799. std::swap(admin_, other->admin_);
  16800. std::swap(itemindex_, other->itemindex_);
  16801. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16802. _unknown_fields_.Swap(&other->_unknown_fields_);
  16803. std::swap(_cached_size_, other->_cached_size_);
  16804. }
  16805. }
  16806. ::google::protobuf::Metadata CSOEconItemLeagueViewPass::GetMetadata() const {
  16807. protobuf_AssignDescriptorsOnce();
  16808. ::google::protobuf::Metadata metadata;
  16809. metadata.descriptor = CSOEconItemLeagueViewPass_descriptor_;
  16810. metadata.reflection = CSOEconItemLeagueViewPass_reflection_;
  16811. return metadata;
  16812. }
  16813. // ===================================================================
  16814. #ifndef _MSC_VER
  16815. const int CSOEconItemEventTicket::kAccountIdFieldNumber;
  16816. const int CSOEconItemEventTicket::kEventIdFieldNumber;
  16817. const int CSOEconItemEventTicket::kItemIdFieldNumber;
  16818. #endif // !_MSC_VER
  16819. CSOEconItemEventTicket::CSOEconItemEventTicket()
  16820. : ::google::protobuf::Message() {
  16821. SharedCtor();
  16822. }
  16823. void CSOEconItemEventTicket::InitAsDefaultInstance() {
  16824. }
  16825. CSOEconItemEventTicket::CSOEconItemEventTicket(const CSOEconItemEventTicket& from)
  16826. : ::google::protobuf::Message() {
  16827. SharedCtor();
  16828. MergeFrom(from);
  16829. }
  16830. void CSOEconItemEventTicket::SharedCtor() {
  16831. _cached_size_ = 0;
  16832. account_id_ = 0u;
  16833. event_id_ = 0u;
  16834. item_id_ = GOOGLE_ULONGLONG(0);
  16835. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16836. }
  16837. CSOEconItemEventTicket::~CSOEconItemEventTicket() {
  16838. SharedDtor();
  16839. }
  16840. void CSOEconItemEventTicket::SharedDtor() {
  16841. if (this != default_instance_) {
  16842. }
  16843. }
  16844. void CSOEconItemEventTicket::SetCachedSize(int size) const {
  16845. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16846. _cached_size_ = size;
  16847. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16848. }
  16849. const ::google::protobuf::Descriptor* CSOEconItemEventTicket::descriptor() {
  16850. protobuf_AssignDescriptorsOnce();
  16851. return CSOEconItemEventTicket_descriptor_;
  16852. }
  16853. const CSOEconItemEventTicket& CSOEconItemEventTicket::default_instance() {
  16854. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  16855. return *default_instance_;
  16856. }
  16857. CSOEconItemEventTicket* CSOEconItemEventTicket::default_instance_ = NULL;
  16858. CSOEconItemEventTicket* CSOEconItemEventTicket::New() const {
  16859. return new CSOEconItemEventTicket;
  16860. }
  16861. void CSOEconItemEventTicket::Clear() {
  16862. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16863. account_id_ = 0u;
  16864. event_id_ = 0u;
  16865. item_id_ = GOOGLE_ULONGLONG(0);
  16866. }
  16867. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16868. mutable_unknown_fields()->Clear();
  16869. }
  16870. bool CSOEconItemEventTicket::MergePartialFromCodedStream(
  16871. ::google::protobuf::io::CodedInputStream* input) {
  16872. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16873. ::google::protobuf::uint32 tag;
  16874. while ((tag = input->ReadTag()) != 0) {
  16875. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16876. // optional uint32 account_id = 1;
  16877. case 1: {
  16878. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16879. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16880. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16881. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16882. input, &account_id_)));
  16883. set_has_account_id();
  16884. } else {
  16885. goto handle_uninterpreted;
  16886. }
  16887. if (input->ExpectTag(16)) goto parse_event_id;
  16888. break;
  16889. }
  16890. // optional uint32 event_id = 2;
  16891. case 2: {
  16892. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16893. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16894. parse_event_id:
  16895. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16896. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  16897. input, &event_id_)));
  16898. set_has_event_id();
  16899. } else {
  16900. goto handle_uninterpreted;
  16901. }
  16902. if (input->ExpectTag(24)) goto parse_item_id;
  16903. break;
  16904. }
  16905. // optional uint64 item_id = 3;
  16906. case 3: {
  16907. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16908. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16909. parse_item_id:
  16910. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16911. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  16912. input, &item_id_)));
  16913. set_has_item_id();
  16914. } else {
  16915. goto handle_uninterpreted;
  16916. }
  16917. if (input->ExpectAtEnd()) return true;
  16918. break;
  16919. }
  16920. default: {
  16921. handle_uninterpreted:
  16922. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16923. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16924. return true;
  16925. }
  16926. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16927. input, tag, mutable_unknown_fields()));
  16928. break;
  16929. }
  16930. }
  16931. }
  16932. return true;
  16933. #undef DO_
  16934. }
  16935. void CSOEconItemEventTicket::SerializeWithCachedSizes(
  16936. ::google::protobuf::io::CodedOutputStream* output) const {
  16937. // optional uint32 account_id = 1;
  16938. if (has_account_id()) {
  16939. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->account_id(), output);
  16940. }
  16941. // optional uint32 event_id = 2;
  16942. if (has_event_id()) {
  16943. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->event_id(), output);
  16944. }
  16945. // optional uint64 item_id = 3;
  16946. if (has_item_id()) {
  16947. ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->item_id(), output);
  16948. }
  16949. if (!unknown_fields().empty()) {
  16950. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16951. unknown_fields(), output);
  16952. }
  16953. }
  16954. ::google::protobuf::uint8* CSOEconItemEventTicket::SerializeWithCachedSizesToArray(
  16955. ::google::protobuf::uint8* target) const {
  16956. // optional uint32 account_id = 1;
  16957. if (has_account_id()) {
  16958. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->account_id(), target);
  16959. }
  16960. // optional uint32 event_id = 2;
  16961. if (has_event_id()) {
  16962. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->event_id(), target);
  16963. }
  16964. // optional uint64 item_id = 3;
  16965. if (has_item_id()) {
  16966. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->item_id(), target);
  16967. }
  16968. if (!unknown_fields().empty()) {
  16969. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16970. unknown_fields(), target);
  16971. }
  16972. return target;
  16973. }
  16974. int CSOEconItemEventTicket::ByteSize() const {
  16975. int total_size = 0;
  16976. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16977. // optional uint32 account_id = 1;
  16978. if (has_account_id()) {
  16979. total_size += 1 +
  16980. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16981. this->account_id());
  16982. }
  16983. // optional uint32 event_id = 2;
  16984. if (has_event_id()) {
  16985. total_size += 1 +
  16986. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16987. this->event_id());
  16988. }
  16989. // optional uint64 item_id = 3;
  16990. if (has_item_id()) {
  16991. total_size += 1 +
  16992. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  16993. this->item_id());
  16994. }
  16995. }
  16996. if (!unknown_fields().empty()) {
  16997. total_size +=
  16998. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16999. unknown_fields());
  17000. }
  17001. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17002. _cached_size_ = total_size;
  17003. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17004. return total_size;
  17005. }
  17006. void CSOEconItemEventTicket::MergeFrom(const ::google::protobuf::Message& from) {
  17007. GOOGLE_CHECK_NE(&from, this);
  17008. const CSOEconItemEventTicket* source =
  17009. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconItemEventTicket*>(
  17010. &from);
  17011. if (source == NULL) {
  17012. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17013. } else {
  17014. MergeFrom(*source);
  17015. }
  17016. }
  17017. void CSOEconItemEventTicket::MergeFrom(const CSOEconItemEventTicket& from) {
  17018. GOOGLE_CHECK_NE(&from, this);
  17019. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17020. if (from.has_account_id()) {
  17021. set_account_id(from.account_id());
  17022. }
  17023. if (from.has_event_id()) {
  17024. set_event_id(from.event_id());
  17025. }
  17026. if (from.has_item_id()) {
  17027. set_item_id(from.item_id());
  17028. }
  17029. }
  17030. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17031. }
  17032. void CSOEconItemEventTicket::CopyFrom(const ::google::protobuf::Message& from) {
  17033. if (&from == this) return;
  17034. Clear();
  17035. MergeFrom(from);
  17036. }
  17037. void CSOEconItemEventTicket::CopyFrom(const CSOEconItemEventTicket& from) {
  17038. if (&from == this) return;
  17039. Clear();
  17040. MergeFrom(from);
  17041. }
  17042. bool CSOEconItemEventTicket::IsInitialized() const {
  17043. return true;
  17044. }
  17045. void CSOEconItemEventTicket::Swap(CSOEconItemEventTicket* other) {
  17046. if (other != this) {
  17047. std::swap(account_id_, other->account_id_);
  17048. std::swap(event_id_, other->event_id_);
  17049. std::swap(item_id_, other->item_id_);
  17050. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17051. _unknown_fields_.Swap(&other->_unknown_fields_);
  17052. std::swap(_cached_size_, other->_cached_size_);
  17053. }
  17054. }
  17055. ::google::protobuf::Metadata CSOEconItemEventTicket::GetMetadata() const {
  17056. protobuf_AssignDescriptorsOnce();
  17057. ::google::protobuf::Metadata metadata;
  17058. metadata.descriptor = CSOEconItemEventTicket_descriptor_;
  17059. metadata.reflection = CSOEconItemEventTicket_reflection_;
  17060. return metadata;
  17061. }
  17062. // ===================================================================
  17063. #ifndef _MSC_VER
  17064. const int CMsgGCItemPreviewItemBoughtNotification::kItemDefIndexFieldNumber;
  17065. #endif // !_MSC_VER
  17066. CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification()
  17067. : ::google::protobuf::Message() {
  17068. SharedCtor();
  17069. }
  17070. void CMsgGCItemPreviewItemBoughtNotification::InitAsDefaultInstance() {
  17071. }
  17072. CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification(const CMsgGCItemPreviewItemBoughtNotification& from)
  17073. : ::google::protobuf::Message() {
  17074. SharedCtor();
  17075. MergeFrom(from);
  17076. }
  17077. void CMsgGCItemPreviewItemBoughtNotification::SharedCtor() {
  17078. _cached_size_ = 0;
  17079. item_def_index_ = 0u;
  17080. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17081. }
  17082. CMsgGCItemPreviewItemBoughtNotification::~CMsgGCItemPreviewItemBoughtNotification() {
  17083. SharedDtor();
  17084. }
  17085. void CMsgGCItemPreviewItemBoughtNotification::SharedDtor() {
  17086. if (this != default_instance_) {
  17087. }
  17088. }
  17089. void CMsgGCItemPreviewItemBoughtNotification::SetCachedSize(int size) const {
  17090. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17091. _cached_size_ = size;
  17092. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17093. }
  17094. const ::google::protobuf::Descriptor* CMsgGCItemPreviewItemBoughtNotification::descriptor() {
  17095. protobuf_AssignDescriptorsOnce();
  17096. return CMsgGCItemPreviewItemBoughtNotification_descriptor_;
  17097. }
  17098. const CMsgGCItemPreviewItemBoughtNotification& CMsgGCItemPreviewItemBoughtNotification::default_instance() {
  17099. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  17100. return *default_instance_;
  17101. }
  17102. CMsgGCItemPreviewItemBoughtNotification* CMsgGCItemPreviewItemBoughtNotification::default_instance_ = NULL;
  17103. CMsgGCItemPreviewItemBoughtNotification* CMsgGCItemPreviewItemBoughtNotification::New() const {
  17104. return new CMsgGCItemPreviewItemBoughtNotification;
  17105. }
  17106. void CMsgGCItemPreviewItemBoughtNotification::Clear() {
  17107. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17108. item_def_index_ = 0u;
  17109. }
  17110. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17111. mutable_unknown_fields()->Clear();
  17112. }
  17113. bool CMsgGCItemPreviewItemBoughtNotification::MergePartialFromCodedStream(
  17114. ::google::protobuf::io::CodedInputStream* input) {
  17115. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17116. ::google::protobuf::uint32 tag;
  17117. while ((tag = input->ReadTag()) != 0) {
  17118. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17119. // optional uint32 item_def_index = 1;
  17120. case 1: {
  17121. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17122. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17123. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17124. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17125. input, &item_def_index_)));
  17126. set_has_item_def_index();
  17127. } else {
  17128. goto handle_uninterpreted;
  17129. }
  17130. if (input->ExpectAtEnd()) return true;
  17131. break;
  17132. }
  17133. default: {
  17134. handle_uninterpreted:
  17135. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17136. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17137. return true;
  17138. }
  17139. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17140. input, tag, mutable_unknown_fields()));
  17141. break;
  17142. }
  17143. }
  17144. }
  17145. return true;
  17146. #undef DO_
  17147. }
  17148. void CMsgGCItemPreviewItemBoughtNotification::SerializeWithCachedSizes(
  17149. ::google::protobuf::io::CodedOutputStream* output) const {
  17150. // optional uint32 item_def_index = 1;
  17151. if (has_item_def_index()) {
  17152. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->item_def_index(), output);
  17153. }
  17154. if (!unknown_fields().empty()) {
  17155. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17156. unknown_fields(), output);
  17157. }
  17158. }
  17159. ::google::protobuf::uint8* CMsgGCItemPreviewItemBoughtNotification::SerializeWithCachedSizesToArray(
  17160. ::google::protobuf::uint8* target) const {
  17161. // optional uint32 item_def_index = 1;
  17162. if (has_item_def_index()) {
  17163. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->item_def_index(), target);
  17164. }
  17165. if (!unknown_fields().empty()) {
  17166. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17167. unknown_fields(), target);
  17168. }
  17169. return target;
  17170. }
  17171. int CMsgGCItemPreviewItemBoughtNotification::ByteSize() const {
  17172. int total_size = 0;
  17173. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17174. // optional uint32 item_def_index = 1;
  17175. if (has_item_def_index()) {
  17176. total_size += 1 +
  17177. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  17178. this->item_def_index());
  17179. }
  17180. }
  17181. if (!unknown_fields().empty()) {
  17182. total_size +=
  17183. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17184. unknown_fields());
  17185. }
  17186. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17187. _cached_size_ = total_size;
  17188. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17189. return total_size;
  17190. }
  17191. void CMsgGCItemPreviewItemBoughtNotification::MergeFrom(const ::google::protobuf::Message& from) {
  17192. GOOGLE_CHECK_NE(&from, this);
  17193. const CMsgGCItemPreviewItemBoughtNotification* source =
  17194. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCItemPreviewItemBoughtNotification*>(
  17195. &from);
  17196. if (source == NULL) {
  17197. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17198. } else {
  17199. MergeFrom(*source);
  17200. }
  17201. }
  17202. void CMsgGCItemPreviewItemBoughtNotification::MergeFrom(const CMsgGCItemPreviewItemBoughtNotification& from) {
  17203. GOOGLE_CHECK_NE(&from, this);
  17204. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17205. if (from.has_item_def_index()) {
  17206. set_item_def_index(from.item_def_index());
  17207. }
  17208. }
  17209. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17210. }
  17211. void CMsgGCItemPreviewItemBoughtNotification::CopyFrom(const ::google::protobuf::Message& from) {
  17212. if (&from == this) return;
  17213. Clear();
  17214. MergeFrom(from);
  17215. }
  17216. void CMsgGCItemPreviewItemBoughtNotification::CopyFrom(const CMsgGCItemPreviewItemBoughtNotification& from) {
  17217. if (&from == this) return;
  17218. Clear();
  17219. MergeFrom(from);
  17220. }
  17221. bool CMsgGCItemPreviewItemBoughtNotification::IsInitialized() const {
  17222. return true;
  17223. }
  17224. void CMsgGCItemPreviewItemBoughtNotification::Swap(CMsgGCItemPreviewItemBoughtNotification* other) {
  17225. if (other != this) {
  17226. std::swap(item_def_index_, other->item_def_index_);
  17227. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17228. _unknown_fields_.Swap(&other->_unknown_fields_);
  17229. std::swap(_cached_size_, other->_cached_size_);
  17230. }
  17231. }
  17232. ::google::protobuf::Metadata CMsgGCItemPreviewItemBoughtNotification::GetMetadata() const {
  17233. protobuf_AssignDescriptorsOnce();
  17234. ::google::protobuf::Metadata metadata;
  17235. metadata.descriptor = CMsgGCItemPreviewItemBoughtNotification_descriptor_;
  17236. metadata.reflection = CMsgGCItemPreviewItemBoughtNotification_reflection_;
  17237. return metadata;
  17238. }
  17239. // ===================================================================
  17240. #ifndef _MSC_VER
  17241. const int CMsgGCStorePurchaseCancel::kTxnIdFieldNumber;
  17242. #endif // !_MSC_VER
  17243. CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel()
  17244. : ::google::protobuf::Message() {
  17245. SharedCtor();
  17246. }
  17247. void CMsgGCStorePurchaseCancel::InitAsDefaultInstance() {
  17248. }
  17249. CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel(const CMsgGCStorePurchaseCancel& from)
  17250. : ::google::protobuf::Message() {
  17251. SharedCtor();
  17252. MergeFrom(from);
  17253. }
  17254. void CMsgGCStorePurchaseCancel::SharedCtor() {
  17255. _cached_size_ = 0;
  17256. txn_id_ = GOOGLE_ULONGLONG(0);
  17257. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17258. }
  17259. CMsgGCStorePurchaseCancel::~CMsgGCStorePurchaseCancel() {
  17260. SharedDtor();
  17261. }
  17262. void CMsgGCStorePurchaseCancel::SharedDtor() {
  17263. if (this != default_instance_) {
  17264. }
  17265. }
  17266. void CMsgGCStorePurchaseCancel::SetCachedSize(int size) const {
  17267. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17268. _cached_size_ = size;
  17269. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17270. }
  17271. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseCancel::descriptor() {
  17272. protobuf_AssignDescriptorsOnce();
  17273. return CMsgGCStorePurchaseCancel_descriptor_;
  17274. }
  17275. const CMsgGCStorePurchaseCancel& CMsgGCStorePurchaseCancel::default_instance() {
  17276. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  17277. return *default_instance_;
  17278. }
  17279. CMsgGCStorePurchaseCancel* CMsgGCStorePurchaseCancel::default_instance_ = NULL;
  17280. CMsgGCStorePurchaseCancel* CMsgGCStorePurchaseCancel::New() const {
  17281. return new CMsgGCStorePurchaseCancel;
  17282. }
  17283. void CMsgGCStorePurchaseCancel::Clear() {
  17284. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17285. txn_id_ = GOOGLE_ULONGLONG(0);
  17286. }
  17287. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17288. mutable_unknown_fields()->Clear();
  17289. }
  17290. bool CMsgGCStorePurchaseCancel::MergePartialFromCodedStream(
  17291. ::google::protobuf::io::CodedInputStream* input) {
  17292. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17293. ::google::protobuf::uint32 tag;
  17294. while ((tag = input->ReadTag()) != 0) {
  17295. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17296. // optional uint64 txn_id = 1;
  17297. case 1: {
  17298. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17299. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17300. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17301. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  17302. input, &txn_id_)));
  17303. set_has_txn_id();
  17304. } else {
  17305. goto handle_uninterpreted;
  17306. }
  17307. if (input->ExpectAtEnd()) return true;
  17308. break;
  17309. }
  17310. default: {
  17311. handle_uninterpreted:
  17312. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17313. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17314. return true;
  17315. }
  17316. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17317. input, tag, mutable_unknown_fields()));
  17318. break;
  17319. }
  17320. }
  17321. }
  17322. return true;
  17323. #undef DO_
  17324. }
  17325. void CMsgGCStorePurchaseCancel::SerializeWithCachedSizes(
  17326. ::google::protobuf::io::CodedOutputStream* output) const {
  17327. // optional uint64 txn_id = 1;
  17328. if (has_txn_id()) {
  17329. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->txn_id(), output);
  17330. }
  17331. if (!unknown_fields().empty()) {
  17332. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17333. unknown_fields(), output);
  17334. }
  17335. }
  17336. ::google::protobuf::uint8* CMsgGCStorePurchaseCancel::SerializeWithCachedSizesToArray(
  17337. ::google::protobuf::uint8* target) const {
  17338. // optional uint64 txn_id = 1;
  17339. if (has_txn_id()) {
  17340. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->txn_id(), target);
  17341. }
  17342. if (!unknown_fields().empty()) {
  17343. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17344. unknown_fields(), target);
  17345. }
  17346. return target;
  17347. }
  17348. int CMsgGCStorePurchaseCancel::ByteSize() const {
  17349. int total_size = 0;
  17350. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17351. // optional uint64 txn_id = 1;
  17352. if (has_txn_id()) {
  17353. total_size += 1 +
  17354. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  17355. this->txn_id());
  17356. }
  17357. }
  17358. if (!unknown_fields().empty()) {
  17359. total_size +=
  17360. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17361. unknown_fields());
  17362. }
  17363. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17364. _cached_size_ = total_size;
  17365. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17366. return total_size;
  17367. }
  17368. void CMsgGCStorePurchaseCancel::MergeFrom(const ::google::protobuf::Message& from) {
  17369. GOOGLE_CHECK_NE(&from, this);
  17370. const CMsgGCStorePurchaseCancel* source =
  17371. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCStorePurchaseCancel*>(
  17372. &from);
  17373. if (source == NULL) {
  17374. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17375. } else {
  17376. MergeFrom(*source);
  17377. }
  17378. }
  17379. void CMsgGCStorePurchaseCancel::MergeFrom(const CMsgGCStorePurchaseCancel& from) {
  17380. GOOGLE_CHECK_NE(&from, this);
  17381. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17382. if (from.has_txn_id()) {
  17383. set_txn_id(from.txn_id());
  17384. }
  17385. }
  17386. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17387. }
  17388. void CMsgGCStorePurchaseCancel::CopyFrom(const ::google::protobuf::Message& from) {
  17389. if (&from == this) return;
  17390. Clear();
  17391. MergeFrom(from);
  17392. }
  17393. void CMsgGCStorePurchaseCancel::CopyFrom(const CMsgGCStorePurchaseCancel& from) {
  17394. if (&from == this) return;
  17395. Clear();
  17396. MergeFrom(from);
  17397. }
  17398. bool CMsgGCStorePurchaseCancel::IsInitialized() const {
  17399. return true;
  17400. }
  17401. void CMsgGCStorePurchaseCancel::Swap(CMsgGCStorePurchaseCancel* other) {
  17402. if (other != this) {
  17403. std::swap(txn_id_, other->txn_id_);
  17404. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17405. _unknown_fields_.Swap(&other->_unknown_fields_);
  17406. std::swap(_cached_size_, other->_cached_size_);
  17407. }
  17408. }
  17409. ::google::protobuf::Metadata CMsgGCStorePurchaseCancel::GetMetadata() const {
  17410. protobuf_AssignDescriptorsOnce();
  17411. ::google::protobuf::Metadata metadata;
  17412. metadata.descriptor = CMsgGCStorePurchaseCancel_descriptor_;
  17413. metadata.reflection = CMsgGCStorePurchaseCancel_reflection_;
  17414. return metadata;
  17415. }
  17416. // ===================================================================
  17417. #ifndef _MSC_VER
  17418. const int CMsgGCStorePurchaseCancelResponse::kResultFieldNumber;
  17419. #endif // !_MSC_VER
  17420. CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse()
  17421. : ::google::protobuf::Message() {
  17422. SharedCtor();
  17423. }
  17424. void CMsgGCStorePurchaseCancelResponse::InitAsDefaultInstance() {
  17425. }
  17426. CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse(const CMsgGCStorePurchaseCancelResponse& from)
  17427. : ::google::protobuf::Message() {
  17428. SharedCtor();
  17429. MergeFrom(from);
  17430. }
  17431. void CMsgGCStorePurchaseCancelResponse::SharedCtor() {
  17432. _cached_size_ = 0;
  17433. result_ = 0u;
  17434. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17435. }
  17436. CMsgGCStorePurchaseCancelResponse::~CMsgGCStorePurchaseCancelResponse() {
  17437. SharedDtor();
  17438. }
  17439. void CMsgGCStorePurchaseCancelResponse::SharedDtor() {
  17440. if (this != default_instance_) {
  17441. }
  17442. }
  17443. void CMsgGCStorePurchaseCancelResponse::SetCachedSize(int size) const {
  17444. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17445. _cached_size_ = size;
  17446. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17447. }
  17448. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseCancelResponse::descriptor() {
  17449. protobuf_AssignDescriptorsOnce();
  17450. return CMsgGCStorePurchaseCancelResponse_descriptor_;
  17451. }
  17452. const CMsgGCStorePurchaseCancelResponse& CMsgGCStorePurchaseCancelResponse::default_instance() {
  17453. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  17454. return *default_instance_;
  17455. }
  17456. CMsgGCStorePurchaseCancelResponse* CMsgGCStorePurchaseCancelResponse::default_instance_ = NULL;
  17457. CMsgGCStorePurchaseCancelResponse* CMsgGCStorePurchaseCancelResponse::New() const {
  17458. return new CMsgGCStorePurchaseCancelResponse;
  17459. }
  17460. void CMsgGCStorePurchaseCancelResponse::Clear() {
  17461. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17462. result_ = 0u;
  17463. }
  17464. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17465. mutable_unknown_fields()->Clear();
  17466. }
  17467. bool CMsgGCStorePurchaseCancelResponse::MergePartialFromCodedStream(
  17468. ::google::protobuf::io::CodedInputStream* input) {
  17469. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17470. ::google::protobuf::uint32 tag;
  17471. while ((tag = input->ReadTag()) != 0) {
  17472. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17473. // optional uint32 result = 1;
  17474. case 1: {
  17475. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17476. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17477. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17478. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17479. input, &result_)));
  17480. set_has_result();
  17481. } else {
  17482. goto handle_uninterpreted;
  17483. }
  17484. if (input->ExpectAtEnd()) return true;
  17485. break;
  17486. }
  17487. default: {
  17488. handle_uninterpreted:
  17489. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17490. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17491. return true;
  17492. }
  17493. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17494. input, tag, mutable_unknown_fields()));
  17495. break;
  17496. }
  17497. }
  17498. }
  17499. return true;
  17500. #undef DO_
  17501. }
  17502. void CMsgGCStorePurchaseCancelResponse::SerializeWithCachedSizes(
  17503. ::google::protobuf::io::CodedOutputStream* output) const {
  17504. // optional uint32 result = 1;
  17505. if (has_result()) {
  17506. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->result(), output);
  17507. }
  17508. if (!unknown_fields().empty()) {
  17509. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17510. unknown_fields(), output);
  17511. }
  17512. }
  17513. ::google::protobuf::uint8* CMsgGCStorePurchaseCancelResponse::SerializeWithCachedSizesToArray(
  17514. ::google::protobuf::uint8* target) const {
  17515. // optional uint32 result = 1;
  17516. if (has_result()) {
  17517. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->result(), target);
  17518. }
  17519. if (!unknown_fields().empty()) {
  17520. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17521. unknown_fields(), target);
  17522. }
  17523. return target;
  17524. }
  17525. int CMsgGCStorePurchaseCancelResponse::ByteSize() const {
  17526. int total_size = 0;
  17527. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17528. // optional uint32 result = 1;
  17529. if (has_result()) {
  17530. total_size += 1 +
  17531. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  17532. this->result());
  17533. }
  17534. }
  17535. if (!unknown_fields().empty()) {
  17536. total_size +=
  17537. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17538. unknown_fields());
  17539. }
  17540. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17541. _cached_size_ = total_size;
  17542. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17543. return total_size;
  17544. }
  17545. void CMsgGCStorePurchaseCancelResponse::MergeFrom(const ::google::protobuf::Message& from) {
  17546. GOOGLE_CHECK_NE(&from, this);
  17547. const CMsgGCStorePurchaseCancelResponse* source =
  17548. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCStorePurchaseCancelResponse*>(
  17549. &from);
  17550. if (source == NULL) {
  17551. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17552. } else {
  17553. MergeFrom(*source);
  17554. }
  17555. }
  17556. void CMsgGCStorePurchaseCancelResponse::MergeFrom(const CMsgGCStorePurchaseCancelResponse& from) {
  17557. GOOGLE_CHECK_NE(&from, this);
  17558. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17559. if (from.has_result()) {
  17560. set_result(from.result());
  17561. }
  17562. }
  17563. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17564. }
  17565. void CMsgGCStorePurchaseCancelResponse::CopyFrom(const ::google::protobuf::Message& from) {
  17566. if (&from == this) return;
  17567. Clear();
  17568. MergeFrom(from);
  17569. }
  17570. void CMsgGCStorePurchaseCancelResponse::CopyFrom(const CMsgGCStorePurchaseCancelResponse& from) {
  17571. if (&from == this) return;
  17572. Clear();
  17573. MergeFrom(from);
  17574. }
  17575. bool CMsgGCStorePurchaseCancelResponse::IsInitialized() const {
  17576. return true;
  17577. }
  17578. void CMsgGCStorePurchaseCancelResponse::Swap(CMsgGCStorePurchaseCancelResponse* other) {
  17579. if (other != this) {
  17580. std::swap(result_, other->result_);
  17581. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17582. _unknown_fields_.Swap(&other->_unknown_fields_);
  17583. std::swap(_cached_size_, other->_cached_size_);
  17584. }
  17585. }
  17586. ::google::protobuf::Metadata CMsgGCStorePurchaseCancelResponse::GetMetadata() const {
  17587. protobuf_AssignDescriptorsOnce();
  17588. ::google::protobuf::Metadata metadata;
  17589. metadata.descriptor = CMsgGCStorePurchaseCancelResponse_descriptor_;
  17590. metadata.reflection = CMsgGCStorePurchaseCancelResponse_reflection_;
  17591. return metadata;
  17592. }
  17593. // ===================================================================
  17594. #ifndef _MSC_VER
  17595. const int CMsgGCStorePurchaseFinalize::kTxnIdFieldNumber;
  17596. #endif // !_MSC_VER
  17597. CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize()
  17598. : ::google::protobuf::Message() {
  17599. SharedCtor();
  17600. }
  17601. void CMsgGCStorePurchaseFinalize::InitAsDefaultInstance() {
  17602. }
  17603. CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize(const CMsgGCStorePurchaseFinalize& from)
  17604. : ::google::protobuf::Message() {
  17605. SharedCtor();
  17606. MergeFrom(from);
  17607. }
  17608. void CMsgGCStorePurchaseFinalize::SharedCtor() {
  17609. _cached_size_ = 0;
  17610. txn_id_ = GOOGLE_ULONGLONG(0);
  17611. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17612. }
  17613. CMsgGCStorePurchaseFinalize::~CMsgGCStorePurchaseFinalize() {
  17614. SharedDtor();
  17615. }
  17616. void CMsgGCStorePurchaseFinalize::SharedDtor() {
  17617. if (this != default_instance_) {
  17618. }
  17619. }
  17620. void CMsgGCStorePurchaseFinalize::SetCachedSize(int size) const {
  17621. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17622. _cached_size_ = size;
  17623. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17624. }
  17625. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseFinalize::descriptor() {
  17626. protobuf_AssignDescriptorsOnce();
  17627. return CMsgGCStorePurchaseFinalize_descriptor_;
  17628. }
  17629. const CMsgGCStorePurchaseFinalize& CMsgGCStorePurchaseFinalize::default_instance() {
  17630. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  17631. return *default_instance_;
  17632. }
  17633. CMsgGCStorePurchaseFinalize* CMsgGCStorePurchaseFinalize::default_instance_ = NULL;
  17634. CMsgGCStorePurchaseFinalize* CMsgGCStorePurchaseFinalize::New() const {
  17635. return new CMsgGCStorePurchaseFinalize;
  17636. }
  17637. void CMsgGCStorePurchaseFinalize::Clear() {
  17638. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17639. txn_id_ = GOOGLE_ULONGLONG(0);
  17640. }
  17641. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17642. mutable_unknown_fields()->Clear();
  17643. }
  17644. bool CMsgGCStorePurchaseFinalize::MergePartialFromCodedStream(
  17645. ::google::protobuf::io::CodedInputStream* input) {
  17646. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17647. ::google::protobuf::uint32 tag;
  17648. while ((tag = input->ReadTag()) != 0) {
  17649. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17650. // optional uint64 txn_id = 1;
  17651. case 1: {
  17652. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17653. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17654. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17655. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  17656. input, &txn_id_)));
  17657. set_has_txn_id();
  17658. } else {
  17659. goto handle_uninterpreted;
  17660. }
  17661. if (input->ExpectAtEnd()) return true;
  17662. break;
  17663. }
  17664. default: {
  17665. handle_uninterpreted:
  17666. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17667. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17668. return true;
  17669. }
  17670. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17671. input, tag, mutable_unknown_fields()));
  17672. break;
  17673. }
  17674. }
  17675. }
  17676. return true;
  17677. #undef DO_
  17678. }
  17679. void CMsgGCStorePurchaseFinalize::SerializeWithCachedSizes(
  17680. ::google::protobuf::io::CodedOutputStream* output) const {
  17681. // optional uint64 txn_id = 1;
  17682. if (has_txn_id()) {
  17683. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->txn_id(), output);
  17684. }
  17685. if (!unknown_fields().empty()) {
  17686. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17687. unknown_fields(), output);
  17688. }
  17689. }
  17690. ::google::protobuf::uint8* CMsgGCStorePurchaseFinalize::SerializeWithCachedSizesToArray(
  17691. ::google::protobuf::uint8* target) const {
  17692. // optional uint64 txn_id = 1;
  17693. if (has_txn_id()) {
  17694. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->txn_id(), target);
  17695. }
  17696. if (!unknown_fields().empty()) {
  17697. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17698. unknown_fields(), target);
  17699. }
  17700. return target;
  17701. }
  17702. int CMsgGCStorePurchaseFinalize::ByteSize() const {
  17703. int total_size = 0;
  17704. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17705. // optional uint64 txn_id = 1;
  17706. if (has_txn_id()) {
  17707. total_size += 1 +
  17708. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  17709. this->txn_id());
  17710. }
  17711. }
  17712. if (!unknown_fields().empty()) {
  17713. total_size +=
  17714. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17715. unknown_fields());
  17716. }
  17717. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17718. _cached_size_ = total_size;
  17719. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17720. return total_size;
  17721. }
  17722. void CMsgGCStorePurchaseFinalize::MergeFrom(const ::google::protobuf::Message& from) {
  17723. GOOGLE_CHECK_NE(&from, this);
  17724. const CMsgGCStorePurchaseFinalize* source =
  17725. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCStorePurchaseFinalize*>(
  17726. &from);
  17727. if (source == NULL) {
  17728. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17729. } else {
  17730. MergeFrom(*source);
  17731. }
  17732. }
  17733. void CMsgGCStorePurchaseFinalize::MergeFrom(const CMsgGCStorePurchaseFinalize& from) {
  17734. GOOGLE_CHECK_NE(&from, this);
  17735. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17736. if (from.has_txn_id()) {
  17737. set_txn_id(from.txn_id());
  17738. }
  17739. }
  17740. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17741. }
  17742. void CMsgGCStorePurchaseFinalize::CopyFrom(const ::google::protobuf::Message& from) {
  17743. if (&from == this) return;
  17744. Clear();
  17745. MergeFrom(from);
  17746. }
  17747. void CMsgGCStorePurchaseFinalize::CopyFrom(const CMsgGCStorePurchaseFinalize& from) {
  17748. if (&from == this) return;
  17749. Clear();
  17750. MergeFrom(from);
  17751. }
  17752. bool CMsgGCStorePurchaseFinalize::IsInitialized() const {
  17753. return true;
  17754. }
  17755. void CMsgGCStorePurchaseFinalize::Swap(CMsgGCStorePurchaseFinalize* other) {
  17756. if (other != this) {
  17757. std::swap(txn_id_, other->txn_id_);
  17758. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17759. _unknown_fields_.Swap(&other->_unknown_fields_);
  17760. std::swap(_cached_size_, other->_cached_size_);
  17761. }
  17762. }
  17763. ::google::protobuf::Metadata CMsgGCStorePurchaseFinalize::GetMetadata() const {
  17764. protobuf_AssignDescriptorsOnce();
  17765. ::google::protobuf::Metadata metadata;
  17766. metadata.descriptor = CMsgGCStorePurchaseFinalize_descriptor_;
  17767. metadata.reflection = CMsgGCStorePurchaseFinalize_reflection_;
  17768. return metadata;
  17769. }
  17770. // ===================================================================
  17771. #ifndef _MSC_VER
  17772. const int CMsgGCStorePurchaseFinalizeResponse::kResultFieldNumber;
  17773. const int CMsgGCStorePurchaseFinalizeResponse::kItemIdsFieldNumber;
  17774. #endif // !_MSC_VER
  17775. CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse()
  17776. : ::google::protobuf::Message() {
  17777. SharedCtor();
  17778. }
  17779. void CMsgGCStorePurchaseFinalizeResponse::InitAsDefaultInstance() {
  17780. }
  17781. CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse(const CMsgGCStorePurchaseFinalizeResponse& from)
  17782. : ::google::protobuf::Message() {
  17783. SharedCtor();
  17784. MergeFrom(from);
  17785. }
  17786. void CMsgGCStorePurchaseFinalizeResponse::SharedCtor() {
  17787. _cached_size_ = 0;
  17788. result_ = 0u;
  17789. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17790. }
  17791. CMsgGCStorePurchaseFinalizeResponse::~CMsgGCStorePurchaseFinalizeResponse() {
  17792. SharedDtor();
  17793. }
  17794. void CMsgGCStorePurchaseFinalizeResponse::SharedDtor() {
  17795. if (this != default_instance_) {
  17796. }
  17797. }
  17798. void CMsgGCStorePurchaseFinalizeResponse::SetCachedSize(int size) const {
  17799. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17800. _cached_size_ = size;
  17801. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17802. }
  17803. const ::google::protobuf::Descriptor* CMsgGCStorePurchaseFinalizeResponse::descriptor() {
  17804. protobuf_AssignDescriptorsOnce();
  17805. return CMsgGCStorePurchaseFinalizeResponse_descriptor_;
  17806. }
  17807. const CMsgGCStorePurchaseFinalizeResponse& CMsgGCStorePurchaseFinalizeResponse::default_instance() {
  17808. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  17809. return *default_instance_;
  17810. }
  17811. CMsgGCStorePurchaseFinalizeResponse* CMsgGCStorePurchaseFinalizeResponse::default_instance_ = NULL;
  17812. CMsgGCStorePurchaseFinalizeResponse* CMsgGCStorePurchaseFinalizeResponse::New() const {
  17813. return new CMsgGCStorePurchaseFinalizeResponse;
  17814. }
  17815. void CMsgGCStorePurchaseFinalizeResponse::Clear() {
  17816. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17817. result_ = 0u;
  17818. }
  17819. item_ids_.Clear();
  17820. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17821. mutable_unknown_fields()->Clear();
  17822. }
  17823. bool CMsgGCStorePurchaseFinalizeResponse::MergePartialFromCodedStream(
  17824. ::google::protobuf::io::CodedInputStream* input) {
  17825. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17826. ::google::protobuf::uint32 tag;
  17827. while ((tag = input->ReadTag()) != 0) {
  17828. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17829. // optional uint32 result = 1;
  17830. case 1: {
  17831. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17832. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17833. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17834. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17835. input, &result_)));
  17836. set_has_result();
  17837. } else {
  17838. goto handle_uninterpreted;
  17839. }
  17840. if (input->ExpectTag(16)) goto parse_item_ids;
  17841. break;
  17842. }
  17843. // repeated uint64 item_ids = 2;
  17844. case 2: {
  17845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17847. parse_item_ids:
  17848. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  17849. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  17850. 1, 16, input, this->mutable_item_ids())));
  17851. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  17852. == ::google::protobuf::internal::WireFormatLite::
  17853. WIRETYPE_LENGTH_DELIMITED) {
  17854. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  17855. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  17856. input, this->mutable_item_ids())));
  17857. } else {
  17858. goto handle_uninterpreted;
  17859. }
  17860. if (input->ExpectTag(16)) goto parse_item_ids;
  17861. if (input->ExpectAtEnd()) return true;
  17862. break;
  17863. }
  17864. default: {
  17865. handle_uninterpreted:
  17866. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17867. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17868. return true;
  17869. }
  17870. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17871. input, tag, mutable_unknown_fields()));
  17872. break;
  17873. }
  17874. }
  17875. }
  17876. return true;
  17877. #undef DO_
  17878. }
  17879. void CMsgGCStorePurchaseFinalizeResponse::SerializeWithCachedSizes(
  17880. ::google::protobuf::io::CodedOutputStream* output) const {
  17881. // optional uint32 result = 1;
  17882. if (has_result()) {
  17883. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->result(), output);
  17884. }
  17885. // repeated uint64 item_ids = 2;
  17886. for (int i = 0; i < this->item_ids_size(); i++) {
  17887. ::google::protobuf::internal::WireFormatLite::WriteUInt64(
  17888. 2, this->item_ids(i), output);
  17889. }
  17890. if (!unknown_fields().empty()) {
  17891. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17892. unknown_fields(), output);
  17893. }
  17894. }
  17895. ::google::protobuf::uint8* CMsgGCStorePurchaseFinalizeResponse::SerializeWithCachedSizesToArray(
  17896. ::google::protobuf::uint8* target) const {
  17897. // optional uint32 result = 1;
  17898. if (has_result()) {
  17899. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->result(), target);
  17900. }
  17901. // repeated uint64 item_ids = 2;
  17902. for (int i = 0; i < this->item_ids_size(); i++) {
  17903. target = ::google::protobuf::internal::WireFormatLite::
  17904. WriteUInt64ToArray(2, this->item_ids(i), target);
  17905. }
  17906. if (!unknown_fields().empty()) {
  17907. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17908. unknown_fields(), target);
  17909. }
  17910. return target;
  17911. }
  17912. int CMsgGCStorePurchaseFinalizeResponse::ByteSize() const {
  17913. int total_size = 0;
  17914. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17915. // optional uint32 result = 1;
  17916. if (has_result()) {
  17917. total_size += 1 +
  17918. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  17919. this->result());
  17920. }
  17921. }
  17922. // repeated uint64 item_ids = 2;
  17923. {
  17924. int data_size = 0;
  17925. for (int i = 0; i < this->item_ids_size(); i++) {
  17926. data_size += ::google::protobuf::internal::WireFormatLite::
  17927. UInt64Size(this->item_ids(i));
  17928. }
  17929. total_size += 1 * this->item_ids_size() + data_size;
  17930. }
  17931. if (!unknown_fields().empty()) {
  17932. total_size +=
  17933. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17934. unknown_fields());
  17935. }
  17936. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17937. _cached_size_ = total_size;
  17938. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17939. return total_size;
  17940. }
  17941. void CMsgGCStorePurchaseFinalizeResponse::MergeFrom(const ::google::protobuf::Message& from) {
  17942. GOOGLE_CHECK_NE(&from, this);
  17943. const CMsgGCStorePurchaseFinalizeResponse* source =
  17944. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCStorePurchaseFinalizeResponse*>(
  17945. &from);
  17946. if (source == NULL) {
  17947. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17948. } else {
  17949. MergeFrom(*source);
  17950. }
  17951. }
  17952. void CMsgGCStorePurchaseFinalizeResponse::MergeFrom(const CMsgGCStorePurchaseFinalizeResponse& from) {
  17953. GOOGLE_CHECK_NE(&from, this);
  17954. item_ids_.MergeFrom(from.item_ids_);
  17955. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17956. if (from.has_result()) {
  17957. set_result(from.result());
  17958. }
  17959. }
  17960. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17961. }
  17962. void CMsgGCStorePurchaseFinalizeResponse::CopyFrom(const ::google::protobuf::Message& from) {
  17963. if (&from == this) return;
  17964. Clear();
  17965. MergeFrom(from);
  17966. }
  17967. void CMsgGCStorePurchaseFinalizeResponse::CopyFrom(const CMsgGCStorePurchaseFinalizeResponse& from) {
  17968. if (&from == this) return;
  17969. Clear();
  17970. MergeFrom(from);
  17971. }
  17972. bool CMsgGCStorePurchaseFinalizeResponse::IsInitialized() const {
  17973. return true;
  17974. }
  17975. void CMsgGCStorePurchaseFinalizeResponse::Swap(CMsgGCStorePurchaseFinalizeResponse* other) {
  17976. if (other != this) {
  17977. std::swap(result_, other->result_);
  17978. item_ids_.Swap(&other->item_ids_);
  17979. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17980. _unknown_fields_.Swap(&other->_unknown_fields_);
  17981. std::swap(_cached_size_, other->_cached_size_);
  17982. }
  17983. }
  17984. ::google::protobuf::Metadata CMsgGCStorePurchaseFinalizeResponse::GetMetadata() const {
  17985. protobuf_AssignDescriptorsOnce();
  17986. ::google::protobuf::Metadata metadata;
  17987. metadata.descriptor = CMsgGCStorePurchaseFinalizeResponse_descriptor_;
  17988. metadata.reflection = CMsgGCStorePurchaseFinalizeResponse_reflection_;
  17989. return metadata;
  17990. }
  17991. // ===================================================================
  17992. #ifndef _MSC_VER
  17993. const int CMsgGCBannedWordListRequest::kBanListGroupIdFieldNumber;
  17994. const int CMsgGCBannedWordListRequest::kWordIdFieldNumber;
  17995. #endif // !_MSC_VER
  17996. CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest()
  17997. : ::google::protobuf::Message() {
  17998. SharedCtor();
  17999. }
  18000. void CMsgGCBannedWordListRequest::InitAsDefaultInstance() {
  18001. }
  18002. CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest(const CMsgGCBannedWordListRequest& from)
  18003. : ::google::protobuf::Message() {
  18004. SharedCtor();
  18005. MergeFrom(from);
  18006. }
  18007. void CMsgGCBannedWordListRequest::SharedCtor() {
  18008. _cached_size_ = 0;
  18009. ban_list_group_id_ = 0u;
  18010. word_id_ = 0u;
  18011. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18012. }
  18013. CMsgGCBannedWordListRequest::~CMsgGCBannedWordListRequest() {
  18014. SharedDtor();
  18015. }
  18016. void CMsgGCBannedWordListRequest::SharedDtor() {
  18017. if (this != default_instance_) {
  18018. }
  18019. }
  18020. void CMsgGCBannedWordListRequest::SetCachedSize(int size) const {
  18021. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18022. _cached_size_ = size;
  18023. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18024. }
  18025. const ::google::protobuf::Descriptor* CMsgGCBannedWordListRequest::descriptor() {
  18026. protobuf_AssignDescriptorsOnce();
  18027. return CMsgGCBannedWordListRequest_descriptor_;
  18028. }
  18029. const CMsgGCBannedWordListRequest& CMsgGCBannedWordListRequest::default_instance() {
  18030. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  18031. return *default_instance_;
  18032. }
  18033. CMsgGCBannedWordListRequest* CMsgGCBannedWordListRequest::default_instance_ = NULL;
  18034. CMsgGCBannedWordListRequest* CMsgGCBannedWordListRequest::New() const {
  18035. return new CMsgGCBannedWordListRequest;
  18036. }
  18037. void CMsgGCBannedWordListRequest::Clear() {
  18038. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18039. ban_list_group_id_ = 0u;
  18040. word_id_ = 0u;
  18041. }
  18042. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18043. mutable_unknown_fields()->Clear();
  18044. }
  18045. bool CMsgGCBannedWordListRequest::MergePartialFromCodedStream(
  18046. ::google::protobuf::io::CodedInputStream* input) {
  18047. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18048. ::google::protobuf::uint32 tag;
  18049. while ((tag = input->ReadTag()) != 0) {
  18050. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18051. // optional uint32 ban_list_group_id = 1;
  18052. case 1: {
  18053. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18054. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18055. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18056. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18057. input, &ban_list_group_id_)));
  18058. set_has_ban_list_group_id();
  18059. } else {
  18060. goto handle_uninterpreted;
  18061. }
  18062. if (input->ExpectTag(16)) goto parse_word_id;
  18063. break;
  18064. }
  18065. // optional uint32 word_id = 2;
  18066. case 2: {
  18067. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18068. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18069. parse_word_id:
  18070. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18071. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18072. input, &word_id_)));
  18073. set_has_word_id();
  18074. } else {
  18075. goto handle_uninterpreted;
  18076. }
  18077. if (input->ExpectAtEnd()) return true;
  18078. break;
  18079. }
  18080. default: {
  18081. handle_uninterpreted:
  18082. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18083. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18084. return true;
  18085. }
  18086. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18087. input, tag, mutable_unknown_fields()));
  18088. break;
  18089. }
  18090. }
  18091. }
  18092. return true;
  18093. #undef DO_
  18094. }
  18095. void CMsgGCBannedWordListRequest::SerializeWithCachedSizes(
  18096. ::google::protobuf::io::CodedOutputStream* output) const {
  18097. // optional uint32 ban_list_group_id = 1;
  18098. if (has_ban_list_group_id()) {
  18099. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->ban_list_group_id(), output);
  18100. }
  18101. // optional uint32 word_id = 2;
  18102. if (has_word_id()) {
  18103. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->word_id(), output);
  18104. }
  18105. if (!unknown_fields().empty()) {
  18106. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18107. unknown_fields(), output);
  18108. }
  18109. }
  18110. ::google::protobuf::uint8* CMsgGCBannedWordListRequest::SerializeWithCachedSizesToArray(
  18111. ::google::protobuf::uint8* target) const {
  18112. // optional uint32 ban_list_group_id = 1;
  18113. if (has_ban_list_group_id()) {
  18114. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->ban_list_group_id(), target);
  18115. }
  18116. // optional uint32 word_id = 2;
  18117. if (has_word_id()) {
  18118. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->word_id(), target);
  18119. }
  18120. if (!unknown_fields().empty()) {
  18121. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18122. unknown_fields(), target);
  18123. }
  18124. return target;
  18125. }
  18126. int CMsgGCBannedWordListRequest::ByteSize() const {
  18127. int total_size = 0;
  18128. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18129. // optional uint32 ban_list_group_id = 1;
  18130. if (has_ban_list_group_id()) {
  18131. total_size += 1 +
  18132. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  18133. this->ban_list_group_id());
  18134. }
  18135. // optional uint32 word_id = 2;
  18136. if (has_word_id()) {
  18137. total_size += 1 +
  18138. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  18139. this->word_id());
  18140. }
  18141. }
  18142. if (!unknown_fields().empty()) {
  18143. total_size +=
  18144. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18145. unknown_fields());
  18146. }
  18147. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18148. _cached_size_ = total_size;
  18149. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18150. return total_size;
  18151. }
  18152. void CMsgGCBannedWordListRequest::MergeFrom(const ::google::protobuf::Message& from) {
  18153. GOOGLE_CHECK_NE(&from, this);
  18154. const CMsgGCBannedWordListRequest* source =
  18155. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCBannedWordListRequest*>(
  18156. &from);
  18157. if (source == NULL) {
  18158. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18159. } else {
  18160. MergeFrom(*source);
  18161. }
  18162. }
  18163. void CMsgGCBannedWordListRequest::MergeFrom(const CMsgGCBannedWordListRequest& from) {
  18164. GOOGLE_CHECK_NE(&from, this);
  18165. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18166. if (from.has_ban_list_group_id()) {
  18167. set_ban_list_group_id(from.ban_list_group_id());
  18168. }
  18169. if (from.has_word_id()) {
  18170. set_word_id(from.word_id());
  18171. }
  18172. }
  18173. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18174. }
  18175. void CMsgGCBannedWordListRequest::CopyFrom(const ::google::protobuf::Message& from) {
  18176. if (&from == this) return;
  18177. Clear();
  18178. MergeFrom(from);
  18179. }
  18180. void CMsgGCBannedWordListRequest::CopyFrom(const CMsgGCBannedWordListRequest& from) {
  18181. if (&from == this) return;
  18182. Clear();
  18183. MergeFrom(from);
  18184. }
  18185. bool CMsgGCBannedWordListRequest::IsInitialized() const {
  18186. return true;
  18187. }
  18188. void CMsgGCBannedWordListRequest::Swap(CMsgGCBannedWordListRequest* other) {
  18189. if (other != this) {
  18190. std::swap(ban_list_group_id_, other->ban_list_group_id_);
  18191. std::swap(word_id_, other->word_id_);
  18192. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18193. _unknown_fields_.Swap(&other->_unknown_fields_);
  18194. std::swap(_cached_size_, other->_cached_size_);
  18195. }
  18196. }
  18197. ::google::protobuf::Metadata CMsgGCBannedWordListRequest::GetMetadata() const {
  18198. protobuf_AssignDescriptorsOnce();
  18199. ::google::protobuf::Metadata metadata;
  18200. metadata.descriptor = CMsgGCBannedWordListRequest_descriptor_;
  18201. metadata.reflection = CMsgGCBannedWordListRequest_reflection_;
  18202. return metadata;
  18203. }
  18204. // ===================================================================
  18205. #ifndef _MSC_VER
  18206. #endif // !_MSC_VER
  18207. CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements()
  18208. : ::google::protobuf::Message() {
  18209. SharedCtor();
  18210. }
  18211. void CMsgGCRequestAnnouncements::InitAsDefaultInstance() {
  18212. }
  18213. CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements(const CMsgGCRequestAnnouncements& from)
  18214. : ::google::protobuf::Message() {
  18215. SharedCtor();
  18216. MergeFrom(from);
  18217. }
  18218. void CMsgGCRequestAnnouncements::SharedCtor() {
  18219. _cached_size_ = 0;
  18220. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18221. }
  18222. CMsgGCRequestAnnouncements::~CMsgGCRequestAnnouncements() {
  18223. SharedDtor();
  18224. }
  18225. void CMsgGCRequestAnnouncements::SharedDtor() {
  18226. if (this != default_instance_) {
  18227. }
  18228. }
  18229. void CMsgGCRequestAnnouncements::SetCachedSize(int size) const {
  18230. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18231. _cached_size_ = size;
  18232. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18233. }
  18234. const ::google::protobuf::Descriptor* CMsgGCRequestAnnouncements::descriptor() {
  18235. protobuf_AssignDescriptorsOnce();
  18236. return CMsgGCRequestAnnouncements_descriptor_;
  18237. }
  18238. const CMsgGCRequestAnnouncements& CMsgGCRequestAnnouncements::default_instance() {
  18239. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  18240. return *default_instance_;
  18241. }
  18242. CMsgGCRequestAnnouncements* CMsgGCRequestAnnouncements::default_instance_ = NULL;
  18243. CMsgGCRequestAnnouncements* CMsgGCRequestAnnouncements::New() const {
  18244. return new CMsgGCRequestAnnouncements;
  18245. }
  18246. void CMsgGCRequestAnnouncements::Clear() {
  18247. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18248. mutable_unknown_fields()->Clear();
  18249. }
  18250. bool CMsgGCRequestAnnouncements::MergePartialFromCodedStream(
  18251. ::google::protobuf::io::CodedInputStream* input) {
  18252. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18253. ::google::protobuf::uint32 tag;
  18254. while ((tag = input->ReadTag()) != 0) {
  18255. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18256. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18257. return true;
  18258. }
  18259. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18260. input, tag, mutable_unknown_fields()));
  18261. }
  18262. return true;
  18263. #undef DO_
  18264. }
  18265. void CMsgGCRequestAnnouncements::SerializeWithCachedSizes(
  18266. ::google::protobuf::io::CodedOutputStream* output) const {
  18267. if (!unknown_fields().empty()) {
  18268. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18269. unknown_fields(), output);
  18270. }
  18271. }
  18272. ::google::protobuf::uint8* CMsgGCRequestAnnouncements::SerializeWithCachedSizesToArray(
  18273. ::google::protobuf::uint8* target) const {
  18274. if (!unknown_fields().empty()) {
  18275. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18276. unknown_fields(), target);
  18277. }
  18278. return target;
  18279. }
  18280. int CMsgGCRequestAnnouncements::ByteSize() const {
  18281. int total_size = 0;
  18282. if (!unknown_fields().empty()) {
  18283. total_size +=
  18284. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18285. unknown_fields());
  18286. }
  18287. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18288. _cached_size_ = total_size;
  18289. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18290. return total_size;
  18291. }
  18292. void CMsgGCRequestAnnouncements::MergeFrom(const ::google::protobuf::Message& from) {
  18293. GOOGLE_CHECK_NE(&from, this);
  18294. const CMsgGCRequestAnnouncements* source =
  18295. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCRequestAnnouncements*>(
  18296. &from);
  18297. if (source == NULL) {
  18298. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18299. } else {
  18300. MergeFrom(*source);
  18301. }
  18302. }
  18303. void CMsgGCRequestAnnouncements::MergeFrom(const CMsgGCRequestAnnouncements& from) {
  18304. GOOGLE_CHECK_NE(&from, this);
  18305. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18306. }
  18307. void CMsgGCRequestAnnouncements::CopyFrom(const ::google::protobuf::Message& from) {
  18308. if (&from == this) return;
  18309. Clear();
  18310. MergeFrom(from);
  18311. }
  18312. void CMsgGCRequestAnnouncements::CopyFrom(const CMsgGCRequestAnnouncements& from) {
  18313. if (&from == this) return;
  18314. Clear();
  18315. MergeFrom(from);
  18316. }
  18317. bool CMsgGCRequestAnnouncements::IsInitialized() const {
  18318. return true;
  18319. }
  18320. void CMsgGCRequestAnnouncements::Swap(CMsgGCRequestAnnouncements* other) {
  18321. if (other != this) {
  18322. _unknown_fields_.Swap(&other->_unknown_fields_);
  18323. std::swap(_cached_size_, other->_cached_size_);
  18324. }
  18325. }
  18326. ::google::protobuf::Metadata CMsgGCRequestAnnouncements::GetMetadata() const {
  18327. protobuf_AssignDescriptorsOnce();
  18328. ::google::protobuf::Metadata metadata;
  18329. metadata.descriptor = CMsgGCRequestAnnouncements_descriptor_;
  18330. metadata.reflection = CMsgGCRequestAnnouncements_reflection_;
  18331. return metadata;
  18332. }
  18333. // ===================================================================
  18334. #ifndef _MSC_VER
  18335. const int CMsgGCRequestAnnouncementsResponse::kAnnouncementTitleFieldNumber;
  18336. const int CMsgGCRequestAnnouncementsResponse::kAnnouncementFieldNumber;
  18337. const int CMsgGCRequestAnnouncementsResponse::kNextmatchTitleFieldNumber;
  18338. const int CMsgGCRequestAnnouncementsResponse::kNextmatchFieldNumber;
  18339. #endif // !_MSC_VER
  18340. CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse()
  18341. : ::google::protobuf::Message() {
  18342. SharedCtor();
  18343. }
  18344. void CMsgGCRequestAnnouncementsResponse::InitAsDefaultInstance() {
  18345. }
  18346. CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse(const CMsgGCRequestAnnouncementsResponse& from)
  18347. : ::google::protobuf::Message() {
  18348. SharedCtor();
  18349. MergeFrom(from);
  18350. }
  18351. void CMsgGCRequestAnnouncementsResponse::SharedCtor() {
  18352. _cached_size_ = 0;
  18353. announcement_title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18354. announcement_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18355. nextmatch_title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18356. nextmatch_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18357. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18358. }
  18359. CMsgGCRequestAnnouncementsResponse::~CMsgGCRequestAnnouncementsResponse() {
  18360. SharedDtor();
  18361. }
  18362. void CMsgGCRequestAnnouncementsResponse::SharedDtor() {
  18363. if (announcement_title_ != &::google::protobuf::internal::kEmptyString) {
  18364. delete announcement_title_;
  18365. }
  18366. if (announcement_ != &::google::protobuf::internal::kEmptyString) {
  18367. delete announcement_;
  18368. }
  18369. if (nextmatch_title_ != &::google::protobuf::internal::kEmptyString) {
  18370. delete nextmatch_title_;
  18371. }
  18372. if (nextmatch_ != &::google::protobuf::internal::kEmptyString) {
  18373. delete nextmatch_;
  18374. }
  18375. if (this != default_instance_) {
  18376. }
  18377. }
  18378. void CMsgGCRequestAnnouncementsResponse::SetCachedSize(int size) const {
  18379. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18380. _cached_size_ = size;
  18381. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18382. }
  18383. const ::google::protobuf::Descriptor* CMsgGCRequestAnnouncementsResponse::descriptor() {
  18384. protobuf_AssignDescriptorsOnce();
  18385. return CMsgGCRequestAnnouncementsResponse_descriptor_;
  18386. }
  18387. const CMsgGCRequestAnnouncementsResponse& CMsgGCRequestAnnouncementsResponse::default_instance() {
  18388. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  18389. return *default_instance_;
  18390. }
  18391. CMsgGCRequestAnnouncementsResponse* CMsgGCRequestAnnouncementsResponse::default_instance_ = NULL;
  18392. CMsgGCRequestAnnouncementsResponse* CMsgGCRequestAnnouncementsResponse::New() const {
  18393. return new CMsgGCRequestAnnouncementsResponse;
  18394. }
  18395. void CMsgGCRequestAnnouncementsResponse::Clear() {
  18396. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18397. if (has_announcement_title()) {
  18398. if (announcement_title_ != &::google::protobuf::internal::kEmptyString) {
  18399. announcement_title_->clear();
  18400. }
  18401. }
  18402. if (has_announcement()) {
  18403. if (announcement_ != &::google::protobuf::internal::kEmptyString) {
  18404. announcement_->clear();
  18405. }
  18406. }
  18407. if (has_nextmatch_title()) {
  18408. if (nextmatch_title_ != &::google::protobuf::internal::kEmptyString) {
  18409. nextmatch_title_->clear();
  18410. }
  18411. }
  18412. if (has_nextmatch()) {
  18413. if (nextmatch_ != &::google::protobuf::internal::kEmptyString) {
  18414. nextmatch_->clear();
  18415. }
  18416. }
  18417. }
  18418. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18419. mutable_unknown_fields()->Clear();
  18420. }
  18421. bool CMsgGCRequestAnnouncementsResponse::MergePartialFromCodedStream(
  18422. ::google::protobuf::io::CodedInputStream* input) {
  18423. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18424. ::google::protobuf::uint32 tag;
  18425. while ((tag = input->ReadTag()) != 0) {
  18426. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18427. // optional string announcement_title = 1;
  18428. case 1: {
  18429. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18430. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18431. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18432. input, this->mutable_announcement_title()));
  18433. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18434. this->announcement_title().data(), this->announcement_title().length(),
  18435. ::google::protobuf::internal::WireFormat::PARSE);
  18436. } else {
  18437. goto handle_uninterpreted;
  18438. }
  18439. if (input->ExpectTag(18)) goto parse_announcement;
  18440. break;
  18441. }
  18442. // optional string announcement = 2;
  18443. case 2: {
  18444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18446. parse_announcement:
  18447. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18448. input, this->mutable_announcement()));
  18449. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18450. this->announcement().data(), this->announcement().length(),
  18451. ::google::protobuf::internal::WireFormat::PARSE);
  18452. } else {
  18453. goto handle_uninterpreted;
  18454. }
  18455. if (input->ExpectTag(26)) goto parse_nextmatch_title;
  18456. break;
  18457. }
  18458. // optional string nextmatch_title = 3;
  18459. case 3: {
  18460. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18461. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18462. parse_nextmatch_title:
  18463. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18464. input, this->mutable_nextmatch_title()));
  18465. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18466. this->nextmatch_title().data(), this->nextmatch_title().length(),
  18467. ::google::protobuf::internal::WireFormat::PARSE);
  18468. } else {
  18469. goto handle_uninterpreted;
  18470. }
  18471. if (input->ExpectTag(34)) goto parse_nextmatch;
  18472. break;
  18473. }
  18474. // optional string nextmatch = 4;
  18475. case 4: {
  18476. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18477. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18478. parse_nextmatch:
  18479. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18480. input, this->mutable_nextmatch()));
  18481. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18482. this->nextmatch().data(), this->nextmatch().length(),
  18483. ::google::protobuf::internal::WireFormat::PARSE);
  18484. } else {
  18485. goto handle_uninterpreted;
  18486. }
  18487. if (input->ExpectAtEnd()) return true;
  18488. break;
  18489. }
  18490. default: {
  18491. handle_uninterpreted:
  18492. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18493. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18494. return true;
  18495. }
  18496. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18497. input, tag, mutable_unknown_fields()));
  18498. break;
  18499. }
  18500. }
  18501. }
  18502. return true;
  18503. #undef DO_
  18504. }
  18505. void CMsgGCRequestAnnouncementsResponse::SerializeWithCachedSizes(
  18506. ::google::protobuf::io::CodedOutputStream* output) const {
  18507. // optional string announcement_title = 1;
  18508. if (has_announcement_title()) {
  18509. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18510. this->announcement_title().data(), this->announcement_title().length(),
  18511. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18512. ::google::protobuf::internal::WireFormatLite::WriteString(
  18513. 1, this->announcement_title(), output);
  18514. }
  18515. // optional string announcement = 2;
  18516. if (has_announcement()) {
  18517. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18518. this->announcement().data(), this->announcement().length(),
  18519. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18520. ::google::protobuf::internal::WireFormatLite::WriteString(
  18521. 2, this->announcement(), output);
  18522. }
  18523. // optional string nextmatch_title = 3;
  18524. if (has_nextmatch_title()) {
  18525. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18526. this->nextmatch_title().data(), this->nextmatch_title().length(),
  18527. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18528. ::google::protobuf::internal::WireFormatLite::WriteString(
  18529. 3, this->nextmatch_title(), output);
  18530. }
  18531. // optional string nextmatch = 4;
  18532. if (has_nextmatch()) {
  18533. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18534. this->nextmatch().data(), this->nextmatch().length(),
  18535. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18536. ::google::protobuf::internal::WireFormatLite::WriteString(
  18537. 4, this->nextmatch(), output);
  18538. }
  18539. if (!unknown_fields().empty()) {
  18540. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18541. unknown_fields(), output);
  18542. }
  18543. }
  18544. ::google::protobuf::uint8* CMsgGCRequestAnnouncementsResponse::SerializeWithCachedSizesToArray(
  18545. ::google::protobuf::uint8* target) const {
  18546. // optional string announcement_title = 1;
  18547. if (has_announcement_title()) {
  18548. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18549. this->announcement_title().data(), this->announcement_title().length(),
  18550. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18551. target =
  18552. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18553. 1, this->announcement_title(), target);
  18554. }
  18555. // optional string announcement = 2;
  18556. if (has_announcement()) {
  18557. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18558. this->announcement().data(), this->announcement().length(),
  18559. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18560. target =
  18561. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18562. 2, this->announcement(), target);
  18563. }
  18564. // optional string nextmatch_title = 3;
  18565. if (has_nextmatch_title()) {
  18566. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18567. this->nextmatch_title().data(), this->nextmatch_title().length(),
  18568. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18569. target =
  18570. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18571. 3, this->nextmatch_title(), target);
  18572. }
  18573. // optional string nextmatch = 4;
  18574. if (has_nextmatch()) {
  18575. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18576. this->nextmatch().data(), this->nextmatch().length(),
  18577. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18578. target =
  18579. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18580. 4, this->nextmatch(), target);
  18581. }
  18582. if (!unknown_fields().empty()) {
  18583. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18584. unknown_fields(), target);
  18585. }
  18586. return target;
  18587. }
  18588. int CMsgGCRequestAnnouncementsResponse::ByteSize() const {
  18589. int total_size = 0;
  18590. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18591. // optional string announcement_title = 1;
  18592. if (has_announcement_title()) {
  18593. total_size += 1 +
  18594. ::google::protobuf::internal::WireFormatLite::StringSize(
  18595. this->announcement_title());
  18596. }
  18597. // optional string announcement = 2;
  18598. if (has_announcement()) {
  18599. total_size += 1 +
  18600. ::google::protobuf::internal::WireFormatLite::StringSize(
  18601. this->announcement());
  18602. }
  18603. // optional string nextmatch_title = 3;
  18604. if (has_nextmatch_title()) {
  18605. total_size += 1 +
  18606. ::google::protobuf::internal::WireFormatLite::StringSize(
  18607. this->nextmatch_title());
  18608. }
  18609. // optional string nextmatch = 4;
  18610. if (has_nextmatch()) {
  18611. total_size += 1 +
  18612. ::google::protobuf::internal::WireFormatLite::StringSize(
  18613. this->nextmatch());
  18614. }
  18615. }
  18616. if (!unknown_fields().empty()) {
  18617. total_size +=
  18618. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18619. unknown_fields());
  18620. }
  18621. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18622. _cached_size_ = total_size;
  18623. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18624. return total_size;
  18625. }
  18626. void CMsgGCRequestAnnouncementsResponse::MergeFrom(const ::google::protobuf::Message& from) {
  18627. GOOGLE_CHECK_NE(&from, this);
  18628. const CMsgGCRequestAnnouncementsResponse* source =
  18629. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCRequestAnnouncementsResponse*>(
  18630. &from);
  18631. if (source == NULL) {
  18632. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18633. } else {
  18634. MergeFrom(*source);
  18635. }
  18636. }
  18637. void CMsgGCRequestAnnouncementsResponse::MergeFrom(const CMsgGCRequestAnnouncementsResponse& from) {
  18638. GOOGLE_CHECK_NE(&from, this);
  18639. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18640. if (from.has_announcement_title()) {
  18641. set_announcement_title(from.announcement_title());
  18642. }
  18643. if (from.has_announcement()) {
  18644. set_announcement(from.announcement());
  18645. }
  18646. if (from.has_nextmatch_title()) {
  18647. set_nextmatch_title(from.nextmatch_title());
  18648. }
  18649. if (from.has_nextmatch()) {
  18650. set_nextmatch(from.nextmatch());
  18651. }
  18652. }
  18653. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18654. }
  18655. void CMsgGCRequestAnnouncementsResponse::CopyFrom(const ::google::protobuf::Message& from) {
  18656. if (&from == this) return;
  18657. Clear();
  18658. MergeFrom(from);
  18659. }
  18660. void CMsgGCRequestAnnouncementsResponse::CopyFrom(const CMsgGCRequestAnnouncementsResponse& from) {
  18661. if (&from == this) return;
  18662. Clear();
  18663. MergeFrom(from);
  18664. }
  18665. bool CMsgGCRequestAnnouncementsResponse::IsInitialized() const {
  18666. return true;
  18667. }
  18668. void CMsgGCRequestAnnouncementsResponse::Swap(CMsgGCRequestAnnouncementsResponse* other) {
  18669. if (other != this) {
  18670. std::swap(announcement_title_, other->announcement_title_);
  18671. std::swap(announcement_, other->announcement_);
  18672. std::swap(nextmatch_title_, other->nextmatch_title_);
  18673. std::swap(nextmatch_, other->nextmatch_);
  18674. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18675. _unknown_fields_.Swap(&other->_unknown_fields_);
  18676. std::swap(_cached_size_, other->_cached_size_);
  18677. }
  18678. }
  18679. ::google::protobuf::Metadata CMsgGCRequestAnnouncementsResponse::GetMetadata() const {
  18680. protobuf_AssignDescriptorsOnce();
  18681. ::google::protobuf::Metadata metadata;
  18682. metadata.descriptor = CMsgGCRequestAnnouncementsResponse_descriptor_;
  18683. metadata.reflection = CMsgGCRequestAnnouncementsResponse_reflection_;
  18684. return metadata;
  18685. }
  18686. // ===================================================================
  18687. #ifndef _MSC_VER
  18688. const int CMsgGCBannedWord::kWordIdFieldNumber;
  18689. const int CMsgGCBannedWord::kWordTypeFieldNumber;
  18690. const int CMsgGCBannedWord::kWordFieldNumber;
  18691. #endif // !_MSC_VER
  18692. CMsgGCBannedWord::CMsgGCBannedWord()
  18693. : ::google::protobuf::Message() {
  18694. SharedCtor();
  18695. }
  18696. void CMsgGCBannedWord::InitAsDefaultInstance() {
  18697. }
  18698. CMsgGCBannedWord::CMsgGCBannedWord(const CMsgGCBannedWord& from)
  18699. : ::google::protobuf::Message() {
  18700. SharedCtor();
  18701. MergeFrom(from);
  18702. }
  18703. void CMsgGCBannedWord::SharedCtor() {
  18704. _cached_size_ = 0;
  18705. word_id_ = 0u;
  18706. word_type_ = 0;
  18707. word_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  18708. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18709. }
  18710. CMsgGCBannedWord::~CMsgGCBannedWord() {
  18711. SharedDtor();
  18712. }
  18713. void CMsgGCBannedWord::SharedDtor() {
  18714. if (word_ != &::google::protobuf::internal::kEmptyString) {
  18715. delete word_;
  18716. }
  18717. if (this != default_instance_) {
  18718. }
  18719. }
  18720. void CMsgGCBannedWord::SetCachedSize(int size) const {
  18721. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18722. _cached_size_ = size;
  18723. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18724. }
  18725. const ::google::protobuf::Descriptor* CMsgGCBannedWord::descriptor() {
  18726. protobuf_AssignDescriptorsOnce();
  18727. return CMsgGCBannedWord_descriptor_;
  18728. }
  18729. const CMsgGCBannedWord& CMsgGCBannedWord::default_instance() {
  18730. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  18731. return *default_instance_;
  18732. }
  18733. CMsgGCBannedWord* CMsgGCBannedWord::default_instance_ = NULL;
  18734. CMsgGCBannedWord* CMsgGCBannedWord::New() const {
  18735. return new CMsgGCBannedWord;
  18736. }
  18737. void CMsgGCBannedWord::Clear() {
  18738. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18739. word_id_ = 0u;
  18740. word_type_ = 0;
  18741. if (has_word()) {
  18742. if (word_ != &::google::protobuf::internal::kEmptyString) {
  18743. word_->clear();
  18744. }
  18745. }
  18746. }
  18747. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18748. mutable_unknown_fields()->Clear();
  18749. }
  18750. bool CMsgGCBannedWord::MergePartialFromCodedStream(
  18751. ::google::protobuf::io::CodedInputStream* input) {
  18752. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18753. ::google::protobuf::uint32 tag;
  18754. while ((tag = input->ReadTag()) != 0) {
  18755. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18756. // optional uint32 word_id = 1;
  18757. case 1: {
  18758. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18759. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18760. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18761. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18762. input, &word_id_)));
  18763. set_has_word_id();
  18764. } else {
  18765. goto handle_uninterpreted;
  18766. }
  18767. if (input->ExpectTag(16)) goto parse_word_type;
  18768. break;
  18769. }
  18770. // optional .GC_BannedWordType word_type = 2;
  18771. case 2: {
  18772. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18773. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18774. parse_word_type:
  18775. int value;
  18776. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18777. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18778. input, &value)));
  18779. if (::GC_BannedWordType_IsValid(value)) {
  18780. set_word_type(static_cast< ::GC_BannedWordType >(value));
  18781. } else {
  18782. mutable_unknown_fields()->AddVarint(2, value);
  18783. }
  18784. } else {
  18785. goto handle_uninterpreted;
  18786. }
  18787. if (input->ExpectTag(26)) goto parse_word;
  18788. break;
  18789. }
  18790. // optional string word = 3;
  18791. case 3: {
  18792. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18793. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18794. parse_word:
  18795. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18796. input, this->mutable_word()));
  18797. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18798. this->word().data(), this->word().length(),
  18799. ::google::protobuf::internal::WireFormat::PARSE);
  18800. } else {
  18801. goto handle_uninterpreted;
  18802. }
  18803. if (input->ExpectAtEnd()) return true;
  18804. break;
  18805. }
  18806. default: {
  18807. handle_uninterpreted:
  18808. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18809. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18810. return true;
  18811. }
  18812. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18813. input, tag, mutable_unknown_fields()));
  18814. break;
  18815. }
  18816. }
  18817. }
  18818. return true;
  18819. #undef DO_
  18820. }
  18821. void CMsgGCBannedWord::SerializeWithCachedSizes(
  18822. ::google::protobuf::io::CodedOutputStream* output) const {
  18823. // optional uint32 word_id = 1;
  18824. if (has_word_id()) {
  18825. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->word_id(), output);
  18826. }
  18827. // optional .GC_BannedWordType word_type = 2;
  18828. if (has_word_type()) {
  18829. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18830. 2, this->word_type(), output);
  18831. }
  18832. // optional string word = 3;
  18833. if (has_word()) {
  18834. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18835. this->word().data(), this->word().length(),
  18836. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18837. ::google::protobuf::internal::WireFormatLite::WriteString(
  18838. 3, this->word(), output);
  18839. }
  18840. if (!unknown_fields().empty()) {
  18841. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18842. unknown_fields(), output);
  18843. }
  18844. }
  18845. ::google::protobuf::uint8* CMsgGCBannedWord::SerializeWithCachedSizesToArray(
  18846. ::google::protobuf::uint8* target) const {
  18847. // optional uint32 word_id = 1;
  18848. if (has_word_id()) {
  18849. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->word_id(), target);
  18850. }
  18851. // optional .GC_BannedWordType word_type = 2;
  18852. if (has_word_type()) {
  18853. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18854. 2, this->word_type(), target);
  18855. }
  18856. // optional string word = 3;
  18857. if (has_word()) {
  18858. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  18859. this->word().data(), this->word().length(),
  18860. ::google::protobuf::internal::WireFormat::SERIALIZE);
  18861. target =
  18862. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18863. 3, this->word(), target);
  18864. }
  18865. if (!unknown_fields().empty()) {
  18866. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18867. unknown_fields(), target);
  18868. }
  18869. return target;
  18870. }
  18871. int CMsgGCBannedWord::ByteSize() const {
  18872. int total_size = 0;
  18873. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18874. // optional uint32 word_id = 1;
  18875. if (has_word_id()) {
  18876. total_size += 1 +
  18877. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  18878. this->word_id());
  18879. }
  18880. // optional .GC_BannedWordType word_type = 2;
  18881. if (has_word_type()) {
  18882. total_size += 1 +
  18883. ::google::protobuf::internal::WireFormatLite::EnumSize(this->word_type());
  18884. }
  18885. // optional string word = 3;
  18886. if (has_word()) {
  18887. total_size += 1 +
  18888. ::google::protobuf::internal::WireFormatLite::StringSize(
  18889. this->word());
  18890. }
  18891. }
  18892. if (!unknown_fields().empty()) {
  18893. total_size +=
  18894. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18895. unknown_fields());
  18896. }
  18897. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18898. _cached_size_ = total_size;
  18899. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18900. return total_size;
  18901. }
  18902. void CMsgGCBannedWord::MergeFrom(const ::google::protobuf::Message& from) {
  18903. GOOGLE_CHECK_NE(&from, this);
  18904. const CMsgGCBannedWord* source =
  18905. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCBannedWord*>(
  18906. &from);
  18907. if (source == NULL) {
  18908. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18909. } else {
  18910. MergeFrom(*source);
  18911. }
  18912. }
  18913. void CMsgGCBannedWord::MergeFrom(const CMsgGCBannedWord& from) {
  18914. GOOGLE_CHECK_NE(&from, this);
  18915. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18916. if (from.has_word_id()) {
  18917. set_word_id(from.word_id());
  18918. }
  18919. if (from.has_word_type()) {
  18920. set_word_type(from.word_type());
  18921. }
  18922. if (from.has_word()) {
  18923. set_word(from.word());
  18924. }
  18925. }
  18926. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18927. }
  18928. void CMsgGCBannedWord::CopyFrom(const ::google::protobuf::Message& from) {
  18929. if (&from == this) return;
  18930. Clear();
  18931. MergeFrom(from);
  18932. }
  18933. void CMsgGCBannedWord::CopyFrom(const CMsgGCBannedWord& from) {
  18934. if (&from == this) return;
  18935. Clear();
  18936. MergeFrom(from);
  18937. }
  18938. bool CMsgGCBannedWord::IsInitialized() const {
  18939. return true;
  18940. }
  18941. void CMsgGCBannedWord::Swap(CMsgGCBannedWord* other) {
  18942. if (other != this) {
  18943. std::swap(word_id_, other->word_id_);
  18944. std::swap(word_type_, other->word_type_);
  18945. std::swap(word_, other->word_);
  18946. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18947. _unknown_fields_.Swap(&other->_unknown_fields_);
  18948. std::swap(_cached_size_, other->_cached_size_);
  18949. }
  18950. }
  18951. ::google::protobuf::Metadata CMsgGCBannedWord::GetMetadata() const {
  18952. protobuf_AssignDescriptorsOnce();
  18953. ::google::protobuf::Metadata metadata;
  18954. metadata.descriptor = CMsgGCBannedWord_descriptor_;
  18955. metadata.reflection = CMsgGCBannedWord_reflection_;
  18956. return metadata;
  18957. }
  18958. // ===================================================================
  18959. #ifndef _MSC_VER
  18960. const int CMsgGCBannedWordListResponse::kBanListGroupIdFieldNumber;
  18961. const int CMsgGCBannedWordListResponse::kWordListFieldNumber;
  18962. #endif // !_MSC_VER
  18963. CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse()
  18964. : ::google::protobuf::Message() {
  18965. SharedCtor();
  18966. }
  18967. void CMsgGCBannedWordListResponse::InitAsDefaultInstance() {
  18968. }
  18969. CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse(const CMsgGCBannedWordListResponse& from)
  18970. : ::google::protobuf::Message() {
  18971. SharedCtor();
  18972. MergeFrom(from);
  18973. }
  18974. void CMsgGCBannedWordListResponse::SharedCtor() {
  18975. _cached_size_ = 0;
  18976. ban_list_group_id_ = 0u;
  18977. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18978. }
  18979. CMsgGCBannedWordListResponse::~CMsgGCBannedWordListResponse() {
  18980. SharedDtor();
  18981. }
  18982. void CMsgGCBannedWordListResponse::SharedDtor() {
  18983. if (this != default_instance_) {
  18984. }
  18985. }
  18986. void CMsgGCBannedWordListResponse::SetCachedSize(int size) const {
  18987. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18988. _cached_size_ = size;
  18989. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18990. }
  18991. const ::google::protobuf::Descriptor* CMsgGCBannedWordListResponse::descriptor() {
  18992. protobuf_AssignDescriptorsOnce();
  18993. return CMsgGCBannedWordListResponse_descriptor_;
  18994. }
  18995. const CMsgGCBannedWordListResponse& CMsgGCBannedWordListResponse::default_instance() {
  18996. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  18997. return *default_instance_;
  18998. }
  18999. CMsgGCBannedWordListResponse* CMsgGCBannedWordListResponse::default_instance_ = NULL;
  19000. CMsgGCBannedWordListResponse* CMsgGCBannedWordListResponse::New() const {
  19001. return new CMsgGCBannedWordListResponse;
  19002. }
  19003. void CMsgGCBannedWordListResponse::Clear() {
  19004. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19005. ban_list_group_id_ = 0u;
  19006. }
  19007. word_list_.Clear();
  19008. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19009. mutable_unknown_fields()->Clear();
  19010. }
  19011. bool CMsgGCBannedWordListResponse::MergePartialFromCodedStream(
  19012. ::google::protobuf::io::CodedInputStream* input) {
  19013. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19014. ::google::protobuf::uint32 tag;
  19015. while ((tag = input->ReadTag()) != 0) {
  19016. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19017. // optional uint32 ban_list_group_id = 1;
  19018. case 1: {
  19019. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19020. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19021. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19022. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19023. input, &ban_list_group_id_)));
  19024. set_has_ban_list_group_id();
  19025. } else {
  19026. goto handle_uninterpreted;
  19027. }
  19028. if (input->ExpectTag(18)) goto parse_word_list;
  19029. break;
  19030. }
  19031. // repeated .CMsgGCBannedWord word_list = 2;
  19032. case 2: {
  19033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19035. parse_word_list:
  19036. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19037. input, add_word_list()));
  19038. } else {
  19039. goto handle_uninterpreted;
  19040. }
  19041. if (input->ExpectTag(18)) goto parse_word_list;
  19042. if (input->ExpectAtEnd()) return true;
  19043. break;
  19044. }
  19045. default: {
  19046. handle_uninterpreted:
  19047. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19048. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19049. return true;
  19050. }
  19051. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19052. input, tag, mutable_unknown_fields()));
  19053. break;
  19054. }
  19055. }
  19056. }
  19057. return true;
  19058. #undef DO_
  19059. }
  19060. void CMsgGCBannedWordListResponse::SerializeWithCachedSizes(
  19061. ::google::protobuf::io::CodedOutputStream* output) const {
  19062. // optional uint32 ban_list_group_id = 1;
  19063. if (has_ban_list_group_id()) {
  19064. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->ban_list_group_id(), output);
  19065. }
  19066. // repeated .CMsgGCBannedWord word_list = 2;
  19067. for (int i = 0; i < this->word_list_size(); i++) {
  19068. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19069. 2, this->word_list(i), output);
  19070. }
  19071. if (!unknown_fields().empty()) {
  19072. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19073. unknown_fields(), output);
  19074. }
  19075. }
  19076. ::google::protobuf::uint8* CMsgGCBannedWordListResponse::SerializeWithCachedSizesToArray(
  19077. ::google::protobuf::uint8* target) const {
  19078. // optional uint32 ban_list_group_id = 1;
  19079. if (has_ban_list_group_id()) {
  19080. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->ban_list_group_id(), target);
  19081. }
  19082. // repeated .CMsgGCBannedWord word_list = 2;
  19083. for (int i = 0; i < this->word_list_size(); i++) {
  19084. target = ::google::protobuf::internal::WireFormatLite::
  19085. WriteMessageNoVirtualToArray(
  19086. 2, this->word_list(i), target);
  19087. }
  19088. if (!unknown_fields().empty()) {
  19089. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19090. unknown_fields(), target);
  19091. }
  19092. return target;
  19093. }
  19094. int CMsgGCBannedWordListResponse::ByteSize() const {
  19095. int total_size = 0;
  19096. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19097. // optional uint32 ban_list_group_id = 1;
  19098. if (has_ban_list_group_id()) {
  19099. total_size += 1 +
  19100. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19101. this->ban_list_group_id());
  19102. }
  19103. }
  19104. // repeated .CMsgGCBannedWord word_list = 2;
  19105. total_size += 1 * this->word_list_size();
  19106. for (int i = 0; i < this->word_list_size(); i++) {
  19107. total_size +=
  19108. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19109. this->word_list(i));
  19110. }
  19111. if (!unknown_fields().empty()) {
  19112. total_size +=
  19113. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19114. unknown_fields());
  19115. }
  19116. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19117. _cached_size_ = total_size;
  19118. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19119. return total_size;
  19120. }
  19121. void CMsgGCBannedWordListResponse::MergeFrom(const ::google::protobuf::Message& from) {
  19122. GOOGLE_CHECK_NE(&from, this);
  19123. const CMsgGCBannedWordListResponse* source =
  19124. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCBannedWordListResponse*>(
  19125. &from);
  19126. if (source == NULL) {
  19127. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19128. } else {
  19129. MergeFrom(*source);
  19130. }
  19131. }
  19132. void CMsgGCBannedWordListResponse::MergeFrom(const CMsgGCBannedWordListResponse& from) {
  19133. GOOGLE_CHECK_NE(&from, this);
  19134. word_list_.MergeFrom(from.word_list_);
  19135. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19136. if (from.has_ban_list_group_id()) {
  19137. set_ban_list_group_id(from.ban_list_group_id());
  19138. }
  19139. }
  19140. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19141. }
  19142. void CMsgGCBannedWordListResponse::CopyFrom(const ::google::protobuf::Message& from) {
  19143. if (&from == this) return;
  19144. Clear();
  19145. MergeFrom(from);
  19146. }
  19147. void CMsgGCBannedWordListResponse::CopyFrom(const CMsgGCBannedWordListResponse& from) {
  19148. if (&from == this) return;
  19149. Clear();
  19150. MergeFrom(from);
  19151. }
  19152. bool CMsgGCBannedWordListResponse::IsInitialized() const {
  19153. return true;
  19154. }
  19155. void CMsgGCBannedWordListResponse::Swap(CMsgGCBannedWordListResponse* other) {
  19156. if (other != this) {
  19157. std::swap(ban_list_group_id_, other->ban_list_group_id_);
  19158. word_list_.Swap(&other->word_list_);
  19159. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19160. _unknown_fields_.Swap(&other->_unknown_fields_);
  19161. std::swap(_cached_size_, other->_cached_size_);
  19162. }
  19163. }
  19164. ::google::protobuf::Metadata CMsgGCBannedWordListResponse::GetMetadata() const {
  19165. protobuf_AssignDescriptorsOnce();
  19166. ::google::protobuf::Metadata metadata;
  19167. metadata.descriptor = CMsgGCBannedWordListResponse_descriptor_;
  19168. metadata.reflection = CMsgGCBannedWordListResponse_reflection_;
  19169. return metadata;
  19170. }
  19171. // ===================================================================
  19172. #ifndef _MSC_VER
  19173. const int CMsgGCToGCBannedWordListBroadcast::kBroadcastFieldNumber;
  19174. #endif // !_MSC_VER
  19175. CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast()
  19176. : ::google::protobuf::Message() {
  19177. SharedCtor();
  19178. }
  19179. void CMsgGCToGCBannedWordListBroadcast::InitAsDefaultInstance() {
  19180. broadcast_ = const_cast< ::CMsgGCBannedWordListResponse*>(&::CMsgGCBannedWordListResponse::default_instance());
  19181. }
  19182. CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast(const CMsgGCToGCBannedWordListBroadcast& from)
  19183. : ::google::protobuf::Message() {
  19184. SharedCtor();
  19185. MergeFrom(from);
  19186. }
  19187. void CMsgGCToGCBannedWordListBroadcast::SharedCtor() {
  19188. _cached_size_ = 0;
  19189. broadcast_ = NULL;
  19190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19191. }
  19192. CMsgGCToGCBannedWordListBroadcast::~CMsgGCToGCBannedWordListBroadcast() {
  19193. SharedDtor();
  19194. }
  19195. void CMsgGCToGCBannedWordListBroadcast::SharedDtor() {
  19196. if (this != default_instance_) {
  19197. delete broadcast_;
  19198. }
  19199. }
  19200. void CMsgGCToGCBannedWordListBroadcast::SetCachedSize(int size) const {
  19201. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19202. _cached_size_ = size;
  19203. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19204. }
  19205. const ::google::protobuf::Descriptor* CMsgGCToGCBannedWordListBroadcast::descriptor() {
  19206. protobuf_AssignDescriptorsOnce();
  19207. return CMsgGCToGCBannedWordListBroadcast_descriptor_;
  19208. }
  19209. const CMsgGCToGCBannedWordListBroadcast& CMsgGCToGCBannedWordListBroadcast::default_instance() {
  19210. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  19211. return *default_instance_;
  19212. }
  19213. CMsgGCToGCBannedWordListBroadcast* CMsgGCToGCBannedWordListBroadcast::default_instance_ = NULL;
  19214. CMsgGCToGCBannedWordListBroadcast* CMsgGCToGCBannedWordListBroadcast::New() const {
  19215. return new CMsgGCToGCBannedWordListBroadcast;
  19216. }
  19217. void CMsgGCToGCBannedWordListBroadcast::Clear() {
  19218. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19219. if (has_broadcast()) {
  19220. if (broadcast_ != NULL) broadcast_->::CMsgGCBannedWordListResponse::Clear();
  19221. }
  19222. }
  19223. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19224. mutable_unknown_fields()->Clear();
  19225. }
  19226. bool CMsgGCToGCBannedWordListBroadcast::MergePartialFromCodedStream(
  19227. ::google::protobuf::io::CodedInputStream* input) {
  19228. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19229. ::google::protobuf::uint32 tag;
  19230. while ((tag = input->ReadTag()) != 0) {
  19231. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19232. // optional .CMsgGCBannedWordListResponse broadcast = 1;
  19233. case 1: {
  19234. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19235. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19236. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19237. input, mutable_broadcast()));
  19238. } else {
  19239. goto handle_uninterpreted;
  19240. }
  19241. if (input->ExpectAtEnd()) return true;
  19242. break;
  19243. }
  19244. default: {
  19245. handle_uninterpreted:
  19246. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19247. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19248. return true;
  19249. }
  19250. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19251. input, tag, mutable_unknown_fields()));
  19252. break;
  19253. }
  19254. }
  19255. }
  19256. return true;
  19257. #undef DO_
  19258. }
  19259. void CMsgGCToGCBannedWordListBroadcast::SerializeWithCachedSizes(
  19260. ::google::protobuf::io::CodedOutputStream* output) const {
  19261. // optional .CMsgGCBannedWordListResponse broadcast = 1;
  19262. if (has_broadcast()) {
  19263. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19264. 1, this->broadcast(), output);
  19265. }
  19266. if (!unknown_fields().empty()) {
  19267. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19268. unknown_fields(), output);
  19269. }
  19270. }
  19271. ::google::protobuf::uint8* CMsgGCToGCBannedWordListBroadcast::SerializeWithCachedSizesToArray(
  19272. ::google::protobuf::uint8* target) const {
  19273. // optional .CMsgGCBannedWordListResponse broadcast = 1;
  19274. if (has_broadcast()) {
  19275. target = ::google::protobuf::internal::WireFormatLite::
  19276. WriteMessageNoVirtualToArray(
  19277. 1, this->broadcast(), target);
  19278. }
  19279. if (!unknown_fields().empty()) {
  19280. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19281. unknown_fields(), target);
  19282. }
  19283. return target;
  19284. }
  19285. int CMsgGCToGCBannedWordListBroadcast::ByteSize() const {
  19286. int total_size = 0;
  19287. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19288. // optional .CMsgGCBannedWordListResponse broadcast = 1;
  19289. if (has_broadcast()) {
  19290. total_size += 1 +
  19291. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19292. this->broadcast());
  19293. }
  19294. }
  19295. if (!unknown_fields().empty()) {
  19296. total_size +=
  19297. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19298. unknown_fields());
  19299. }
  19300. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19301. _cached_size_ = total_size;
  19302. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19303. return total_size;
  19304. }
  19305. void CMsgGCToGCBannedWordListBroadcast::MergeFrom(const ::google::protobuf::Message& from) {
  19306. GOOGLE_CHECK_NE(&from, this);
  19307. const CMsgGCToGCBannedWordListBroadcast* source =
  19308. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCBannedWordListBroadcast*>(
  19309. &from);
  19310. if (source == NULL) {
  19311. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19312. } else {
  19313. MergeFrom(*source);
  19314. }
  19315. }
  19316. void CMsgGCToGCBannedWordListBroadcast::MergeFrom(const CMsgGCToGCBannedWordListBroadcast& from) {
  19317. GOOGLE_CHECK_NE(&from, this);
  19318. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19319. if (from.has_broadcast()) {
  19320. mutable_broadcast()->::CMsgGCBannedWordListResponse::MergeFrom(from.broadcast());
  19321. }
  19322. }
  19323. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19324. }
  19325. void CMsgGCToGCBannedWordListBroadcast::CopyFrom(const ::google::protobuf::Message& from) {
  19326. if (&from == this) return;
  19327. Clear();
  19328. MergeFrom(from);
  19329. }
  19330. void CMsgGCToGCBannedWordListBroadcast::CopyFrom(const CMsgGCToGCBannedWordListBroadcast& from) {
  19331. if (&from == this) return;
  19332. Clear();
  19333. MergeFrom(from);
  19334. }
  19335. bool CMsgGCToGCBannedWordListBroadcast::IsInitialized() const {
  19336. return true;
  19337. }
  19338. void CMsgGCToGCBannedWordListBroadcast::Swap(CMsgGCToGCBannedWordListBroadcast* other) {
  19339. if (other != this) {
  19340. std::swap(broadcast_, other->broadcast_);
  19341. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19342. _unknown_fields_.Swap(&other->_unknown_fields_);
  19343. std::swap(_cached_size_, other->_cached_size_);
  19344. }
  19345. }
  19346. ::google::protobuf::Metadata CMsgGCToGCBannedWordListBroadcast::GetMetadata() const {
  19347. protobuf_AssignDescriptorsOnce();
  19348. ::google::protobuf::Metadata metadata;
  19349. metadata.descriptor = CMsgGCToGCBannedWordListBroadcast_descriptor_;
  19350. metadata.reflection = CMsgGCToGCBannedWordListBroadcast_reflection_;
  19351. return metadata;
  19352. }
  19353. // ===================================================================
  19354. #ifndef _MSC_VER
  19355. const int CMsgGCToGCBannedWordListUpdated::kGroupIdFieldNumber;
  19356. #endif // !_MSC_VER
  19357. CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated()
  19358. : ::google::protobuf::Message() {
  19359. SharedCtor();
  19360. }
  19361. void CMsgGCToGCBannedWordListUpdated::InitAsDefaultInstance() {
  19362. }
  19363. CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated(const CMsgGCToGCBannedWordListUpdated& from)
  19364. : ::google::protobuf::Message() {
  19365. SharedCtor();
  19366. MergeFrom(from);
  19367. }
  19368. void CMsgGCToGCBannedWordListUpdated::SharedCtor() {
  19369. _cached_size_ = 0;
  19370. group_id_ = 0u;
  19371. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19372. }
  19373. CMsgGCToGCBannedWordListUpdated::~CMsgGCToGCBannedWordListUpdated() {
  19374. SharedDtor();
  19375. }
  19376. void CMsgGCToGCBannedWordListUpdated::SharedDtor() {
  19377. if (this != default_instance_) {
  19378. }
  19379. }
  19380. void CMsgGCToGCBannedWordListUpdated::SetCachedSize(int size) const {
  19381. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19382. _cached_size_ = size;
  19383. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19384. }
  19385. const ::google::protobuf::Descriptor* CMsgGCToGCBannedWordListUpdated::descriptor() {
  19386. protobuf_AssignDescriptorsOnce();
  19387. return CMsgGCToGCBannedWordListUpdated_descriptor_;
  19388. }
  19389. const CMsgGCToGCBannedWordListUpdated& CMsgGCToGCBannedWordListUpdated::default_instance() {
  19390. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  19391. return *default_instance_;
  19392. }
  19393. CMsgGCToGCBannedWordListUpdated* CMsgGCToGCBannedWordListUpdated::default_instance_ = NULL;
  19394. CMsgGCToGCBannedWordListUpdated* CMsgGCToGCBannedWordListUpdated::New() const {
  19395. return new CMsgGCToGCBannedWordListUpdated;
  19396. }
  19397. void CMsgGCToGCBannedWordListUpdated::Clear() {
  19398. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19399. group_id_ = 0u;
  19400. }
  19401. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19402. mutable_unknown_fields()->Clear();
  19403. }
  19404. bool CMsgGCToGCBannedWordListUpdated::MergePartialFromCodedStream(
  19405. ::google::protobuf::io::CodedInputStream* input) {
  19406. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19407. ::google::protobuf::uint32 tag;
  19408. while ((tag = input->ReadTag()) != 0) {
  19409. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19410. // optional uint32 group_id = 1;
  19411. case 1: {
  19412. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19413. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19414. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19415. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19416. input, &group_id_)));
  19417. set_has_group_id();
  19418. } else {
  19419. goto handle_uninterpreted;
  19420. }
  19421. if (input->ExpectAtEnd()) return true;
  19422. break;
  19423. }
  19424. default: {
  19425. handle_uninterpreted:
  19426. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19427. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19428. return true;
  19429. }
  19430. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19431. input, tag, mutable_unknown_fields()));
  19432. break;
  19433. }
  19434. }
  19435. }
  19436. return true;
  19437. #undef DO_
  19438. }
  19439. void CMsgGCToGCBannedWordListUpdated::SerializeWithCachedSizes(
  19440. ::google::protobuf::io::CodedOutputStream* output) const {
  19441. // optional uint32 group_id = 1;
  19442. if (has_group_id()) {
  19443. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->group_id(), output);
  19444. }
  19445. if (!unknown_fields().empty()) {
  19446. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19447. unknown_fields(), output);
  19448. }
  19449. }
  19450. ::google::protobuf::uint8* CMsgGCToGCBannedWordListUpdated::SerializeWithCachedSizesToArray(
  19451. ::google::protobuf::uint8* target) const {
  19452. // optional uint32 group_id = 1;
  19453. if (has_group_id()) {
  19454. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->group_id(), target);
  19455. }
  19456. if (!unknown_fields().empty()) {
  19457. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19458. unknown_fields(), target);
  19459. }
  19460. return target;
  19461. }
  19462. int CMsgGCToGCBannedWordListUpdated::ByteSize() const {
  19463. int total_size = 0;
  19464. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19465. // optional uint32 group_id = 1;
  19466. if (has_group_id()) {
  19467. total_size += 1 +
  19468. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19469. this->group_id());
  19470. }
  19471. }
  19472. if (!unknown_fields().empty()) {
  19473. total_size +=
  19474. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19475. unknown_fields());
  19476. }
  19477. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19478. _cached_size_ = total_size;
  19479. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19480. return total_size;
  19481. }
  19482. void CMsgGCToGCBannedWordListUpdated::MergeFrom(const ::google::protobuf::Message& from) {
  19483. GOOGLE_CHECK_NE(&from, this);
  19484. const CMsgGCToGCBannedWordListUpdated* source =
  19485. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCBannedWordListUpdated*>(
  19486. &from);
  19487. if (source == NULL) {
  19488. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19489. } else {
  19490. MergeFrom(*source);
  19491. }
  19492. }
  19493. void CMsgGCToGCBannedWordListUpdated::MergeFrom(const CMsgGCToGCBannedWordListUpdated& from) {
  19494. GOOGLE_CHECK_NE(&from, this);
  19495. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19496. if (from.has_group_id()) {
  19497. set_group_id(from.group_id());
  19498. }
  19499. }
  19500. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19501. }
  19502. void CMsgGCToGCBannedWordListUpdated::CopyFrom(const ::google::protobuf::Message& from) {
  19503. if (&from == this) return;
  19504. Clear();
  19505. MergeFrom(from);
  19506. }
  19507. void CMsgGCToGCBannedWordListUpdated::CopyFrom(const CMsgGCToGCBannedWordListUpdated& from) {
  19508. if (&from == this) return;
  19509. Clear();
  19510. MergeFrom(from);
  19511. }
  19512. bool CMsgGCToGCBannedWordListUpdated::IsInitialized() const {
  19513. return true;
  19514. }
  19515. void CMsgGCToGCBannedWordListUpdated::Swap(CMsgGCToGCBannedWordListUpdated* other) {
  19516. if (other != this) {
  19517. std::swap(group_id_, other->group_id_);
  19518. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19519. _unknown_fields_.Swap(&other->_unknown_fields_);
  19520. std::swap(_cached_size_, other->_cached_size_);
  19521. }
  19522. }
  19523. ::google::protobuf::Metadata CMsgGCToGCBannedWordListUpdated::GetMetadata() const {
  19524. protobuf_AssignDescriptorsOnce();
  19525. ::google::protobuf::Metadata metadata;
  19526. metadata.descriptor = CMsgGCToGCBannedWordListUpdated_descriptor_;
  19527. metadata.reflection = CMsgGCToGCBannedWordListUpdated_reflection_;
  19528. return metadata;
  19529. }
  19530. // ===================================================================
  19531. #ifndef _MSC_VER
  19532. const int CSOEconDefaultEquippedDefinitionInstanceClient::kAccountIdFieldNumber;
  19533. const int CSOEconDefaultEquippedDefinitionInstanceClient::kItemDefinitionFieldNumber;
  19534. const int CSOEconDefaultEquippedDefinitionInstanceClient::kClassIdFieldNumber;
  19535. const int CSOEconDefaultEquippedDefinitionInstanceClient::kSlotIdFieldNumber;
  19536. #endif // !_MSC_VER
  19537. CSOEconDefaultEquippedDefinitionInstanceClient::CSOEconDefaultEquippedDefinitionInstanceClient()
  19538. : ::google::protobuf::Message() {
  19539. SharedCtor();
  19540. }
  19541. void CSOEconDefaultEquippedDefinitionInstanceClient::InitAsDefaultInstance() {
  19542. }
  19543. CSOEconDefaultEquippedDefinitionInstanceClient::CSOEconDefaultEquippedDefinitionInstanceClient(const CSOEconDefaultEquippedDefinitionInstanceClient& from)
  19544. : ::google::protobuf::Message() {
  19545. SharedCtor();
  19546. MergeFrom(from);
  19547. }
  19548. void CSOEconDefaultEquippedDefinitionInstanceClient::SharedCtor() {
  19549. _cached_size_ = 0;
  19550. account_id_ = 0u;
  19551. item_definition_ = 0u;
  19552. class_id_ = 0u;
  19553. slot_id_ = 0u;
  19554. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19555. }
  19556. CSOEconDefaultEquippedDefinitionInstanceClient::~CSOEconDefaultEquippedDefinitionInstanceClient() {
  19557. SharedDtor();
  19558. }
  19559. void CSOEconDefaultEquippedDefinitionInstanceClient::SharedDtor() {
  19560. if (this != default_instance_) {
  19561. }
  19562. }
  19563. void CSOEconDefaultEquippedDefinitionInstanceClient::SetCachedSize(int size) const {
  19564. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19565. _cached_size_ = size;
  19566. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19567. }
  19568. const ::google::protobuf::Descriptor* CSOEconDefaultEquippedDefinitionInstanceClient::descriptor() {
  19569. protobuf_AssignDescriptorsOnce();
  19570. return CSOEconDefaultEquippedDefinitionInstanceClient_descriptor_;
  19571. }
  19572. const CSOEconDefaultEquippedDefinitionInstanceClient& CSOEconDefaultEquippedDefinitionInstanceClient::default_instance() {
  19573. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  19574. return *default_instance_;
  19575. }
  19576. CSOEconDefaultEquippedDefinitionInstanceClient* CSOEconDefaultEquippedDefinitionInstanceClient::default_instance_ = NULL;
  19577. CSOEconDefaultEquippedDefinitionInstanceClient* CSOEconDefaultEquippedDefinitionInstanceClient::New() const {
  19578. return new CSOEconDefaultEquippedDefinitionInstanceClient;
  19579. }
  19580. void CSOEconDefaultEquippedDefinitionInstanceClient::Clear() {
  19581. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19582. account_id_ = 0u;
  19583. item_definition_ = 0u;
  19584. class_id_ = 0u;
  19585. slot_id_ = 0u;
  19586. }
  19587. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19588. mutable_unknown_fields()->Clear();
  19589. }
  19590. bool CSOEconDefaultEquippedDefinitionInstanceClient::MergePartialFromCodedStream(
  19591. ::google::protobuf::io::CodedInputStream* input) {
  19592. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19593. ::google::protobuf::uint32 tag;
  19594. while ((tag = input->ReadTag()) != 0) {
  19595. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19596. // optional uint32 account_id = 1;
  19597. case 1: {
  19598. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19599. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19600. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19601. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19602. input, &account_id_)));
  19603. set_has_account_id();
  19604. } else {
  19605. goto handle_uninterpreted;
  19606. }
  19607. if (input->ExpectTag(16)) goto parse_item_definition;
  19608. break;
  19609. }
  19610. // optional uint32 item_definition = 2;
  19611. case 2: {
  19612. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19613. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19614. parse_item_definition:
  19615. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19616. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19617. input, &item_definition_)));
  19618. set_has_item_definition();
  19619. } else {
  19620. goto handle_uninterpreted;
  19621. }
  19622. if (input->ExpectTag(24)) goto parse_class_id;
  19623. break;
  19624. }
  19625. // optional uint32 class_id = 3;
  19626. case 3: {
  19627. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19629. parse_class_id:
  19630. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19631. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19632. input, &class_id_)));
  19633. set_has_class_id();
  19634. } else {
  19635. goto handle_uninterpreted;
  19636. }
  19637. if (input->ExpectTag(32)) goto parse_slot_id;
  19638. break;
  19639. }
  19640. // optional uint32 slot_id = 4;
  19641. case 4: {
  19642. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19643. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19644. parse_slot_id:
  19645. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19646. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19647. input, &slot_id_)));
  19648. set_has_slot_id();
  19649. } else {
  19650. goto handle_uninterpreted;
  19651. }
  19652. if (input->ExpectAtEnd()) return true;
  19653. break;
  19654. }
  19655. default: {
  19656. handle_uninterpreted:
  19657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19659. return true;
  19660. }
  19661. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19662. input, tag, mutable_unknown_fields()));
  19663. break;
  19664. }
  19665. }
  19666. }
  19667. return true;
  19668. #undef DO_
  19669. }
  19670. void CSOEconDefaultEquippedDefinitionInstanceClient::SerializeWithCachedSizes(
  19671. ::google::protobuf::io::CodedOutputStream* output) const {
  19672. // optional uint32 account_id = 1;
  19673. if (has_account_id()) {
  19674. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->account_id(), output);
  19675. }
  19676. // optional uint32 item_definition = 2;
  19677. if (has_item_definition()) {
  19678. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->item_definition(), output);
  19679. }
  19680. // optional uint32 class_id = 3;
  19681. if (has_class_id()) {
  19682. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->class_id(), output);
  19683. }
  19684. // optional uint32 slot_id = 4;
  19685. if (has_slot_id()) {
  19686. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->slot_id(), output);
  19687. }
  19688. if (!unknown_fields().empty()) {
  19689. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19690. unknown_fields(), output);
  19691. }
  19692. }
  19693. ::google::protobuf::uint8* CSOEconDefaultEquippedDefinitionInstanceClient::SerializeWithCachedSizesToArray(
  19694. ::google::protobuf::uint8* target) const {
  19695. // optional uint32 account_id = 1;
  19696. if (has_account_id()) {
  19697. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->account_id(), target);
  19698. }
  19699. // optional uint32 item_definition = 2;
  19700. if (has_item_definition()) {
  19701. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->item_definition(), target);
  19702. }
  19703. // optional uint32 class_id = 3;
  19704. if (has_class_id()) {
  19705. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->class_id(), target);
  19706. }
  19707. // optional uint32 slot_id = 4;
  19708. if (has_slot_id()) {
  19709. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->slot_id(), target);
  19710. }
  19711. if (!unknown_fields().empty()) {
  19712. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19713. unknown_fields(), target);
  19714. }
  19715. return target;
  19716. }
  19717. int CSOEconDefaultEquippedDefinitionInstanceClient::ByteSize() const {
  19718. int total_size = 0;
  19719. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19720. // optional uint32 account_id = 1;
  19721. if (has_account_id()) {
  19722. total_size += 1 +
  19723. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19724. this->account_id());
  19725. }
  19726. // optional uint32 item_definition = 2;
  19727. if (has_item_definition()) {
  19728. total_size += 1 +
  19729. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19730. this->item_definition());
  19731. }
  19732. // optional uint32 class_id = 3;
  19733. if (has_class_id()) {
  19734. total_size += 1 +
  19735. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19736. this->class_id());
  19737. }
  19738. // optional uint32 slot_id = 4;
  19739. if (has_slot_id()) {
  19740. total_size += 1 +
  19741. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19742. this->slot_id());
  19743. }
  19744. }
  19745. if (!unknown_fields().empty()) {
  19746. total_size +=
  19747. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19748. unknown_fields());
  19749. }
  19750. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19751. _cached_size_ = total_size;
  19752. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19753. return total_size;
  19754. }
  19755. void CSOEconDefaultEquippedDefinitionInstanceClient::MergeFrom(const ::google::protobuf::Message& from) {
  19756. GOOGLE_CHECK_NE(&from, this);
  19757. const CSOEconDefaultEquippedDefinitionInstanceClient* source =
  19758. ::google::protobuf::internal::dynamic_cast_if_available<const CSOEconDefaultEquippedDefinitionInstanceClient*>(
  19759. &from);
  19760. if (source == NULL) {
  19761. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19762. } else {
  19763. MergeFrom(*source);
  19764. }
  19765. }
  19766. void CSOEconDefaultEquippedDefinitionInstanceClient::MergeFrom(const CSOEconDefaultEquippedDefinitionInstanceClient& from) {
  19767. GOOGLE_CHECK_NE(&from, this);
  19768. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19769. if (from.has_account_id()) {
  19770. set_account_id(from.account_id());
  19771. }
  19772. if (from.has_item_definition()) {
  19773. set_item_definition(from.item_definition());
  19774. }
  19775. if (from.has_class_id()) {
  19776. set_class_id(from.class_id());
  19777. }
  19778. if (from.has_slot_id()) {
  19779. set_slot_id(from.slot_id());
  19780. }
  19781. }
  19782. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19783. }
  19784. void CSOEconDefaultEquippedDefinitionInstanceClient::CopyFrom(const ::google::protobuf::Message& from) {
  19785. if (&from == this) return;
  19786. Clear();
  19787. MergeFrom(from);
  19788. }
  19789. void CSOEconDefaultEquippedDefinitionInstanceClient::CopyFrom(const CSOEconDefaultEquippedDefinitionInstanceClient& from) {
  19790. if (&from == this) return;
  19791. Clear();
  19792. MergeFrom(from);
  19793. }
  19794. bool CSOEconDefaultEquippedDefinitionInstanceClient::IsInitialized() const {
  19795. return true;
  19796. }
  19797. void CSOEconDefaultEquippedDefinitionInstanceClient::Swap(CSOEconDefaultEquippedDefinitionInstanceClient* other) {
  19798. if (other != this) {
  19799. std::swap(account_id_, other->account_id_);
  19800. std::swap(item_definition_, other->item_definition_);
  19801. std::swap(class_id_, other->class_id_);
  19802. std::swap(slot_id_, other->slot_id_);
  19803. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19804. _unknown_fields_.Swap(&other->_unknown_fields_);
  19805. std::swap(_cached_size_, other->_cached_size_);
  19806. }
  19807. }
  19808. ::google::protobuf::Metadata CSOEconDefaultEquippedDefinitionInstanceClient::GetMetadata() const {
  19809. protobuf_AssignDescriptorsOnce();
  19810. ::google::protobuf::Metadata metadata;
  19811. metadata.descriptor = CSOEconDefaultEquippedDefinitionInstanceClient_descriptor_;
  19812. metadata.reflection = CSOEconDefaultEquippedDefinitionInstanceClient_reflection_;
  19813. return metadata;
  19814. }
  19815. // ===================================================================
  19816. #ifndef _MSC_VER
  19817. const int CMsgGCToGCDirtySDOCache::kSdoTypeFieldNumber;
  19818. const int CMsgGCToGCDirtySDOCache::kKeyUint64FieldNumber;
  19819. #endif // !_MSC_VER
  19820. CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache()
  19821. : ::google::protobuf::Message() {
  19822. SharedCtor();
  19823. }
  19824. void CMsgGCToGCDirtySDOCache::InitAsDefaultInstance() {
  19825. }
  19826. CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache(const CMsgGCToGCDirtySDOCache& from)
  19827. : ::google::protobuf::Message() {
  19828. SharedCtor();
  19829. MergeFrom(from);
  19830. }
  19831. void CMsgGCToGCDirtySDOCache::SharedCtor() {
  19832. _cached_size_ = 0;
  19833. sdo_type_ = 0u;
  19834. key_uint64_ = GOOGLE_ULONGLONG(0);
  19835. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19836. }
  19837. CMsgGCToGCDirtySDOCache::~CMsgGCToGCDirtySDOCache() {
  19838. SharedDtor();
  19839. }
  19840. void CMsgGCToGCDirtySDOCache::SharedDtor() {
  19841. if (this != default_instance_) {
  19842. }
  19843. }
  19844. void CMsgGCToGCDirtySDOCache::SetCachedSize(int size) const {
  19845. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19846. _cached_size_ = size;
  19847. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19848. }
  19849. const ::google::protobuf::Descriptor* CMsgGCToGCDirtySDOCache::descriptor() {
  19850. protobuf_AssignDescriptorsOnce();
  19851. return CMsgGCToGCDirtySDOCache_descriptor_;
  19852. }
  19853. const CMsgGCToGCDirtySDOCache& CMsgGCToGCDirtySDOCache::default_instance() {
  19854. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  19855. return *default_instance_;
  19856. }
  19857. CMsgGCToGCDirtySDOCache* CMsgGCToGCDirtySDOCache::default_instance_ = NULL;
  19858. CMsgGCToGCDirtySDOCache* CMsgGCToGCDirtySDOCache::New() const {
  19859. return new CMsgGCToGCDirtySDOCache;
  19860. }
  19861. void CMsgGCToGCDirtySDOCache::Clear() {
  19862. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19863. sdo_type_ = 0u;
  19864. key_uint64_ = GOOGLE_ULONGLONG(0);
  19865. }
  19866. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19867. mutable_unknown_fields()->Clear();
  19868. }
  19869. bool CMsgGCToGCDirtySDOCache::MergePartialFromCodedStream(
  19870. ::google::protobuf::io::CodedInputStream* input) {
  19871. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19872. ::google::protobuf::uint32 tag;
  19873. while ((tag = input->ReadTag()) != 0) {
  19874. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19875. // optional uint32 sdo_type = 1;
  19876. case 1: {
  19877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19879. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19880. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19881. input, &sdo_type_)));
  19882. set_has_sdo_type();
  19883. } else {
  19884. goto handle_uninterpreted;
  19885. }
  19886. if (input->ExpectTag(16)) goto parse_key_uint64;
  19887. break;
  19888. }
  19889. // optional uint64 key_uint64 = 2;
  19890. case 2: {
  19891. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19892. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19893. parse_key_uint64:
  19894. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19895. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  19896. input, &key_uint64_)));
  19897. set_has_key_uint64();
  19898. } else {
  19899. goto handle_uninterpreted;
  19900. }
  19901. if (input->ExpectAtEnd()) return true;
  19902. break;
  19903. }
  19904. default: {
  19905. handle_uninterpreted:
  19906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19908. return true;
  19909. }
  19910. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19911. input, tag, mutable_unknown_fields()));
  19912. break;
  19913. }
  19914. }
  19915. }
  19916. return true;
  19917. #undef DO_
  19918. }
  19919. void CMsgGCToGCDirtySDOCache::SerializeWithCachedSizes(
  19920. ::google::protobuf::io::CodedOutputStream* output) const {
  19921. // optional uint32 sdo_type = 1;
  19922. if (has_sdo_type()) {
  19923. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->sdo_type(), output);
  19924. }
  19925. // optional uint64 key_uint64 = 2;
  19926. if (has_key_uint64()) {
  19927. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->key_uint64(), output);
  19928. }
  19929. if (!unknown_fields().empty()) {
  19930. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19931. unknown_fields(), output);
  19932. }
  19933. }
  19934. ::google::protobuf::uint8* CMsgGCToGCDirtySDOCache::SerializeWithCachedSizesToArray(
  19935. ::google::protobuf::uint8* target) const {
  19936. // optional uint32 sdo_type = 1;
  19937. if (has_sdo_type()) {
  19938. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->sdo_type(), target);
  19939. }
  19940. // optional uint64 key_uint64 = 2;
  19941. if (has_key_uint64()) {
  19942. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->key_uint64(), target);
  19943. }
  19944. if (!unknown_fields().empty()) {
  19945. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19946. unknown_fields(), target);
  19947. }
  19948. return target;
  19949. }
  19950. int CMsgGCToGCDirtySDOCache::ByteSize() const {
  19951. int total_size = 0;
  19952. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19953. // optional uint32 sdo_type = 1;
  19954. if (has_sdo_type()) {
  19955. total_size += 1 +
  19956. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19957. this->sdo_type());
  19958. }
  19959. // optional uint64 key_uint64 = 2;
  19960. if (has_key_uint64()) {
  19961. total_size += 1 +
  19962. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  19963. this->key_uint64());
  19964. }
  19965. }
  19966. if (!unknown_fields().empty()) {
  19967. total_size +=
  19968. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19969. unknown_fields());
  19970. }
  19971. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19972. _cached_size_ = total_size;
  19973. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19974. return total_size;
  19975. }
  19976. void CMsgGCToGCDirtySDOCache::MergeFrom(const ::google::protobuf::Message& from) {
  19977. GOOGLE_CHECK_NE(&from, this);
  19978. const CMsgGCToGCDirtySDOCache* source =
  19979. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCDirtySDOCache*>(
  19980. &from);
  19981. if (source == NULL) {
  19982. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19983. } else {
  19984. MergeFrom(*source);
  19985. }
  19986. }
  19987. void CMsgGCToGCDirtySDOCache::MergeFrom(const CMsgGCToGCDirtySDOCache& from) {
  19988. GOOGLE_CHECK_NE(&from, this);
  19989. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19990. if (from.has_sdo_type()) {
  19991. set_sdo_type(from.sdo_type());
  19992. }
  19993. if (from.has_key_uint64()) {
  19994. set_key_uint64(from.key_uint64());
  19995. }
  19996. }
  19997. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19998. }
  19999. void CMsgGCToGCDirtySDOCache::CopyFrom(const ::google::protobuf::Message& from) {
  20000. if (&from == this) return;
  20001. Clear();
  20002. MergeFrom(from);
  20003. }
  20004. void CMsgGCToGCDirtySDOCache::CopyFrom(const CMsgGCToGCDirtySDOCache& from) {
  20005. if (&from == this) return;
  20006. Clear();
  20007. MergeFrom(from);
  20008. }
  20009. bool CMsgGCToGCDirtySDOCache::IsInitialized() const {
  20010. return true;
  20011. }
  20012. void CMsgGCToGCDirtySDOCache::Swap(CMsgGCToGCDirtySDOCache* other) {
  20013. if (other != this) {
  20014. std::swap(sdo_type_, other->sdo_type_);
  20015. std::swap(key_uint64_, other->key_uint64_);
  20016. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20017. _unknown_fields_.Swap(&other->_unknown_fields_);
  20018. std::swap(_cached_size_, other->_cached_size_);
  20019. }
  20020. }
  20021. ::google::protobuf::Metadata CMsgGCToGCDirtySDOCache::GetMetadata() const {
  20022. protobuf_AssignDescriptorsOnce();
  20023. ::google::protobuf::Metadata metadata;
  20024. metadata.descriptor = CMsgGCToGCDirtySDOCache_descriptor_;
  20025. metadata.reflection = CMsgGCToGCDirtySDOCache_reflection_;
  20026. return metadata;
  20027. }
  20028. // ===================================================================
  20029. #ifndef _MSC_VER
  20030. const int CMsgGCToGCDirtyMultipleSDOCache::kSdoTypeFieldNumber;
  20031. const int CMsgGCToGCDirtyMultipleSDOCache::kKeyUint64FieldNumber;
  20032. #endif // !_MSC_VER
  20033. CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache()
  20034. : ::google::protobuf::Message() {
  20035. SharedCtor();
  20036. }
  20037. void CMsgGCToGCDirtyMultipleSDOCache::InitAsDefaultInstance() {
  20038. }
  20039. CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache(const CMsgGCToGCDirtyMultipleSDOCache& from)
  20040. : ::google::protobuf::Message() {
  20041. SharedCtor();
  20042. MergeFrom(from);
  20043. }
  20044. void CMsgGCToGCDirtyMultipleSDOCache::SharedCtor() {
  20045. _cached_size_ = 0;
  20046. sdo_type_ = 0u;
  20047. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20048. }
  20049. CMsgGCToGCDirtyMultipleSDOCache::~CMsgGCToGCDirtyMultipleSDOCache() {
  20050. SharedDtor();
  20051. }
  20052. void CMsgGCToGCDirtyMultipleSDOCache::SharedDtor() {
  20053. if (this != default_instance_) {
  20054. }
  20055. }
  20056. void CMsgGCToGCDirtyMultipleSDOCache::SetCachedSize(int size) const {
  20057. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20058. _cached_size_ = size;
  20059. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20060. }
  20061. const ::google::protobuf::Descriptor* CMsgGCToGCDirtyMultipleSDOCache::descriptor() {
  20062. protobuf_AssignDescriptorsOnce();
  20063. return CMsgGCToGCDirtyMultipleSDOCache_descriptor_;
  20064. }
  20065. const CMsgGCToGCDirtyMultipleSDOCache& CMsgGCToGCDirtyMultipleSDOCache::default_instance() {
  20066. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  20067. return *default_instance_;
  20068. }
  20069. CMsgGCToGCDirtyMultipleSDOCache* CMsgGCToGCDirtyMultipleSDOCache::default_instance_ = NULL;
  20070. CMsgGCToGCDirtyMultipleSDOCache* CMsgGCToGCDirtyMultipleSDOCache::New() const {
  20071. return new CMsgGCToGCDirtyMultipleSDOCache;
  20072. }
  20073. void CMsgGCToGCDirtyMultipleSDOCache::Clear() {
  20074. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20075. sdo_type_ = 0u;
  20076. }
  20077. key_uint64_.Clear();
  20078. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20079. mutable_unknown_fields()->Clear();
  20080. }
  20081. bool CMsgGCToGCDirtyMultipleSDOCache::MergePartialFromCodedStream(
  20082. ::google::protobuf::io::CodedInputStream* input) {
  20083. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20084. ::google::protobuf::uint32 tag;
  20085. while ((tag = input->ReadTag()) != 0) {
  20086. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20087. // optional uint32 sdo_type = 1;
  20088. case 1: {
  20089. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20090. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20091. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20092. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  20093. input, &sdo_type_)));
  20094. set_has_sdo_type();
  20095. } else {
  20096. goto handle_uninterpreted;
  20097. }
  20098. if (input->ExpectTag(16)) goto parse_key_uint64;
  20099. break;
  20100. }
  20101. // repeated uint64 key_uint64 = 2;
  20102. case 2: {
  20103. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20104. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20105. parse_key_uint64:
  20106. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  20107. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  20108. 1, 16, input, this->mutable_key_uint64())));
  20109. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  20110. == ::google::protobuf::internal::WireFormatLite::
  20111. WIRETYPE_LENGTH_DELIMITED) {
  20112. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  20113. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  20114. input, this->mutable_key_uint64())));
  20115. } else {
  20116. goto handle_uninterpreted;
  20117. }
  20118. if (input->ExpectTag(16)) goto parse_key_uint64;
  20119. if (input->ExpectAtEnd()) return true;
  20120. break;
  20121. }
  20122. default: {
  20123. handle_uninterpreted:
  20124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20126. return true;
  20127. }
  20128. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20129. input, tag, mutable_unknown_fields()));
  20130. break;
  20131. }
  20132. }
  20133. }
  20134. return true;
  20135. #undef DO_
  20136. }
  20137. void CMsgGCToGCDirtyMultipleSDOCache::SerializeWithCachedSizes(
  20138. ::google::protobuf::io::CodedOutputStream* output) const {
  20139. // optional uint32 sdo_type = 1;
  20140. if (has_sdo_type()) {
  20141. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->sdo_type(), output);
  20142. }
  20143. // repeated uint64 key_uint64 = 2;
  20144. for (int i = 0; i < this->key_uint64_size(); i++) {
  20145. ::google::protobuf::internal::WireFormatLite::WriteUInt64(
  20146. 2, this->key_uint64(i), output);
  20147. }
  20148. if (!unknown_fields().empty()) {
  20149. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20150. unknown_fields(), output);
  20151. }
  20152. }
  20153. ::google::protobuf::uint8* CMsgGCToGCDirtyMultipleSDOCache::SerializeWithCachedSizesToArray(
  20154. ::google::protobuf::uint8* target) const {
  20155. // optional uint32 sdo_type = 1;
  20156. if (has_sdo_type()) {
  20157. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->sdo_type(), target);
  20158. }
  20159. // repeated uint64 key_uint64 = 2;
  20160. for (int i = 0; i < this->key_uint64_size(); i++) {
  20161. target = ::google::protobuf::internal::WireFormatLite::
  20162. WriteUInt64ToArray(2, this->key_uint64(i), target);
  20163. }
  20164. if (!unknown_fields().empty()) {
  20165. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20166. unknown_fields(), target);
  20167. }
  20168. return target;
  20169. }
  20170. int CMsgGCToGCDirtyMultipleSDOCache::ByteSize() const {
  20171. int total_size = 0;
  20172. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20173. // optional uint32 sdo_type = 1;
  20174. if (has_sdo_type()) {
  20175. total_size += 1 +
  20176. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  20177. this->sdo_type());
  20178. }
  20179. }
  20180. // repeated uint64 key_uint64 = 2;
  20181. {
  20182. int data_size = 0;
  20183. for (int i = 0; i < this->key_uint64_size(); i++) {
  20184. data_size += ::google::protobuf::internal::WireFormatLite::
  20185. UInt64Size(this->key_uint64(i));
  20186. }
  20187. total_size += 1 * this->key_uint64_size() + data_size;
  20188. }
  20189. if (!unknown_fields().empty()) {
  20190. total_size +=
  20191. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20192. unknown_fields());
  20193. }
  20194. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20195. _cached_size_ = total_size;
  20196. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20197. return total_size;
  20198. }
  20199. void CMsgGCToGCDirtyMultipleSDOCache::MergeFrom(const ::google::protobuf::Message& from) {
  20200. GOOGLE_CHECK_NE(&from, this);
  20201. const CMsgGCToGCDirtyMultipleSDOCache* source =
  20202. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCDirtyMultipleSDOCache*>(
  20203. &from);
  20204. if (source == NULL) {
  20205. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20206. } else {
  20207. MergeFrom(*source);
  20208. }
  20209. }
  20210. void CMsgGCToGCDirtyMultipleSDOCache::MergeFrom(const CMsgGCToGCDirtyMultipleSDOCache& from) {
  20211. GOOGLE_CHECK_NE(&from, this);
  20212. key_uint64_.MergeFrom(from.key_uint64_);
  20213. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20214. if (from.has_sdo_type()) {
  20215. set_sdo_type(from.sdo_type());
  20216. }
  20217. }
  20218. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20219. }
  20220. void CMsgGCToGCDirtyMultipleSDOCache::CopyFrom(const ::google::protobuf::Message& from) {
  20221. if (&from == this) return;
  20222. Clear();
  20223. MergeFrom(from);
  20224. }
  20225. void CMsgGCToGCDirtyMultipleSDOCache::CopyFrom(const CMsgGCToGCDirtyMultipleSDOCache& from) {
  20226. if (&from == this) return;
  20227. Clear();
  20228. MergeFrom(from);
  20229. }
  20230. bool CMsgGCToGCDirtyMultipleSDOCache::IsInitialized() const {
  20231. return true;
  20232. }
  20233. void CMsgGCToGCDirtyMultipleSDOCache::Swap(CMsgGCToGCDirtyMultipleSDOCache* other) {
  20234. if (other != this) {
  20235. std::swap(sdo_type_, other->sdo_type_);
  20236. key_uint64_.Swap(&other->key_uint64_);
  20237. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20238. _unknown_fields_.Swap(&other->_unknown_fields_);
  20239. std::swap(_cached_size_, other->_cached_size_);
  20240. }
  20241. }
  20242. ::google::protobuf::Metadata CMsgGCToGCDirtyMultipleSDOCache::GetMetadata() const {
  20243. protobuf_AssignDescriptorsOnce();
  20244. ::google::protobuf::Metadata metadata;
  20245. metadata.descriptor = CMsgGCToGCDirtyMultipleSDOCache_descriptor_;
  20246. metadata.reflection = CMsgGCToGCDirtyMultipleSDOCache_reflection_;
  20247. return metadata;
  20248. }
  20249. // ===================================================================
  20250. #ifndef _MSC_VER
  20251. const int CMsgGCCollectItem::kCollectionItemIdFieldNumber;
  20252. const int CMsgGCCollectItem::kSubjectItemIdFieldNumber;
  20253. #endif // !_MSC_VER
  20254. CMsgGCCollectItem::CMsgGCCollectItem()
  20255. : ::google::protobuf::Message() {
  20256. SharedCtor();
  20257. }
  20258. void CMsgGCCollectItem::InitAsDefaultInstance() {
  20259. }
  20260. CMsgGCCollectItem::CMsgGCCollectItem(const CMsgGCCollectItem& from)
  20261. : ::google::protobuf::Message() {
  20262. SharedCtor();
  20263. MergeFrom(from);
  20264. }
  20265. void CMsgGCCollectItem::SharedCtor() {
  20266. _cached_size_ = 0;
  20267. collection_item_id_ = GOOGLE_ULONGLONG(0);
  20268. subject_item_id_ = GOOGLE_ULONGLONG(0);
  20269. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20270. }
  20271. CMsgGCCollectItem::~CMsgGCCollectItem() {
  20272. SharedDtor();
  20273. }
  20274. void CMsgGCCollectItem::SharedDtor() {
  20275. if (this != default_instance_) {
  20276. }
  20277. }
  20278. void CMsgGCCollectItem::SetCachedSize(int size) const {
  20279. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20280. _cached_size_ = size;
  20281. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20282. }
  20283. const ::google::protobuf::Descriptor* CMsgGCCollectItem::descriptor() {
  20284. protobuf_AssignDescriptorsOnce();
  20285. return CMsgGCCollectItem_descriptor_;
  20286. }
  20287. const CMsgGCCollectItem& CMsgGCCollectItem::default_instance() {
  20288. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  20289. return *default_instance_;
  20290. }
  20291. CMsgGCCollectItem* CMsgGCCollectItem::default_instance_ = NULL;
  20292. CMsgGCCollectItem* CMsgGCCollectItem::New() const {
  20293. return new CMsgGCCollectItem;
  20294. }
  20295. void CMsgGCCollectItem::Clear() {
  20296. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20297. collection_item_id_ = GOOGLE_ULONGLONG(0);
  20298. subject_item_id_ = GOOGLE_ULONGLONG(0);
  20299. }
  20300. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20301. mutable_unknown_fields()->Clear();
  20302. }
  20303. bool CMsgGCCollectItem::MergePartialFromCodedStream(
  20304. ::google::protobuf::io::CodedInputStream* input) {
  20305. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20306. ::google::protobuf::uint32 tag;
  20307. while ((tag = input->ReadTag()) != 0) {
  20308. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20309. // optional uint64 collection_item_id = 1;
  20310. case 1: {
  20311. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20312. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20313. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20314. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  20315. input, &collection_item_id_)));
  20316. set_has_collection_item_id();
  20317. } else {
  20318. goto handle_uninterpreted;
  20319. }
  20320. if (input->ExpectTag(16)) goto parse_subject_item_id;
  20321. break;
  20322. }
  20323. // optional uint64 subject_item_id = 2;
  20324. case 2: {
  20325. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20326. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20327. parse_subject_item_id:
  20328. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20329. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  20330. input, &subject_item_id_)));
  20331. set_has_subject_item_id();
  20332. } else {
  20333. goto handle_uninterpreted;
  20334. }
  20335. if (input->ExpectAtEnd()) return true;
  20336. break;
  20337. }
  20338. default: {
  20339. handle_uninterpreted:
  20340. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20341. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20342. return true;
  20343. }
  20344. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20345. input, tag, mutable_unknown_fields()));
  20346. break;
  20347. }
  20348. }
  20349. }
  20350. return true;
  20351. #undef DO_
  20352. }
  20353. void CMsgGCCollectItem::SerializeWithCachedSizes(
  20354. ::google::protobuf::io::CodedOutputStream* output) const {
  20355. // optional uint64 collection_item_id = 1;
  20356. if (has_collection_item_id()) {
  20357. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->collection_item_id(), output);
  20358. }
  20359. // optional uint64 subject_item_id = 2;
  20360. if (has_subject_item_id()) {
  20361. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->subject_item_id(), output);
  20362. }
  20363. if (!unknown_fields().empty()) {
  20364. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20365. unknown_fields(), output);
  20366. }
  20367. }
  20368. ::google::protobuf::uint8* CMsgGCCollectItem::SerializeWithCachedSizesToArray(
  20369. ::google::protobuf::uint8* target) const {
  20370. // optional uint64 collection_item_id = 1;
  20371. if (has_collection_item_id()) {
  20372. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->collection_item_id(), target);
  20373. }
  20374. // optional uint64 subject_item_id = 2;
  20375. if (has_subject_item_id()) {
  20376. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->subject_item_id(), target);
  20377. }
  20378. if (!unknown_fields().empty()) {
  20379. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20380. unknown_fields(), target);
  20381. }
  20382. return target;
  20383. }
  20384. int CMsgGCCollectItem::ByteSize() const {
  20385. int total_size = 0;
  20386. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20387. // optional uint64 collection_item_id = 1;
  20388. if (has_collection_item_id()) {
  20389. total_size += 1 +
  20390. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  20391. this->collection_item_id());
  20392. }
  20393. // optional uint64 subject_item_id = 2;
  20394. if (has_subject_item_id()) {
  20395. total_size += 1 +
  20396. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  20397. this->subject_item_id());
  20398. }
  20399. }
  20400. if (!unknown_fields().empty()) {
  20401. total_size +=
  20402. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20403. unknown_fields());
  20404. }
  20405. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20406. _cached_size_ = total_size;
  20407. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20408. return total_size;
  20409. }
  20410. void CMsgGCCollectItem::MergeFrom(const ::google::protobuf::Message& from) {
  20411. GOOGLE_CHECK_NE(&from, this);
  20412. const CMsgGCCollectItem* source =
  20413. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCCollectItem*>(
  20414. &from);
  20415. if (source == NULL) {
  20416. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20417. } else {
  20418. MergeFrom(*source);
  20419. }
  20420. }
  20421. void CMsgGCCollectItem::MergeFrom(const CMsgGCCollectItem& from) {
  20422. GOOGLE_CHECK_NE(&from, this);
  20423. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20424. if (from.has_collection_item_id()) {
  20425. set_collection_item_id(from.collection_item_id());
  20426. }
  20427. if (from.has_subject_item_id()) {
  20428. set_subject_item_id(from.subject_item_id());
  20429. }
  20430. }
  20431. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20432. }
  20433. void CMsgGCCollectItem::CopyFrom(const ::google::protobuf::Message& from) {
  20434. if (&from == this) return;
  20435. Clear();
  20436. MergeFrom(from);
  20437. }
  20438. void CMsgGCCollectItem::CopyFrom(const CMsgGCCollectItem& from) {
  20439. if (&from == this) return;
  20440. Clear();
  20441. MergeFrom(from);
  20442. }
  20443. bool CMsgGCCollectItem::IsInitialized() const {
  20444. return true;
  20445. }
  20446. void CMsgGCCollectItem::Swap(CMsgGCCollectItem* other) {
  20447. if (other != this) {
  20448. std::swap(collection_item_id_, other->collection_item_id_);
  20449. std::swap(subject_item_id_, other->subject_item_id_);
  20450. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20451. _unknown_fields_.Swap(&other->_unknown_fields_);
  20452. std::swap(_cached_size_, other->_cached_size_);
  20453. }
  20454. }
  20455. ::google::protobuf::Metadata CMsgGCCollectItem::GetMetadata() const {
  20456. protobuf_AssignDescriptorsOnce();
  20457. ::google::protobuf::Metadata metadata;
  20458. metadata.descriptor = CMsgGCCollectItem_descriptor_;
  20459. metadata.reflection = CMsgGCCollectItem_reflection_;
  20460. return metadata;
  20461. }
  20462. // ===================================================================
  20463. #ifndef _MSC_VER
  20464. #endif // !_MSC_VER
  20465. CMsgSDONoMemcached::CMsgSDONoMemcached()
  20466. : ::google::protobuf::Message() {
  20467. SharedCtor();
  20468. }
  20469. void CMsgSDONoMemcached::InitAsDefaultInstance() {
  20470. }
  20471. CMsgSDONoMemcached::CMsgSDONoMemcached(const CMsgSDONoMemcached& from)
  20472. : ::google::protobuf::Message() {
  20473. SharedCtor();
  20474. MergeFrom(from);
  20475. }
  20476. void CMsgSDONoMemcached::SharedCtor() {
  20477. _cached_size_ = 0;
  20478. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20479. }
  20480. CMsgSDONoMemcached::~CMsgSDONoMemcached() {
  20481. SharedDtor();
  20482. }
  20483. void CMsgSDONoMemcached::SharedDtor() {
  20484. if (this != default_instance_) {
  20485. }
  20486. }
  20487. void CMsgSDONoMemcached::SetCachedSize(int size) const {
  20488. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20489. _cached_size_ = size;
  20490. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20491. }
  20492. const ::google::protobuf::Descriptor* CMsgSDONoMemcached::descriptor() {
  20493. protobuf_AssignDescriptorsOnce();
  20494. return CMsgSDONoMemcached_descriptor_;
  20495. }
  20496. const CMsgSDONoMemcached& CMsgSDONoMemcached::default_instance() {
  20497. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  20498. return *default_instance_;
  20499. }
  20500. CMsgSDONoMemcached* CMsgSDONoMemcached::default_instance_ = NULL;
  20501. CMsgSDONoMemcached* CMsgSDONoMemcached::New() const {
  20502. return new CMsgSDONoMemcached;
  20503. }
  20504. void CMsgSDONoMemcached::Clear() {
  20505. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20506. mutable_unknown_fields()->Clear();
  20507. }
  20508. bool CMsgSDONoMemcached::MergePartialFromCodedStream(
  20509. ::google::protobuf::io::CodedInputStream* input) {
  20510. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20511. ::google::protobuf::uint32 tag;
  20512. while ((tag = input->ReadTag()) != 0) {
  20513. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20514. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20515. return true;
  20516. }
  20517. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20518. input, tag, mutable_unknown_fields()));
  20519. }
  20520. return true;
  20521. #undef DO_
  20522. }
  20523. void CMsgSDONoMemcached::SerializeWithCachedSizes(
  20524. ::google::protobuf::io::CodedOutputStream* output) const {
  20525. if (!unknown_fields().empty()) {
  20526. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20527. unknown_fields(), output);
  20528. }
  20529. }
  20530. ::google::protobuf::uint8* CMsgSDONoMemcached::SerializeWithCachedSizesToArray(
  20531. ::google::protobuf::uint8* target) const {
  20532. if (!unknown_fields().empty()) {
  20533. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20534. unknown_fields(), target);
  20535. }
  20536. return target;
  20537. }
  20538. int CMsgSDONoMemcached::ByteSize() const {
  20539. int total_size = 0;
  20540. if (!unknown_fields().empty()) {
  20541. total_size +=
  20542. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20543. unknown_fields());
  20544. }
  20545. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20546. _cached_size_ = total_size;
  20547. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20548. return total_size;
  20549. }
  20550. void CMsgSDONoMemcached::MergeFrom(const ::google::protobuf::Message& from) {
  20551. GOOGLE_CHECK_NE(&from, this);
  20552. const CMsgSDONoMemcached* source =
  20553. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgSDONoMemcached*>(
  20554. &from);
  20555. if (source == NULL) {
  20556. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20557. } else {
  20558. MergeFrom(*source);
  20559. }
  20560. }
  20561. void CMsgSDONoMemcached::MergeFrom(const CMsgSDONoMemcached& from) {
  20562. GOOGLE_CHECK_NE(&from, this);
  20563. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20564. }
  20565. void CMsgSDONoMemcached::CopyFrom(const ::google::protobuf::Message& from) {
  20566. if (&from == this) return;
  20567. Clear();
  20568. MergeFrom(from);
  20569. }
  20570. void CMsgSDONoMemcached::CopyFrom(const CMsgSDONoMemcached& from) {
  20571. if (&from == this) return;
  20572. Clear();
  20573. MergeFrom(from);
  20574. }
  20575. bool CMsgSDONoMemcached::IsInitialized() const {
  20576. return true;
  20577. }
  20578. void CMsgSDONoMemcached::Swap(CMsgSDONoMemcached* other) {
  20579. if (other != this) {
  20580. _unknown_fields_.Swap(&other->_unknown_fields_);
  20581. std::swap(_cached_size_, other->_cached_size_);
  20582. }
  20583. }
  20584. ::google::protobuf::Metadata CMsgSDONoMemcached::GetMetadata() const {
  20585. protobuf_AssignDescriptorsOnce();
  20586. ::google::protobuf::Metadata metadata;
  20587. metadata.descriptor = CMsgSDONoMemcached_descriptor_;
  20588. metadata.reflection = CMsgSDONoMemcached_reflection_;
  20589. return metadata;
  20590. }
  20591. // ===================================================================
  20592. #ifndef _MSC_VER
  20593. const int CMsgGCToGCUpdateSQLKeyValue::kKeyNameFieldNumber;
  20594. #endif // !_MSC_VER
  20595. CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue()
  20596. : ::google::protobuf::Message() {
  20597. SharedCtor();
  20598. }
  20599. void CMsgGCToGCUpdateSQLKeyValue::InitAsDefaultInstance() {
  20600. }
  20601. CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue(const CMsgGCToGCUpdateSQLKeyValue& from)
  20602. : ::google::protobuf::Message() {
  20603. SharedCtor();
  20604. MergeFrom(from);
  20605. }
  20606. void CMsgGCToGCUpdateSQLKeyValue::SharedCtor() {
  20607. _cached_size_ = 0;
  20608. key_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  20609. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20610. }
  20611. CMsgGCToGCUpdateSQLKeyValue::~CMsgGCToGCUpdateSQLKeyValue() {
  20612. SharedDtor();
  20613. }
  20614. void CMsgGCToGCUpdateSQLKeyValue::SharedDtor() {
  20615. if (key_name_ != &::google::protobuf::internal::kEmptyString) {
  20616. delete key_name_;
  20617. }
  20618. if (this != default_instance_) {
  20619. }
  20620. }
  20621. void CMsgGCToGCUpdateSQLKeyValue::SetCachedSize(int size) const {
  20622. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20623. _cached_size_ = size;
  20624. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20625. }
  20626. const ::google::protobuf::Descriptor* CMsgGCToGCUpdateSQLKeyValue::descriptor() {
  20627. protobuf_AssignDescriptorsOnce();
  20628. return CMsgGCToGCUpdateSQLKeyValue_descriptor_;
  20629. }
  20630. const CMsgGCToGCUpdateSQLKeyValue& CMsgGCToGCUpdateSQLKeyValue::default_instance() {
  20631. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  20632. return *default_instance_;
  20633. }
  20634. CMsgGCToGCUpdateSQLKeyValue* CMsgGCToGCUpdateSQLKeyValue::default_instance_ = NULL;
  20635. CMsgGCToGCUpdateSQLKeyValue* CMsgGCToGCUpdateSQLKeyValue::New() const {
  20636. return new CMsgGCToGCUpdateSQLKeyValue;
  20637. }
  20638. void CMsgGCToGCUpdateSQLKeyValue::Clear() {
  20639. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20640. if (has_key_name()) {
  20641. if (key_name_ != &::google::protobuf::internal::kEmptyString) {
  20642. key_name_->clear();
  20643. }
  20644. }
  20645. }
  20646. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20647. mutable_unknown_fields()->Clear();
  20648. }
  20649. bool CMsgGCToGCUpdateSQLKeyValue::MergePartialFromCodedStream(
  20650. ::google::protobuf::io::CodedInputStream* input) {
  20651. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20652. ::google::protobuf::uint32 tag;
  20653. while ((tag = input->ReadTag()) != 0) {
  20654. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20655. // optional string key_name = 1;
  20656. case 1: {
  20657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20659. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20660. input, this->mutable_key_name()));
  20661. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20662. this->key_name().data(), this->key_name().length(),
  20663. ::google::protobuf::internal::WireFormat::PARSE);
  20664. } else {
  20665. goto handle_uninterpreted;
  20666. }
  20667. if (input->ExpectAtEnd()) return true;
  20668. break;
  20669. }
  20670. default: {
  20671. handle_uninterpreted:
  20672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20674. return true;
  20675. }
  20676. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20677. input, tag, mutable_unknown_fields()));
  20678. break;
  20679. }
  20680. }
  20681. }
  20682. return true;
  20683. #undef DO_
  20684. }
  20685. void CMsgGCToGCUpdateSQLKeyValue::SerializeWithCachedSizes(
  20686. ::google::protobuf::io::CodedOutputStream* output) const {
  20687. // optional string key_name = 1;
  20688. if (has_key_name()) {
  20689. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20690. this->key_name().data(), this->key_name().length(),
  20691. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20692. ::google::protobuf::internal::WireFormatLite::WriteString(
  20693. 1, this->key_name(), output);
  20694. }
  20695. if (!unknown_fields().empty()) {
  20696. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20697. unknown_fields(), output);
  20698. }
  20699. }
  20700. ::google::protobuf::uint8* CMsgGCToGCUpdateSQLKeyValue::SerializeWithCachedSizesToArray(
  20701. ::google::protobuf::uint8* target) const {
  20702. // optional string key_name = 1;
  20703. if (has_key_name()) {
  20704. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20705. this->key_name().data(), this->key_name().length(),
  20706. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20707. target =
  20708. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20709. 1, this->key_name(), target);
  20710. }
  20711. if (!unknown_fields().empty()) {
  20712. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20713. unknown_fields(), target);
  20714. }
  20715. return target;
  20716. }
  20717. int CMsgGCToGCUpdateSQLKeyValue::ByteSize() const {
  20718. int total_size = 0;
  20719. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20720. // optional string key_name = 1;
  20721. if (has_key_name()) {
  20722. total_size += 1 +
  20723. ::google::protobuf::internal::WireFormatLite::StringSize(
  20724. this->key_name());
  20725. }
  20726. }
  20727. if (!unknown_fields().empty()) {
  20728. total_size +=
  20729. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20730. unknown_fields());
  20731. }
  20732. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20733. _cached_size_ = total_size;
  20734. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20735. return total_size;
  20736. }
  20737. void CMsgGCToGCUpdateSQLKeyValue::MergeFrom(const ::google::protobuf::Message& from) {
  20738. GOOGLE_CHECK_NE(&from, this);
  20739. const CMsgGCToGCUpdateSQLKeyValue* source =
  20740. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCUpdateSQLKeyValue*>(
  20741. &from);
  20742. if (source == NULL) {
  20743. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20744. } else {
  20745. MergeFrom(*source);
  20746. }
  20747. }
  20748. void CMsgGCToGCUpdateSQLKeyValue::MergeFrom(const CMsgGCToGCUpdateSQLKeyValue& from) {
  20749. GOOGLE_CHECK_NE(&from, this);
  20750. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20751. if (from.has_key_name()) {
  20752. set_key_name(from.key_name());
  20753. }
  20754. }
  20755. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20756. }
  20757. void CMsgGCToGCUpdateSQLKeyValue::CopyFrom(const ::google::protobuf::Message& from) {
  20758. if (&from == this) return;
  20759. Clear();
  20760. MergeFrom(from);
  20761. }
  20762. void CMsgGCToGCUpdateSQLKeyValue::CopyFrom(const CMsgGCToGCUpdateSQLKeyValue& from) {
  20763. if (&from == this) return;
  20764. Clear();
  20765. MergeFrom(from);
  20766. }
  20767. bool CMsgGCToGCUpdateSQLKeyValue::IsInitialized() const {
  20768. return true;
  20769. }
  20770. void CMsgGCToGCUpdateSQLKeyValue::Swap(CMsgGCToGCUpdateSQLKeyValue* other) {
  20771. if (other != this) {
  20772. std::swap(key_name_, other->key_name_);
  20773. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20774. _unknown_fields_.Swap(&other->_unknown_fields_);
  20775. std::swap(_cached_size_, other->_cached_size_);
  20776. }
  20777. }
  20778. ::google::protobuf::Metadata CMsgGCToGCUpdateSQLKeyValue::GetMetadata() const {
  20779. protobuf_AssignDescriptorsOnce();
  20780. ::google::protobuf::Metadata metadata;
  20781. metadata.descriptor = CMsgGCToGCUpdateSQLKeyValue_descriptor_;
  20782. metadata.reflection = CMsgGCToGCUpdateSQLKeyValue_reflection_;
  20783. return metadata;
  20784. }
  20785. // ===================================================================
  20786. #ifndef _MSC_VER
  20787. const int CMsgGCToGCIsTrustedServer::kSteamIdFieldNumber;
  20788. #endif // !_MSC_VER
  20789. CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer()
  20790. : ::google::protobuf::Message() {
  20791. SharedCtor();
  20792. }
  20793. void CMsgGCToGCIsTrustedServer::InitAsDefaultInstance() {
  20794. }
  20795. CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer(const CMsgGCToGCIsTrustedServer& from)
  20796. : ::google::protobuf::Message() {
  20797. SharedCtor();
  20798. MergeFrom(from);
  20799. }
  20800. void CMsgGCToGCIsTrustedServer::SharedCtor() {
  20801. _cached_size_ = 0;
  20802. steam_id_ = GOOGLE_ULONGLONG(0);
  20803. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20804. }
  20805. CMsgGCToGCIsTrustedServer::~CMsgGCToGCIsTrustedServer() {
  20806. SharedDtor();
  20807. }
  20808. void CMsgGCToGCIsTrustedServer::SharedDtor() {
  20809. if (this != default_instance_) {
  20810. }
  20811. }
  20812. void CMsgGCToGCIsTrustedServer::SetCachedSize(int size) const {
  20813. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20814. _cached_size_ = size;
  20815. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20816. }
  20817. const ::google::protobuf::Descriptor* CMsgGCToGCIsTrustedServer::descriptor() {
  20818. protobuf_AssignDescriptorsOnce();
  20819. return CMsgGCToGCIsTrustedServer_descriptor_;
  20820. }
  20821. const CMsgGCToGCIsTrustedServer& CMsgGCToGCIsTrustedServer::default_instance() {
  20822. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  20823. return *default_instance_;
  20824. }
  20825. CMsgGCToGCIsTrustedServer* CMsgGCToGCIsTrustedServer::default_instance_ = NULL;
  20826. CMsgGCToGCIsTrustedServer* CMsgGCToGCIsTrustedServer::New() const {
  20827. return new CMsgGCToGCIsTrustedServer;
  20828. }
  20829. void CMsgGCToGCIsTrustedServer::Clear() {
  20830. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20831. steam_id_ = GOOGLE_ULONGLONG(0);
  20832. }
  20833. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20834. mutable_unknown_fields()->Clear();
  20835. }
  20836. bool CMsgGCToGCIsTrustedServer::MergePartialFromCodedStream(
  20837. ::google::protobuf::io::CodedInputStream* input) {
  20838. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20839. ::google::protobuf::uint32 tag;
  20840. while ((tag = input->ReadTag()) != 0) {
  20841. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20842. // optional fixed64 steam_id = 1;
  20843. case 1: {
  20844. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20845. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  20846. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20847. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  20848. input, &steam_id_)));
  20849. set_has_steam_id();
  20850. } else {
  20851. goto handle_uninterpreted;
  20852. }
  20853. if (input->ExpectAtEnd()) return true;
  20854. break;
  20855. }
  20856. default: {
  20857. handle_uninterpreted:
  20858. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20859. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20860. return true;
  20861. }
  20862. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20863. input, tag, mutable_unknown_fields()));
  20864. break;
  20865. }
  20866. }
  20867. }
  20868. return true;
  20869. #undef DO_
  20870. }
  20871. void CMsgGCToGCIsTrustedServer::SerializeWithCachedSizes(
  20872. ::google::protobuf::io::CodedOutputStream* output) const {
  20873. // optional fixed64 steam_id = 1;
  20874. if (has_steam_id()) {
  20875. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  20876. }
  20877. if (!unknown_fields().empty()) {
  20878. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20879. unknown_fields(), output);
  20880. }
  20881. }
  20882. ::google::protobuf::uint8* CMsgGCToGCIsTrustedServer::SerializeWithCachedSizesToArray(
  20883. ::google::protobuf::uint8* target) const {
  20884. // optional fixed64 steam_id = 1;
  20885. if (has_steam_id()) {
  20886. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  20887. }
  20888. if (!unknown_fields().empty()) {
  20889. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20890. unknown_fields(), target);
  20891. }
  20892. return target;
  20893. }
  20894. int CMsgGCToGCIsTrustedServer::ByteSize() const {
  20895. int total_size = 0;
  20896. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20897. // optional fixed64 steam_id = 1;
  20898. if (has_steam_id()) {
  20899. total_size += 1 + 8;
  20900. }
  20901. }
  20902. if (!unknown_fields().empty()) {
  20903. total_size +=
  20904. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20905. unknown_fields());
  20906. }
  20907. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20908. _cached_size_ = total_size;
  20909. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20910. return total_size;
  20911. }
  20912. void CMsgGCToGCIsTrustedServer::MergeFrom(const ::google::protobuf::Message& from) {
  20913. GOOGLE_CHECK_NE(&from, this);
  20914. const CMsgGCToGCIsTrustedServer* source =
  20915. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCIsTrustedServer*>(
  20916. &from);
  20917. if (source == NULL) {
  20918. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20919. } else {
  20920. MergeFrom(*source);
  20921. }
  20922. }
  20923. void CMsgGCToGCIsTrustedServer::MergeFrom(const CMsgGCToGCIsTrustedServer& from) {
  20924. GOOGLE_CHECK_NE(&from, this);
  20925. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20926. if (from.has_steam_id()) {
  20927. set_steam_id(from.steam_id());
  20928. }
  20929. }
  20930. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20931. }
  20932. void CMsgGCToGCIsTrustedServer::CopyFrom(const ::google::protobuf::Message& from) {
  20933. if (&from == this) return;
  20934. Clear();
  20935. MergeFrom(from);
  20936. }
  20937. void CMsgGCToGCIsTrustedServer::CopyFrom(const CMsgGCToGCIsTrustedServer& from) {
  20938. if (&from == this) return;
  20939. Clear();
  20940. MergeFrom(from);
  20941. }
  20942. bool CMsgGCToGCIsTrustedServer::IsInitialized() const {
  20943. return true;
  20944. }
  20945. void CMsgGCToGCIsTrustedServer::Swap(CMsgGCToGCIsTrustedServer* other) {
  20946. if (other != this) {
  20947. std::swap(steam_id_, other->steam_id_);
  20948. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20949. _unknown_fields_.Swap(&other->_unknown_fields_);
  20950. std::swap(_cached_size_, other->_cached_size_);
  20951. }
  20952. }
  20953. ::google::protobuf::Metadata CMsgGCToGCIsTrustedServer::GetMetadata() const {
  20954. protobuf_AssignDescriptorsOnce();
  20955. ::google::protobuf::Metadata metadata;
  20956. metadata.descriptor = CMsgGCToGCIsTrustedServer_descriptor_;
  20957. metadata.reflection = CMsgGCToGCIsTrustedServer_reflection_;
  20958. return metadata;
  20959. }
  20960. // ===================================================================
  20961. #ifndef _MSC_VER
  20962. const int CMsgGCToGCIsTrustedServerResponse::kIsTrustedFieldNumber;
  20963. #endif // !_MSC_VER
  20964. CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse()
  20965. : ::google::protobuf::Message() {
  20966. SharedCtor();
  20967. }
  20968. void CMsgGCToGCIsTrustedServerResponse::InitAsDefaultInstance() {
  20969. }
  20970. CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse(const CMsgGCToGCIsTrustedServerResponse& from)
  20971. : ::google::protobuf::Message() {
  20972. SharedCtor();
  20973. MergeFrom(from);
  20974. }
  20975. void CMsgGCToGCIsTrustedServerResponse::SharedCtor() {
  20976. _cached_size_ = 0;
  20977. is_trusted_ = false;
  20978. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20979. }
  20980. CMsgGCToGCIsTrustedServerResponse::~CMsgGCToGCIsTrustedServerResponse() {
  20981. SharedDtor();
  20982. }
  20983. void CMsgGCToGCIsTrustedServerResponse::SharedDtor() {
  20984. if (this != default_instance_) {
  20985. }
  20986. }
  20987. void CMsgGCToGCIsTrustedServerResponse::SetCachedSize(int size) const {
  20988. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20989. _cached_size_ = size;
  20990. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20991. }
  20992. const ::google::protobuf::Descriptor* CMsgGCToGCIsTrustedServerResponse::descriptor() {
  20993. protobuf_AssignDescriptorsOnce();
  20994. return CMsgGCToGCIsTrustedServerResponse_descriptor_;
  20995. }
  20996. const CMsgGCToGCIsTrustedServerResponse& CMsgGCToGCIsTrustedServerResponse::default_instance() {
  20997. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  20998. return *default_instance_;
  20999. }
  21000. CMsgGCToGCIsTrustedServerResponse* CMsgGCToGCIsTrustedServerResponse::default_instance_ = NULL;
  21001. CMsgGCToGCIsTrustedServerResponse* CMsgGCToGCIsTrustedServerResponse::New() const {
  21002. return new CMsgGCToGCIsTrustedServerResponse;
  21003. }
  21004. void CMsgGCToGCIsTrustedServerResponse::Clear() {
  21005. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21006. is_trusted_ = false;
  21007. }
  21008. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21009. mutable_unknown_fields()->Clear();
  21010. }
  21011. bool CMsgGCToGCIsTrustedServerResponse::MergePartialFromCodedStream(
  21012. ::google::protobuf::io::CodedInputStream* input) {
  21013. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21014. ::google::protobuf::uint32 tag;
  21015. while ((tag = input->ReadTag()) != 0) {
  21016. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21017. // optional bool is_trusted = 1;
  21018. case 1: {
  21019. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21020. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21021. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21022. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  21023. input, &is_trusted_)));
  21024. set_has_is_trusted();
  21025. } else {
  21026. goto handle_uninterpreted;
  21027. }
  21028. if (input->ExpectAtEnd()) return true;
  21029. break;
  21030. }
  21031. default: {
  21032. handle_uninterpreted:
  21033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21035. return true;
  21036. }
  21037. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21038. input, tag, mutable_unknown_fields()));
  21039. break;
  21040. }
  21041. }
  21042. }
  21043. return true;
  21044. #undef DO_
  21045. }
  21046. void CMsgGCToGCIsTrustedServerResponse::SerializeWithCachedSizes(
  21047. ::google::protobuf::io::CodedOutputStream* output) const {
  21048. // optional bool is_trusted = 1;
  21049. if (has_is_trusted()) {
  21050. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_trusted(), output);
  21051. }
  21052. if (!unknown_fields().empty()) {
  21053. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21054. unknown_fields(), output);
  21055. }
  21056. }
  21057. ::google::protobuf::uint8* CMsgGCToGCIsTrustedServerResponse::SerializeWithCachedSizesToArray(
  21058. ::google::protobuf::uint8* target) const {
  21059. // optional bool is_trusted = 1;
  21060. if (has_is_trusted()) {
  21061. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_trusted(), target);
  21062. }
  21063. if (!unknown_fields().empty()) {
  21064. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21065. unknown_fields(), target);
  21066. }
  21067. return target;
  21068. }
  21069. int CMsgGCToGCIsTrustedServerResponse::ByteSize() const {
  21070. int total_size = 0;
  21071. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21072. // optional bool is_trusted = 1;
  21073. if (has_is_trusted()) {
  21074. total_size += 1 + 1;
  21075. }
  21076. }
  21077. if (!unknown_fields().empty()) {
  21078. total_size +=
  21079. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21080. unknown_fields());
  21081. }
  21082. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21083. _cached_size_ = total_size;
  21084. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21085. return total_size;
  21086. }
  21087. void CMsgGCToGCIsTrustedServerResponse::MergeFrom(const ::google::protobuf::Message& from) {
  21088. GOOGLE_CHECK_NE(&from, this);
  21089. const CMsgGCToGCIsTrustedServerResponse* source =
  21090. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCIsTrustedServerResponse*>(
  21091. &from);
  21092. if (source == NULL) {
  21093. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21094. } else {
  21095. MergeFrom(*source);
  21096. }
  21097. }
  21098. void CMsgGCToGCIsTrustedServerResponse::MergeFrom(const CMsgGCToGCIsTrustedServerResponse& from) {
  21099. GOOGLE_CHECK_NE(&from, this);
  21100. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21101. if (from.has_is_trusted()) {
  21102. set_is_trusted(from.is_trusted());
  21103. }
  21104. }
  21105. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21106. }
  21107. void CMsgGCToGCIsTrustedServerResponse::CopyFrom(const ::google::protobuf::Message& from) {
  21108. if (&from == this) return;
  21109. Clear();
  21110. MergeFrom(from);
  21111. }
  21112. void CMsgGCToGCIsTrustedServerResponse::CopyFrom(const CMsgGCToGCIsTrustedServerResponse& from) {
  21113. if (&from == this) return;
  21114. Clear();
  21115. MergeFrom(from);
  21116. }
  21117. bool CMsgGCToGCIsTrustedServerResponse::IsInitialized() const {
  21118. return true;
  21119. }
  21120. void CMsgGCToGCIsTrustedServerResponse::Swap(CMsgGCToGCIsTrustedServerResponse* other) {
  21121. if (other != this) {
  21122. std::swap(is_trusted_, other->is_trusted_);
  21123. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21124. _unknown_fields_.Swap(&other->_unknown_fields_);
  21125. std::swap(_cached_size_, other->_cached_size_);
  21126. }
  21127. }
  21128. ::google::protobuf::Metadata CMsgGCToGCIsTrustedServerResponse::GetMetadata() const {
  21129. protobuf_AssignDescriptorsOnce();
  21130. ::google::protobuf::Metadata metadata;
  21131. metadata.descriptor = CMsgGCToGCIsTrustedServerResponse_descriptor_;
  21132. metadata.reflection = CMsgGCToGCIsTrustedServerResponse_reflection_;
  21133. return metadata;
  21134. }
  21135. // ===================================================================
  21136. #ifndef _MSC_VER
  21137. const int CMsgGCToGCBroadcastConsoleCommand::kConCommandFieldNumber;
  21138. #endif // !_MSC_VER
  21139. CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand()
  21140. : ::google::protobuf::Message() {
  21141. SharedCtor();
  21142. }
  21143. void CMsgGCToGCBroadcastConsoleCommand::InitAsDefaultInstance() {
  21144. }
  21145. CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand(const CMsgGCToGCBroadcastConsoleCommand& from)
  21146. : ::google::protobuf::Message() {
  21147. SharedCtor();
  21148. MergeFrom(from);
  21149. }
  21150. void CMsgGCToGCBroadcastConsoleCommand::SharedCtor() {
  21151. _cached_size_ = 0;
  21152. con_command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  21153. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21154. }
  21155. CMsgGCToGCBroadcastConsoleCommand::~CMsgGCToGCBroadcastConsoleCommand() {
  21156. SharedDtor();
  21157. }
  21158. void CMsgGCToGCBroadcastConsoleCommand::SharedDtor() {
  21159. if (con_command_ != &::google::protobuf::internal::kEmptyString) {
  21160. delete con_command_;
  21161. }
  21162. if (this != default_instance_) {
  21163. }
  21164. }
  21165. void CMsgGCToGCBroadcastConsoleCommand::SetCachedSize(int size) const {
  21166. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21167. _cached_size_ = size;
  21168. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21169. }
  21170. const ::google::protobuf::Descriptor* CMsgGCToGCBroadcastConsoleCommand::descriptor() {
  21171. protobuf_AssignDescriptorsOnce();
  21172. return CMsgGCToGCBroadcastConsoleCommand_descriptor_;
  21173. }
  21174. const CMsgGCToGCBroadcastConsoleCommand& CMsgGCToGCBroadcastConsoleCommand::default_instance() {
  21175. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  21176. return *default_instance_;
  21177. }
  21178. CMsgGCToGCBroadcastConsoleCommand* CMsgGCToGCBroadcastConsoleCommand::default_instance_ = NULL;
  21179. CMsgGCToGCBroadcastConsoleCommand* CMsgGCToGCBroadcastConsoleCommand::New() const {
  21180. return new CMsgGCToGCBroadcastConsoleCommand;
  21181. }
  21182. void CMsgGCToGCBroadcastConsoleCommand::Clear() {
  21183. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21184. if (has_con_command()) {
  21185. if (con_command_ != &::google::protobuf::internal::kEmptyString) {
  21186. con_command_->clear();
  21187. }
  21188. }
  21189. }
  21190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21191. mutable_unknown_fields()->Clear();
  21192. }
  21193. bool CMsgGCToGCBroadcastConsoleCommand::MergePartialFromCodedStream(
  21194. ::google::protobuf::io::CodedInputStream* input) {
  21195. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21196. ::google::protobuf::uint32 tag;
  21197. while ((tag = input->ReadTag()) != 0) {
  21198. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21199. // optional string con_command = 1;
  21200. case 1: {
  21201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  21203. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  21204. input, this->mutable_con_command()));
  21205. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21206. this->con_command().data(), this->con_command().length(),
  21207. ::google::protobuf::internal::WireFormat::PARSE);
  21208. } else {
  21209. goto handle_uninterpreted;
  21210. }
  21211. if (input->ExpectAtEnd()) return true;
  21212. break;
  21213. }
  21214. default: {
  21215. handle_uninterpreted:
  21216. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21217. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21218. return true;
  21219. }
  21220. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21221. input, tag, mutable_unknown_fields()));
  21222. break;
  21223. }
  21224. }
  21225. }
  21226. return true;
  21227. #undef DO_
  21228. }
  21229. void CMsgGCToGCBroadcastConsoleCommand::SerializeWithCachedSizes(
  21230. ::google::protobuf::io::CodedOutputStream* output) const {
  21231. // optional string con_command = 1;
  21232. if (has_con_command()) {
  21233. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21234. this->con_command().data(), this->con_command().length(),
  21235. ::google::protobuf::internal::WireFormat::SERIALIZE);
  21236. ::google::protobuf::internal::WireFormatLite::WriteString(
  21237. 1, this->con_command(), output);
  21238. }
  21239. if (!unknown_fields().empty()) {
  21240. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21241. unknown_fields(), output);
  21242. }
  21243. }
  21244. ::google::protobuf::uint8* CMsgGCToGCBroadcastConsoleCommand::SerializeWithCachedSizesToArray(
  21245. ::google::protobuf::uint8* target) const {
  21246. // optional string con_command = 1;
  21247. if (has_con_command()) {
  21248. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21249. this->con_command().data(), this->con_command().length(),
  21250. ::google::protobuf::internal::WireFormat::SERIALIZE);
  21251. target =
  21252. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  21253. 1, this->con_command(), target);
  21254. }
  21255. if (!unknown_fields().empty()) {
  21256. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21257. unknown_fields(), target);
  21258. }
  21259. return target;
  21260. }
  21261. int CMsgGCToGCBroadcastConsoleCommand::ByteSize() const {
  21262. int total_size = 0;
  21263. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21264. // optional string con_command = 1;
  21265. if (has_con_command()) {
  21266. total_size += 1 +
  21267. ::google::protobuf::internal::WireFormatLite::StringSize(
  21268. this->con_command());
  21269. }
  21270. }
  21271. if (!unknown_fields().empty()) {
  21272. total_size +=
  21273. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21274. unknown_fields());
  21275. }
  21276. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21277. _cached_size_ = total_size;
  21278. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21279. return total_size;
  21280. }
  21281. void CMsgGCToGCBroadcastConsoleCommand::MergeFrom(const ::google::protobuf::Message& from) {
  21282. GOOGLE_CHECK_NE(&from, this);
  21283. const CMsgGCToGCBroadcastConsoleCommand* source =
  21284. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCBroadcastConsoleCommand*>(
  21285. &from);
  21286. if (source == NULL) {
  21287. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21288. } else {
  21289. MergeFrom(*source);
  21290. }
  21291. }
  21292. void CMsgGCToGCBroadcastConsoleCommand::MergeFrom(const CMsgGCToGCBroadcastConsoleCommand& from) {
  21293. GOOGLE_CHECK_NE(&from, this);
  21294. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21295. if (from.has_con_command()) {
  21296. set_con_command(from.con_command());
  21297. }
  21298. }
  21299. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21300. }
  21301. void CMsgGCToGCBroadcastConsoleCommand::CopyFrom(const ::google::protobuf::Message& from) {
  21302. if (&from == this) return;
  21303. Clear();
  21304. MergeFrom(from);
  21305. }
  21306. void CMsgGCToGCBroadcastConsoleCommand::CopyFrom(const CMsgGCToGCBroadcastConsoleCommand& from) {
  21307. if (&from == this) return;
  21308. Clear();
  21309. MergeFrom(from);
  21310. }
  21311. bool CMsgGCToGCBroadcastConsoleCommand::IsInitialized() const {
  21312. return true;
  21313. }
  21314. void CMsgGCToGCBroadcastConsoleCommand::Swap(CMsgGCToGCBroadcastConsoleCommand* other) {
  21315. if (other != this) {
  21316. std::swap(con_command_, other->con_command_);
  21317. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21318. _unknown_fields_.Swap(&other->_unknown_fields_);
  21319. std::swap(_cached_size_, other->_cached_size_);
  21320. }
  21321. }
  21322. ::google::protobuf::Metadata CMsgGCToGCBroadcastConsoleCommand::GetMetadata() const {
  21323. protobuf_AssignDescriptorsOnce();
  21324. ::google::protobuf::Metadata metadata;
  21325. metadata.descriptor = CMsgGCToGCBroadcastConsoleCommand_descriptor_;
  21326. metadata.reflection = CMsgGCToGCBroadcastConsoleCommand_reflection_;
  21327. return metadata;
  21328. }
  21329. // ===================================================================
  21330. #ifndef _MSC_VER
  21331. const int CMsgGCServerVersionUpdated::kServerVersionFieldNumber;
  21332. #endif // !_MSC_VER
  21333. CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated()
  21334. : ::google::protobuf::Message() {
  21335. SharedCtor();
  21336. }
  21337. void CMsgGCServerVersionUpdated::InitAsDefaultInstance() {
  21338. }
  21339. CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated(const CMsgGCServerVersionUpdated& from)
  21340. : ::google::protobuf::Message() {
  21341. SharedCtor();
  21342. MergeFrom(from);
  21343. }
  21344. void CMsgGCServerVersionUpdated::SharedCtor() {
  21345. _cached_size_ = 0;
  21346. server_version_ = 0u;
  21347. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21348. }
  21349. CMsgGCServerVersionUpdated::~CMsgGCServerVersionUpdated() {
  21350. SharedDtor();
  21351. }
  21352. void CMsgGCServerVersionUpdated::SharedDtor() {
  21353. if (this != default_instance_) {
  21354. }
  21355. }
  21356. void CMsgGCServerVersionUpdated::SetCachedSize(int size) const {
  21357. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21358. _cached_size_ = size;
  21359. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21360. }
  21361. const ::google::protobuf::Descriptor* CMsgGCServerVersionUpdated::descriptor() {
  21362. protobuf_AssignDescriptorsOnce();
  21363. return CMsgGCServerVersionUpdated_descriptor_;
  21364. }
  21365. const CMsgGCServerVersionUpdated& CMsgGCServerVersionUpdated::default_instance() {
  21366. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  21367. return *default_instance_;
  21368. }
  21369. CMsgGCServerVersionUpdated* CMsgGCServerVersionUpdated::default_instance_ = NULL;
  21370. CMsgGCServerVersionUpdated* CMsgGCServerVersionUpdated::New() const {
  21371. return new CMsgGCServerVersionUpdated;
  21372. }
  21373. void CMsgGCServerVersionUpdated::Clear() {
  21374. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21375. server_version_ = 0u;
  21376. }
  21377. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21378. mutable_unknown_fields()->Clear();
  21379. }
  21380. bool CMsgGCServerVersionUpdated::MergePartialFromCodedStream(
  21381. ::google::protobuf::io::CodedInputStream* input) {
  21382. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21383. ::google::protobuf::uint32 tag;
  21384. while ((tag = input->ReadTag()) != 0) {
  21385. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21386. // optional uint32 server_version = 1;
  21387. case 1: {
  21388. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21389. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21390. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21391. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  21392. input, &server_version_)));
  21393. set_has_server_version();
  21394. } else {
  21395. goto handle_uninterpreted;
  21396. }
  21397. if (input->ExpectAtEnd()) return true;
  21398. break;
  21399. }
  21400. default: {
  21401. handle_uninterpreted:
  21402. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21403. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21404. return true;
  21405. }
  21406. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21407. input, tag, mutable_unknown_fields()));
  21408. break;
  21409. }
  21410. }
  21411. }
  21412. return true;
  21413. #undef DO_
  21414. }
  21415. void CMsgGCServerVersionUpdated::SerializeWithCachedSizes(
  21416. ::google::protobuf::io::CodedOutputStream* output) const {
  21417. // optional uint32 server_version = 1;
  21418. if (has_server_version()) {
  21419. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->server_version(), output);
  21420. }
  21421. if (!unknown_fields().empty()) {
  21422. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21423. unknown_fields(), output);
  21424. }
  21425. }
  21426. ::google::protobuf::uint8* CMsgGCServerVersionUpdated::SerializeWithCachedSizesToArray(
  21427. ::google::protobuf::uint8* target) const {
  21428. // optional uint32 server_version = 1;
  21429. if (has_server_version()) {
  21430. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->server_version(), target);
  21431. }
  21432. if (!unknown_fields().empty()) {
  21433. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21434. unknown_fields(), target);
  21435. }
  21436. return target;
  21437. }
  21438. int CMsgGCServerVersionUpdated::ByteSize() const {
  21439. int total_size = 0;
  21440. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21441. // optional uint32 server_version = 1;
  21442. if (has_server_version()) {
  21443. total_size += 1 +
  21444. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  21445. this->server_version());
  21446. }
  21447. }
  21448. if (!unknown_fields().empty()) {
  21449. total_size +=
  21450. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21451. unknown_fields());
  21452. }
  21453. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21454. _cached_size_ = total_size;
  21455. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21456. return total_size;
  21457. }
  21458. void CMsgGCServerVersionUpdated::MergeFrom(const ::google::protobuf::Message& from) {
  21459. GOOGLE_CHECK_NE(&from, this);
  21460. const CMsgGCServerVersionUpdated* source =
  21461. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCServerVersionUpdated*>(
  21462. &from);
  21463. if (source == NULL) {
  21464. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21465. } else {
  21466. MergeFrom(*source);
  21467. }
  21468. }
  21469. void CMsgGCServerVersionUpdated::MergeFrom(const CMsgGCServerVersionUpdated& from) {
  21470. GOOGLE_CHECK_NE(&from, this);
  21471. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21472. if (from.has_server_version()) {
  21473. set_server_version(from.server_version());
  21474. }
  21475. }
  21476. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21477. }
  21478. void CMsgGCServerVersionUpdated::CopyFrom(const ::google::protobuf::Message& from) {
  21479. if (&from == this) return;
  21480. Clear();
  21481. MergeFrom(from);
  21482. }
  21483. void CMsgGCServerVersionUpdated::CopyFrom(const CMsgGCServerVersionUpdated& from) {
  21484. if (&from == this) return;
  21485. Clear();
  21486. MergeFrom(from);
  21487. }
  21488. bool CMsgGCServerVersionUpdated::IsInitialized() const {
  21489. return true;
  21490. }
  21491. void CMsgGCServerVersionUpdated::Swap(CMsgGCServerVersionUpdated* other) {
  21492. if (other != this) {
  21493. std::swap(server_version_, other->server_version_);
  21494. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21495. _unknown_fields_.Swap(&other->_unknown_fields_);
  21496. std::swap(_cached_size_, other->_cached_size_);
  21497. }
  21498. }
  21499. ::google::protobuf::Metadata CMsgGCServerVersionUpdated::GetMetadata() const {
  21500. protobuf_AssignDescriptorsOnce();
  21501. ::google::protobuf::Metadata metadata;
  21502. metadata.descriptor = CMsgGCServerVersionUpdated_descriptor_;
  21503. metadata.reflection = CMsgGCServerVersionUpdated_reflection_;
  21504. return metadata;
  21505. }
  21506. // ===================================================================
  21507. #ifndef _MSC_VER
  21508. const int CMsgGCClientVersionUpdated::kClientVersionFieldNumber;
  21509. #endif // !_MSC_VER
  21510. CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated()
  21511. : ::google::protobuf::Message() {
  21512. SharedCtor();
  21513. }
  21514. void CMsgGCClientVersionUpdated::InitAsDefaultInstance() {
  21515. }
  21516. CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated(const CMsgGCClientVersionUpdated& from)
  21517. : ::google::protobuf::Message() {
  21518. SharedCtor();
  21519. MergeFrom(from);
  21520. }
  21521. void CMsgGCClientVersionUpdated::SharedCtor() {
  21522. _cached_size_ = 0;
  21523. client_version_ = 0u;
  21524. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21525. }
  21526. CMsgGCClientVersionUpdated::~CMsgGCClientVersionUpdated() {
  21527. SharedDtor();
  21528. }
  21529. void CMsgGCClientVersionUpdated::SharedDtor() {
  21530. if (this != default_instance_) {
  21531. }
  21532. }
  21533. void CMsgGCClientVersionUpdated::SetCachedSize(int size) const {
  21534. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21535. _cached_size_ = size;
  21536. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21537. }
  21538. const ::google::protobuf::Descriptor* CMsgGCClientVersionUpdated::descriptor() {
  21539. protobuf_AssignDescriptorsOnce();
  21540. return CMsgGCClientVersionUpdated_descriptor_;
  21541. }
  21542. const CMsgGCClientVersionUpdated& CMsgGCClientVersionUpdated::default_instance() {
  21543. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  21544. return *default_instance_;
  21545. }
  21546. CMsgGCClientVersionUpdated* CMsgGCClientVersionUpdated::default_instance_ = NULL;
  21547. CMsgGCClientVersionUpdated* CMsgGCClientVersionUpdated::New() const {
  21548. return new CMsgGCClientVersionUpdated;
  21549. }
  21550. void CMsgGCClientVersionUpdated::Clear() {
  21551. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21552. client_version_ = 0u;
  21553. }
  21554. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21555. mutable_unknown_fields()->Clear();
  21556. }
  21557. bool CMsgGCClientVersionUpdated::MergePartialFromCodedStream(
  21558. ::google::protobuf::io::CodedInputStream* input) {
  21559. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21560. ::google::protobuf::uint32 tag;
  21561. while ((tag = input->ReadTag()) != 0) {
  21562. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21563. // optional uint32 client_version = 1;
  21564. case 1: {
  21565. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21566. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21567. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21568. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  21569. input, &client_version_)));
  21570. set_has_client_version();
  21571. } else {
  21572. goto handle_uninterpreted;
  21573. }
  21574. if (input->ExpectAtEnd()) return true;
  21575. break;
  21576. }
  21577. default: {
  21578. handle_uninterpreted:
  21579. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21580. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21581. return true;
  21582. }
  21583. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21584. input, tag, mutable_unknown_fields()));
  21585. break;
  21586. }
  21587. }
  21588. }
  21589. return true;
  21590. #undef DO_
  21591. }
  21592. void CMsgGCClientVersionUpdated::SerializeWithCachedSizes(
  21593. ::google::protobuf::io::CodedOutputStream* output) const {
  21594. // optional uint32 client_version = 1;
  21595. if (has_client_version()) {
  21596. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->client_version(), output);
  21597. }
  21598. if (!unknown_fields().empty()) {
  21599. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21600. unknown_fields(), output);
  21601. }
  21602. }
  21603. ::google::protobuf::uint8* CMsgGCClientVersionUpdated::SerializeWithCachedSizesToArray(
  21604. ::google::protobuf::uint8* target) const {
  21605. // optional uint32 client_version = 1;
  21606. if (has_client_version()) {
  21607. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->client_version(), target);
  21608. }
  21609. if (!unknown_fields().empty()) {
  21610. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21611. unknown_fields(), target);
  21612. }
  21613. return target;
  21614. }
  21615. int CMsgGCClientVersionUpdated::ByteSize() const {
  21616. int total_size = 0;
  21617. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21618. // optional uint32 client_version = 1;
  21619. if (has_client_version()) {
  21620. total_size += 1 +
  21621. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  21622. this->client_version());
  21623. }
  21624. }
  21625. if (!unknown_fields().empty()) {
  21626. total_size +=
  21627. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21628. unknown_fields());
  21629. }
  21630. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21631. _cached_size_ = total_size;
  21632. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21633. return total_size;
  21634. }
  21635. void CMsgGCClientVersionUpdated::MergeFrom(const ::google::protobuf::Message& from) {
  21636. GOOGLE_CHECK_NE(&from, this);
  21637. const CMsgGCClientVersionUpdated* source =
  21638. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCClientVersionUpdated*>(
  21639. &from);
  21640. if (source == NULL) {
  21641. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21642. } else {
  21643. MergeFrom(*source);
  21644. }
  21645. }
  21646. void CMsgGCClientVersionUpdated::MergeFrom(const CMsgGCClientVersionUpdated& from) {
  21647. GOOGLE_CHECK_NE(&from, this);
  21648. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21649. if (from.has_client_version()) {
  21650. set_client_version(from.client_version());
  21651. }
  21652. }
  21653. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21654. }
  21655. void CMsgGCClientVersionUpdated::CopyFrom(const ::google::protobuf::Message& from) {
  21656. if (&from == this) return;
  21657. Clear();
  21658. MergeFrom(from);
  21659. }
  21660. void CMsgGCClientVersionUpdated::CopyFrom(const CMsgGCClientVersionUpdated& from) {
  21661. if (&from == this) return;
  21662. Clear();
  21663. MergeFrom(from);
  21664. }
  21665. bool CMsgGCClientVersionUpdated::IsInitialized() const {
  21666. return true;
  21667. }
  21668. void CMsgGCClientVersionUpdated::Swap(CMsgGCClientVersionUpdated* other) {
  21669. if (other != this) {
  21670. std::swap(client_version_, other->client_version_);
  21671. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21672. _unknown_fields_.Swap(&other->_unknown_fields_);
  21673. std::swap(_cached_size_, other->_cached_size_);
  21674. }
  21675. }
  21676. ::google::protobuf::Metadata CMsgGCClientVersionUpdated::GetMetadata() const {
  21677. protobuf_AssignDescriptorsOnce();
  21678. ::google::protobuf::Metadata metadata;
  21679. metadata.descriptor = CMsgGCClientVersionUpdated_descriptor_;
  21680. metadata.reflection = CMsgGCClientVersionUpdated_reflection_;
  21681. return metadata;
  21682. }
  21683. // ===================================================================
  21684. #ifndef _MSC_VER
  21685. #endif // !_MSC_VER
  21686. CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged()
  21687. : ::google::protobuf::Message() {
  21688. SharedCtor();
  21689. }
  21690. void CMsgGCToGCWebAPIAccountChanged::InitAsDefaultInstance() {
  21691. }
  21692. CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged(const CMsgGCToGCWebAPIAccountChanged& from)
  21693. : ::google::protobuf::Message() {
  21694. SharedCtor();
  21695. MergeFrom(from);
  21696. }
  21697. void CMsgGCToGCWebAPIAccountChanged::SharedCtor() {
  21698. _cached_size_ = 0;
  21699. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21700. }
  21701. CMsgGCToGCWebAPIAccountChanged::~CMsgGCToGCWebAPIAccountChanged() {
  21702. SharedDtor();
  21703. }
  21704. void CMsgGCToGCWebAPIAccountChanged::SharedDtor() {
  21705. if (this != default_instance_) {
  21706. }
  21707. }
  21708. void CMsgGCToGCWebAPIAccountChanged::SetCachedSize(int size) const {
  21709. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21710. _cached_size_ = size;
  21711. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21712. }
  21713. const ::google::protobuf::Descriptor* CMsgGCToGCWebAPIAccountChanged::descriptor() {
  21714. protobuf_AssignDescriptorsOnce();
  21715. return CMsgGCToGCWebAPIAccountChanged_descriptor_;
  21716. }
  21717. const CMsgGCToGCWebAPIAccountChanged& CMsgGCToGCWebAPIAccountChanged::default_instance() {
  21718. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  21719. return *default_instance_;
  21720. }
  21721. CMsgGCToGCWebAPIAccountChanged* CMsgGCToGCWebAPIAccountChanged::default_instance_ = NULL;
  21722. CMsgGCToGCWebAPIAccountChanged* CMsgGCToGCWebAPIAccountChanged::New() const {
  21723. return new CMsgGCToGCWebAPIAccountChanged;
  21724. }
  21725. void CMsgGCToGCWebAPIAccountChanged::Clear() {
  21726. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21727. mutable_unknown_fields()->Clear();
  21728. }
  21729. bool CMsgGCToGCWebAPIAccountChanged::MergePartialFromCodedStream(
  21730. ::google::protobuf::io::CodedInputStream* input) {
  21731. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21732. ::google::protobuf::uint32 tag;
  21733. while ((tag = input->ReadTag()) != 0) {
  21734. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21735. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21736. return true;
  21737. }
  21738. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21739. input, tag, mutable_unknown_fields()));
  21740. }
  21741. return true;
  21742. #undef DO_
  21743. }
  21744. void CMsgGCToGCWebAPIAccountChanged::SerializeWithCachedSizes(
  21745. ::google::protobuf::io::CodedOutputStream* output) const {
  21746. if (!unknown_fields().empty()) {
  21747. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21748. unknown_fields(), output);
  21749. }
  21750. }
  21751. ::google::protobuf::uint8* CMsgGCToGCWebAPIAccountChanged::SerializeWithCachedSizesToArray(
  21752. ::google::protobuf::uint8* target) const {
  21753. if (!unknown_fields().empty()) {
  21754. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21755. unknown_fields(), target);
  21756. }
  21757. return target;
  21758. }
  21759. int CMsgGCToGCWebAPIAccountChanged::ByteSize() const {
  21760. int total_size = 0;
  21761. if (!unknown_fields().empty()) {
  21762. total_size +=
  21763. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21764. unknown_fields());
  21765. }
  21766. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21767. _cached_size_ = total_size;
  21768. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21769. return total_size;
  21770. }
  21771. void CMsgGCToGCWebAPIAccountChanged::MergeFrom(const ::google::protobuf::Message& from) {
  21772. GOOGLE_CHECK_NE(&from, this);
  21773. const CMsgGCToGCWebAPIAccountChanged* source =
  21774. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCWebAPIAccountChanged*>(
  21775. &from);
  21776. if (source == NULL) {
  21777. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21778. } else {
  21779. MergeFrom(*source);
  21780. }
  21781. }
  21782. void CMsgGCToGCWebAPIAccountChanged::MergeFrom(const CMsgGCToGCWebAPIAccountChanged& from) {
  21783. GOOGLE_CHECK_NE(&from, this);
  21784. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21785. }
  21786. void CMsgGCToGCWebAPIAccountChanged::CopyFrom(const ::google::protobuf::Message& from) {
  21787. if (&from == this) return;
  21788. Clear();
  21789. MergeFrom(from);
  21790. }
  21791. void CMsgGCToGCWebAPIAccountChanged::CopyFrom(const CMsgGCToGCWebAPIAccountChanged& from) {
  21792. if (&from == this) return;
  21793. Clear();
  21794. MergeFrom(from);
  21795. }
  21796. bool CMsgGCToGCWebAPIAccountChanged::IsInitialized() const {
  21797. return true;
  21798. }
  21799. void CMsgGCToGCWebAPIAccountChanged::Swap(CMsgGCToGCWebAPIAccountChanged* other) {
  21800. if (other != this) {
  21801. _unknown_fields_.Swap(&other->_unknown_fields_);
  21802. std::swap(_cached_size_, other->_cached_size_);
  21803. }
  21804. }
  21805. ::google::protobuf::Metadata CMsgGCToGCWebAPIAccountChanged::GetMetadata() const {
  21806. protobuf_AssignDescriptorsOnce();
  21807. ::google::protobuf::Metadata metadata;
  21808. metadata.descriptor = CMsgGCToGCWebAPIAccountChanged_descriptor_;
  21809. metadata.reflection = CMsgGCToGCWebAPIAccountChanged_reflection_;
  21810. return metadata;
  21811. }
  21812. // ===================================================================
  21813. #ifndef _MSC_VER
  21814. const int CMsgGCToGCRequestPassportItemGrant::kSteamIdFieldNumber;
  21815. const int CMsgGCToGCRequestPassportItemGrant::kLeagueIdFieldNumber;
  21816. const int CMsgGCToGCRequestPassportItemGrant::kRewardFlagFieldNumber;
  21817. #endif // !_MSC_VER
  21818. CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant()
  21819. : ::google::protobuf::Message() {
  21820. SharedCtor();
  21821. }
  21822. void CMsgGCToGCRequestPassportItemGrant::InitAsDefaultInstance() {
  21823. }
  21824. CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant(const CMsgGCToGCRequestPassportItemGrant& from)
  21825. : ::google::protobuf::Message() {
  21826. SharedCtor();
  21827. MergeFrom(from);
  21828. }
  21829. void CMsgGCToGCRequestPassportItemGrant::SharedCtor() {
  21830. _cached_size_ = 0;
  21831. steam_id_ = GOOGLE_ULONGLONG(0);
  21832. league_id_ = 0u;
  21833. reward_flag_ = 0;
  21834. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21835. }
  21836. CMsgGCToGCRequestPassportItemGrant::~CMsgGCToGCRequestPassportItemGrant() {
  21837. SharedDtor();
  21838. }
  21839. void CMsgGCToGCRequestPassportItemGrant::SharedDtor() {
  21840. if (this != default_instance_) {
  21841. }
  21842. }
  21843. void CMsgGCToGCRequestPassportItemGrant::SetCachedSize(int size) const {
  21844. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21845. _cached_size_ = size;
  21846. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21847. }
  21848. const ::google::protobuf::Descriptor* CMsgGCToGCRequestPassportItemGrant::descriptor() {
  21849. protobuf_AssignDescriptorsOnce();
  21850. return CMsgGCToGCRequestPassportItemGrant_descriptor_;
  21851. }
  21852. const CMsgGCToGCRequestPassportItemGrant& CMsgGCToGCRequestPassportItemGrant::default_instance() {
  21853. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  21854. return *default_instance_;
  21855. }
  21856. CMsgGCToGCRequestPassportItemGrant* CMsgGCToGCRequestPassportItemGrant::default_instance_ = NULL;
  21857. CMsgGCToGCRequestPassportItemGrant* CMsgGCToGCRequestPassportItemGrant::New() const {
  21858. return new CMsgGCToGCRequestPassportItemGrant;
  21859. }
  21860. void CMsgGCToGCRequestPassportItemGrant::Clear() {
  21861. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21862. steam_id_ = GOOGLE_ULONGLONG(0);
  21863. league_id_ = 0u;
  21864. reward_flag_ = 0;
  21865. }
  21866. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21867. mutable_unknown_fields()->Clear();
  21868. }
  21869. bool CMsgGCToGCRequestPassportItemGrant::MergePartialFromCodedStream(
  21870. ::google::protobuf::io::CodedInputStream* input) {
  21871. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21872. ::google::protobuf::uint32 tag;
  21873. while ((tag = input->ReadTag()) != 0) {
  21874. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21875. // optional fixed64 steam_id = 1;
  21876. case 1: {
  21877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  21879. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21880. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  21881. input, &steam_id_)));
  21882. set_has_steam_id();
  21883. } else {
  21884. goto handle_uninterpreted;
  21885. }
  21886. if (input->ExpectTag(16)) goto parse_league_id;
  21887. break;
  21888. }
  21889. // optional uint32 league_id = 2;
  21890. case 2: {
  21891. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21892. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21893. parse_league_id:
  21894. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21895. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  21896. input, &league_id_)));
  21897. set_has_league_id();
  21898. } else {
  21899. goto handle_uninterpreted;
  21900. }
  21901. if (input->ExpectTag(24)) goto parse_reward_flag;
  21902. break;
  21903. }
  21904. // optional int32 reward_flag = 3;
  21905. case 3: {
  21906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21908. parse_reward_flag:
  21909. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21910. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21911. input, &reward_flag_)));
  21912. set_has_reward_flag();
  21913. } else {
  21914. goto handle_uninterpreted;
  21915. }
  21916. if (input->ExpectAtEnd()) return true;
  21917. break;
  21918. }
  21919. default: {
  21920. handle_uninterpreted:
  21921. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21922. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21923. return true;
  21924. }
  21925. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21926. input, tag, mutable_unknown_fields()));
  21927. break;
  21928. }
  21929. }
  21930. }
  21931. return true;
  21932. #undef DO_
  21933. }
  21934. void CMsgGCToGCRequestPassportItemGrant::SerializeWithCachedSizes(
  21935. ::google::protobuf::io::CodedOutputStream* output) const {
  21936. // optional fixed64 steam_id = 1;
  21937. if (has_steam_id()) {
  21938. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  21939. }
  21940. // optional uint32 league_id = 2;
  21941. if (has_league_id()) {
  21942. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->league_id(), output);
  21943. }
  21944. // optional int32 reward_flag = 3;
  21945. if (has_reward_flag()) {
  21946. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->reward_flag(), output);
  21947. }
  21948. if (!unknown_fields().empty()) {
  21949. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21950. unknown_fields(), output);
  21951. }
  21952. }
  21953. ::google::protobuf::uint8* CMsgGCToGCRequestPassportItemGrant::SerializeWithCachedSizesToArray(
  21954. ::google::protobuf::uint8* target) const {
  21955. // optional fixed64 steam_id = 1;
  21956. if (has_steam_id()) {
  21957. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  21958. }
  21959. // optional uint32 league_id = 2;
  21960. if (has_league_id()) {
  21961. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->league_id(), target);
  21962. }
  21963. // optional int32 reward_flag = 3;
  21964. if (has_reward_flag()) {
  21965. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->reward_flag(), target);
  21966. }
  21967. if (!unknown_fields().empty()) {
  21968. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21969. unknown_fields(), target);
  21970. }
  21971. return target;
  21972. }
  21973. int CMsgGCToGCRequestPassportItemGrant::ByteSize() const {
  21974. int total_size = 0;
  21975. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21976. // optional fixed64 steam_id = 1;
  21977. if (has_steam_id()) {
  21978. total_size += 1 + 8;
  21979. }
  21980. // optional uint32 league_id = 2;
  21981. if (has_league_id()) {
  21982. total_size += 1 +
  21983. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  21984. this->league_id());
  21985. }
  21986. // optional int32 reward_flag = 3;
  21987. if (has_reward_flag()) {
  21988. total_size += 1 +
  21989. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21990. this->reward_flag());
  21991. }
  21992. }
  21993. if (!unknown_fields().empty()) {
  21994. total_size +=
  21995. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21996. unknown_fields());
  21997. }
  21998. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21999. _cached_size_ = total_size;
  22000. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22001. return total_size;
  22002. }
  22003. void CMsgGCToGCRequestPassportItemGrant::MergeFrom(const ::google::protobuf::Message& from) {
  22004. GOOGLE_CHECK_NE(&from, this);
  22005. const CMsgGCToGCRequestPassportItemGrant* source =
  22006. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCToGCRequestPassportItemGrant*>(
  22007. &from);
  22008. if (source == NULL) {
  22009. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22010. } else {
  22011. MergeFrom(*source);
  22012. }
  22013. }
  22014. void CMsgGCToGCRequestPassportItemGrant::MergeFrom(const CMsgGCToGCRequestPassportItemGrant& from) {
  22015. GOOGLE_CHECK_NE(&from, this);
  22016. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22017. if (from.has_steam_id()) {
  22018. set_steam_id(from.steam_id());
  22019. }
  22020. if (from.has_league_id()) {
  22021. set_league_id(from.league_id());
  22022. }
  22023. if (from.has_reward_flag()) {
  22024. set_reward_flag(from.reward_flag());
  22025. }
  22026. }
  22027. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22028. }
  22029. void CMsgGCToGCRequestPassportItemGrant::CopyFrom(const ::google::protobuf::Message& from) {
  22030. if (&from == this) return;
  22031. Clear();
  22032. MergeFrom(from);
  22033. }
  22034. void CMsgGCToGCRequestPassportItemGrant::CopyFrom(const CMsgGCToGCRequestPassportItemGrant& from) {
  22035. if (&from == this) return;
  22036. Clear();
  22037. MergeFrom(from);
  22038. }
  22039. bool CMsgGCToGCRequestPassportItemGrant::IsInitialized() const {
  22040. return true;
  22041. }
  22042. void CMsgGCToGCRequestPassportItemGrant::Swap(CMsgGCToGCRequestPassportItemGrant* other) {
  22043. if (other != this) {
  22044. std::swap(steam_id_, other->steam_id_);
  22045. std::swap(league_id_, other->league_id_);
  22046. std::swap(reward_flag_, other->reward_flag_);
  22047. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22048. _unknown_fields_.Swap(&other->_unknown_fields_);
  22049. std::swap(_cached_size_, other->_cached_size_);
  22050. }
  22051. }
  22052. ::google::protobuf::Metadata CMsgGCToGCRequestPassportItemGrant::GetMetadata() const {
  22053. protobuf_AssignDescriptorsOnce();
  22054. ::google::protobuf::Metadata metadata;
  22055. metadata.descriptor = CMsgGCToGCRequestPassportItemGrant_descriptor_;
  22056. metadata.reflection = CMsgGCToGCRequestPassportItemGrant_reflection_;
  22057. return metadata;
  22058. }
  22059. // ===================================================================
  22060. const ::google::protobuf::EnumDescriptor* CMsgGameServerInfo_ServerType_descriptor() {
  22061. protobuf_AssignDescriptorsOnce();
  22062. return CMsgGameServerInfo_ServerType_descriptor_;
  22063. }
  22064. bool CMsgGameServerInfo_ServerType_IsValid(int value) {
  22065. switch(value) {
  22066. case 0:
  22067. case 1:
  22068. case 2:
  22069. return true;
  22070. default:
  22071. return false;
  22072. }
  22073. }
  22074. #ifndef _MSC_VER
  22075. const CMsgGameServerInfo_ServerType CMsgGameServerInfo::UNSPECIFIED;
  22076. const CMsgGameServerInfo_ServerType CMsgGameServerInfo::GAME;
  22077. const CMsgGameServerInfo_ServerType CMsgGameServerInfo::PROXY;
  22078. const CMsgGameServerInfo_ServerType CMsgGameServerInfo::ServerType_MIN;
  22079. const CMsgGameServerInfo_ServerType CMsgGameServerInfo::ServerType_MAX;
  22080. const int CMsgGameServerInfo::ServerType_ARRAYSIZE;
  22081. #endif // _MSC_VER
  22082. #ifndef _MSC_VER
  22083. const int CMsgGameServerInfo::kServerPublicIpAddrFieldNumber;
  22084. const int CMsgGameServerInfo::kServerPrivateIpAddrFieldNumber;
  22085. const int CMsgGameServerInfo::kServerPortFieldNumber;
  22086. const int CMsgGameServerInfo::kServerTvPortFieldNumber;
  22087. const int CMsgGameServerInfo::kServerKeyFieldNumber;
  22088. const int CMsgGameServerInfo::kServerHibernationFieldNumber;
  22089. const int CMsgGameServerInfo::kServerTypeFieldNumber;
  22090. const int CMsgGameServerInfo::kServerRegionFieldNumber;
  22091. const int CMsgGameServerInfo::kServerLoadavgFieldNumber;
  22092. const int CMsgGameServerInfo::kServerTvBroadcastTimeFieldNumber;
  22093. const int CMsgGameServerInfo::kServerGameTimeFieldNumber;
  22094. const int CMsgGameServerInfo::kServerRelayConnectedSteamIdFieldNumber;
  22095. const int CMsgGameServerInfo::kRelaySlotsMaxFieldNumber;
  22096. const int CMsgGameServerInfo::kRelaysConnectedFieldNumber;
  22097. const int CMsgGameServerInfo::kRelayClientsConnectedFieldNumber;
  22098. const int CMsgGameServerInfo::kRelayedGameServerSteamIdFieldNumber;
  22099. const int CMsgGameServerInfo::kParentRelayCountFieldNumber;
  22100. const int CMsgGameServerInfo::kTvSecretCodeFieldNumber;
  22101. #endif // !_MSC_VER
  22102. CMsgGameServerInfo::CMsgGameServerInfo()
  22103. : ::google::protobuf::Message() {
  22104. SharedCtor();
  22105. }
  22106. void CMsgGameServerInfo::InitAsDefaultInstance() {
  22107. }
  22108. CMsgGameServerInfo::CMsgGameServerInfo(const CMsgGameServerInfo& from)
  22109. : ::google::protobuf::Message() {
  22110. SharedCtor();
  22111. MergeFrom(from);
  22112. }
  22113. void CMsgGameServerInfo::SharedCtor() {
  22114. _cached_size_ = 0;
  22115. server_public_ip_addr_ = 0u;
  22116. server_private_ip_addr_ = 0u;
  22117. server_port_ = 0u;
  22118. server_tv_port_ = 0u;
  22119. server_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  22120. server_hibernation_ = false;
  22121. server_type_ = 0;
  22122. server_region_ = 0u;
  22123. server_loadavg_ = 0;
  22124. server_tv_broadcast_time_ = 0;
  22125. server_game_time_ = 0;
  22126. server_relay_connected_steam_id_ = GOOGLE_ULONGLONG(0);
  22127. relay_slots_max_ = 0u;
  22128. relays_connected_ = 0;
  22129. relay_clients_connected_ = 0;
  22130. relayed_game_server_steam_id_ = GOOGLE_ULONGLONG(0);
  22131. parent_relay_count_ = 0u;
  22132. tv_secret_code_ = GOOGLE_ULONGLONG(0);
  22133. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22134. }
  22135. CMsgGameServerInfo::~CMsgGameServerInfo() {
  22136. SharedDtor();
  22137. }
  22138. void CMsgGameServerInfo::SharedDtor() {
  22139. if (server_key_ != &::google::protobuf::internal::kEmptyString) {
  22140. delete server_key_;
  22141. }
  22142. if (this != default_instance_) {
  22143. }
  22144. }
  22145. void CMsgGameServerInfo::SetCachedSize(int size) const {
  22146. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22147. _cached_size_ = size;
  22148. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22149. }
  22150. const ::google::protobuf::Descriptor* CMsgGameServerInfo::descriptor() {
  22151. protobuf_AssignDescriptorsOnce();
  22152. return CMsgGameServerInfo_descriptor_;
  22153. }
  22154. const CMsgGameServerInfo& CMsgGameServerInfo::default_instance() {
  22155. if (default_instance_ == NULL) protobuf_AddDesc_base_5fgcmessages_2eproto();
  22156. return *default_instance_;
  22157. }
  22158. CMsgGameServerInfo* CMsgGameServerInfo::default_instance_ = NULL;
  22159. CMsgGameServerInfo* CMsgGameServerInfo::New() const {
  22160. return new CMsgGameServerInfo;
  22161. }
  22162. void CMsgGameServerInfo::Clear() {
  22163. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22164. server_public_ip_addr_ = 0u;
  22165. server_private_ip_addr_ = 0u;
  22166. server_port_ = 0u;
  22167. server_tv_port_ = 0u;
  22168. if (has_server_key()) {
  22169. if (server_key_ != &::google::protobuf::internal::kEmptyString) {
  22170. server_key_->clear();
  22171. }
  22172. }
  22173. server_hibernation_ = false;
  22174. server_type_ = 0;
  22175. server_region_ = 0u;
  22176. }
  22177. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  22178. server_loadavg_ = 0;
  22179. server_tv_broadcast_time_ = 0;
  22180. server_game_time_ = 0;
  22181. server_relay_connected_steam_id_ = GOOGLE_ULONGLONG(0);
  22182. relay_slots_max_ = 0u;
  22183. relays_connected_ = 0;
  22184. relay_clients_connected_ = 0;
  22185. relayed_game_server_steam_id_ = GOOGLE_ULONGLONG(0);
  22186. }
  22187. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  22188. parent_relay_count_ = 0u;
  22189. tv_secret_code_ = GOOGLE_ULONGLONG(0);
  22190. }
  22191. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22192. mutable_unknown_fields()->Clear();
  22193. }
  22194. bool CMsgGameServerInfo::MergePartialFromCodedStream(
  22195. ::google::protobuf::io::CodedInputStream* input) {
  22196. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22197. ::google::protobuf::uint32 tag;
  22198. while ((tag = input->ReadTag()) != 0) {
  22199. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22200. // optional fixed32 server_public_ip_addr = 1;
  22201. case 1: {
  22202. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22203. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  22204. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22205. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  22206. input, &server_public_ip_addr_)));
  22207. set_has_server_public_ip_addr();
  22208. } else {
  22209. goto handle_uninterpreted;
  22210. }
  22211. if (input->ExpectTag(21)) goto parse_server_private_ip_addr;
  22212. break;
  22213. }
  22214. // optional fixed32 server_private_ip_addr = 2;
  22215. case 2: {
  22216. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22217. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  22218. parse_server_private_ip_addr:
  22219. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22220. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  22221. input, &server_private_ip_addr_)));
  22222. set_has_server_private_ip_addr();
  22223. } else {
  22224. goto handle_uninterpreted;
  22225. }
  22226. if (input->ExpectTag(24)) goto parse_server_port;
  22227. break;
  22228. }
  22229. // optional uint32 server_port = 3;
  22230. case 3: {
  22231. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22232. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22233. parse_server_port:
  22234. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22235. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22236. input, &server_port_)));
  22237. set_has_server_port();
  22238. } else {
  22239. goto handle_uninterpreted;
  22240. }
  22241. if (input->ExpectTag(32)) goto parse_server_tv_port;
  22242. break;
  22243. }
  22244. // optional uint32 server_tv_port = 4;
  22245. case 4: {
  22246. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22247. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22248. parse_server_tv_port:
  22249. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22250. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22251. input, &server_tv_port_)));
  22252. set_has_server_tv_port();
  22253. } else {
  22254. goto handle_uninterpreted;
  22255. }
  22256. if (input->ExpectTag(42)) goto parse_server_key;
  22257. break;
  22258. }
  22259. // optional string server_key = 5;
  22260. case 5: {
  22261. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22262. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  22263. parse_server_key:
  22264. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  22265. input, this->mutable_server_key()));
  22266. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  22267. this->server_key().data(), this->server_key().length(),
  22268. ::google::protobuf::internal::WireFormat::PARSE);
  22269. } else {
  22270. goto handle_uninterpreted;
  22271. }
  22272. if (input->ExpectTag(48)) goto parse_server_hibernation;
  22273. break;
  22274. }
  22275. // optional bool server_hibernation = 6;
  22276. case 6: {
  22277. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22278. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22279. parse_server_hibernation:
  22280. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22281. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  22282. input, &server_hibernation_)));
  22283. set_has_server_hibernation();
  22284. } else {
  22285. goto handle_uninterpreted;
  22286. }
  22287. if (input->ExpectTag(56)) goto parse_server_type;
  22288. break;
  22289. }
  22290. // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED];
  22291. case 7: {
  22292. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22293. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22294. parse_server_type:
  22295. int value;
  22296. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22297. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22298. input, &value)));
  22299. if (::CMsgGameServerInfo_ServerType_IsValid(value)) {
  22300. set_server_type(static_cast< ::CMsgGameServerInfo_ServerType >(value));
  22301. } else {
  22302. mutable_unknown_fields()->AddVarint(7, value);
  22303. }
  22304. } else {
  22305. goto handle_uninterpreted;
  22306. }
  22307. if (input->ExpectTag(64)) goto parse_server_region;
  22308. break;
  22309. }
  22310. // optional uint32 server_region = 8;
  22311. case 8: {
  22312. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22313. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22314. parse_server_region:
  22315. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22316. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22317. input, &server_region_)));
  22318. set_has_server_region();
  22319. } else {
  22320. goto handle_uninterpreted;
  22321. }
  22322. if (input->ExpectTag(77)) goto parse_server_loadavg;
  22323. break;
  22324. }
  22325. // optional float server_loadavg = 9;
  22326. case 9: {
  22327. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22328. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  22329. parse_server_loadavg:
  22330. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22331. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  22332. input, &server_loadavg_)));
  22333. set_has_server_loadavg();
  22334. } else {
  22335. goto handle_uninterpreted;
  22336. }
  22337. if (input->ExpectTag(85)) goto parse_server_tv_broadcast_time;
  22338. break;
  22339. }
  22340. // optional float server_tv_broadcast_time = 10;
  22341. case 10: {
  22342. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22343. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  22344. parse_server_tv_broadcast_time:
  22345. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22346. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  22347. input, &server_tv_broadcast_time_)));
  22348. set_has_server_tv_broadcast_time();
  22349. } else {
  22350. goto handle_uninterpreted;
  22351. }
  22352. if (input->ExpectTag(93)) goto parse_server_game_time;
  22353. break;
  22354. }
  22355. // optional float server_game_time = 11;
  22356. case 11: {
  22357. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22358. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  22359. parse_server_game_time:
  22360. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22361. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  22362. input, &server_game_time_)));
  22363. set_has_server_game_time();
  22364. } else {
  22365. goto handle_uninterpreted;
  22366. }
  22367. if (input->ExpectTag(97)) goto parse_server_relay_connected_steam_id;
  22368. break;
  22369. }
  22370. // optional fixed64 server_relay_connected_steam_id = 12;
  22371. case 12: {
  22372. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22373. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  22374. parse_server_relay_connected_steam_id:
  22375. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22376. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22377. input, &server_relay_connected_steam_id_)));
  22378. set_has_server_relay_connected_steam_id();
  22379. } else {
  22380. goto handle_uninterpreted;
  22381. }
  22382. if (input->ExpectTag(104)) goto parse_relay_slots_max;
  22383. break;
  22384. }
  22385. // optional uint32 relay_slots_max = 13;
  22386. case 13: {
  22387. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22388. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22389. parse_relay_slots_max:
  22390. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22391. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22392. input, &relay_slots_max_)));
  22393. set_has_relay_slots_max();
  22394. } else {
  22395. goto handle_uninterpreted;
  22396. }
  22397. if (input->ExpectTag(112)) goto parse_relays_connected;
  22398. break;
  22399. }
  22400. // optional int32 relays_connected = 14;
  22401. case 14: {
  22402. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22403. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22404. parse_relays_connected:
  22405. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22406. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22407. input, &relays_connected_)));
  22408. set_has_relays_connected();
  22409. } else {
  22410. goto handle_uninterpreted;
  22411. }
  22412. if (input->ExpectTag(120)) goto parse_relay_clients_connected;
  22413. break;
  22414. }
  22415. // optional int32 relay_clients_connected = 15;
  22416. case 15: {
  22417. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22418. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22419. parse_relay_clients_connected:
  22420. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22421. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22422. input, &relay_clients_connected_)));
  22423. set_has_relay_clients_connected();
  22424. } else {
  22425. goto handle_uninterpreted;
  22426. }
  22427. if (input->ExpectTag(129)) goto parse_relayed_game_server_steam_id;
  22428. break;
  22429. }
  22430. // optional fixed64 relayed_game_server_steam_id = 16;
  22431. case 16: {
  22432. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22433. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  22434. parse_relayed_game_server_steam_id:
  22435. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22436. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22437. input, &relayed_game_server_steam_id_)));
  22438. set_has_relayed_game_server_steam_id();
  22439. } else {
  22440. goto handle_uninterpreted;
  22441. }
  22442. if (input->ExpectTag(136)) goto parse_parent_relay_count;
  22443. break;
  22444. }
  22445. // optional uint32 parent_relay_count = 17;
  22446. case 17: {
  22447. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22448. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22449. parse_parent_relay_count:
  22450. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22451. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22452. input, &parent_relay_count_)));
  22453. set_has_parent_relay_count();
  22454. } else {
  22455. goto handle_uninterpreted;
  22456. }
  22457. if (input->ExpectTag(145)) goto parse_tv_secret_code;
  22458. break;
  22459. }
  22460. // optional fixed64 tv_secret_code = 18;
  22461. case 18: {
  22462. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22463. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  22464. parse_tv_secret_code:
  22465. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22466. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22467. input, &tv_secret_code_)));
  22468. set_has_tv_secret_code();
  22469. } else {
  22470. goto handle_uninterpreted;
  22471. }
  22472. if (input->ExpectAtEnd()) return true;
  22473. break;
  22474. }
  22475. default: {
  22476. handle_uninterpreted:
  22477. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22478. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22479. return true;
  22480. }
  22481. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22482. input, tag, mutable_unknown_fields()));
  22483. break;
  22484. }
  22485. }
  22486. }
  22487. return true;
  22488. #undef DO_
  22489. }
  22490. void CMsgGameServerInfo::SerializeWithCachedSizes(
  22491. ::google::protobuf::io::CodedOutputStream* output) const {
  22492. // optional fixed32 server_public_ip_addr = 1;
  22493. if (has_server_public_ip_addr()) {
  22494. ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->server_public_ip_addr(), output);
  22495. }
  22496. // optional fixed32 server_private_ip_addr = 2;
  22497. if (has_server_private_ip_addr()) {
  22498. ::google::protobuf::internal::WireFormatLite::WriteFixed32(2, this->server_private_ip_addr(), output);
  22499. }
  22500. // optional uint32 server_port = 3;
  22501. if (has_server_port()) {
  22502. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->server_port(), output);
  22503. }
  22504. // optional uint32 server_tv_port = 4;
  22505. if (has_server_tv_port()) {
  22506. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->server_tv_port(), output);
  22507. }
  22508. // optional string server_key = 5;
  22509. if (has_server_key()) {
  22510. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  22511. this->server_key().data(), this->server_key().length(),
  22512. ::google::protobuf::internal::WireFormat::SERIALIZE);
  22513. ::google::protobuf::internal::WireFormatLite::WriteString(
  22514. 5, this->server_key(), output);
  22515. }
  22516. // optional bool server_hibernation = 6;
  22517. if (has_server_hibernation()) {
  22518. ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->server_hibernation(), output);
  22519. }
  22520. // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED];
  22521. if (has_server_type()) {
  22522. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22523. 7, this->server_type(), output);
  22524. }
  22525. // optional uint32 server_region = 8;
  22526. if (has_server_region()) {
  22527. ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->server_region(), output);
  22528. }
  22529. // optional float server_loadavg = 9;
  22530. if (has_server_loadavg()) {
  22531. ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->server_loadavg(), output);
  22532. }
  22533. // optional float server_tv_broadcast_time = 10;
  22534. if (has_server_tv_broadcast_time()) {
  22535. ::google::protobuf::internal::WireFormatLite::WriteFloat(10, this->server_tv_broadcast_time(), output);
  22536. }
  22537. // optional float server_game_time = 11;
  22538. if (has_server_game_time()) {
  22539. ::google::protobuf::internal::WireFormatLite::WriteFloat(11, this->server_game_time(), output);
  22540. }
  22541. // optional fixed64 server_relay_connected_steam_id = 12;
  22542. if (has_server_relay_connected_steam_id()) {
  22543. ::google::protobuf::internal::WireFormatLite::WriteFixed64(12, this->server_relay_connected_steam_id(), output);
  22544. }
  22545. // optional uint32 relay_slots_max = 13;
  22546. if (has_relay_slots_max()) {
  22547. ::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->relay_slots_max(), output);
  22548. }
  22549. // optional int32 relays_connected = 14;
  22550. if (has_relays_connected()) {
  22551. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->relays_connected(), output);
  22552. }
  22553. // optional int32 relay_clients_connected = 15;
  22554. if (has_relay_clients_connected()) {
  22555. ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->relay_clients_connected(), output);
  22556. }
  22557. // optional fixed64 relayed_game_server_steam_id = 16;
  22558. if (has_relayed_game_server_steam_id()) {
  22559. ::google::protobuf::internal::WireFormatLite::WriteFixed64(16, this->relayed_game_server_steam_id(), output);
  22560. }
  22561. // optional uint32 parent_relay_count = 17;
  22562. if (has_parent_relay_count()) {
  22563. ::google::protobuf::internal::WireFormatLite::WriteUInt32(17, this->parent_relay_count(), output);
  22564. }
  22565. // optional fixed64 tv_secret_code = 18;
  22566. if (has_tv_secret_code()) {
  22567. ::google::protobuf::internal::WireFormatLite::WriteFixed64(18, this->tv_secret_code(), output);
  22568. }
  22569. if (!unknown_fields().empty()) {
  22570. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22571. unknown_fields(), output);
  22572. }
  22573. }
  22574. ::google::protobuf::uint8* CMsgGameServerInfo::SerializeWithCachedSizesToArray(
  22575. ::google::protobuf::uint8* target) const {
  22576. // optional fixed32 server_public_ip_addr = 1;
  22577. if (has_server_public_ip_addr()) {
  22578. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->server_public_ip_addr(), target);
  22579. }
  22580. // optional fixed32 server_private_ip_addr = 2;
  22581. if (has_server_private_ip_addr()) {
  22582. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(2, this->server_private_ip_addr(), target);
  22583. }
  22584. // optional uint32 server_port = 3;
  22585. if (has_server_port()) {
  22586. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->server_port(), target);
  22587. }
  22588. // optional uint32 server_tv_port = 4;
  22589. if (has_server_tv_port()) {
  22590. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->server_tv_port(), target);
  22591. }
  22592. // optional string server_key = 5;
  22593. if (has_server_key()) {
  22594. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  22595. this->server_key().data(), this->server_key().length(),
  22596. ::google::protobuf::internal::WireFormat::SERIALIZE);
  22597. target =
  22598. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  22599. 5, this->server_key(), target);
  22600. }
  22601. // optional bool server_hibernation = 6;
  22602. if (has_server_hibernation()) {
  22603. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->server_hibernation(), target);
  22604. }
  22605. // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED];
  22606. if (has_server_type()) {
  22607. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22608. 7, this->server_type(), target);
  22609. }
  22610. // optional uint32 server_region = 8;
  22611. if (has_server_region()) {
  22612. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->server_region(), target);
  22613. }
  22614. // optional float server_loadavg = 9;
  22615. if (has_server_loadavg()) {
  22616. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->server_loadavg(), target);
  22617. }
  22618. // optional float server_tv_broadcast_time = 10;
  22619. if (has_server_tv_broadcast_time()) {
  22620. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(10, this->server_tv_broadcast_time(), target);
  22621. }
  22622. // optional float server_game_time = 11;
  22623. if (has_server_game_time()) {
  22624. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(11, this->server_game_time(), target);
  22625. }
  22626. // optional fixed64 server_relay_connected_steam_id = 12;
  22627. if (has_server_relay_connected_steam_id()) {
  22628. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(12, this->server_relay_connected_steam_id(), target);
  22629. }
  22630. // optional uint32 relay_slots_max = 13;
  22631. if (has_relay_slots_max()) {
  22632. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(13, this->relay_slots_max(), target);
  22633. }
  22634. // optional int32 relays_connected = 14;
  22635. if (has_relays_connected()) {
  22636. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->relays_connected(), target);
  22637. }
  22638. // optional int32 relay_clients_connected = 15;
  22639. if (has_relay_clients_connected()) {
  22640. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->relay_clients_connected(), target);
  22641. }
  22642. // optional fixed64 relayed_game_server_steam_id = 16;
  22643. if (has_relayed_game_server_steam_id()) {
  22644. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(16, this->relayed_game_server_steam_id(), target);
  22645. }
  22646. // optional uint32 parent_relay_count = 17;
  22647. if (has_parent_relay_count()) {
  22648. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(17, this->parent_relay_count(), target);
  22649. }
  22650. // optional fixed64 tv_secret_code = 18;
  22651. if (has_tv_secret_code()) {
  22652. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(18, this->tv_secret_code(), target);
  22653. }
  22654. if (!unknown_fields().empty()) {
  22655. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22656. unknown_fields(), target);
  22657. }
  22658. return target;
  22659. }
  22660. int CMsgGameServerInfo::ByteSize() const {
  22661. int total_size = 0;
  22662. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22663. // optional fixed32 server_public_ip_addr = 1;
  22664. if (has_server_public_ip_addr()) {
  22665. total_size += 1 + 4;
  22666. }
  22667. // optional fixed32 server_private_ip_addr = 2;
  22668. if (has_server_private_ip_addr()) {
  22669. total_size += 1 + 4;
  22670. }
  22671. // optional uint32 server_port = 3;
  22672. if (has_server_port()) {
  22673. total_size += 1 +
  22674. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22675. this->server_port());
  22676. }
  22677. // optional uint32 server_tv_port = 4;
  22678. if (has_server_tv_port()) {
  22679. total_size += 1 +
  22680. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22681. this->server_tv_port());
  22682. }
  22683. // optional string server_key = 5;
  22684. if (has_server_key()) {
  22685. total_size += 1 +
  22686. ::google::protobuf::internal::WireFormatLite::StringSize(
  22687. this->server_key());
  22688. }
  22689. // optional bool server_hibernation = 6;
  22690. if (has_server_hibernation()) {
  22691. total_size += 1 + 1;
  22692. }
  22693. // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED];
  22694. if (has_server_type()) {
  22695. total_size += 1 +
  22696. ::google::protobuf::internal::WireFormatLite::EnumSize(this->server_type());
  22697. }
  22698. // optional uint32 server_region = 8;
  22699. if (has_server_region()) {
  22700. total_size += 1 +
  22701. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22702. this->server_region());
  22703. }
  22704. }
  22705. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  22706. // optional float server_loadavg = 9;
  22707. if (has_server_loadavg()) {
  22708. total_size += 1 + 4;
  22709. }
  22710. // optional float server_tv_broadcast_time = 10;
  22711. if (has_server_tv_broadcast_time()) {
  22712. total_size += 1 + 4;
  22713. }
  22714. // optional float server_game_time = 11;
  22715. if (has_server_game_time()) {
  22716. total_size += 1 + 4;
  22717. }
  22718. // optional fixed64 server_relay_connected_steam_id = 12;
  22719. if (has_server_relay_connected_steam_id()) {
  22720. total_size += 1 + 8;
  22721. }
  22722. // optional uint32 relay_slots_max = 13;
  22723. if (has_relay_slots_max()) {
  22724. total_size += 1 +
  22725. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22726. this->relay_slots_max());
  22727. }
  22728. // optional int32 relays_connected = 14;
  22729. if (has_relays_connected()) {
  22730. total_size += 1 +
  22731. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22732. this->relays_connected());
  22733. }
  22734. // optional int32 relay_clients_connected = 15;
  22735. if (has_relay_clients_connected()) {
  22736. total_size += 1 +
  22737. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22738. this->relay_clients_connected());
  22739. }
  22740. // optional fixed64 relayed_game_server_steam_id = 16;
  22741. if (has_relayed_game_server_steam_id()) {
  22742. total_size += 2 + 8;
  22743. }
  22744. }
  22745. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  22746. // optional uint32 parent_relay_count = 17;
  22747. if (has_parent_relay_count()) {
  22748. total_size += 2 +
  22749. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22750. this->parent_relay_count());
  22751. }
  22752. // optional fixed64 tv_secret_code = 18;
  22753. if (has_tv_secret_code()) {
  22754. total_size += 2 + 8;
  22755. }
  22756. }
  22757. if (!unknown_fields().empty()) {
  22758. total_size +=
  22759. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22760. unknown_fields());
  22761. }
  22762. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22763. _cached_size_ = total_size;
  22764. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22765. return total_size;
  22766. }
  22767. void CMsgGameServerInfo::MergeFrom(const ::google::protobuf::Message& from) {
  22768. GOOGLE_CHECK_NE(&from, this);
  22769. const CMsgGameServerInfo* source =
  22770. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGameServerInfo*>(
  22771. &from);
  22772. if (source == NULL) {
  22773. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22774. } else {
  22775. MergeFrom(*source);
  22776. }
  22777. }
  22778. void CMsgGameServerInfo::MergeFrom(const CMsgGameServerInfo& from) {
  22779. GOOGLE_CHECK_NE(&from, this);
  22780. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22781. if (from.has_server_public_ip_addr()) {
  22782. set_server_public_ip_addr(from.server_public_ip_addr());
  22783. }
  22784. if (from.has_server_private_ip_addr()) {
  22785. set_server_private_ip_addr(from.server_private_ip_addr());
  22786. }
  22787. if (from.has_server_port()) {
  22788. set_server_port(from.server_port());
  22789. }
  22790. if (from.has_server_tv_port()) {
  22791. set_server_tv_port(from.server_tv_port());
  22792. }
  22793. if (from.has_server_key()) {
  22794. set_server_key(from.server_key());
  22795. }
  22796. if (from.has_server_hibernation()) {
  22797. set_server_hibernation(from.server_hibernation());
  22798. }
  22799. if (from.has_server_type()) {
  22800. set_server_type(from.server_type());
  22801. }
  22802. if (from.has_server_region()) {
  22803. set_server_region(from.server_region());
  22804. }
  22805. }
  22806. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  22807. if (from.has_server_loadavg()) {
  22808. set_server_loadavg(from.server_loadavg());
  22809. }
  22810. if (from.has_server_tv_broadcast_time()) {
  22811. set_server_tv_broadcast_time(from.server_tv_broadcast_time());
  22812. }
  22813. if (from.has_server_game_time()) {
  22814. set_server_game_time(from.server_game_time());
  22815. }
  22816. if (from.has_server_relay_connected_steam_id()) {
  22817. set_server_relay_connected_steam_id(from.server_relay_connected_steam_id());
  22818. }
  22819. if (from.has_relay_slots_max()) {
  22820. set_relay_slots_max(from.relay_slots_max());
  22821. }
  22822. if (from.has_relays_connected()) {
  22823. set_relays_connected(from.relays_connected());
  22824. }
  22825. if (from.has_relay_clients_connected()) {
  22826. set_relay_clients_connected(from.relay_clients_connected());
  22827. }
  22828. if (from.has_relayed_game_server_steam_id()) {
  22829. set_relayed_game_server_steam_id(from.relayed_game_server_steam_id());
  22830. }
  22831. }
  22832. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  22833. if (from.has_parent_relay_count()) {
  22834. set_parent_relay_count(from.parent_relay_count());
  22835. }
  22836. if (from.has_tv_secret_code()) {
  22837. set_tv_secret_code(from.tv_secret_code());
  22838. }
  22839. }
  22840. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22841. }
  22842. void CMsgGameServerInfo::CopyFrom(const ::google::protobuf::Message& from) {
  22843. if (&from == this) return;
  22844. Clear();
  22845. MergeFrom(from);
  22846. }
  22847. void CMsgGameServerInfo::CopyFrom(const CMsgGameServerInfo& from) {
  22848. if (&from == this) return;
  22849. Clear();
  22850. MergeFrom(from);
  22851. }
  22852. bool CMsgGameServerInfo::IsInitialized() const {
  22853. return true;
  22854. }
  22855. void CMsgGameServerInfo::Swap(CMsgGameServerInfo* other) {
  22856. if (other != this) {
  22857. std::swap(server_public_ip_addr_, other->server_public_ip_addr_);
  22858. std::swap(server_private_ip_addr_, other->server_private_ip_addr_);
  22859. std::swap(server_port_, other->server_port_);
  22860. std::swap(server_tv_port_, other->server_tv_port_);
  22861. std::swap(server_key_, other->server_key_);
  22862. std::swap(server_hibernation_, other->server_hibernation_);
  22863. std::swap(server_type_, other->server_type_);
  22864. std::swap(server_region_, other->server_region_);
  22865. std::swap(server_loadavg_, other->server_loadavg_);
  22866. std::swap(server_tv_broadcast_time_, other->server_tv_broadcast_time_);
  22867. std::swap(server_game_time_, other->server_game_time_);
  22868. std::swap(server_relay_connected_steam_id_, other->server_relay_connected_steam_id_);
  22869. std::swap(relay_slots_max_, other->relay_slots_max_);
  22870. std::swap(relays_connected_, other->relays_connected_);
  22871. std::swap(relay_clients_connected_, other->relay_clients_connected_);
  22872. std::swap(relayed_game_server_steam_id_, other->relayed_game_server_steam_id_);
  22873. std::swap(parent_relay_count_, other->parent_relay_count_);
  22874. std::swap(tv_secret_code_, other->tv_secret_code_);
  22875. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22876. _unknown_fields_.Swap(&other->_unknown_fields_);
  22877. std::swap(_cached_size_, other->_cached_size_);
  22878. }
  22879. }
  22880. ::google::protobuf::Metadata CMsgGameServerInfo::GetMetadata() const {
  22881. protobuf_AssignDescriptorsOnce();
  22882. ::google::protobuf::Metadata metadata;
  22883. metadata.descriptor = CMsgGameServerInfo_descriptor_;
  22884. metadata.reflection = CMsgGameServerInfo_reflection_;
  22885. return metadata;
  22886. }
  22887. // @@protoc_insertion_point(namespace_scope)
  22888. // @@protoc_insertion_point(global_scope)