诸暨麻将添加redis
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.
 
 
 
 
 
 

1701 line
68 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: Pb_RecordPacket.proto
  3. #include "Pb_RecordPacket.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/io/coded_stream.h>
  6. #include <google/protobuf/extension_set.h>
  7. #include <google/protobuf/wire_format_lite.h>
  8. #include <google/protobuf/descriptor.h>
  9. #include <google/protobuf/generated_message_reflection.h>
  10. #include <google/protobuf/reflection_ops.h>
  11. #include <google/protobuf/wire_format.h>
  12. // @@protoc_insertion_point(includes)
  13. #include <google/protobuf/port_def.inc>
  14. extern PROTOBUF_INTERNAL_EXPORT_Pb_5fRecordPacket_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto;
  15. extern PROTOBUF_INTERNAL_EXPORT_Pb_5fRecordPacket_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto;
  16. extern PROTOBUF_INTERNAL_EXPORT_Pb_5fRecordPacket_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto;
  17. namespace RecordPacket {
  18. class pb_GameRecordPacketDefaultTypeInternal {
  19. public:
  20. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<pb_GameRecordPacket> _instance;
  21. } _pb_GameRecordPacket_default_instance_;
  22. class pb_GameConfigDefaultTypeInternal {
  23. public:
  24. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<pb_GameConfig> _instance;
  25. } _pb_GameConfig_default_instance_;
  26. class pb_ChairRecordDefaultTypeInternal {
  27. public:
  28. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<pb_ChairRecord> _instance;
  29. } _pb_ChairRecord_default_instance_;
  30. class PB_CS_S_ReplayRecordRespDefaultTypeInternal {
  31. public:
  32. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_ReplayRecordResp> _instance;
  33. } _PB_CS_S_ReplayRecordResp_default_instance_;
  34. } // namespace RecordPacket
  35. static void InitDefaultsscc_info_PB_CS_S_ReplayRecordResp_Pb_5fRecordPacket_2eproto() {
  36. GOOGLE_PROTOBUF_VERIFY_VERSION;
  37. {
  38. void* ptr = &::RecordPacket::_PB_CS_S_ReplayRecordResp_default_instance_;
  39. new (ptr) ::RecordPacket::PB_CS_S_ReplayRecordResp();
  40. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  41. }
  42. ::RecordPacket::PB_CS_S_ReplayRecordResp::InitAsDefaultInstance();
  43. }
  44. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_PB_CS_S_ReplayRecordResp_Pb_5fRecordPacket_2eproto =
  45. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_PB_CS_S_ReplayRecordResp_Pb_5fRecordPacket_2eproto}, {
  46. &scc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto.base,
  47. &scc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto.base,
  48. &scc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto.base,}};
  49. static void InitDefaultsscc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto() {
  50. GOOGLE_PROTOBUF_VERIFY_VERSION;
  51. {
  52. void* ptr = &::RecordPacket::_pb_ChairRecord_default_instance_;
  53. new (ptr) ::RecordPacket::pb_ChairRecord();
  54. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  55. }
  56. ::RecordPacket::pb_ChairRecord::InitAsDefaultInstance();
  57. }
  58. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto =
  59. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto}, {}};
  60. static void InitDefaultsscc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto() {
  61. GOOGLE_PROTOBUF_VERIFY_VERSION;
  62. {
  63. void* ptr = &::RecordPacket::_pb_GameConfig_default_instance_;
  64. new (ptr) ::RecordPacket::pb_GameConfig();
  65. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  66. }
  67. ::RecordPacket::pb_GameConfig::InitAsDefaultInstance();
  68. }
  69. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto =
  70. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto}, {}};
  71. static void InitDefaultsscc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto() {
  72. GOOGLE_PROTOBUF_VERIFY_VERSION;
  73. {
  74. void* ptr = &::RecordPacket::_pb_GameRecordPacket_default_instance_;
  75. new (ptr) ::RecordPacket::pb_GameRecordPacket();
  76. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  77. }
  78. ::RecordPacket::pb_GameRecordPacket::InitAsDefaultInstance();
  79. }
  80. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto =
  81. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto}, {}};
  82. static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Pb_5fRecordPacket_2eproto[4];
  83. static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_Pb_5fRecordPacket_2eproto = nullptr;
  84. static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Pb_5fRecordPacket_2eproto = nullptr;
  85. const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Pb_5fRecordPacket_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  86. ~0u, // no _has_bits_
  87. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameRecordPacket, _internal_metadata_),
  88. ~0u, // no _extensions_
  89. ~0u, // no _oneof_case_
  90. ~0u, // no _weak_field_map_
  91. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameRecordPacket, wchairid_),
  92. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameRecordPacket, wmaincmdid_),
  93. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameRecordPacket, wsubcmdid_),
  94. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameRecordPacket, pdata_),
  95. ~0u, // no _has_bits_
  96. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, _internal_metadata_),
  97. ~0u, // no _extensions_
  98. ~0u, // no _oneof_case_
  99. ~0u, // no _weak_field_map_
  100. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, wsubgameid_),
  101. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, wdiscore_),
  102. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, wfanfei_),
  103. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, wiplimit_),
  104. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, wplaycountrule_),
  105. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, roomid_),
  106. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, isowner_),
  107. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, whadplaycount_),
  108. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, sprivatetableid_),
  109. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, bduolai_),
  110. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, wfengding_),
  111. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, tmp1_),
  112. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_GameConfig, tmp2_),
  113. ~0u, // no _has_bits_
  114. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_ChairRecord, _internal_metadata_),
  115. ~0u, // no _extensions_
  116. ~0u, // no _oneof_case_
  117. ~0u, // no _weak_field_map_
  118. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_ChairRecord, wchairid_),
  119. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_ChairRecord, dwuserid_),
  120. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_ChairRecord, username_),
  121. PROTOBUF_FIELD_OFFSET(::RecordPacket::pb_ChairRecord, headurl_),
  122. ~0u, // no _has_bits_
  123. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, _internal_metadata_),
  124. ~0u, // no _extensions_
  125. ~0u, // no _oneof_case_
  126. ~0u, // no _weak_field_map_
  127. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, m_uuid_),
  128. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, m_starttime_),
  129. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, m_endtime_),
  130. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, m_userid_),
  131. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, m_gameconfig_),
  132. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, m_chairlist_),
  133. PROTOBUF_FIELD_OFFSET(::RecordPacket::PB_CS_S_ReplayRecordResp, precordpacket_),
  134. };
  135. static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  136. { 0, -1, sizeof(::RecordPacket::pb_GameRecordPacket)},
  137. { 9, -1, sizeof(::RecordPacket::pb_GameConfig)},
  138. { 27, -1, sizeof(::RecordPacket::pb_ChairRecord)},
  139. { 36, -1, sizeof(::RecordPacket::PB_CS_S_ReplayRecordResp)},
  140. };
  141. static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  142. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::RecordPacket::_pb_GameRecordPacket_default_instance_),
  143. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::RecordPacket::_pb_GameConfig_default_instance_),
  144. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::RecordPacket::_pb_ChairRecord_default_instance_),
  145. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::RecordPacket::_PB_CS_S_ReplayRecordResp_default_instance_),
  146. };
  147. <<<<<<< .mine
  148. const char descriptor_table_protodef_Pb_5fRecordPacket_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  149. "\n\025Pb_RecordPacket.proto\022\014RecordPacket\"]\n"
  150. "\023pb_GameRecordPacket\022\020\n\010wChairID\030\001 \001(\r\022\022"
  151. "\n\nwMainCmdID\030\002 \001(\r\022\021\n\twSubCmdID\030\003 \001(\r\022\r\n"
  152. "\005pData\030\004 \001(\014\"\201\002\n\rpb_GameConfig\022\022\n\nwSubGa"
  153. "meID\030\001 \001(\r\022\020\n\010wDiScore\030\002 \001(\r\022\017\n\007wFanFei\030"
  154. "\003 \001(\r\022\020\n\010wIpLimit\030\004 \001(\r\022\026\n\016wPlayCountRul"
  155. "e\030\005 \001(\r\022\016\n\006RoomId\030\006 \001(\r\022\017\n\007IsOwner\030\007 \001(\r"
  156. "\022\025\n\rwHadPlayCount\030\010 \001(\r\022\027\n\017sPrivateTable"
  157. "ID\030\t \001(\t\022\017\n\007bDuoLai\030\n \001(\r\022\021\n\twFengDing\030\013"
  158. " \001(\r\022\014\n\004tmp1\030\014 \001(\r\022\014\n\004tmp2\030\r \001(\r\"W\n\016pb_C"
  159. "hairRecord\022\020\n\010wChairId\030\001 \001(\r\022\020\n\010dwUserId"
  160. "\030\002 \001(\r\022\020\n\010userName\030\003 \001(\t\022\017\n\007headUrl\030\004 \001("
  161. "\t\"\204\002\n\030PB_CS_S_ReplayRecordResp\022\016\n\006m_UUID"
  162. "\030\001 \001(\r\022\023\n\013m_startTime\030\003 \001(\r\022\021\n\tm_endTime"
  163. "\030\004 \001(\r\022\020\n\010m_UserId\030\005 \001(\r\0221\n\014m_gameconfig"
  164. "\030\006 \001(\0132\033.RecordPacket.pb_GameConfig\0221\n\013m"
  165. "_chairList\030\007 \003(\0132\034.RecordPacket.pb_Chair"
  166. "Record\0228\n\rpRecordPacket\030\010 \003(\0132!.RecordPa"
  167. "cket.pb_GameRecordPacketb\006proto3"
  168. ||||||| .r248
  169. const char descriptor_table_protodef_Source_2fMessageDef_2fPb_5fRecordPacket_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  170. "\n\'Source/MessageDef/Pb_RecordPacket.prot"
  171. "o\022\014RecordPacket\"]\n\023pb_GameRecordPacket\022\020"
  172. "\n\010wChairID\030\001 \001(\r\022\022\n\nwMainCmdID\030\002 \001(\r\022\021\n\t"
  173. "wSubCmdID\030\003 \001(\r\022\r\n\005pData\030\004 \001(\t\"\201\002\n\rpb_Ga"
  174. "meConfig\022\022\n\nwSubGameID\030\001 \001(\r\022\020\n\010wDiScore"
  175. "\030\002 \001(\r\022\017\n\007wFanFei\030\003 \001(\r\022\020\n\010wIpLimit\030\004 \001("
  176. "\r\022\026\n\016wPlayCountRule\030\005 \001(\r\022\016\n\006RoomId\030\006 \001("
  177. "\r\022\017\n\007IsOwner\030\007 \001(\r\022\025\n\rwHadPlayCount\030\010 \001("
  178. "\r\022\027\n\017sPrivateTableID\030\t \001(\t\022\017\n\007bDuoLai\030\n "
  179. "\001(\r\022\021\n\twFengDing\030\013 \001(\r\022\014\n\004tmp1\030\014 \001(\r\022\014\n\004"
  180. "tmp2\030\r \001(\r\"W\n\016pb_ChairRecord\022\020\n\010wChairId"
  181. "\030\001 \001(\r\022\020\n\010dwUserId\030\002 \001(\r\022\020\n\010userName\030\003 \001"
  182. "(\t\022\017\n\007headUrl\030\004 \001(\t\"\204\002\n\030PB_CS_S_ReplayRe"
  183. "cordResp\022\016\n\006m_UUID\030\001 \001(\r\022\023\n\013m_startTime\030"
  184. "\003 \001(\r\022\021\n\tm_endTime\030\004 \001(\r\022\020\n\010m_UserId\030\005 \001"
  185. "(\r\0221\n\014m_gameconfig\030\006 \001(\0132\033.RecordPacket."
  186. "pb_GameConfig\0221\n\013m_chairList\030\007 \003(\0132\034.Rec"
  187. "ordPacket.pb_ChairRecord\0228\n\rpRecordPacke"
  188. "t\030\010 \003(\0132!.RecordPacket.pb_GameRecordPack"
  189. "etb\006proto3"
  190. =======
  191. const char descriptor_table_protodef_Source_2fMessageDef_2fPb_5fRecordPacket_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  192. "\n\'Source/MessageDef/Pb_RecordPacket.prot"
  193. "o\022\014RecordPacket\"]\n\023pb_GameRecordPacket\022\020"
  194. "\n\010wChairID\030\001 \001(\r\022\022\n\nwMainCmdID\030\002 \001(\r\022\021\n\t"
  195. "wSubCmdID\030\003 \001(\r\022\r\n\005pData\030\004 \001(\014\"\201\002\n\rpb_Ga"
  196. "meConfig\022\022\n\nwSubGameID\030\001 \001(\r\022\020\n\010wDiScore"
  197. "\030\002 \001(\r\022\017\n\007wFanFei\030\003 \001(\r\022\020\n\010wIpLimit\030\004 \001("
  198. "\r\022\026\n\016wPlayCountRule\030\005 \001(\r\022\016\n\006RoomId\030\006 \001("
  199. "\r\022\017\n\007IsOwner\030\007 \001(\r\022\025\n\rwHadPlayCount\030\010 \001("
  200. "\r\022\027\n\017sPrivateTableID\030\t \001(\t\022\017\n\007bDuoLai\030\n "
  201. "\001(\r\022\021\n\twFengDing\030\013 \001(\r\022\014\n\004tmp1\030\014 \001(\r\022\014\n\004"
  202. "tmp2\030\r \001(\r\"W\n\016pb_ChairRecord\022\020\n\010wChairId"
  203. "\030\001 \001(\r\022\020\n\010dwUserId\030\002 \001(\r\022\020\n\010userName\030\003 \001"
  204. "(\t\022\017\n\007headUrl\030\004 \001(\t\"\204\002\n\030PB_CS_S_ReplayRe"
  205. "cordResp\022\016\n\006m_UUID\030\001 \001(\r\022\023\n\013m_startTime\030"
  206. "\003 \001(\r\022\021\n\tm_endTime\030\004 \001(\r\022\020\n\010m_UserId\030\005 \001"
  207. "(\r\0221\n\014m_gameconfig\030\006 \001(\0132\033.RecordPacket."
  208. "pb_GameConfig\0221\n\013m_chairList\030\007 \003(\0132\034.Rec"
  209. "ordPacket.pb_ChairRecord\0228\n\rpRecordPacke"
  210. "t\030\010 \003(\0132!.RecordPacket.pb_GameRecordPack"
  211. "etb\006proto3"
  212. >>>>>>> .r273
  213. ;
  214. static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Pb_5fRecordPacket_2eproto_deps[1] = {
  215. };
  216. static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Pb_5fRecordPacket_2eproto_sccs[4] = {
  217. &scc_info_PB_CS_S_ReplayRecordResp_Pb_5fRecordPacket_2eproto.base,
  218. &scc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto.base,
  219. &scc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto.base,
  220. &scc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto.base,
  221. };
  222. static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Pb_5fRecordPacket_2eproto_once;
  223. static bool descriptor_table_Pb_5fRecordPacket_2eproto_initialized = false;
  224. const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Pb_5fRecordPacket_2eproto = {
  225. &descriptor_table_Pb_5fRecordPacket_2eproto_initialized, descriptor_table_protodef_Pb_5fRecordPacket_2eproto, "Pb_RecordPacket.proto", 752,
  226. &descriptor_table_Pb_5fRecordPacket_2eproto_once, descriptor_table_Pb_5fRecordPacket_2eproto_sccs, descriptor_table_Pb_5fRecordPacket_2eproto_deps, 4, 0,
  227. schemas, file_default_instances, TableStruct_Pb_5fRecordPacket_2eproto::offsets,
  228. file_level_metadata_Pb_5fRecordPacket_2eproto, 4, file_level_enum_descriptors_Pb_5fRecordPacket_2eproto, file_level_service_descriptors_Pb_5fRecordPacket_2eproto,
  229. };
  230. // Force running AddDescriptors() at dynamic initialization time.
  231. static bool dynamic_init_dummy_Pb_5fRecordPacket_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Pb_5fRecordPacket_2eproto), true);
  232. namespace RecordPacket {
  233. // ===================================================================
  234. void pb_GameRecordPacket::InitAsDefaultInstance() {
  235. }
  236. class pb_GameRecordPacket::_Internal {
  237. public:
  238. };
  239. pb_GameRecordPacket::pb_GameRecordPacket()
  240. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  241. SharedCtor();
  242. // @@protoc_insertion_point(constructor:RecordPacket.pb_GameRecordPacket)
  243. }
  244. pb_GameRecordPacket::pb_GameRecordPacket(const pb_GameRecordPacket& from)
  245. : ::PROTOBUF_NAMESPACE_ID::Message(),
  246. _internal_metadata_(nullptr) {
  247. _internal_metadata_.MergeFrom(from._internal_metadata_);
  248. pdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  249. if (!from._internal_pdata().empty()) {
  250. pdata_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.pdata_);
  251. }
  252. ::memcpy(&wchairid_, &from.wchairid_,
  253. static_cast<size_t>(reinterpret_cast<char*>(&wsubcmdid_) -
  254. reinterpret_cast<char*>(&wchairid_)) + sizeof(wsubcmdid_));
  255. // @@protoc_insertion_point(copy_constructor:RecordPacket.pb_GameRecordPacket)
  256. }
  257. void pb_GameRecordPacket::SharedCtor() {
  258. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto.base);
  259. pdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  260. ::memset(&wchairid_, 0, static_cast<size_t>(
  261. reinterpret_cast<char*>(&wsubcmdid_) -
  262. reinterpret_cast<char*>(&wchairid_)) + sizeof(wsubcmdid_));
  263. }
  264. pb_GameRecordPacket::~pb_GameRecordPacket() {
  265. // @@protoc_insertion_point(destructor:RecordPacket.pb_GameRecordPacket)
  266. SharedDtor();
  267. }
  268. void pb_GameRecordPacket::SharedDtor() {
  269. pdata_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  270. }
  271. void pb_GameRecordPacket::SetCachedSize(int size) const {
  272. _cached_size_.Set(size);
  273. }
  274. const pb_GameRecordPacket& pb_GameRecordPacket::default_instance() {
  275. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_GameRecordPacket_Pb_5fRecordPacket_2eproto.base);
  276. return *internal_default_instance();
  277. }
  278. void pb_GameRecordPacket::Clear() {
  279. // @@protoc_insertion_point(message_clear_start:RecordPacket.pb_GameRecordPacket)
  280. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  281. // Prevent compiler warnings about cached_has_bits being unused
  282. (void) cached_has_bits;
  283. pdata_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  284. ::memset(&wchairid_, 0, static_cast<size_t>(
  285. reinterpret_cast<char*>(&wsubcmdid_) -
  286. reinterpret_cast<char*>(&wchairid_)) + sizeof(wsubcmdid_));
  287. _internal_metadata_.Clear();
  288. }
  289. const char* pb_GameRecordPacket::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  290. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  291. while (!ctx->Done(&ptr)) {
  292. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  293. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  294. CHK_(ptr);
  295. switch (tag >> 3) {
  296. // uint32 wChairID = 1;
  297. case 1:
  298. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  299. wchairid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  300. CHK_(ptr);
  301. } else goto handle_unusual;
  302. continue;
  303. // uint32 wMainCmdID = 2;
  304. case 2:
  305. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  306. wmaincmdid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  307. CHK_(ptr);
  308. } else goto handle_unusual;
  309. continue;
  310. // uint32 wSubCmdID = 3;
  311. case 3:
  312. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  313. wsubcmdid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  314. CHK_(ptr);
  315. } else goto handle_unusual;
  316. continue;
  317. // bytes pData = 4;
  318. case 4:
  319. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
  320. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(_internal_mutable_pdata(), ptr, ctx);
  321. CHK_(ptr);
  322. } else goto handle_unusual;
  323. continue;
  324. default: {
  325. handle_unusual:
  326. if ((tag & 7) == 4 || tag == 0) {
  327. ctx->SetLastTag(tag);
  328. goto success;
  329. }
  330. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  331. CHK_(ptr != nullptr);
  332. continue;
  333. }
  334. } // switch
  335. } // while
  336. success:
  337. return ptr;
  338. failure:
  339. ptr = nullptr;
  340. goto success;
  341. #undef CHK_
  342. }
  343. ::PROTOBUF_NAMESPACE_ID::uint8* pb_GameRecordPacket::InternalSerializeWithCachedSizesToArray(
  344. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  345. // @@protoc_insertion_point(serialize_to_array_start:RecordPacket.pb_GameRecordPacket)
  346. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  347. (void) cached_has_bits;
  348. // uint32 wChairID = 1;
  349. if (this->wchairid() != 0) {
  350. target = stream->EnsureSpace(target);
  351. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wchairid(), target);
  352. }
  353. // uint32 wMainCmdID = 2;
  354. if (this->wmaincmdid() != 0) {
  355. target = stream->EnsureSpace(target);
  356. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wmaincmdid(), target);
  357. }
  358. // uint32 wSubCmdID = 3;
  359. if (this->wsubcmdid() != 0) {
  360. target = stream->EnsureSpace(target);
  361. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wsubcmdid(), target);
  362. }
  363. // bytes pData = 4;
  364. if (this->pdata().size() > 0) {
  365. target = stream->WriteBytesMaybeAliased(
  366. 4, this->_internal_pdata(), target);
  367. }
  368. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  369. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  370. _internal_metadata_.unknown_fields(), target, stream);
  371. }
  372. // @@protoc_insertion_point(serialize_to_array_end:RecordPacket.pb_GameRecordPacket)
  373. return target;
  374. }
  375. size_t pb_GameRecordPacket::ByteSizeLong() const {
  376. // @@protoc_insertion_point(message_byte_size_start:RecordPacket.pb_GameRecordPacket)
  377. size_t total_size = 0;
  378. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  379. // Prevent compiler warnings about cached_has_bits being unused
  380. (void) cached_has_bits;
  381. // bytes pData = 4;
  382. if (this->pdata().size() > 0) {
  383. total_size += 1 +
  384. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
  385. this->_internal_pdata());
  386. }
  387. // uint32 wChairID = 1;
  388. if (this->wchairid() != 0) {
  389. total_size += 1 +
  390. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  391. this->_internal_wchairid());
  392. }
  393. // uint32 wMainCmdID = 2;
  394. if (this->wmaincmdid() != 0) {
  395. total_size += 1 +
  396. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  397. this->_internal_wmaincmdid());
  398. }
  399. // uint32 wSubCmdID = 3;
  400. if (this->wsubcmdid() != 0) {
  401. total_size += 1 +
  402. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  403. this->_internal_wsubcmdid());
  404. }
  405. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  406. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  407. _internal_metadata_, total_size, &_cached_size_);
  408. }
  409. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  410. SetCachedSize(cached_size);
  411. return total_size;
  412. }
  413. void pb_GameRecordPacket::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  414. // @@protoc_insertion_point(generalized_merge_from_start:RecordPacket.pb_GameRecordPacket)
  415. GOOGLE_DCHECK_NE(&from, this);
  416. const pb_GameRecordPacket* source =
  417. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<pb_GameRecordPacket>(
  418. &from);
  419. if (source == nullptr) {
  420. // @@protoc_insertion_point(generalized_merge_from_cast_fail:RecordPacket.pb_GameRecordPacket)
  421. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  422. } else {
  423. // @@protoc_insertion_point(generalized_merge_from_cast_success:RecordPacket.pb_GameRecordPacket)
  424. MergeFrom(*source);
  425. }
  426. }
  427. void pb_GameRecordPacket::MergeFrom(const pb_GameRecordPacket& from) {
  428. // @@protoc_insertion_point(class_specific_merge_from_start:RecordPacket.pb_GameRecordPacket)
  429. GOOGLE_DCHECK_NE(&from, this);
  430. _internal_metadata_.MergeFrom(from._internal_metadata_);
  431. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  432. (void) cached_has_bits;
  433. if (from.pdata().size() > 0) {
  434. pdata_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.pdata_);
  435. }
  436. if (from.wchairid() != 0) {
  437. _internal_set_wchairid(from._internal_wchairid());
  438. }
  439. if (from.wmaincmdid() != 0) {
  440. _internal_set_wmaincmdid(from._internal_wmaincmdid());
  441. }
  442. if (from.wsubcmdid() != 0) {
  443. _internal_set_wsubcmdid(from._internal_wsubcmdid());
  444. }
  445. }
  446. void pb_GameRecordPacket::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  447. // @@protoc_insertion_point(generalized_copy_from_start:RecordPacket.pb_GameRecordPacket)
  448. if (&from == this) return;
  449. Clear();
  450. MergeFrom(from);
  451. }
  452. void pb_GameRecordPacket::CopyFrom(const pb_GameRecordPacket& from) {
  453. // @@protoc_insertion_point(class_specific_copy_from_start:RecordPacket.pb_GameRecordPacket)
  454. if (&from == this) return;
  455. Clear();
  456. MergeFrom(from);
  457. }
  458. bool pb_GameRecordPacket::IsInitialized() const {
  459. return true;
  460. }
  461. void pb_GameRecordPacket::InternalSwap(pb_GameRecordPacket* other) {
  462. using std::swap;
  463. _internal_metadata_.Swap(&other->_internal_metadata_);
  464. pdata_.Swap(&other->pdata_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  465. GetArenaNoVirtual());
  466. swap(wchairid_, other->wchairid_);
  467. swap(wmaincmdid_, other->wmaincmdid_);
  468. swap(wsubcmdid_, other->wsubcmdid_);
  469. }
  470. ::PROTOBUF_NAMESPACE_ID::Metadata pb_GameRecordPacket::GetMetadata() const {
  471. return GetMetadataStatic();
  472. }
  473. // ===================================================================
  474. void pb_GameConfig::InitAsDefaultInstance() {
  475. }
  476. class pb_GameConfig::_Internal {
  477. public:
  478. };
  479. pb_GameConfig::pb_GameConfig()
  480. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  481. SharedCtor();
  482. // @@protoc_insertion_point(constructor:RecordPacket.pb_GameConfig)
  483. }
  484. pb_GameConfig::pb_GameConfig(const pb_GameConfig& from)
  485. : ::PROTOBUF_NAMESPACE_ID::Message(),
  486. _internal_metadata_(nullptr) {
  487. _internal_metadata_.MergeFrom(from._internal_metadata_);
  488. sprivatetableid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  489. if (!from._internal_sprivatetableid().empty()) {
  490. sprivatetableid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sprivatetableid_);
  491. }
  492. ::memcpy(&wsubgameid_, &from.wsubgameid_,
  493. static_cast<size_t>(reinterpret_cast<char*>(&tmp2_) -
  494. reinterpret_cast<char*>(&wsubgameid_)) + sizeof(tmp2_));
  495. // @@protoc_insertion_point(copy_constructor:RecordPacket.pb_GameConfig)
  496. }
  497. void pb_GameConfig::SharedCtor() {
  498. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto.base);
  499. sprivatetableid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  500. ::memset(&wsubgameid_, 0, static_cast<size_t>(
  501. reinterpret_cast<char*>(&tmp2_) -
  502. reinterpret_cast<char*>(&wsubgameid_)) + sizeof(tmp2_));
  503. }
  504. pb_GameConfig::~pb_GameConfig() {
  505. // @@protoc_insertion_point(destructor:RecordPacket.pb_GameConfig)
  506. SharedDtor();
  507. }
  508. void pb_GameConfig::SharedDtor() {
  509. sprivatetableid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  510. }
  511. void pb_GameConfig::SetCachedSize(int size) const {
  512. _cached_size_.Set(size);
  513. }
  514. const pb_GameConfig& pb_GameConfig::default_instance() {
  515. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_GameConfig_Pb_5fRecordPacket_2eproto.base);
  516. return *internal_default_instance();
  517. }
  518. void pb_GameConfig::Clear() {
  519. // @@protoc_insertion_point(message_clear_start:RecordPacket.pb_GameConfig)
  520. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  521. // Prevent compiler warnings about cached_has_bits being unused
  522. (void) cached_has_bits;
  523. sprivatetableid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  524. ::memset(&wsubgameid_, 0, static_cast<size_t>(
  525. reinterpret_cast<char*>(&tmp2_) -
  526. reinterpret_cast<char*>(&wsubgameid_)) + sizeof(tmp2_));
  527. _internal_metadata_.Clear();
  528. }
  529. const char* pb_GameConfig::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  530. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  531. while (!ctx->Done(&ptr)) {
  532. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  533. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  534. CHK_(ptr);
  535. switch (tag >> 3) {
  536. // uint32 wSubGameID = 1;
  537. case 1:
  538. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  539. wsubgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  540. CHK_(ptr);
  541. } else goto handle_unusual;
  542. continue;
  543. // uint32 wDiScore = 2;
  544. case 2:
  545. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  546. wdiscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  547. CHK_(ptr);
  548. } else goto handle_unusual;
  549. continue;
  550. // uint32 wFanFei = 3;
  551. case 3:
  552. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  553. wfanfei_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  554. CHK_(ptr);
  555. } else goto handle_unusual;
  556. continue;
  557. // uint32 wIpLimit = 4;
  558. case 4:
  559. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  560. wiplimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  561. CHK_(ptr);
  562. } else goto handle_unusual;
  563. continue;
  564. // uint32 wPlayCountRule = 5;
  565. case 5:
  566. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
  567. wplaycountrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  568. CHK_(ptr);
  569. } else goto handle_unusual;
  570. continue;
  571. // uint32 RoomId = 6;
  572. case 6:
  573. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
  574. roomid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  575. CHK_(ptr);
  576. } else goto handle_unusual;
  577. continue;
  578. // uint32 IsOwner = 7;
  579. case 7:
  580. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
  581. isowner_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  582. CHK_(ptr);
  583. } else goto handle_unusual;
  584. continue;
  585. // uint32 wHadPlayCount = 8;
  586. case 8:
  587. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
  588. whadplaycount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  589. CHK_(ptr);
  590. } else goto handle_unusual;
  591. continue;
  592. // string sPrivateTableID = 9;
  593. case 9:
  594. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
  595. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sprivatetableid(), ptr, ctx, "RecordPacket.pb_GameConfig.sPrivateTableID");
  596. CHK_(ptr);
  597. } else goto handle_unusual;
  598. continue;
  599. // uint32 bDuoLai = 10;
  600. case 10:
  601. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
  602. bduolai_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  603. CHK_(ptr);
  604. } else goto handle_unusual;
  605. continue;
  606. // uint32 wFengDing = 11;
  607. case 11:
  608. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
  609. wfengding_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  610. CHK_(ptr);
  611. } else goto handle_unusual;
  612. continue;
  613. // uint32 tmp1 = 12;
  614. case 12:
  615. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
  616. tmp1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  617. CHK_(ptr);
  618. } else goto handle_unusual;
  619. continue;
  620. // uint32 tmp2 = 13;
  621. case 13:
  622. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
  623. tmp2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  624. CHK_(ptr);
  625. } else goto handle_unusual;
  626. continue;
  627. default: {
  628. handle_unusual:
  629. if ((tag & 7) == 4 || tag == 0) {
  630. ctx->SetLastTag(tag);
  631. goto success;
  632. }
  633. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  634. CHK_(ptr != nullptr);
  635. continue;
  636. }
  637. } // switch
  638. } // while
  639. success:
  640. return ptr;
  641. failure:
  642. ptr = nullptr;
  643. goto success;
  644. #undef CHK_
  645. }
  646. ::PROTOBUF_NAMESPACE_ID::uint8* pb_GameConfig::InternalSerializeWithCachedSizesToArray(
  647. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  648. // @@protoc_insertion_point(serialize_to_array_start:RecordPacket.pb_GameConfig)
  649. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  650. (void) cached_has_bits;
  651. // uint32 wSubGameID = 1;
  652. if (this->wsubgameid() != 0) {
  653. target = stream->EnsureSpace(target);
  654. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wsubgameid(), target);
  655. }
  656. // uint32 wDiScore = 2;
  657. if (this->wdiscore() != 0) {
  658. target = stream->EnsureSpace(target);
  659. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wdiscore(), target);
  660. }
  661. // uint32 wFanFei = 3;
  662. if (this->wfanfei() != 0) {
  663. target = stream->EnsureSpace(target);
  664. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wfanfei(), target);
  665. }
  666. // uint32 wIpLimit = 4;
  667. if (this->wiplimit() != 0) {
  668. target = stream->EnsureSpace(target);
  669. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wiplimit(), target);
  670. }
  671. // uint32 wPlayCountRule = 5;
  672. if (this->wplaycountrule() != 0) {
  673. target = stream->EnsureSpace(target);
  674. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wplaycountrule(), target);
  675. }
  676. // uint32 RoomId = 6;
  677. if (this->roomid() != 0) {
  678. target = stream->EnsureSpace(target);
  679. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_roomid(), target);
  680. }
  681. // uint32 IsOwner = 7;
  682. if (this->isowner() != 0) {
  683. target = stream->EnsureSpace(target);
  684. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_isowner(), target);
  685. }
  686. // uint32 wHadPlayCount = 8;
  687. if (this->whadplaycount() != 0) {
  688. target = stream->EnsureSpace(target);
  689. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_whadplaycount(), target);
  690. }
  691. // string sPrivateTableID = 9;
  692. if (this->sprivatetableid().size() > 0) {
  693. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  694. this->_internal_sprivatetableid().data(), static_cast<int>(this->_internal_sprivatetableid().length()),
  695. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  696. "RecordPacket.pb_GameConfig.sPrivateTableID");
  697. target = stream->WriteStringMaybeAliased(
  698. 9, this->_internal_sprivatetableid(), target);
  699. }
  700. // uint32 bDuoLai = 10;
  701. if (this->bduolai() != 0) {
  702. target = stream->EnsureSpace(target);
  703. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_bduolai(), target);
  704. }
  705. // uint32 wFengDing = 11;
  706. if (this->wfengding() != 0) {
  707. target = stream->EnsureSpace(target);
  708. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_wfengding(), target);
  709. }
  710. // uint32 tmp1 = 12;
  711. if (this->tmp1() != 0) {
  712. target = stream->EnsureSpace(target);
  713. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_tmp1(), target);
  714. }
  715. // uint32 tmp2 = 13;
  716. if (this->tmp2() != 0) {
  717. target = stream->EnsureSpace(target);
  718. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(13, this->_internal_tmp2(), target);
  719. }
  720. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  721. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  722. _internal_metadata_.unknown_fields(), target, stream);
  723. }
  724. // @@protoc_insertion_point(serialize_to_array_end:RecordPacket.pb_GameConfig)
  725. return target;
  726. }
  727. size_t pb_GameConfig::ByteSizeLong() const {
  728. // @@protoc_insertion_point(message_byte_size_start:RecordPacket.pb_GameConfig)
  729. size_t total_size = 0;
  730. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  731. // Prevent compiler warnings about cached_has_bits being unused
  732. (void) cached_has_bits;
  733. // string sPrivateTableID = 9;
  734. if (this->sprivatetableid().size() > 0) {
  735. total_size += 1 +
  736. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  737. this->_internal_sprivatetableid());
  738. }
  739. // uint32 wSubGameID = 1;
  740. if (this->wsubgameid() != 0) {
  741. total_size += 1 +
  742. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  743. this->_internal_wsubgameid());
  744. }
  745. // uint32 wDiScore = 2;
  746. if (this->wdiscore() != 0) {
  747. total_size += 1 +
  748. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  749. this->_internal_wdiscore());
  750. }
  751. // uint32 wFanFei = 3;
  752. if (this->wfanfei() != 0) {
  753. total_size += 1 +
  754. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  755. this->_internal_wfanfei());
  756. }
  757. // uint32 wIpLimit = 4;
  758. if (this->wiplimit() != 0) {
  759. total_size += 1 +
  760. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  761. this->_internal_wiplimit());
  762. }
  763. // uint32 wPlayCountRule = 5;
  764. if (this->wplaycountrule() != 0) {
  765. total_size += 1 +
  766. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  767. this->_internal_wplaycountrule());
  768. }
  769. // uint32 RoomId = 6;
  770. if (this->roomid() != 0) {
  771. total_size += 1 +
  772. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  773. this->_internal_roomid());
  774. }
  775. // uint32 IsOwner = 7;
  776. if (this->isowner() != 0) {
  777. total_size += 1 +
  778. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  779. this->_internal_isowner());
  780. }
  781. // uint32 wHadPlayCount = 8;
  782. if (this->whadplaycount() != 0) {
  783. total_size += 1 +
  784. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  785. this->_internal_whadplaycount());
  786. }
  787. // uint32 bDuoLai = 10;
  788. if (this->bduolai() != 0) {
  789. total_size += 1 +
  790. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  791. this->_internal_bduolai());
  792. }
  793. // uint32 wFengDing = 11;
  794. if (this->wfengding() != 0) {
  795. total_size += 1 +
  796. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  797. this->_internal_wfengding());
  798. }
  799. // uint32 tmp1 = 12;
  800. if (this->tmp1() != 0) {
  801. total_size += 1 +
  802. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  803. this->_internal_tmp1());
  804. }
  805. // uint32 tmp2 = 13;
  806. if (this->tmp2() != 0) {
  807. total_size += 1 +
  808. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  809. this->_internal_tmp2());
  810. }
  811. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  812. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  813. _internal_metadata_, total_size, &_cached_size_);
  814. }
  815. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  816. SetCachedSize(cached_size);
  817. return total_size;
  818. }
  819. void pb_GameConfig::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  820. // @@protoc_insertion_point(generalized_merge_from_start:RecordPacket.pb_GameConfig)
  821. GOOGLE_DCHECK_NE(&from, this);
  822. const pb_GameConfig* source =
  823. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<pb_GameConfig>(
  824. &from);
  825. if (source == nullptr) {
  826. // @@protoc_insertion_point(generalized_merge_from_cast_fail:RecordPacket.pb_GameConfig)
  827. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  828. } else {
  829. // @@protoc_insertion_point(generalized_merge_from_cast_success:RecordPacket.pb_GameConfig)
  830. MergeFrom(*source);
  831. }
  832. }
  833. void pb_GameConfig::MergeFrom(const pb_GameConfig& from) {
  834. // @@protoc_insertion_point(class_specific_merge_from_start:RecordPacket.pb_GameConfig)
  835. GOOGLE_DCHECK_NE(&from, this);
  836. _internal_metadata_.MergeFrom(from._internal_metadata_);
  837. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  838. (void) cached_has_bits;
  839. if (from.sprivatetableid().size() > 0) {
  840. sprivatetableid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sprivatetableid_);
  841. }
  842. if (from.wsubgameid() != 0) {
  843. _internal_set_wsubgameid(from._internal_wsubgameid());
  844. }
  845. if (from.wdiscore() != 0) {
  846. _internal_set_wdiscore(from._internal_wdiscore());
  847. }
  848. if (from.wfanfei() != 0) {
  849. _internal_set_wfanfei(from._internal_wfanfei());
  850. }
  851. if (from.wiplimit() != 0) {
  852. _internal_set_wiplimit(from._internal_wiplimit());
  853. }
  854. if (from.wplaycountrule() != 0) {
  855. _internal_set_wplaycountrule(from._internal_wplaycountrule());
  856. }
  857. if (from.roomid() != 0) {
  858. _internal_set_roomid(from._internal_roomid());
  859. }
  860. if (from.isowner() != 0) {
  861. _internal_set_isowner(from._internal_isowner());
  862. }
  863. if (from.whadplaycount() != 0) {
  864. _internal_set_whadplaycount(from._internal_whadplaycount());
  865. }
  866. if (from.bduolai() != 0) {
  867. _internal_set_bduolai(from._internal_bduolai());
  868. }
  869. if (from.wfengding() != 0) {
  870. _internal_set_wfengding(from._internal_wfengding());
  871. }
  872. if (from.tmp1() != 0) {
  873. _internal_set_tmp1(from._internal_tmp1());
  874. }
  875. if (from.tmp2() != 0) {
  876. _internal_set_tmp2(from._internal_tmp2());
  877. }
  878. }
  879. void pb_GameConfig::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  880. // @@protoc_insertion_point(generalized_copy_from_start:RecordPacket.pb_GameConfig)
  881. if (&from == this) return;
  882. Clear();
  883. MergeFrom(from);
  884. }
  885. void pb_GameConfig::CopyFrom(const pb_GameConfig& from) {
  886. // @@protoc_insertion_point(class_specific_copy_from_start:RecordPacket.pb_GameConfig)
  887. if (&from == this) return;
  888. Clear();
  889. MergeFrom(from);
  890. }
  891. bool pb_GameConfig::IsInitialized() const {
  892. return true;
  893. }
  894. void pb_GameConfig::InternalSwap(pb_GameConfig* other) {
  895. using std::swap;
  896. _internal_metadata_.Swap(&other->_internal_metadata_);
  897. sprivatetableid_.Swap(&other->sprivatetableid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  898. GetArenaNoVirtual());
  899. swap(wsubgameid_, other->wsubgameid_);
  900. swap(wdiscore_, other->wdiscore_);
  901. swap(wfanfei_, other->wfanfei_);
  902. swap(wiplimit_, other->wiplimit_);
  903. swap(wplaycountrule_, other->wplaycountrule_);
  904. swap(roomid_, other->roomid_);
  905. swap(isowner_, other->isowner_);
  906. swap(whadplaycount_, other->whadplaycount_);
  907. swap(bduolai_, other->bduolai_);
  908. swap(wfengding_, other->wfengding_);
  909. swap(tmp1_, other->tmp1_);
  910. swap(tmp2_, other->tmp2_);
  911. }
  912. ::PROTOBUF_NAMESPACE_ID::Metadata pb_GameConfig::GetMetadata() const {
  913. return GetMetadataStatic();
  914. }
  915. // ===================================================================
  916. void pb_ChairRecord::InitAsDefaultInstance() {
  917. }
  918. class pb_ChairRecord::_Internal {
  919. public:
  920. };
  921. pb_ChairRecord::pb_ChairRecord()
  922. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  923. SharedCtor();
  924. // @@protoc_insertion_point(constructor:RecordPacket.pb_ChairRecord)
  925. }
  926. pb_ChairRecord::pb_ChairRecord(const pb_ChairRecord& from)
  927. : ::PROTOBUF_NAMESPACE_ID::Message(),
  928. _internal_metadata_(nullptr) {
  929. _internal_metadata_.MergeFrom(from._internal_metadata_);
  930. username_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  931. if (!from._internal_username().empty()) {
  932. username_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.username_);
  933. }
  934. headurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  935. if (!from._internal_headurl().empty()) {
  936. headurl_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.headurl_);
  937. }
  938. ::memcpy(&wchairid_, &from.wchairid_,
  939. static_cast<size_t>(reinterpret_cast<char*>(&dwuserid_) -
  940. reinterpret_cast<char*>(&wchairid_)) + sizeof(dwuserid_));
  941. // @@protoc_insertion_point(copy_constructor:RecordPacket.pb_ChairRecord)
  942. }
  943. void pb_ChairRecord::SharedCtor() {
  944. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto.base);
  945. username_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  946. headurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  947. ::memset(&wchairid_, 0, static_cast<size_t>(
  948. reinterpret_cast<char*>(&dwuserid_) -
  949. reinterpret_cast<char*>(&wchairid_)) + sizeof(dwuserid_));
  950. }
  951. pb_ChairRecord::~pb_ChairRecord() {
  952. // @@protoc_insertion_point(destructor:RecordPacket.pb_ChairRecord)
  953. SharedDtor();
  954. }
  955. void pb_ChairRecord::SharedDtor() {
  956. username_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  957. headurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  958. }
  959. void pb_ChairRecord::SetCachedSize(int size) const {
  960. _cached_size_.Set(size);
  961. }
  962. const pb_ChairRecord& pb_ChairRecord::default_instance() {
  963. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_ChairRecord_Pb_5fRecordPacket_2eproto.base);
  964. return *internal_default_instance();
  965. }
  966. void pb_ChairRecord::Clear() {
  967. // @@protoc_insertion_point(message_clear_start:RecordPacket.pb_ChairRecord)
  968. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  969. // Prevent compiler warnings about cached_has_bits being unused
  970. (void) cached_has_bits;
  971. username_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  972. headurl_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  973. ::memset(&wchairid_, 0, static_cast<size_t>(
  974. reinterpret_cast<char*>(&dwuserid_) -
  975. reinterpret_cast<char*>(&wchairid_)) + sizeof(dwuserid_));
  976. _internal_metadata_.Clear();
  977. }
  978. const char* pb_ChairRecord::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  979. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  980. while (!ctx->Done(&ptr)) {
  981. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  982. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  983. CHK_(ptr);
  984. switch (tag >> 3) {
  985. // uint32 wChairId = 1;
  986. case 1:
  987. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  988. wchairid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  989. CHK_(ptr);
  990. } else goto handle_unusual;
  991. continue;
  992. // uint32 dwUserId = 2;
  993. case 2:
  994. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  995. dwuserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  996. CHK_(ptr);
  997. } else goto handle_unusual;
  998. continue;
  999. // string userName = 3;
  1000. case 3:
  1001. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
  1002. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_username(), ptr, ctx, "RecordPacket.pb_ChairRecord.userName");
  1003. CHK_(ptr);
  1004. } else goto handle_unusual;
  1005. continue;
  1006. // string headUrl = 4;
  1007. case 4:
  1008. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
  1009. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_headurl(), ptr, ctx, "RecordPacket.pb_ChairRecord.headUrl");
  1010. CHK_(ptr);
  1011. } else goto handle_unusual;
  1012. continue;
  1013. default: {
  1014. handle_unusual:
  1015. if ((tag & 7) == 4 || tag == 0) {
  1016. ctx->SetLastTag(tag);
  1017. goto success;
  1018. }
  1019. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  1020. CHK_(ptr != nullptr);
  1021. continue;
  1022. }
  1023. } // switch
  1024. } // while
  1025. success:
  1026. return ptr;
  1027. failure:
  1028. ptr = nullptr;
  1029. goto success;
  1030. #undef CHK_
  1031. }
  1032. ::PROTOBUF_NAMESPACE_ID::uint8* pb_ChairRecord::InternalSerializeWithCachedSizesToArray(
  1033. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1034. // @@protoc_insertion_point(serialize_to_array_start:RecordPacket.pb_ChairRecord)
  1035. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1036. (void) cached_has_bits;
  1037. // uint32 wChairId = 1;
  1038. if (this->wchairid() != 0) {
  1039. target = stream->EnsureSpace(target);
  1040. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wchairid(), target);
  1041. }
  1042. // uint32 dwUserId = 2;
  1043. if (this->dwuserid() != 0) {
  1044. target = stream->EnsureSpace(target);
  1045. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwuserid(), target);
  1046. }
  1047. // string userName = 3;
  1048. if (this->username().size() > 0) {
  1049. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1050. this->_internal_username().data(), static_cast<int>(this->_internal_username().length()),
  1051. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1052. "RecordPacket.pb_ChairRecord.userName");
  1053. target = stream->WriteStringMaybeAliased(
  1054. 3, this->_internal_username(), target);
  1055. }
  1056. // string headUrl = 4;
  1057. if (this->headurl().size() > 0) {
  1058. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1059. this->_internal_headurl().data(), static_cast<int>(this->_internal_headurl().length()),
  1060. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1061. "RecordPacket.pb_ChairRecord.headUrl");
  1062. target = stream->WriteStringMaybeAliased(
  1063. 4, this->_internal_headurl(), target);
  1064. }
  1065. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1066. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1067. _internal_metadata_.unknown_fields(), target, stream);
  1068. }
  1069. // @@protoc_insertion_point(serialize_to_array_end:RecordPacket.pb_ChairRecord)
  1070. return target;
  1071. }
  1072. size_t pb_ChairRecord::ByteSizeLong() const {
  1073. // @@protoc_insertion_point(message_byte_size_start:RecordPacket.pb_ChairRecord)
  1074. size_t total_size = 0;
  1075. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1076. // Prevent compiler warnings about cached_has_bits being unused
  1077. (void) cached_has_bits;
  1078. // string userName = 3;
  1079. if (this->username().size() > 0) {
  1080. total_size += 1 +
  1081. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1082. this->_internal_username());
  1083. }
  1084. // string headUrl = 4;
  1085. if (this->headurl().size() > 0) {
  1086. total_size += 1 +
  1087. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1088. this->_internal_headurl());
  1089. }
  1090. // uint32 wChairId = 1;
  1091. if (this->wchairid() != 0) {
  1092. total_size += 1 +
  1093. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1094. this->_internal_wchairid());
  1095. }
  1096. // uint32 dwUserId = 2;
  1097. if (this->dwuserid() != 0) {
  1098. total_size += 1 +
  1099. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1100. this->_internal_dwuserid());
  1101. }
  1102. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1103. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1104. _internal_metadata_, total_size, &_cached_size_);
  1105. }
  1106. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1107. SetCachedSize(cached_size);
  1108. return total_size;
  1109. }
  1110. void pb_ChairRecord::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1111. // @@protoc_insertion_point(generalized_merge_from_start:RecordPacket.pb_ChairRecord)
  1112. GOOGLE_DCHECK_NE(&from, this);
  1113. const pb_ChairRecord* source =
  1114. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<pb_ChairRecord>(
  1115. &from);
  1116. if (source == nullptr) {
  1117. // @@protoc_insertion_point(generalized_merge_from_cast_fail:RecordPacket.pb_ChairRecord)
  1118. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1119. } else {
  1120. // @@protoc_insertion_point(generalized_merge_from_cast_success:RecordPacket.pb_ChairRecord)
  1121. MergeFrom(*source);
  1122. }
  1123. }
  1124. void pb_ChairRecord::MergeFrom(const pb_ChairRecord& from) {
  1125. // @@protoc_insertion_point(class_specific_merge_from_start:RecordPacket.pb_ChairRecord)
  1126. GOOGLE_DCHECK_NE(&from, this);
  1127. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1128. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1129. (void) cached_has_bits;
  1130. if (from.username().size() > 0) {
  1131. username_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.username_);
  1132. }
  1133. if (from.headurl().size() > 0) {
  1134. headurl_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.headurl_);
  1135. }
  1136. if (from.wchairid() != 0) {
  1137. _internal_set_wchairid(from._internal_wchairid());
  1138. }
  1139. if (from.dwuserid() != 0) {
  1140. _internal_set_dwuserid(from._internal_dwuserid());
  1141. }
  1142. }
  1143. void pb_ChairRecord::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1144. // @@protoc_insertion_point(generalized_copy_from_start:RecordPacket.pb_ChairRecord)
  1145. if (&from == this) return;
  1146. Clear();
  1147. MergeFrom(from);
  1148. }
  1149. void pb_ChairRecord::CopyFrom(const pb_ChairRecord& from) {
  1150. // @@protoc_insertion_point(class_specific_copy_from_start:RecordPacket.pb_ChairRecord)
  1151. if (&from == this) return;
  1152. Clear();
  1153. MergeFrom(from);
  1154. }
  1155. bool pb_ChairRecord::IsInitialized() const {
  1156. return true;
  1157. }
  1158. void pb_ChairRecord::InternalSwap(pb_ChairRecord* other) {
  1159. using std::swap;
  1160. _internal_metadata_.Swap(&other->_internal_metadata_);
  1161. username_.Swap(&other->username_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1162. GetArenaNoVirtual());
  1163. headurl_.Swap(&other->headurl_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1164. GetArenaNoVirtual());
  1165. swap(wchairid_, other->wchairid_);
  1166. swap(dwuserid_, other->dwuserid_);
  1167. }
  1168. ::PROTOBUF_NAMESPACE_ID::Metadata pb_ChairRecord::GetMetadata() const {
  1169. return GetMetadataStatic();
  1170. }
  1171. // ===================================================================
  1172. void PB_CS_S_ReplayRecordResp::InitAsDefaultInstance() {
  1173. ::RecordPacket::_PB_CS_S_ReplayRecordResp_default_instance_._instance.get_mutable()->m_gameconfig_ = const_cast< ::RecordPacket::pb_GameConfig*>(
  1174. ::RecordPacket::pb_GameConfig::internal_default_instance());
  1175. }
  1176. class PB_CS_S_ReplayRecordResp::_Internal {
  1177. public:
  1178. static const ::RecordPacket::pb_GameConfig& m_gameconfig(const PB_CS_S_ReplayRecordResp* msg);
  1179. };
  1180. const ::RecordPacket::pb_GameConfig&
  1181. PB_CS_S_ReplayRecordResp::_Internal::m_gameconfig(const PB_CS_S_ReplayRecordResp* msg) {
  1182. return *msg->m_gameconfig_;
  1183. }
  1184. PB_CS_S_ReplayRecordResp::PB_CS_S_ReplayRecordResp()
  1185. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  1186. SharedCtor();
  1187. // @@protoc_insertion_point(constructor:RecordPacket.PB_CS_S_ReplayRecordResp)
  1188. }
  1189. PB_CS_S_ReplayRecordResp::PB_CS_S_ReplayRecordResp(const PB_CS_S_ReplayRecordResp& from)
  1190. : ::PROTOBUF_NAMESPACE_ID::Message(),
  1191. _internal_metadata_(nullptr),
  1192. m_chairlist_(from.m_chairlist_),
  1193. precordpacket_(from.precordpacket_) {
  1194. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1195. if (from._internal_has_m_gameconfig()) {
  1196. m_gameconfig_ = new ::RecordPacket::pb_GameConfig(*from.m_gameconfig_);
  1197. } else {
  1198. m_gameconfig_ = nullptr;
  1199. }
  1200. ::memcpy(&m_uuid_, &from.m_uuid_,
  1201. static_cast<size_t>(reinterpret_cast<char*>(&m_userid_) -
  1202. reinterpret_cast<char*>(&m_uuid_)) + sizeof(m_userid_));
  1203. // @@protoc_insertion_point(copy_constructor:RecordPacket.PB_CS_S_ReplayRecordResp)
  1204. }
  1205. void PB_CS_S_ReplayRecordResp::SharedCtor() {
  1206. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_ReplayRecordResp_Pb_5fRecordPacket_2eproto.base);
  1207. ::memset(&m_gameconfig_, 0, static_cast<size_t>(
  1208. reinterpret_cast<char*>(&m_userid_) -
  1209. reinterpret_cast<char*>(&m_gameconfig_)) + sizeof(m_userid_));
  1210. }
  1211. PB_CS_S_ReplayRecordResp::~PB_CS_S_ReplayRecordResp() {
  1212. // @@protoc_insertion_point(destructor:RecordPacket.PB_CS_S_ReplayRecordResp)
  1213. SharedDtor();
  1214. }
  1215. void PB_CS_S_ReplayRecordResp::SharedDtor() {
  1216. if (this != internal_default_instance()) delete m_gameconfig_;
  1217. }
  1218. void PB_CS_S_ReplayRecordResp::SetCachedSize(int size) const {
  1219. _cached_size_.Set(size);
  1220. }
  1221. const PB_CS_S_ReplayRecordResp& PB_CS_S_ReplayRecordResp::default_instance() {
  1222. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_ReplayRecordResp_Pb_5fRecordPacket_2eproto.base);
  1223. return *internal_default_instance();
  1224. }
  1225. void PB_CS_S_ReplayRecordResp::Clear() {
  1226. // @@protoc_insertion_point(message_clear_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1227. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1228. // Prevent compiler warnings about cached_has_bits being unused
  1229. (void) cached_has_bits;
  1230. m_chairlist_.Clear();
  1231. precordpacket_.Clear();
  1232. if (GetArenaNoVirtual() == nullptr && m_gameconfig_ != nullptr) {
  1233. delete m_gameconfig_;
  1234. }
  1235. m_gameconfig_ = nullptr;
  1236. ::memset(&m_uuid_, 0, static_cast<size_t>(
  1237. reinterpret_cast<char*>(&m_userid_) -
  1238. reinterpret_cast<char*>(&m_uuid_)) + sizeof(m_userid_));
  1239. _internal_metadata_.Clear();
  1240. }
  1241. const char* PB_CS_S_ReplayRecordResp::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  1242. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1243. while (!ctx->Done(&ptr)) {
  1244. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  1245. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  1246. CHK_(ptr);
  1247. switch (tag >> 3) {
  1248. // uint32 m_UUID = 1;
  1249. case 1:
  1250. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  1251. m_uuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1252. CHK_(ptr);
  1253. } else goto handle_unusual;
  1254. continue;
  1255. // uint32 m_startTime = 3;
  1256. case 3:
  1257. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  1258. m_starttime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1259. CHK_(ptr);
  1260. } else goto handle_unusual;
  1261. continue;
  1262. // uint32 m_endTime = 4;
  1263. case 4:
  1264. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  1265. m_endtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1266. CHK_(ptr);
  1267. } else goto handle_unusual;
  1268. continue;
  1269. // uint32 m_UserId = 5;
  1270. case 5:
  1271. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
  1272. m_userid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1273. CHK_(ptr);
  1274. } else goto handle_unusual;
  1275. continue;
  1276. // .RecordPacket.pb_GameConfig m_gameconfig = 6;
  1277. case 6:
  1278. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
  1279. ptr = ctx->ParseMessage(_internal_mutable_m_gameconfig(), ptr);
  1280. CHK_(ptr);
  1281. } else goto handle_unusual;
  1282. continue;
  1283. // repeated .RecordPacket.pb_ChairRecord m_chairList = 7;
  1284. case 7:
  1285. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
  1286. ptr -= 1;
  1287. do {
  1288. ptr += 1;
  1289. ptr = ctx->ParseMessage(_internal_add_m_chairlist(), ptr);
  1290. CHK_(ptr);
  1291. if (!ctx->DataAvailable(ptr)) break;
  1292. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
  1293. } else goto handle_unusual;
  1294. continue;
  1295. // repeated .RecordPacket.pb_GameRecordPacket pRecordPacket = 8;
  1296. case 8:
  1297. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
  1298. ptr -= 1;
  1299. do {
  1300. ptr += 1;
  1301. ptr = ctx->ParseMessage(_internal_add_precordpacket(), ptr);
  1302. CHK_(ptr);
  1303. if (!ctx->DataAvailable(ptr)) break;
  1304. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
  1305. } else goto handle_unusual;
  1306. continue;
  1307. default: {
  1308. handle_unusual:
  1309. if ((tag & 7) == 4 || tag == 0) {
  1310. ctx->SetLastTag(tag);
  1311. goto success;
  1312. }
  1313. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  1314. CHK_(ptr != nullptr);
  1315. continue;
  1316. }
  1317. } // switch
  1318. } // while
  1319. success:
  1320. return ptr;
  1321. failure:
  1322. ptr = nullptr;
  1323. goto success;
  1324. #undef CHK_
  1325. }
  1326. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_ReplayRecordResp::InternalSerializeWithCachedSizesToArray(
  1327. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1328. // @@protoc_insertion_point(serialize_to_array_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1329. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1330. (void) cached_has_bits;
  1331. // uint32 m_UUID = 1;
  1332. if (this->m_uuid() != 0) {
  1333. target = stream->EnsureSpace(target);
  1334. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_m_uuid(), target);
  1335. }
  1336. // uint32 m_startTime = 3;
  1337. if (this->m_starttime() != 0) {
  1338. target = stream->EnsureSpace(target);
  1339. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_m_starttime(), target);
  1340. }
  1341. // uint32 m_endTime = 4;
  1342. if (this->m_endtime() != 0) {
  1343. target = stream->EnsureSpace(target);
  1344. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_m_endtime(), target);
  1345. }
  1346. // uint32 m_UserId = 5;
  1347. if (this->m_userid() != 0) {
  1348. target = stream->EnsureSpace(target);
  1349. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_m_userid(), target);
  1350. }
  1351. // .RecordPacket.pb_GameConfig m_gameconfig = 6;
  1352. if (this->has_m_gameconfig()) {
  1353. target = stream->EnsureSpace(target);
  1354. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  1355. InternalWriteMessageToArray(
  1356. 6, _Internal::m_gameconfig(this), target, stream);
  1357. }
  1358. // repeated .RecordPacket.pb_ChairRecord m_chairList = 7;
  1359. for (unsigned int i = 0,
  1360. n = static_cast<unsigned int>(this->_internal_m_chairlist_size()); i < n; i++) {
  1361. target = stream->EnsureSpace(target);
  1362. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  1363. InternalWriteMessageToArray(7, this->_internal_m_chairlist(i), target, stream);
  1364. }
  1365. // repeated .RecordPacket.pb_GameRecordPacket pRecordPacket = 8;
  1366. for (unsigned int i = 0,
  1367. n = static_cast<unsigned int>(this->_internal_precordpacket_size()); i < n; i++) {
  1368. target = stream->EnsureSpace(target);
  1369. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  1370. InternalWriteMessageToArray(8, this->_internal_precordpacket(i), target, stream);
  1371. }
  1372. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1373. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1374. _internal_metadata_.unknown_fields(), target, stream);
  1375. }
  1376. // @@protoc_insertion_point(serialize_to_array_end:RecordPacket.PB_CS_S_ReplayRecordResp)
  1377. return target;
  1378. }
  1379. size_t PB_CS_S_ReplayRecordResp::ByteSizeLong() const {
  1380. // @@protoc_insertion_point(message_byte_size_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1381. size_t total_size = 0;
  1382. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1383. // Prevent compiler warnings about cached_has_bits being unused
  1384. (void) cached_has_bits;
  1385. // repeated .RecordPacket.pb_ChairRecord m_chairList = 7;
  1386. total_size += 1UL * this->_internal_m_chairlist_size();
  1387. for (const auto& msg : this->m_chairlist_) {
  1388. total_size +=
  1389. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  1390. }
  1391. // repeated .RecordPacket.pb_GameRecordPacket pRecordPacket = 8;
  1392. total_size += 1UL * this->_internal_precordpacket_size();
  1393. for (const auto& msg : this->precordpacket_) {
  1394. total_size +=
  1395. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  1396. }
  1397. // .RecordPacket.pb_GameConfig m_gameconfig = 6;
  1398. if (this->has_m_gameconfig()) {
  1399. total_size += 1 +
  1400. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  1401. *m_gameconfig_);
  1402. }
  1403. // uint32 m_UUID = 1;
  1404. if (this->m_uuid() != 0) {
  1405. total_size += 1 +
  1406. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1407. this->_internal_m_uuid());
  1408. }
  1409. // uint32 m_startTime = 3;
  1410. if (this->m_starttime() != 0) {
  1411. total_size += 1 +
  1412. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1413. this->_internal_m_starttime());
  1414. }
  1415. // uint32 m_endTime = 4;
  1416. if (this->m_endtime() != 0) {
  1417. total_size += 1 +
  1418. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1419. this->_internal_m_endtime());
  1420. }
  1421. // uint32 m_UserId = 5;
  1422. if (this->m_userid() != 0) {
  1423. total_size += 1 +
  1424. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1425. this->_internal_m_userid());
  1426. }
  1427. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1428. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1429. _internal_metadata_, total_size, &_cached_size_);
  1430. }
  1431. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1432. SetCachedSize(cached_size);
  1433. return total_size;
  1434. }
  1435. void PB_CS_S_ReplayRecordResp::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1436. // @@protoc_insertion_point(generalized_merge_from_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1437. GOOGLE_DCHECK_NE(&from, this);
  1438. const PB_CS_S_ReplayRecordResp* source =
  1439. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_ReplayRecordResp>(
  1440. &from);
  1441. if (source == nullptr) {
  1442. // @@protoc_insertion_point(generalized_merge_from_cast_fail:RecordPacket.PB_CS_S_ReplayRecordResp)
  1443. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1444. } else {
  1445. // @@protoc_insertion_point(generalized_merge_from_cast_success:RecordPacket.PB_CS_S_ReplayRecordResp)
  1446. MergeFrom(*source);
  1447. }
  1448. }
  1449. void PB_CS_S_ReplayRecordResp::MergeFrom(const PB_CS_S_ReplayRecordResp& from) {
  1450. // @@protoc_insertion_point(class_specific_merge_from_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1451. GOOGLE_DCHECK_NE(&from, this);
  1452. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1453. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1454. (void) cached_has_bits;
  1455. m_chairlist_.MergeFrom(from.m_chairlist_);
  1456. precordpacket_.MergeFrom(from.precordpacket_);
  1457. if (from.has_m_gameconfig()) {
  1458. _internal_mutable_m_gameconfig()->::RecordPacket::pb_GameConfig::MergeFrom(from._internal_m_gameconfig());
  1459. }
  1460. if (from.m_uuid() != 0) {
  1461. _internal_set_m_uuid(from._internal_m_uuid());
  1462. }
  1463. if (from.m_starttime() != 0) {
  1464. _internal_set_m_starttime(from._internal_m_starttime());
  1465. }
  1466. if (from.m_endtime() != 0) {
  1467. _internal_set_m_endtime(from._internal_m_endtime());
  1468. }
  1469. if (from.m_userid() != 0) {
  1470. _internal_set_m_userid(from._internal_m_userid());
  1471. }
  1472. }
  1473. void PB_CS_S_ReplayRecordResp::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1474. // @@protoc_insertion_point(generalized_copy_from_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1475. if (&from == this) return;
  1476. Clear();
  1477. MergeFrom(from);
  1478. }
  1479. void PB_CS_S_ReplayRecordResp::CopyFrom(const PB_CS_S_ReplayRecordResp& from) {
  1480. // @@protoc_insertion_point(class_specific_copy_from_start:RecordPacket.PB_CS_S_ReplayRecordResp)
  1481. if (&from == this) return;
  1482. Clear();
  1483. MergeFrom(from);
  1484. }
  1485. bool PB_CS_S_ReplayRecordResp::IsInitialized() const {
  1486. return true;
  1487. }
  1488. void PB_CS_S_ReplayRecordResp::InternalSwap(PB_CS_S_ReplayRecordResp* other) {
  1489. using std::swap;
  1490. _internal_metadata_.Swap(&other->_internal_metadata_);
  1491. m_chairlist_.InternalSwap(&other->m_chairlist_);
  1492. precordpacket_.InternalSwap(&other->precordpacket_);
  1493. swap(m_gameconfig_, other->m_gameconfig_);
  1494. swap(m_uuid_, other->m_uuid_);
  1495. swap(m_starttime_, other->m_starttime_);
  1496. swap(m_endtime_, other->m_endtime_);
  1497. swap(m_userid_, other->m_userid_);
  1498. }
  1499. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_ReplayRecordResp::GetMetadata() const {
  1500. return GetMetadataStatic();
  1501. }
  1502. // @@protoc_insertion_point(namespace_scope)
  1503. } // namespace RecordPacket
  1504. PROTOBUF_NAMESPACE_OPEN
  1505. template<> PROTOBUF_NOINLINE ::RecordPacket::pb_GameRecordPacket* Arena::CreateMaybeMessage< ::RecordPacket::pb_GameRecordPacket >(Arena* arena) {
  1506. return Arena::CreateInternal< ::RecordPacket::pb_GameRecordPacket >(arena);
  1507. }
  1508. template<> PROTOBUF_NOINLINE ::RecordPacket::pb_GameConfig* Arena::CreateMaybeMessage< ::RecordPacket::pb_GameConfig >(Arena* arena) {
  1509. return Arena::CreateInternal< ::RecordPacket::pb_GameConfig >(arena);
  1510. }
  1511. template<> PROTOBUF_NOINLINE ::RecordPacket::pb_ChairRecord* Arena::CreateMaybeMessage< ::RecordPacket::pb_ChairRecord >(Arena* arena) {
  1512. return Arena::CreateInternal< ::RecordPacket::pb_ChairRecord >(arena);
  1513. }
  1514. template<> PROTOBUF_NOINLINE ::RecordPacket::PB_CS_S_ReplayRecordResp* Arena::CreateMaybeMessage< ::RecordPacket::PB_CS_S_ReplayRecordResp >(Arena* arena) {
  1515. return Arena::CreateInternal< ::RecordPacket::PB_CS_S_ReplayRecordResp >(arena);
  1516. }
  1517. PROTOBUF_NAMESPACE_CLOSE
  1518. // @@protoc_insertion_point(global_scope)
  1519. #include <google/protobuf/port_undef.inc>