诸暨麻将添加redis
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

4034 wiersze
166 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: Pb_LogonServer.proto
  3. #include "Pb_LogonServer.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. namespace LogonServer {
  15. class PB_CS_C_LogonAccountsDefaultTypeInternal {
  16. public:
  17. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_LogonAccounts> _instance;
  18. } _PB_CS_C_LogonAccounts_default_instance_;
  19. class PB_CS_S_LogonSuccessDefaultTypeInternal {
  20. public:
  21. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_LogonSuccess> _instance;
  22. } _PB_CS_S_LogonSuccess_default_instance_;
  23. class PB_CS_S_LogonFailureDefaultTypeInternal {
  24. public:
  25. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_LogonFailure> _instance;
  26. } _PB_CS_S_LogonFailure_default_instance_;
  27. class PB_CS_C_LogonCheckVerifCodeDefaultTypeInternal {
  28. public:
  29. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_LogonCheckVerifCode> _instance;
  30. } _PB_CS_C_LogonCheckVerifCode_default_instance_;
  31. class PB_CS_S_LogonCheckVerifCodeDefaultTypeInternal {
  32. public:
  33. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_LogonCheckVerifCode> _instance;
  34. } _PB_CS_S_LogonCheckVerifCode_default_instance_;
  35. class PB_CS_C_RegisterAccountsDefaultTypeInternal {
  36. public:
  37. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_RegisterAccounts> _instance;
  38. } _PB_CS_C_RegisterAccounts_default_instance_;
  39. class PB_CS_C_LogonOtherPlatformExDefaultTypeInternal {
  40. public:
  41. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_LogonOtherPlatformEx> _instance;
  42. } _PB_CS_C_LogonOtherPlatformEx_default_instance_;
  43. class PB_CS_S_UserServerIDDefaultTypeInternal {
  44. public:
  45. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_UserServerID> _instance;
  46. } _PB_CS_S_UserServerID_default_instance_;
  47. class PB_CS_S_tagGameServerDefaultTypeInternal {
  48. public:
  49. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_tagGameServer> _instance;
  50. } _PB_CS_S_tagGameServer_default_instance_;
  51. } // namespace LogonServer
  52. static void InitDefaultsscc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto() {
  53. GOOGLE_PROTOBUF_VERIFY_VERSION;
  54. {
  55. void* ptr = &::LogonServer::_PB_CS_C_LogonAccounts_default_instance_;
  56. new (ptr) ::LogonServer::PB_CS_C_LogonAccounts();
  57. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  58. }
  59. ::LogonServer::PB_CS_C_LogonAccounts::InitAsDefaultInstance();
  60. }
  61. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto =
  62. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto}, {}};
  63. static void InitDefaultsscc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto() {
  64. GOOGLE_PROTOBUF_VERIFY_VERSION;
  65. {
  66. void* ptr = &::LogonServer::_PB_CS_C_LogonCheckVerifCode_default_instance_;
  67. new (ptr) ::LogonServer::PB_CS_C_LogonCheckVerifCode();
  68. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  69. }
  70. ::LogonServer::PB_CS_C_LogonCheckVerifCode::InitAsDefaultInstance();
  71. }
  72. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto =
  73. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto}, {}};
  74. static void InitDefaultsscc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto() {
  75. GOOGLE_PROTOBUF_VERIFY_VERSION;
  76. {
  77. void* ptr = &::LogonServer::_PB_CS_C_LogonOtherPlatformEx_default_instance_;
  78. new (ptr) ::LogonServer::PB_CS_C_LogonOtherPlatformEx();
  79. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  80. }
  81. ::LogonServer::PB_CS_C_LogonOtherPlatformEx::InitAsDefaultInstance();
  82. }
  83. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto =
  84. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto}, {}};
  85. static void InitDefaultsscc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto() {
  86. GOOGLE_PROTOBUF_VERIFY_VERSION;
  87. {
  88. void* ptr = &::LogonServer::_PB_CS_C_RegisterAccounts_default_instance_;
  89. new (ptr) ::LogonServer::PB_CS_C_RegisterAccounts();
  90. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  91. }
  92. ::LogonServer::PB_CS_C_RegisterAccounts::InitAsDefaultInstance();
  93. }
  94. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto =
  95. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto}, {}};
  96. static void InitDefaultsscc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto() {
  97. GOOGLE_PROTOBUF_VERIFY_VERSION;
  98. {
  99. void* ptr = &::LogonServer::_PB_CS_S_LogonCheckVerifCode_default_instance_;
  100. new (ptr) ::LogonServer::PB_CS_S_LogonCheckVerifCode();
  101. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  102. }
  103. ::LogonServer::PB_CS_S_LogonCheckVerifCode::InitAsDefaultInstance();
  104. }
  105. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto =
  106. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto}, {}};
  107. static void InitDefaultsscc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto() {
  108. GOOGLE_PROTOBUF_VERIFY_VERSION;
  109. {
  110. void* ptr = &::LogonServer::_PB_CS_S_LogonFailure_default_instance_;
  111. new (ptr) ::LogonServer::PB_CS_S_LogonFailure();
  112. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  113. }
  114. ::LogonServer::PB_CS_S_LogonFailure::InitAsDefaultInstance();
  115. }
  116. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto =
  117. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto}, {}};
  118. static void InitDefaultsscc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto() {
  119. GOOGLE_PROTOBUF_VERIFY_VERSION;
  120. {
  121. void* ptr = &::LogonServer::_PB_CS_S_LogonSuccess_default_instance_;
  122. new (ptr) ::LogonServer::PB_CS_S_LogonSuccess();
  123. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  124. }
  125. ::LogonServer::PB_CS_S_LogonSuccess::InitAsDefaultInstance();
  126. }
  127. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto =
  128. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto}, {}};
  129. static void InitDefaultsscc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto() {
  130. GOOGLE_PROTOBUF_VERIFY_VERSION;
  131. {
  132. void* ptr = &::LogonServer::_PB_CS_S_UserServerID_default_instance_;
  133. new (ptr) ::LogonServer::PB_CS_S_UserServerID();
  134. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  135. }
  136. ::LogonServer::PB_CS_S_UserServerID::InitAsDefaultInstance();
  137. }
  138. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto =
  139. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto}, {}};
  140. static void InitDefaultsscc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto() {
  141. GOOGLE_PROTOBUF_VERIFY_VERSION;
  142. {
  143. void* ptr = &::LogonServer::_PB_CS_S_tagGameServer_default_instance_;
  144. new (ptr) ::LogonServer::PB_CS_S_tagGameServer();
  145. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  146. }
  147. ::LogonServer::PB_CS_S_tagGameServer::InitAsDefaultInstance();
  148. }
  149. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto =
  150. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto}, {}};
  151. static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Pb_5fLogonServer_2eproto[9];
  152. static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_Pb_5fLogonServer_2eproto = nullptr;
  153. static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Pb_5fLogonServer_2eproto = nullptr;
  154. const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Pb_5fLogonServer_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  155. ~0u, // no _has_bits_
  156. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, _internal_metadata_),
  157. ~0u, // no _extensions_
  158. ~0u, // no _oneof_case_
  159. ~0u, // no _weak_field_map_
  160. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, wmoduleid_),
  161. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, dwplazaversion_),
  162. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, cbdevicetype_),
  163. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, blogontype_),
  164. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szaccounts_),
  165. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szpassword_),
  166. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szmachineid_),
  167. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szuseruin_),
  168. ~0u, // no _has_bits_
  169. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, _internal_metadata_),
  170. ~0u, // no _extensions_
  171. ~0u, // no _oneof_case_
  172. ~0u, // no _weak_field_map_
  173. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwcustomid_),
  174. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwuserid_),
  175. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwgameid_),
  176. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwexperience_),
  177. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwloveliness_),
  178. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, luserscore_),
  179. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, luseringot_),
  180. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, luserinsure_),
  181. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, duserbeans_),
  182. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, wfaceid_),
  183. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, cbgender_),
  184. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, cbinsureenabled_),
  185. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, sznickname_),
  186. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, szdynamicpass_),
  187. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, bingding_),
  188. ~0u, // no _has_bits_
  189. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonFailure, _internal_metadata_),
  190. ~0u, // no _extensions_
  191. ~0u, // no _oneof_case_
  192. ~0u, // no _weak_field_map_
  193. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonFailure, lresultcode_),
  194. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonFailure, szdescribestring_),
  195. ~0u, // no _has_bits_
  196. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonCheckVerifCode, _internal_metadata_),
  197. ~0u, // no _extensions_
  198. ~0u, // no _oneof_case_
  199. ~0u, // no _weak_field_map_
  200. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonCheckVerifCode, bresult_),
  201. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonCheckVerifCode, phonenum_),
  202. ~0u, // no _has_bits_
  203. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, _internal_metadata_),
  204. ~0u, // no _extensions_
  205. ~0u, // no _oneof_case_
  206. ~0u, // no _weak_field_map_
  207. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, bresult_),
  208. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, phonenum_),
  209. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, strerrordescribe_),
  210. ~0u, // no _has_bits_
  211. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, _internal_metadata_),
  212. ~0u, // no _extensions_
  213. ~0u, // no _oneof_case_
  214. ~0u, // no _weak_field_map_
  215. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, wmoduleid_),
  216. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, dwplazaversion_),
  217. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, cbdevicetype_),
  218. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szlogonpass_),
  219. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, wfaceid_),
  220. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, cbgender_),
  221. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szaccounts_),
  222. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, sznickname_),
  223. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szmachineid_),
  224. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szmobilephone_),
  225. ~0u, // no _has_bits_
  226. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, _internal_metadata_),
  227. ~0u, // no _extensions_
  228. ~0u, // no _oneof_case_
  229. ~0u, // no _weak_field_map_
  230. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, wmoduleid_),
  231. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, dwplazaversion_),
  232. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, cbdevicetype_),
  233. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, cbgender_),
  234. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, cbplatformid_),
  235. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szuseruin_),
  236. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, sznickname_),
  237. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szcompellation_),
  238. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szmachineid_),
  239. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szmobilephone_),
  240. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szheadurl_),
  241. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, x_),
  242. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, y_),
  243. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, issimulator_),
  244. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, networktype_),
  245. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, dianliang_),
  246. ~0u, // no _has_bits_
  247. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_UserServerID, _internal_metadata_),
  248. ~0u, // no _extensions_
  249. ~0u, // no _oneof_case_
  250. ~0u, // no _weak_field_map_
  251. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_UserServerID, wserverid_),
  252. ~0u, // no _has_bits_
  253. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, _internal_metadata_),
  254. ~0u, // no _extensions_
  255. ~0u, // no _oneof_case_
  256. ~0u, // no _weak_field_map_
  257. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wkindid_),
  258. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wnodeid_),
  259. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wsortid_),
  260. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverid_),
  261. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverkind_),
  262. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wservertype_),
  263. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverport_),
  264. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, lcellscore_),
  265. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, lenterscore_),
  266. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwserverrule_),
  267. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwonlinecount_),
  268. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wtablefullcount_),
  269. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wtableonlinecount_),
  270. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwfullcount_),
  271. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, szserveraddr_),
  272. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, szservername_),
  273. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwlivetime_),
  274. PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverlevel_),
  275. };
  276. static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  277. { 0, -1, sizeof(::LogonServer::PB_CS_C_LogonAccounts)},
  278. { 13, -1, sizeof(::LogonServer::PB_CS_S_LogonSuccess)},
  279. { 33, -1, sizeof(::LogonServer::PB_CS_S_LogonFailure)},
  280. { 40, -1, sizeof(::LogonServer::PB_CS_C_LogonCheckVerifCode)},
  281. { 47, -1, sizeof(::LogonServer::PB_CS_S_LogonCheckVerifCode)},
  282. { 55, -1, sizeof(::LogonServer::PB_CS_C_RegisterAccounts)},
  283. { 70, -1, sizeof(::LogonServer::PB_CS_C_LogonOtherPlatformEx)},
  284. { 91, -1, sizeof(::LogonServer::PB_CS_S_UserServerID)},
  285. { 97, -1, sizeof(::LogonServer::PB_CS_S_tagGameServer)},
  286. };
  287. static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  288. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_LogonAccounts_default_instance_),
  289. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_LogonSuccess_default_instance_),
  290. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_LogonFailure_default_instance_),
  291. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_LogonCheckVerifCode_default_instance_),
  292. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_LogonCheckVerifCode_default_instance_),
  293. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_RegisterAccounts_default_instance_),
  294. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_LogonOtherPlatformEx_default_instance_),
  295. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_UserServerID_default_instance_),
  296. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_tagGameServer_default_instance_),
  297. };
  298. const char descriptor_table_protodef_Pb_5fLogonServer_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  299. "\n\024Pb_LogonServer.proto\022\013LogonServer\"\274\001\n\025"
  300. "PB_CS_C_LogonAccounts\022\021\n\twModuleID\030\001 \001(\r"
  301. "\022\026\n\016dwPlazaVersion\030\002 \001(\r\022\024\n\014cbDeviceType"
  302. "\030\003 \001(\r\022\022\n\nbLogonType\030\004 \001(\r\022\022\n\nszAccounts"
  303. "\030\005 \001(\t\022\022\n\nszPassword\030\006 \001(\t\022\023\n\013szMachineI"
  304. "D\030\007 \001(\t\022\021\n\tszUserUin\030\010 \001(\t\"\304\002\n\024PB_CS_S_L"
  305. "ogonSuccess\022\022\n\ndwCustomID\030\001 \001(\r\022\020\n\010dwUse"
  306. "rID\030\002 \001(\r\022\020\n\010dwGameID\030\003 \001(\r\022\024\n\014dwExperie"
  307. "nce\030\004 \001(\r\022\024\n\014dwLoveLiness\030\005 \001(\r\022\022\n\nlUser"
  308. "Score\030\006 \001(\021\022\022\n\nlUserIngot\030\007 \001(\021\022\023\n\013lUser"
  309. "Insure\030\010 \001(\021\022\022\n\ndUserBeans\030\t \001(\021\022\017\n\007wFac"
  310. "eID\030\n \001(\r\022\020\n\010cbGender\030\013 \001(\r\022\027\n\017cbInsureE"
  311. "nabled\030\014 \001(\r\022\022\n\nszNickName\030\r \001(\t\022\025\n\rszDy"
  312. "namicPass\030\016 \001(\t\022\020\n\010BingDing\030\017 \001(\r\"E\n\024PB_"
  313. "CS_S_LogonFailure\022\023\n\013lResultCode\030\001 \001(\022\022\030"
  314. "\n\020szDescribeString\030\002 \001(\t\"@\n\033PB_CS_C_Logo"
  315. "nCheckVerifCode\022\017\n\007bResult\030\001 \001(\r\022\020\n\010Phon"
  316. "eNum\030\002 \001(\t\"Z\n\033PB_CS_S_LogonCheckVerifCod"
  317. "e\022\017\n\007bResult\030\001 \001(\r\022\020\n\010PhoneNum\030\002 \001(\t\022\030\n\020"
  318. "strErrorDescribe\030\003 \001(\t\"\347\001\n\030PB_CS_C_Regis"
  319. "terAccounts\022\021\n\twModuleID\030\001 \001(\r\022\026\n\016dwPlaz"
  320. "aVersion\030\002 \001(\r\022\024\n\014cbDeviceType\030\003 \001(\r\022\023\n\013"
  321. "szLogonPass\030\004 \001(\t\022\017\n\007wFaceID\030\005 \001(\r\022\020\n\010cb"
  322. "Gender\030\006 \001(\r\022\022\n\nszAccounts\030\007 \001(\t\022\022\n\nszNi"
  323. "ckName\030\010 \001(\t\022\023\n\013szMachineID\030\t \001(\t\022\025\n\rszM"
  324. "obilePhone\030\n \001(\t\"\330\002\n\034PB_CS_C_LogonOtherP"
  325. "latformEx\022\021\n\twModuleID\030\001 \001(\r\022\026\n\016dwPlazaV"
  326. "ersion\030\002 \001(\r\022\024\n\014cbDeviceType\030\003 \001(\r\022\020\n\010cb"
  327. "Gender\030\004 \001(\r\022\024\n\014cbPlatformID\030\005 \001(\r\022\021\n\tsz"
  328. "UserUin\030\006 \001(\t\022\022\n\nszNickName\030\007 \001(\t\022\026\n\016szC"
  329. "ompellation\030\010 \001(\t\022\023\n\013szMachineID\030\t \001(\t\022\025"
  330. "\n\rszMobilePhone\030\n \001(\t\022\021\n\tszHeadUrl\030\013 \001(\t"
  331. "\022\t\n\001x\030\014 \001(\022\022\t\n\001y\030\r \001(\022\022\023\n\013isSimulator\030\016 "
  332. "\001(\r\022\023\n\013networkType\030\017 \001(\r\022\021\n\tdianliang\030\020 "
  333. "\001(\r\")\n\024PB_CS_S_UserServerID\022\021\n\twServerID"
  334. "\030\001 \001(\r\"\221\003\n\025PB_CS_S_tagGameServer\022\017\n\007wKin"
  335. "dID\030\001 \001(\r\022\017\n\007wNodeID\030\002 \001(\r\022\017\n\007wSortID\030\003 "
  336. "\001(\r\022\021\n\twServerID\030\004 \001(\r\022\023\n\013wServerKind\030\005 "
  337. "\001(\r\022\023\n\013wServerType\030\006 \001(\r\022\023\n\013wServerPort\030"
  338. "\007 \001(\r\022\022\n\nlCellScore\030\010 \001(\022\022\023\n\013lEnterScore"
  339. "\030\t \001(\022\022\024\n\014dwServerRule\030\n \001(\022\022\025\n\rdwOnLine"
  340. "Count\030\013 \001(\r\022\027\n\017wTableFullCount\030\014 \001(\r\022\031\n\021"
  341. "wTableOnlineCount\030\r \001(\r\022\023\n\013dwFullCount\030\016"
  342. " \001(\r\022\024\n\014szServerAddr\030\017 \001(\t\022\024\n\014szServerNa"
  343. "me\030\020 \001(\t\022\022\n\ndwLiveTime\030\021 \001(\022\022\024\n\014wServerL"
  344. "evel\030\022 \001(\rb\006proto3"
  345. ;
  346. static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Pb_5fLogonServer_2eproto_deps[1] = {
  347. };
  348. static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Pb_5fLogonServer_2eproto_sccs[9] = {
  349. &scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto.base,
  350. &scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base,
  351. &scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto.base,
  352. &scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto.base,
  353. &scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base,
  354. &scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto.base,
  355. &scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto.base,
  356. &scc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto.base,
  357. &scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto.base,
  358. };
  359. static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Pb_5fLogonServer_2eproto_once;
  360. static bool descriptor_table_Pb_5fLogonServer_2eproto_initialized = false;
  361. const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Pb_5fLogonServer_2eproto = {
  362. &descriptor_table_Pb_5fLogonServer_2eproto_initialized, descriptor_table_protodef_Pb_5fLogonServer_2eproto, "Pb_LogonServer.proto", 1818,
  363. &descriptor_table_Pb_5fLogonServer_2eproto_once, descriptor_table_Pb_5fLogonServer_2eproto_sccs, descriptor_table_Pb_5fLogonServer_2eproto_deps, 9, 0,
  364. schemas, file_default_instances, TableStruct_Pb_5fLogonServer_2eproto::offsets,
  365. file_level_metadata_Pb_5fLogonServer_2eproto, 9, file_level_enum_descriptors_Pb_5fLogonServer_2eproto, file_level_service_descriptors_Pb_5fLogonServer_2eproto,
  366. };
  367. // Force running AddDescriptors() at dynamic initialization time.
  368. static bool dynamic_init_dummy_Pb_5fLogonServer_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Pb_5fLogonServer_2eproto), true);
  369. namespace LogonServer {
  370. // ===================================================================
  371. void PB_CS_C_LogonAccounts::InitAsDefaultInstance() {
  372. }
  373. class PB_CS_C_LogonAccounts::_Internal {
  374. public:
  375. };
  376. PB_CS_C_LogonAccounts::PB_CS_C_LogonAccounts()
  377. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  378. SharedCtor();
  379. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_LogonAccounts)
  380. }
  381. PB_CS_C_LogonAccounts::PB_CS_C_LogonAccounts(const PB_CS_C_LogonAccounts& from)
  382. : ::PROTOBUF_NAMESPACE_ID::Message(),
  383. _internal_metadata_(nullptr) {
  384. _internal_metadata_.MergeFrom(from._internal_metadata_);
  385. szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  386. if (!from._internal_szaccounts().empty()) {
  387. szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
  388. }
  389. szpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  390. if (!from._internal_szpassword().empty()) {
  391. szpassword_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szpassword_);
  392. }
  393. szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  394. if (!from._internal_szmachineid().empty()) {
  395. szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
  396. }
  397. szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  398. if (!from._internal_szuseruin().empty()) {
  399. szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
  400. }
  401. ::memcpy(&wmoduleid_, &from.wmoduleid_,
  402. static_cast<size_t>(reinterpret_cast<char*>(&blogontype_) -
  403. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(blogontype_));
  404. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_LogonAccounts)
  405. }
  406. void PB_CS_C_LogonAccounts::SharedCtor() {
  407. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto.base);
  408. szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  409. szpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  410. szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  411. szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  412. ::memset(&wmoduleid_, 0, static_cast<size_t>(
  413. reinterpret_cast<char*>(&blogontype_) -
  414. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(blogontype_));
  415. }
  416. PB_CS_C_LogonAccounts::~PB_CS_C_LogonAccounts() {
  417. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_LogonAccounts)
  418. SharedDtor();
  419. }
  420. void PB_CS_C_LogonAccounts::SharedDtor() {
  421. szaccounts_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  422. szpassword_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  423. szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  424. szuseruin_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  425. }
  426. void PB_CS_C_LogonAccounts::SetCachedSize(int size) const {
  427. _cached_size_.Set(size);
  428. }
  429. const PB_CS_C_LogonAccounts& PB_CS_C_LogonAccounts::default_instance() {
  430. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto.base);
  431. return *internal_default_instance();
  432. }
  433. void PB_CS_C_LogonAccounts::Clear() {
  434. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_LogonAccounts)
  435. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  436. // Prevent compiler warnings about cached_has_bits being unused
  437. (void) cached_has_bits;
  438. szaccounts_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  439. szpassword_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  440. szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  441. szuseruin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  442. ::memset(&wmoduleid_, 0, static_cast<size_t>(
  443. reinterpret_cast<char*>(&blogontype_) -
  444. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(blogontype_));
  445. _internal_metadata_.Clear();
  446. }
  447. const char* PB_CS_C_LogonAccounts::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  448. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  449. while (!ctx->Done(&ptr)) {
  450. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  451. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  452. CHK_(ptr);
  453. switch (tag >> 3) {
  454. // uint32 wModuleID = 1;
  455. case 1:
  456. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  457. wmoduleid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  458. CHK_(ptr);
  459. } else goto handle_unusual;
  460. continue;
  461. // uint32 dwPlazaVersion = 2;
  462. case 2:
  463. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  464. dwplazaversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  465. CHK_(ptr);
  466. } else goto handle_unusual;
  467. continue;
  468. // uint32 cbDeviceType = 3;
  469. case 3:
  470. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  471. cbdevicetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  472. CHK_(ptr);
  473. } else goto handle_unusual;
  474. continue;
  475. // uint32 bLogonType = 4;
  476. case 4:
  477. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  478. blogontype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  479. CHK_(ptr);
  480. } else goto handle_unusual;
  481. continue;
  482. // string szAccounts = 5;
  483. case 5:
  484. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
  485. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaccounts(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szAccounts");
  486. CHK_(ptr);
  487. } else goto handle_unusual;
  488. continue;
  489. // string szPassword = 6;
  490. case 6:
  491. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
  492. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szpassword(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szPassword");
  493. CHK_(ptr);
  494. } else goto handle_unusual;
  495. continue;
  496. // string szMachineID = 7;
  497. case 7:
  498. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
  499. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szMachineID");
  500. CHK_(ptr);
  501. } else goto handle_unusual;
  502. continue;
  503. // string szUserUin = 8;
  504. case 8:
  505. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
  506. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szuseruin(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szUserUin");
  507. CHK_(ptr);
  508. } else goto handle_unusual;
  509. continue;
  510. default: {
  511. handle_unusual:
  512. if ((tag & 7) == 4 || tag == 0) {
  513. ctx->SetLastTag(tag);
  514. goto success;
  515. }
  516. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  517. CHK_(ptr != nullptr);
  518. continue;
  519. }
  520. } // switch
  521. } // while
  522. success:
  523. return ptr;
  524. failure:
  525. ptr = nullptr;
  526. goto success;
  527. #undef CHK_
  528. }
  529. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_LogonAccounts::InternalSerializeWithCachedSizesToArray(
  530. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  531. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_LogonAccounts)
  532. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  533. (void) cached_has_bits;
  534. // uint32 wModuleID = 1;
  535. if (this->wmoduleid() != 0) {
  536. target = stream->EnsureSpace(target);
  537. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wmoduleid(), target);
  538. }
  539. // uint32 dwPlazaVersion = 2;
  540. if (this->dwplazaversion() != 0) {
  541. target = stream->EnsureSpace(target);
  542. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwplazaversion(), target);
  543. }
  544. // uint32 cbDeviceType = 3;
  545. if (this->cbdevicetype() != 0) {
  546. target = stream->EnsureSpace(target);
  547. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbdevicetype(), target);
  548. }
  549. // uint32 bLogonType = 4;
  550. if (this->blogontype() != 0) {
  551. target = stream->EnsureSpace(target);
  552. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_blogontype(), target);
  553. }
  554. // string szAccounts = 5;
  555. if (this->szaccounts().size() > 0) {
  556. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  557. this->_internal_szaccounts().data(), static_cast<int>(this->_internal_szaccounts().length()),
  558. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  559. "LogonServer.PB_CS_C_LogonAccounts.szAccounts");
  560. target = stream->WriteStringMaybeAliased(
  561. 5, this->_internal_szaccounts(), target);
  562. }
  563. // string szPassword = 6;
  564. if (this->szpassword().size() > 0) {
  565. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  566. this->_internal_szpassword().data(), static_cast<int>(this->_internal_szpassword().length()),
  567. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  568. "LogonServer.PB_CS_C_LogonAccounts.szPassword");
  569. target = stream->WriteStringMaybeAliased(
  570. 6, this->_internal_szpassword(), target);
  571. }
  572. // string szMachineID = 7;
  573. if (this->szmachineid().size() > 0) {
  574. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  575. this->_internal_szmachineid().data(), static_cast<int>(this->_internal_szmachineid().length()),
  576. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  577. "LogonServer.PB_CS_C_LogonAccounts.szMachineID");
  578. target = stream->WriteStringMaybeAliased(
  579. 7, this->_internal_szmachineid(), target);
  580. }
  581. // string szUserUin = 8;
  582. if (this->szuseruin().size() > 0) {
  583. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  584. this->_internal_szuseruin().data(), static_cast<int>(this->_internal_szuseruin().length()),
  585. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  586. "LogonServer.PB_CS_C_LogonAccounts.szUserUin");
  587. target = stream->WriteStringMaybeAliased(
  588. 8, this->_internal_szuseruin(), target);
  589. }
  590. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  591. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  592. _internal_metadata_.unknown_fields(), target, stream);
  593. }
  594. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_LogonAccounts)
  595. return target;
  596. }
  597. size_t PB_CS_C_LogonAccounts::ByteSizeLong() const {
  598. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_LogonAccounts)
  599. size_t total_size = 0;
  600. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  601. // Prevent compiler warnings about cached_has_bits being unused
  602. (void) cached_has_bits;
  603. // string szAccounts = 5;
  604. if (this->szaccounts().size() > 0) {
  605. total_size += 1 +
  606. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  607. this->_internal_szaccounts());
  608. }
  609. // string szPassword = 6;
  610. if (this->szpassword().size() > 0) {
  611. total_size += 1 +
  612. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  613. this->_internal_szpassword());
  614. }
  615. // string szMachineID = 7;
  616. if (this->szmachineid().size() > 0) {
  617. total_size += 1 +
  618. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  619. this->_internal_szmachineid());
  620. }
  621. // string szUserUin = 8;
  622. if (this->szuseruin().size() > 0) {
  623. total_size += 1 +
  624. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  625. this->_internal_szuseruin());
  626. }
  627. // uint32 wModuleID = 1;
  628. if (this->wmoduleid() != 0) {
  629. total_size += 1 +
  630. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  631. this->_internal_wmoduleid());
  632. }
  633. // uint32 dwPlazaVersion = 2;
  634. if (this->dwplazaversion() != 0) {
  635. total_size += 1 +
  636. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  637. this->_internal_dwplazaversion());
  638. }
  639. // uint32 cbDeviceType = 3;
  640. if (this->cbdevicetype() != 0) {
  641. total_size += 1 +
  642. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  643. this->_internal_cbdevicetype());
  644. }
  645. // uint32 bLogonType = 4;
  646. if (this->blogontype() != 0) {
  647. total_size += 1 +
  648. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  649. this->_internal_blogontype());
  650. }
  651. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  652. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  653. _internal_metadata_, total_size, &_cached_size_);
  654. }
  655. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  656. SetCachedSize(cached_size);
  657. return total_size;
  658. }
  659. void PB_CS_C_LogonAccounts::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  660. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_LogonAccounts)
  661. GOOGLE_DCHECK_NE(&from, this);
  662. const PB_CS_C_LogonAccounts* source =
  663. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_LogonAccounts>(
  664. &from);
  665. if (source == nullptr) {
  666. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_LogonAccounts)
  667. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  668. } else {
  669. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_LogonAccounts)
  670. MergeFrom(*source);
  671. }
  672. }
  673. void PB_CS_C_LogonAccounts::MergeFrom(const PB_CS_C_LogonAccounts& from) {
  674. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_LogonAccounts)
  675. GOOGLE_DCHECK_NE(&from, this);
  676. _internal_metadata_.MergeFrom(from._internal_metadata_);
  677. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  678. (void) cached_has_bits;
  679. if (from.szaccounts().size() > 0) {
  680. szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
  681. }
  682. if (from.szpassword().size() > 0) {
  683. szpassword_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szpassword_);
  684. }
  685. if (from.szmachineid().size() > 0) {
  686. szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
  687. }
  688. if (from.szuseruin().size() > 0) {
  689. szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
  690. }
  691. if (from.wmoduleid() != 0) {
  692. _internal_set_wmoduleid(from._internal_wmoduleid());
  693. }
  694. if (from.dwplazaversion() != 0) {
  695. _internal_set_dwplazaversion(from._internal_dwplazaversion());
  696. }
  697. if (from.cbdevicetype() != 0) {
  698. _internal_set_cbdevicetype(from._internal_cbdevicetype());
  699. }
  700. if (from.blogontype() != 0) {
  701. _internal_set_blogontype(from._internal_blogontype());
  702. }
  703. }
  704. void PB_CS_C_LogonAccounts::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  705. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_LogonAccounts)
  706. if (&from == this) return;
  707. Clear();
  708. MergeFrom(from);
  709. }
  710. void PB_CS_C_LogonAccounts::CopyFrom(const PB_CS_C_LogonAccounts& from) {
  711. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_LogonAccounts)
  712. if (&from == this) return;
  713. Clear();
  714. MergeFrom(from);
  715. }
  716. bool PB_CS_C_LogonAccounts::IsInitialized() const {
  717. return true;
  718. }
  719. void PB_CS_C_LogonAccounts::InternalSwap(PB_CS_C_LogonAccounts* other) {
  720. using std::swap;
  721. _internal_metadata_.Swap(&other->_internal_metadata_);
  722. szaccounts_.Swap(&other->szaccounts_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  723. GetArenaNoVirtual());
  724. szpassword_.Swap(&other->szpassword_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  725. GetArenaNoVirtual());
  726. szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  727. GetArenaNoVirtual());
  728. szuseruin_.Swap(&other->szuseruin_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  729. GetArenaNoVirtual());
  730. swap(wmoduleid_, other->wmoduleid_);
  731. swap(dwplazaversion_, other->dwplazaversion_);
  732. swap(cbdevicetype_, other->cbdevicetype_);
  733. swap(blogontype_, other->blogontype_);
  734. }
  735. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonAccounts::GetMetadata() const {
  736. return GetMetadataStatic();
  737. }
  738. // ===================================================================
  739. void PB_CS_S_LogonSuccess::InitAsDefaultInstance() {
  740. }
  741. class PB_CS_S_LogonSuccess::_Internal {
  742. public:
  743. };
  744. PB_CS_S_LogonSuccess::PB_CS_S_LogonSuccess()
  745. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  746. SharedCtor();
  747. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_LogonSuccess)
  748. }
  749. PB_CS_S_LogonSuccess::PB_CS_S_LogonSuccess(const PB_CS_S_LogonSuccess& from)
  750. : ::PROTOBUF_NAMESPACE_ID::Message(),
  751. _internal_metadata_(nullptr) {
  752. _internal_metadata_.MergeFrom(from._internal_metadata_);
  753. sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  754. if (!from._internal_sznickname().empty()) {
  755. sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
  756. }
  757. szdynamicpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  758. if (!from._internal_szdynamicpass().empty()) {
  759. szdynamicpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdynamicpass_);
  760. }
  761. ::memcpy(&dwcustomid_, &from.dwcustomid_,
  762. static_cast<size_t>(reinterpret_cast<char*>(&bingding_) -
  763. reinterpret_cast<char*>(&dwcustomid_)) + sizeof(bingding_));
  764. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_LogonSuccess)
  765. }
  766. void PB_CS_S_LogonSuccess::SharedCtor() {
  767. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto.base);
  768. sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  769. szdynamicpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  770. ::memset(&dwcustomid_, 0, static_cast<size_t>(
  771. reinterpret_cast<char*>(&bingding_) -
  772. reinterpret_cast<char*>(&dwcustomid_)) + sizeof(bingding_));
  773. }
  774. PB_CS_S_LogonSuccess::~PB_CS_S_LogonSuccess() {
  775. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_LogonSuccess)
  776. SharedDtor();
  777. }
  778. void PB_CS_S_LogonSuccess::SharedDtor() {
  779. sznickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  780. szdynamicpass_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  781. }
  782. void PB_CS_S_LogonSuccess::SetCachedSize(int size) const {
  783. _cached_size_.Set(size);
  784. }
  785. const PB_CS_S_LogonSuccess& PB_CS_S_LogonSuccess::default_instance() {
  786. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto.base);
  787. return *internal_default_instance();
  788. }
  789. void PB_CS_S_LogonSuccess::Clear() {
  790. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_LogonSuccess)
  791. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  792. // Prevent compiler warnings about cached_has_bits being unused
  793. (void) cached_has_bits;
  794. sznickname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  795. szdynamicpass_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  796. ::memset(&dwcustomid_, 0, static_cast<size_t>(
  797. reinterpret_cast<char*>(&bingding_) -
  798. reinterpret_cast<char*>(&dwcustomid_)) + sizeof(bingding_));
  799. _internal_metadata_.Clear();
  800. }
  801. const char* PB_CS_S_LogonSuccess::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  802. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  803. while (!ctx->Done(&ptr)) {
  804. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  805. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  806. CHK_(ptr);
  807. switch (tag >> 3) {
  808. // uint32 dwCustomID = 1;
  809. case 1:
  810. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  811. dwcustomid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  812. CHK_(ptr);
  813. } else goto handle_unusual;
  814. continue;
  815. // uint32 dwUserID = 2;
  816. case 2:
  817. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  818. dwuserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  819. CHK_(ptr);
  820. } else goto handle_unusual;
  821. continue;
  822. // uint32 dwGameID = 3;
  823. case 3:
  824. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  825. dwgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  826. CHK_(ptr);
  827. } else goto handle_unusual;
  828. continue;
  829. // uint32 dwExperience = 4;
  830. case 4:
  831. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  832. dwexperience_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  833. CHK_(ptr);
  834. } else goto handle_unusual;
  835. continue;
  836. // uint32 dwLoveLiness = 5;
  837. case 5:
  838. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
  839. dwloveliness_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  840. CHK_(ptr);
  841. } else goto handle_unusual;
  842. continue;
  843. // sint32 lUserScore = 6;
  844. case 6:
  845. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
  846. luserscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
  847. CHK_(ptr);
  848. } else goto handle_unusual;
  849. continue;
  850. // sint32 lUserIngot = 7;
  851. case 7:
  852. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
  853. luseringot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
  854. CHK_(ptr);
  855. } else goto handle_unusual;
  856. continue;
  857. // sint32 lUserInsure = 8;
  858. case 8:
  859. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
  860. luserinsure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
  861. CHK_(ptr);
  862. } else goto handle_unusual;
  863. continue;
  864. // sint32 dUserBeans = 9;
  865. case 9:
  866. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
  867. duserbeans_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
  868. CHK_(ptr);
  869. } else goto handle_unusual;
  870. continue;
  871. // uint32 wFaceID = 10;
  872. case 10:
  873. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
  874. wfaceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  875. CHK_(ptr);
  876. } else goto handle_unusual;
  877. continue;
  878. // uint32 cbGender = 11;
  879. case 11:
  880. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
  881. cbgender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  882. CHK_(ptr);
  883. } else goto handle_unusual;
  884. continue;
  885. // uint32 cbInsureEnabled = 12;
  886. case 12:
  887. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
  888. cbinsureenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  889. CHK_(ptr);
  890. } else goto handle_unusual;
  891. continue;
  892. // string szNickName = 13;
  893. case 13:
  894. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
  895. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sznickname(), ptr, ctx, "LogonServer.PB_CS_S_LogonSuccess.szNickName");
  896. CHK_(ptr);
  897. } else goto handle_unusual;
  898. continue;
  899. // string szDynamicPass = 14;
  900. case 14:
  901. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) {
  902. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdynamicpass(), ptr, ctx, "LogonServer.PB_CS_S_LogonSuccess.szDynamicPass");
  903. CHK_(ptr);
  904. } else goto handle_unusual;
  905. continue;
  906. // uint32 BingDing = 15;
  907. case 15:
  908. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
  909. bingding_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  910. CHK_(ptr);
  911. } else goto handle_unusual;
  912. continue;
  913. default: {
  914. handle_unusual:
  915. if ((tag & 7) == 4 || tag == 0) {
  916. ctx->SetLastTag(tag);
  917. goto success;
  918. }
  919. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  920. CHK_(ptr != nullptr);
  921. continue;
  922. }
  923. } // switch
  924. } // while
  925. success:
  926. return ptr;
  927. failure:
  928. ptr = nullptr;
  929. goto success;
  930. #undef CHK_
  931. }
  932. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_LogonSuccess::InternalSerializeWithCachedSizesToArray(
  933. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  934. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_LogonSuccess)
  935. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  936. (void) cached_has_bits;
  937. // uint32 dwCustomID = 1;
  938. if (this->dwcustomid() != 0) {
  939. target = stream->EnsureSpace(target);
  940. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dwcustomid(), target);
  941. }
  942. // uint32 dwUserID = 2;
  943. if (this->dwuserid() != 0) {
  944. target = stream->EnsureSpace(target);
  945. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwuserid(), target);
  946. }
  947. // uint32 dwGameID = 3;
  948. if (this->dwgameid() != 0) {
  949. target = stream->EnsureSpace(target);
  950. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_dwgameid(), target);
  951. }
  952. // uint32 dwExperience = 4;
  953. if (this->dwexperience() != 0) {
  954. target = stream->EnsureSpace(target);
  955. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_dwexperience(), target);
  956. }
  957. // uint32 dwLoveLiness = 5;
  958. if (this->dwloveliness() != 0) {
  959. target = stream->EnsureSpace(target);
  960. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_dwloveliness(), target);
  961. }
  962. // sint32 lUserScore = 6;
  963. if (this->luserscore() != 0) {
  964. target = stream->EnsureSpace(target);
  965. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(6, this->_internal_luserscore(), target);
  966. }
  967. // sint32 lUserIngot = 7;
  968. if (this->luseringot() != 0) {
  969. target = stream->EnsureSpace(target);
  970. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(7, this->_internal_luseringot(), target);
  971. }
  972. // sint32 lUserInsure = 8;
  973. if (this->luserinsure() != 0) {
  974. target = stream->EnsureSpace(target);
  975. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(8, this->_internal_luserinsure(), target);
  976. }
  977. // sint32 dUserBeans = 9;
  978. if (this->duserbeans() != 0) {
  979. target = stream->EnsureSpace(target);
  980. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(9, this->_internal_duserbeans(), target);
  981. }
  982. // uint32 wFaceID = 10;
  983. if (this->wfaceid() != 0) {
  984. target = stream->EnsureSpace(target);
  985. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_wfaceid(), target);
  986. }
  987. // uint32 cbGender = 11;
  988. if (this->cbgender() != 0) {
  989. target = stream->EnsureSpace(target);
  990. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_cbgender(), target);
  991. }
  992. // uint32 cbInsureEnabled = 12;
  993. if (this->cbinsureenabled() != 0) {
  994. target = stream->EnsureSpace(target);
  995. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_cbinsureenabled(), target);
  996. }
  997. // string szNickName = 13;
  998. if (this->sznickname().size() > 0) {
  999. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1000. this->_internal_sznickname().data(), static_cast<int>(this->_internal_sznickname().length()),
  1001. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1002. "LogonServer.PB_CS_S_LogonSuccess.szNickName");
  1003. target = stream->WriteStringMaybeAliased(
  1004. 13, this->_internal_sznickname(), target);
  1005. }
  1006. // string szDynamicPass = 14;
  1007. if (this->szdynamicpass().size() > 0) {
  1008. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1009. this->_internal_szdynamicpass().data(), static_cast<int>(this->_internal_szdynamicpass().length()),
  1010. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1011. "LogonServer.PB_CS_S_LogonSuccess.szDynamicPass");
  1012. target = stream->WriteStringMaybeAliased(
  1013. 14, this->_internal_szdynamicpass(), target);
  1014. }
  1015. // uint32 BingDing = 15;
  1016. if (this->bingding() != 0) {
  1017. target = stream->EnsureSpace(target);
  1018. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(15, this->_internal_bingding(), target);
  1019. }
  1020. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1021. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1022. _internal_metadata_.unknown_fields(), target, stream);
  1023. }
  1024. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_LogonSuccess)
  1025. return target;
  1026. }
  1027. size_t PB_CS_S_LogonSuccess::ByteSizeLong() const {
  1028. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_LogonSuccess)
  1029. size_t total_size = 0;
  1030. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1031. // Prevent compiler warnings about cached_has_bits being unused
  1032. (void) cached_has_bits;
  1033. // string szNickName = 13;
  1034. if (this->sznickname().size() > 0) {
  1035. total_size += 1 +
  1036. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1037. this->_internal_sznickname());
  1038. }
  1039. // string szDynamicPass = 14;
  1040. if (this->szdynamicpass().size() > 0) {
  1041. total_size += 1 +
  1042. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1043. this->_internal_szdynamicpass());
  1044. }
  1045. // uint32 dwCustomID = 1;
  1046. if (this->dwcustomid() != 0) {
  1047. total_size += 1 +
  1048. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1049. this->_internal_dwcustomid());
  1050. }
  1051. // uint32 dwUserID = 2;
  1052. if (this->dwuserid() != 0) {
  1053. total_size += 1 +
  1054. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1055. this->_internal_dwuserid());
  1056. }
  1057. // uint32 dwGameID = 3;
  1058. if (this->dwgameid() != 0) {
  1059. total_size += 1 +
  1060. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1061. this->_internal_dwgameid());
  1062. }
  1063. // uint32 dwExperience = 4;
  1064. if (this->dwexperience() != 0) {
  1065. total_size += 1 +
  1066. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1067. this->_internal_dwexperience());
  1068. }
  1069. // uint32 dwLoveLiness = 5;
  1070. if (this->dwloveliness() != 0) {
  1071. total_size += 1 +
  1072. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1073. this->_internal_dwloveliness());
  1074. }
  1075. // sint32 lUserScore = 6;
  1076. if (this->luserscore() != 0) {
  1077. total_size += 1 +
  1078. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
  1079. this->_internal_luserscore());
  1080. }
  1081. // sint32 lUserIngot = 7;
  1082. if (this->luseringot() != 0) {
  1083. total_size += 1 +
  1084. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
  1085. this->_internal_luseringot());
  1086. }
  1087. // sint32 lUserInsure = 8;
  1088. if (this->luserinsure() != 0) {
  1089. total_size += 1 +
  1090. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
  1091. this->_internal_luserinsure());
  1092. }
  1093. // sint32 dUserBeans = 9;
  1094. if (this->duserbeans() != 0) {
  1095. total_size += 1 +
  1096. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
  1097. this->_internal_duserbeans());
  1098. }
  1099. // uint32 wFaceID = 10;
  1100. if (this->wfaceid() != 0) {
  1101. total_size += 1 +
  1102. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1103. this->_internal_wfaceid());
  1104. }
  1105. // uint32 cbGender = 11;
  1106. if (this->cbgender() != 0) {
  1107. total_size += 1 +
  1108. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1109. this->_internal_cbgender());
  1110. }
  1111. // uint32 cbInsureEnabled = 12;
  1112. if (this->cbinsureenabled() != 0) {
  1113. total_size += 1 +
  1114. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1115. this->_internal_cbinsureenabled());
  1116. }
  1117. // uint32 BingDing = 15;
  1118. if (this->bingding() != 0) {
  1119. total_size += 1 +
  1120. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1121. this->_internal_bingding());
  1122. }
  1123. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1124. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1125. _internal_metadata_, total_size, &_cached_size_);
  1126. }
  1127. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1128. SetCachedSize(cached_size);
  1129. return total_size;
  1130. }
  1131. void PB_CS_S_LogonSuccess::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1132. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_LogonSuccess)
  1133. GOOGLE_DCHECK_NE(&from, this);
  1134. const PB_CS_S_LogonSuccess* source =
  1135. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_LogonSuccess>(
  1136. &from);
  1137. if (source == nullptr) {
  1138. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_LogonSuccess)
  1139. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1140. } else {
  1141. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_LogonSuccess)
  1142. MergeFrom(*source);
  1143. }
  1144. }
  1145. void PB_CS_S_LogonSuccess::MergeFrom(const PB_CS_S_LogonSuccess& from) {
  1146. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_LogonSuccess)
  1147. GOOGLE_DCHECK_NE(&from, this);
  1148. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1149. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1150. (void) cached_has_bits;
  1151. if (from.sznickname().size() > 0) {
  1152. sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
  1153. }
  1154. if (from.szdynamicpass().size() > 0) {
  1155. szdynamicpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdynamicpass_);
  1156. }
  1157. if (from.dwcustomid() != 0) {
  1158. _internal_set_dwcustomid(from._internal_dwcustomid());
  1159. }
  1160. if (from.dwuserid() != 0) {
  1161. _internal_set_dwuserid(from._internal_dwuserid());
  1162. }
  1163. if (from.dwgameid() != 0) {
  1164. _internal_set_dwgameid(from._internal_dwgameid());
  1165. }
  1166. if (from.dwexperience() != 0) {
  1167. _internal_set_dwexperience(from._internal_dwexperience());
  1168. }
  1169. if (from.dwloveliness() != 0) {
  1170. _internal_set_dwloveliness(from._internal_dwloveliness());
  1171. }
  1172. if (from.luserscore() != 0) {
  1173. _internal_set_luserscore(from._internal_luserscore());
  1174. }
  1175. if (from.luseringot() != 0) {
  1176. _internal_set_luseringot(from._internal_luseringot());
  1177. }
  1178. if (from.luserinsure() != 0) {
  1179. _internal_set_luserinsure(from._internal_luserinsure());
  1180. }
  1181. if (from.duserbeans() != 0) {
  1182. _internal_set_duserbeans(from._internal_duserbeans());
  1183. }
  1184. if (from.wfaceid() != 0) {
  1185. _internal_set_wfaceid(from._internal_wfaceid());
  1186. }
  1187. if (from.cbgender() != 0) {
  1188. _internal_set_cbgender(from._internal_cbgender());
  1189. }
  1190. if (from.cbinsureenabled() != 0) {
  1191. _internal_set_cbinsureenabled(from._internal_cbinsureenabled());
  1192. }
  1193. if (from.bingding() != 0) {
  1194. _internal_set_bingding(from._internal_bingding());
  1195. }
  1196. }
  1197. void PB_CS_S_LogonSuccess::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1198. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_LogonSuccess)
  1199. if (&from == this) return;
  1200. Clear();
  1201. MergeFrom(from);
  1202. }
  1203. void PB_CS_S_LogonSuccess::CopyFrom(const PB_CS_S_LogonSuccess& from) {
  1204. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_LogonSuccess)
  1205. if (&from == this) return;
  1206. Clear();
  1207. MergeFrom(from);
  1208. }
  1209. bool PB_CS_S_LogonSuccess::IsInitialized() const {
  1210. return true;
  1211. }
  1212. void PB_CS_S_LogonSuccess::InternalSwap(PB_CS_S_LogonSuccess* other) {
  1213. using std::swap;
  1214. _internal_metadata_.Swap(&other->_internal_metadata_);
  1215. sznickname_.Swap(&other->sznickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1216. GetArenaNoVirtual());
  1217. szdynamicpass_.Swap(&other->szdynamicpass_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1218. GetArenaNoVirtual());
  1219. swap(dwcustomid_, other->dwcustomid_);
  1220. swap(dwuserid_, other->dwuserid_);
  1221. swap(dwgameid_, other->dwgameid_);
  1222. swap(dwexperience_, other->dwexperience_);
  1223. swap(dwloveliness_, other->dwloveliness_);
  1224. swap(luserscore_, other->luserscore_);
  1225. swap(luseringot_, other->luseringot_);
  1226. swap(luserinsure_, other->luserinsure_);
  1227. swap(duserbeans_, other->duserbeans_);
  1228. swap(wfaceid_, other->wfaceid_);
  1229. swap(cbgender_, other->cbgender_);
  1230. swap(cbinsureenabled_, other->cbinsureenabled_);
  1231. swap(bingding_, other->bingding_);
  1232. }
  1233. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonSuccess::GetMetadata() const {
  1234. return GetMetadataStatic();
  1235. }
  1236. // ===================================================================
  1237. void PB_CS_S_LogonFailure::InitAsDefaultInstance() {
  1238. }
  1239. class PB_CS_S_LogonFailure::_Internal {
  1240. public:
  1241. };
  1242. PB_CS_S_LogonFailure::PB_CS_S_LogonFailure()
  1243. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  1244. SharedCtor();
  1245. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_LogonFailure)
  1246. }
  1247. PB_CS_S_LogonFailure::PB_CS_S_LogonFailure(const PB_CS_S_LogonFailure& from)
  1248. : ::PROTOBUF_NAMESPACE_ID::Message(),
  1249. _internal_metadata_(nullptr) {
  1250. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1251. szdescribestring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1252. if (!from._internal_szdescribestring().empty()) {
  1253. szdescribestring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdescribestring_);
  1254. }
  1255. lresultcode_ = from.lresultcode_;
  1256. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_LogonFailure)
  1257. }
  1258. void PB_CS_S_LogonFailure::SharedCtor() {
  1259. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto.base);
  1260. szdescribestring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1261. lresultcode_ = PROTOBUF_LONGLONG(0);
  1262. }
  1263. PB_CS_S_LogonFailure::~PB_CS_S_LogonFailure() {
  1264. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_LogonFailure)
  1265. SharedDtor();
  1266. }
  1267. void PB_CS_S_LogonFailure::SharedDtor() {
  1268. szdescribestring_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1269. }
  1270. void PB_CS_S_LogonFailure::SetCachedSize(int size) const {
  1271. _cached_size_.Set(size);
  1272. }
  1273. const PB_CS_S_LogonFailure& PB_CS_S_LogonFailure::default_instance() {
  1274. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto.base);
  1275. return *internal_default_instance();
  1276. }
  1277. void PB_CS_S_LogonFailure::Clear() {
  1278. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_LogonFailure)
  1279. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1280. // Prevent compiler warnings about cached_has_bits being unused
  1281. (void) cached_has_bits;
  1282. szdescribestring_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1283. lresultcode_ = PROTOBUF_LONGLONG(0);
  1284. _internal_metadata_.Clear();
  1285. }
  1286. const char* PB_CS_S_LogonFailure::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  1287. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1288. while (!ctx->Done(&ptr)) {
  1289. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  1290. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  1291. CHK_(ptr);
  1292. switch (tag >> 3) {
  1293. // sint64 lResultCode = 1;
  1294. case 1:
  1295. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  1296. lresultcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  1297. CHK_(ptr);
  1298. } else goto handle_unusual;
  1299. continue;
  1300. // string szDescribeString = 2;
  1301. case 2:
  1302. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
  1303. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdescribestring(), ptr, ctx, "LogonServer.PB_CS_S_LogonFailure.szDescribeString");
  1304. CHK_(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_LogonFailure::InternalSerializeWithCachedSizesToArray(
  1327. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1328. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_LogonFailure)
  1329. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1330. (void) cached_has_bits;
  1331. // sint64 lResultCode = 1;
  1332. if (this->lresultcode() != 0) {
  1333. target = stream->EnsureSpace(target);
  1334. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(1, this->_internal_lresultcode(), target);
  1335. }
  1336. // string szDescribeString = 2;
  1337. if (this->szdescribestring().size() > 0) {
  1338. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1339. this->_internal_szdescribestring().data(), static_cast<int>(this->_internal_szdescribestring().length()),
  1340. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1341. "LogonServer.PB_CS_S_LogonFailure.szDescribeString");
  1342. target = stream->WriteStringMaybeAliased(
  1343. 2, this->_internal_szdescribestring(), target);
  1344. }
  1345. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1346. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1347. _internal_metadata_.unknown_fields(), target, stream);
  1348. }
  1349. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_LogonFailure)
  1350. return target;
  1351. }
  1352. size_t PB_CS_S_LogonFailure::ByteSizeLong() const {
  1353. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_LogonFailure)
  1354. size_t total_size = 0;
  1355. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1356. // Prevent compiler warnings about cached_has_bits being unused
  1357. (void) cached_has_bits;
  1358. // string szDescribeString = 2;
  1359. if (this->szdescribestring().size() > 0) {
  1360. total_size += 1 +
  1361. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1362. this->_internal_szdescribestring());
  1363. }
  1364. // sint64 lResultCode = 1;
  1365. if (this->lresultcode() != 0) {
  1366. total_size += 1 +
  1367. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  1368. this->_internal_lresultcode());
  1369. }
  1370. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1371. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1372. _internal_metadata_, total_size, &_cached_size_);
  1373. }
  1374. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1375. SetCachedSize(cached_size);
  1376. return total_size;
  1377. }
  1378. void PB_CS_S_LogonFailure::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1379. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_LogonFailure)
  1380. GOOGLE_DCHECK_NE(&from, this);
  1381. const PB_CS_S_LogonFailure* source =
  1382. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_LogonFailure>(
  1383. &from);
  1384. if (source == nullptr) {
  1385. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_LogonFailure)
  1386. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1387. } else {
  1388. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_LogonFailure)
  1389. MergeFrom(*source);
  1390. }
  1391. }
  1392. void PB_CS_S_LogonFailure::MergeFrom(const PB_CS_S_LogonFailure& from) {
  1393. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_LogonFailure)
  1394. GOOGLE_DCHECK_NE(&from, this);
  1395. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1396. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1397. (void) cached_has_bits;
  1398. if (from.szdescribestring().size() > 0) {
  1399. szdescribestring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdescribestring_);
  1400. }
  1401. if (from.lresultcode() != 0) {
  1402. _internal_set_lresultcode(from._internal_lresultcode());
  1403. }
  1404. }
  1405. void PB_CS_S_LogonFailure::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1406. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_LogonFailure)
  1407. if (&from == this) return;
  1408. Clear();
  1409. MergeFrom(from);
  1410. }
  1411. void PB_CS_S_LogonFailure::CopyFrom(const PB_CS_S_LogonFailure& from) {
  1412. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_LogonFailure)
  1413. if (&from == this) return;
  1414. Clear();
  1415. MergeFrom(from);
  1416. }
  1417. bool PB_CS_S_LogonFailure::IsInitialized() const {
  1418. return true;
  1419. }
  1420. void PB_CS_S_LogonFailure::InternalSwap(PB_CS_S_LogonFailure* other) {
  1421. using std::swap;
  1422. _internal_metadata_.Swap(&other->_internal_metadata_);
  1423. szdescribestring_.Swap(&other->szdescribestring_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1424. GetArenaNoVirtual());
  1425. swap(lresultcode_, other->lresultcode_);
  1426. }
  1427. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonFailure::GetMetadata() const {
  1428. return GetMetadataStatic();
  1429. }
  1430. // ===================================================================
  1431. void PB_CS_C_LogonCheckVerifCode::InitAsDefaultInstance() {
  1432. }
  1433. class PB_CS_C_LogonCheckVerifCode::_Internal {
  1434. public:
  1435. };
  1436. PB_CS_C_LogonCheckVerifCode::PB_CS_C_LogonCheckVerifCode()
  1437. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  1438. SharedCtor();
  1439. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1440. }
  1441. PB_CS_C_LogonCheckVerifCode::PB_CS_C_LogonCheckVerifCode(const PB_CS_C_LogonCheckVerifCode& from)
  1442. : ::PROTOBUF_NAMESPACE_ID::Message(),
  1443. _internal_metadata_(nullptr) {
  1444. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1445. phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1446. if (!from._internal_phonenum().empty()) {
  1447. phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
  1448. }
  1449. bresult_ = from.bresult_;
  1450. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1451. }
  1452. void PB_CS_C_LogonCheckVerifCode::SharedCtor() {
  1453. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
  1454. phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1455. bresult_ = 0u;
  1456. }
  1457. PB_CS_C_LogonCheckVerifCode::~PB_CS_C_LogonCheckVerifCode() {
  1458. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1459. SharedDtor();
  1460. }
  1461. void PB_CS_C_LogonCheckVerifCode::SharedDtor() {
  1462. phonenum_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1463. }
  1464. void PB_CS_C_LogonCheckVerifCode::SetCachedSize(int size) const {
  1465. _cached_size_.Set(size);
  1466. }
  1467. const PB_CS_C_LogonCheckVerifCode& PB_CS_C_LogonCheckVerifCode::default_instance() {
  1468. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
  1469. return *internal_default_instance();
  1470. }
  1471. void PB_CS_C_LogonCheckVerifCode::Clear() {
  1472. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1473. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1474. // Prevent compiler warnings about cached_has_bits being unused
  1475. (void) cached_has_bits;
  1476. phonenum_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1477. bresult_ = 0u;
  1478. _internal_metadata_.Clear();
  1479. }
  1480. const char* PB_CS_C_LogonCheckVerifCode::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  1481. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1482. while (!ctx->Done(&ptr)) {
  1483. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  1484. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  1485. CHK_(ptr);
  1486. switch (tag >> 3) {
  1487. // uint32 bResult = 1;
  1488. case 1:
  1489. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  1490. bresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1491. CHK_(ptr);
  1492. } else goto handle_unusual;
  1493. continue;
  1494. // string PhoneNum = 2;
  1495. case 2:
  1496. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
  1497. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_phonenum(), ptr, ctx, "LogonServer.PB_CS_C_LogonCheckVerifCode.PhoneNum");
  1498. CHK_(ptr);
  1499. } else goto handle_unusual;
  1500. continue;
  1501. default: {
  1502. handle_unusual:
  1503. if ((tag & 7) == 4 || tag == 0) {
  1504. ctx->SetLastTag(tag);
  1505. goto success;
  1506. }
  1507. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  1508. CHK_(ptr != nullptr);
  1509. continue;
  1510. }
  1511. } // switch
  1512. } // while
  1513. success:
  1514. return ptr;
  1515. failure:
  1516. ptr = nullptr;
  1517. goto success;
  1518. #undef CHK_
  1519. }
  1520. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_LogonCheckVerifCode::InternalSerializeWithCachedSizesToArray(
  1521. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1522. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1523. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1524. (void) cached_has_bits;
  1525. // uint32 bResult = 1;
  1526. if (this->bresult() != 0) {
  1527. target = stream->EnsureSpace(target);
  1528. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_bresult(), target);
  1529. }
  1530. // string PhoneNum = 2;
  1531. if (this->phonenum().size() > 0) {
  1532. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1533. this->_internal_phonenum().data(), static_cast<int>(this->_internal_phonenum().length()),
  1534. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1535. "LogonServer.PB_CS_C_LogonCheckVerifCode.PhoneNum");
  1536. target = stream->WriteStringMaybeAliased(
  1537. 2, this->_internal_phonenum(), target);
  1538. }
  1539. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1540. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1541. _internal_metadata_.unknown_fields(), target, stream);
  1542. }
  1543. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1544. return target;
  1545. }
  1546. size_t PB_CS_C_LogonCheckVerifCode::ByteSizeLong() const {
  1547. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1548. size_t total_size = 0;
  1549. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1550. // Prevent compiler warnings about cached_has_bits being unused
  1551. (void) cached_has_bits;
  1552. // string PhoneNum = 2;
  1553. if (this->phonenum().size() > 0) {
  1554. total_size += 1 +
  1555. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1556. this->_internal_phonenum());
  1557. }
  1558. // uint32 bResult = 1;
  1559. if (this->bresult() != 0) {
  1560. total_size += 1 +
  1561. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1562. this->_internal_bresult());
  1563. }
  1564. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1565. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1566. _internal_metadata_, total_size, &_cached_size_);
  1567. }
  1568. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1569. SetCachedSize(cached_size);
  1570. return total_size;
  1571. }
  1572. void PB_CS_C_LogonCheckVerifCode::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1573. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1574. GOOGLE_DCHECK_NE(&from, this);
  1575. const PB_CS_C_LogonCheckVerifCode* source =
  1576. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_LogonCheckVerifCode>(
  1577. &from);
  1578. if (source == nullptr) {
  1579. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1580. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1581. } else {
  1582. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1583. MergeFrom(*source);
  1584. }
  1585. }
  1586. void PB_CS_C_LogonCheckVerifCode::MergeFrom(const PB_CS_C_LogonCheckVerifCode& from) {
  1587. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1588. GOOGLE_DCHECK_NE(&from, this);
  1589. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1590. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1591. (void) cached_has_bits;
  1592. if (from.phonenum().size() > 0) {
  1593. phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
  1594. }
  1595. if (from.bresult() != 0) {
  1596. _internal_set_bresult(from._internal_bresult());
  1597. }
  1598. }
  1599. void PB_CS_C_LogonCheckVerifCode::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1600. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1601. if (&from == this) return;
  1602. Clear();
  1603. MergeFrom(from);
  1604. }
  1605. void PB_CS_C_LogonCheckVerifCode::CopyFrom(const PB_CS_C_LogonCheckVerifCode& from) {
  1606. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
  1607. if (&from == this) return;
  1608. Clear();
  1609. MergeFrom(from);
  1610. }
  1611. bool PB_CS_C_LogonCheckVerifCode::IsInitialized() const {
  1612. return true;
  1613. }
  1614. void PB_CS_C_LogonCheckVerifCode::InternalSwap(PB_CS_C_LogonCheckVerifCode* other) {
  1615. using std::swap;
  1616. _internal_metadata_.Swap(&other->_internal_metadata_);
  1617. phonenum_.Swap(&other->phonenum_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1618. GetArenaNoVirtual());
  1619. swap(bresult_, other->bresult_);
  1620. }
  1621. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonCheckVerifCode::GetMetadata() const {
  1622. return GetMetadataStatic();
  1623. }
  1624. // ===================================================================
  1625. void PB_CS_S_LogonCheckVerifCode::InitAsDefaultInstance() {
  1626. }
  1627. class PB_CS_S_LogonCheckVerifCode::_Internal {
  1628. public:
  1629. };
  1630. PB_CS_S_LogonCheckVerifCode::PB_CS_S_LogonCheckVerifCode()
  1631. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  1632. SharedCtor();
  1633. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1634. }
  1635. PB_CS_S_LogonCheckVerifCode::PB_CS_S_LogonCheckVerifCode(const PB_CS_S_LogonCheckVerifCode& from)
  1636. : ::PROTOBUF_NAMESPACE_ID::Message(),
  1637. _internal_metadata_(nullptr) {
  1638. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1639. phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1640. if (!from._internal_phonenum().empty()) {
  1641. phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
  1642. }
  1643. strerrordescribe_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1644. if (!from._internal_strerrordescribe().empty()) {
  1645. strerrordescribe_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.strerrordescribe_);
  1646. }
  1647. bresult_ = from.bresult_;
  1648. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1649. }
  1650. void PB_CS_S_LogonCheckVerifCode::SharedCtor() {
  1651. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
  1652. phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1653. strerrordescribe_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1654. bresult_ = 0u;
  1655. }
  1656. PB_CS_S_LogonCheckVerifCode::~PB_CS_S_LogonCheckVerifCode() {
  1657. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1658. SharedDtor();
  1659. }
  1660. void PB_CS_S_LogonCheckVerifCode::SharedDtor() {
  1661. phonenum_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1662. strerrordescribe_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1663. }
  1664. void PB_CS_S_LogonCheckVerifCode::SetCachedSize(int size) const {
  1665. _cached_size_.Set(size);
  1666. }
  1667. const PB_CS_S_LogonCheckVerifCode& PB_CS_S_LogonCheckVerifCode::default_instance() {
  1668. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
  1669. return *internal_default_instance();
  1670. }
  1671. void PB_CS_S_LogonCheckVerifCode::Clear() {
  1672. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1673. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1674. // Prevent compiler warnings about cached_has_bits being unused
  1675. (void) cached_has_bits;
  1676. phonenum_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1677. strerrordescribe_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1678. bresult_ = 0u;
  1679. _internal_metadata_.Clear();
  1680. }
  1681. const char* PB_CS_S_LogonCheckVerifCode::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  1682. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1683. while (!ctx->Done(&ptr)) {
  1684. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  1685. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  1686. CHK_(ptr);
  1687. switch (tag >> 3) {
  1688. // uint32 bResult = 1;
  1689. case 1:
  1690. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  1691. bresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1692. CHK_(ptr);
  1693. } else goto handle_unusual;
  1694. continue;
  1695. // string PhoneNum = 2;
  1696. case 2:
  1697. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
  1698. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_phonenum(), ptr, ctx, "LogonServer.PB_CS_S_LogonCheckVerifCode.PhoneNum");
  1699. CHK_(ptr);
  1700. } else goto handle_unusual;
  1701. continue;
  1702. // string strErrorDescribe = 3;
  1703. case 3:
  1704. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
  1705. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_strerrordescribe(), ptr, ctx, "LogonServer.PB_CS_S_LogonCheckVerifCode.strErrorDescribe");
  1706. CHK_(ptr);
  1707. } else goto handle_unusual;
  1708. continue;
  1709. default: {
  1710. handle_unusual:
  1711. if ((tag & 7) == 4 || tag == 0) {
  1712. ctx->SetLastTag(tag);
  1713. goto success;
  1714. }
  1715. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  1716. CHK_(ptr != nullptr);
  1717. continue;
  1718. }
  1719. } // switch
  1720. } // while
  1721. success:
  1722. return ptr;
  1723. failure:
  1724. ptr = nullptr;
  1725. goto success;
  1726. #undef CHK_
  1727. }
  1728. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_LogonCheckVerifCode::InternalSerializeWithCachedSizesToArray(
  1729. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1730. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1731. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1732. (void) cached_has_bits;
  1733. // uint32 bResult = 1;
  1734. if (this->bresult() != 0) {
  1735. target = stream->EnsureSpace(target);
  1736. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_bresult(), target);
  1737. }
  1738. // string PhoneNum = 2;
  1739. if (this->phonenum().size() > 0) {
  1740. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1741. this->_internal_phonenum().data(), static_cast<int>(this->_internal_phonenum().length()),
  1742. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1743. "LogonServer.PB_CS_S_LogonCheckVerifCode.PhoneNum");
  1744. target = stream->WriteStringMaybeAliased(
  1745. 2, this->_internal_phonenum(), target);
  1746. }
  1747. // string strErrorDescribe = 3;
  1748. if (this->strerrordescribe().size() > 0) {
  1749. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1750. this->_internal_strerrordescribe().data(), static_cast<int>(this->_internal_strerrordescribe().length()),
  1751. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  1752. "LogonServer.PB_CS_S_LogonCheckVerifCode.strErrorDescribe");
  1753. target = stream->WriteStringMaybeAliased(
  1754. 3, this->_internal_strerrordescribe(), target);
  1755. }
  1756. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1757. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1758. _internal_metadata_.unknown_fields(), target, stream);
  1759. }
  1760. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1761. return target;
  1762. }
  1763. size_t PB_CS_S_LogonCheckVerifCode::ByteSizeLong() const {
  1764. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1765. size_t total_size = 0;
  1766. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1767. // Prevent compiler warnings about cached_has_bits being unused
  1768. (void) cached_has_bits;
  1769. // string PhoneNum = 2;
  1770. if (this->phonenum().size() > 0) {
  1771. total_size += 1 +
  1772. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1773. this->_internal_phonenum());
  1774. }
  1775. // string strErrorDescribe = 3;
  1776. if (this->strerrordescribe().size() > 0) {
  1777. total_size += 1 +
  1778. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1779. this->_internal_strerrordescribe());
  1780. }
  1781. // uint32 bResult = 1;
  1782. if (this->bresult() != 0) {
  1783. total_size += 1 +
  1784. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  1785. this->_internal_bresult());
  1786. }
  1787. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1788. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1789. _internal_metadata_, total_size, &_cached_size_);
  1790. }
  1791. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1792. SetCachedSize(cached_size);
  1793. return total_size;
  1794. }
  1795. void PB_CS_S_LogonCheckVerifCode::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1796. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1797. GOOGLE_DCHECK_NE(&from, this);
  1798. const PB_CS_S_LogonCheckVerifCode* source =
  1799. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_LogonCheckVerifCode>(
  1800. &from);
  1801. if (source == nullptr) {
  1802. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1803. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1804. } else {
  1805. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1806. MergeFrom(*source);
  1807. }
  1808. }
  1809. void PB_CS_S_LogonCheckVerifCode::MergeFrom(const PB_CS_S_LogonCheckVerifCode& from) {
  1810. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1811. GOOGLE_DCHECK_NE(&from, this);
  1812. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1813. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1814. (void) cached_has_bits;
  1815. if (from.phonenum().size() > 0) {
  1816. phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
  1817. }
  1818. if (from.strerrordescribe().size() > 0) {
  1819. strerrordescribe_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.strerrordescribe_);
  1820. }
  1821. if (from.bresult() != 0) {
  1822. _internal_set_bresult(from._internal_bresult());
  1823. }
  1824. }
  1825. void PB_CS_S_LogonCheckVerifCode::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1826. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1827. if (&from == this) return;
  1828. Clear();
  1829. MergeFrom(from);
  1830. }
  1831. void PB_CS_S_LogonCheckVerifCode::CopyFrom(const PB_CS_S_LogonCheckVerifCode& from) {
  1832. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
  1833. if (&from == this) return;
  1834. Clear();
  1835. MergeFrom(from);
  1836. }
  1837. bool PB_CS_S_LogonCheckVerifCode::IsInitialized() const {
  1838. return true;
  1839. }
  1840. void PB_CS_S_LogonCheckVerifCode::InternalSwap(PB_CS_S_LogonCheckVerifCode* other) {
  1841. using std::swap;
  1842. _internal_metadata_.Swap(&other->_internal_metadata_);
  1843. phonenum_.Swap(&other->phonenum_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1844. GetArenaNoVirtual());
  1845. strerrordescribe_.Swap(&other->strerrordescribe_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1846. GetArenaNoVirtual());
  1847. swap(bresult_, other->bresult_);
  1848. }
  1849. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonCheckVerifCode::GetMetadata() const {
  1850. return GetMetadataStatic();
  1851. }
  1852. // ===================================================================
  1853. void PB_CS_C_RegisterAccounts::InitAsDefaultInstance() {
  1854. }
  1855. class PB_CS_C_RegisterAccounts::_Internal {
  1856. public:
  1857. };
  1858. PB_CS_C_RegisterAccounts::PB_CS_C_RegisterAccounts()
  1859. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  1860. SharedCtor();
  1861. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_RegisterAccounts)
  1862. }
  1863. PB_CS_C_RegisterAccounts::PB_CS_C_RegisterAccounts(const PB_CS_C_RegisterAccounts& from)
  1864. : ::PROTOBUF_NAMESPACE_ID::Message(),
  1865. _internal_metadata_(nullptr) {
  1866. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1867. szlogonpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1868. if (!from._internal_szlogonpass().empty()) {
  1869. szlogonpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlogonpass_);
  1870. }
  1871. szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1872. if (!from._internal_szaccounts().empty()) {
  1873. szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
  1874. }
  1875. sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1876. if (!from._internal_sznickname().empty()) {
  1877. sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
  1878. }
  1879. szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1880. if (!from._internal_szmachineid().empty()) {
  1881. szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
  1882. }
  1883. szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1884. if (!from._internal_szmobilephone().empty()) {
  1885. szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
  1886. }
  1887. ::memcpy(&wmoduleid_, &from.wmoduleid_,
  1888. static_cast<size_t>(reinterpret_cast<char*>(&cbgender_) -
  1889. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(cbgender_));
  1890. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_RegisterAccounts)
  1891. }
  1892. void PB_CS_C_RegisterAccounts::SharedCtor() {
  1893. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto.base);
  1894. szlogonpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1895. szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1896. sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1897. szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1898. szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1899. ::memset(&wmoduleid_, 0, static_cast<size_t>(
  1900. reinterpret_cast<char*>(&cbgender_) -
  1901. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(cbgender_));
  1902. }
  1903. PB_CS_C_RegisterAccounts::~PB_CS_C_RegisterAccounts() {
  1904. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_RegisterAccounts)
  1905. SharedDtor();
  1906. }
  1907. void PB_CS_C_RegisterAccounts::SharedDtor() {
  1908. szlogonpass_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1909. szaccounts_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1910. sznickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1911. szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1912. szmobilephone_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1913. }
  1914. void PB_CS_C_RegisterAccounts::SetCachedSize(int size) const {
  1915. _cached_size_.Set(size);
  1916. }
  1917. const PB_CS_C_RegisterAccounts& PB_CS_C_RegisterAccounts::default_instance() {
  1918. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto.base);
  1919. return *internal_default_instance();
  1920. }
  1921. void PB_CS_C_RegisterAccounts::Clear() {
  1922. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_RegisterAccounts)
  1923. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1924. // Prevent compiler warnings about cached_has_bits being unused
  1925. (void) cached_has_bits;
  1926. szlogonpass_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1927. szaccounts_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1928. sznickname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1929. szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1930. szmobilephone_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1931. ::memset(&wmoduleid_, 0, static_cast<size_t>(
  1932. reinterpret_cast<char*>(&cbgender_) -
  1933. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(cbgender_));
  1934. _internal_metadata_.Clear();
  1935. }
  1936. const char* PB_CS_C_RegisterAccounts::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  1937. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1938. while (!ctx->Done(&ptr)) {
  1939. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  1940. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  1941. CHK_(ptr);
  1942. switch (tag >> 3) {
  1943. // uint32 wModuleID = 1;
  1944. case 1:
  1945. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  1946. wmoduleid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1947. CHK_(ptr);
  1948. } else goto handle_unusual;
  1949. continue;
  1950. // uint32 dwPlazaVersion = 2;
  1951. case 2:
  1952. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  1953. dwplazaversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1954. CHK_(ptr);
  1955. } else goto handle_unusual;
  1956. continue;
  1957. // uint32 cbDeviceType = 3;
  1958. case 3:
  1959. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  1960. cbdevicetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1961. CHK_(ptr);
  1962. } else goto handle_unusual;
  1963. continue;
  1964. // string szLogonPass = 4;
  1965. case 4:
  1966. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
  1967. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szlogonpass(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szLogonPass");
  1968. CHK_(ptr);
  1969. } else goto handle_unusual;
  1970. continue;
  1971. // uint32 wFaceID = 5;
  1972. case 5:
  1973. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
  1974. wfaceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1975. CHK_(ptr);
  1976. } else goto handle_unusual;
  1977. continue;
  1978. // uint32 cbGender = 6;
  1979. case 6:
  1980. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
  1981. cbgender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  1982. CHK_(ptr);
  1983. } else goto handle_unusual;
  1984. continue;
  1985. // string szAccounts = 7;
  1986. case 7:
  1987. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
  1988. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaccounts(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szAccounts");
  1989. CHK_(ptr);
  1990. } else goto handle_unusual;
  1991. continue;
  1992. // string szNickName = 8;
  1993. case 8:
  1994. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
  1995. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sznickname(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szNickName");
  1996. CHK_(ptr);
  1997. } else goto handle_unusual;
  1998. continue;
  1999. // string szMachineID = 9;
  2000. case 9:
  2001. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
  2002. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szMachineID");
  2003. CHK_(ptr);
  2004. } else goto handle_unusual;
  2005. continue;
  2006. // string szMobilePhone = 10;
  2007. case 10:
  2008. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
  2009. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmobilephone(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szMobilePhone");
  2010. CHK_(ptr);
  2011. } else goto handle_unusual;
  2012. continue;
  2013. default: {
  2014. handle_unusual:
  2015. if ((tag & 7) == 4 || tag == 0) {
  2016. ctx->SetLastTag(tag);
  2017. goto success;
  2018. }
  2019. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  2020. CHK_(ptr != nullptr);
  2021. continue;
  2022. }
  2023. } // switch
  2024. } // while
  2025. success:
  2026. return ptr;
  2027. failure:
  2028. ptr = nullptr;
  2029. goto success;
  2030. #undef CHK_
  2031. }
  2032. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_RegisterAccounts::InternalSerializeWithCachedSizesToArray(
  2033. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  2034. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_RegisterAccounts)
  2035. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2036. (void) cached_has_bits;
  2037. // uint32 wModuleID = 1;
  2038. if (this->wmoduleid() != 0) {
  2039. target = stream->EnsureSpace(target);
  2040. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wmoduleid(), target);
  2041. }
  2042. // uint32 dwPlazaVersion = 2;
  2043. if (this->dwplazaversion() != 0) {
  2044. target = stream->EnsureSpace(target);
  2045. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwplazaversion(), target);
  2046. }
  2047. // uint32 cbDeviceType = 3;
  2048. if (this->cbdevicetype() != 0) {
  2049. target = stream->EnsureSpace(target);
  2050. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbdevicetype(), target);
  2051. }
  2052. // string szLogonPass = 4;
  2053. if (this->szlogonpass().size() > 0) {
  2054. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2055. this->_internal_szlogonpass().data(), static_cast<int>(this->_internal_szlogonpass().length()),
  2056. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2057. "LogonServer.PB_CS_C_RegisterAccounts.szLogonPass");
  2058. target = stream->WriteStringMaybeAliased(
  2059. 4, this->_internal_szlogonpass(), target);
  2060. }
  2061. // uint32 wFaceID = 5;
  2062. if (this->wfaceid() != 0) {
  2063. target = stream->EnsureSpace(target);
  2064. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wfaceid(), target);
  2065. }
  2066. // uint32 cbGender = 6;
  2067. if (this->cbgender() != 0) {
  2068. target = stream->EnsureSpace(target);
  2069. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_cbgender(), target);
  2070. }
  2071. // string szAccounts = 7;
  2072. if (this->szaccounts().size() > 0) {
  2073. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2074. this->_internal_szaccounts().data(), static_cast<int>(this->_internal_szaccounts().length()),
  2075. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2076. "LogonServer.PB_CS_C_RegisterAccounts.szAccounts");
  2077. target = stream->WriteStringMaybeAliased(
  2078. 7, this->_internal_szaccounts(), target);
  2079. }
  2080. // string szNickName = 8;
  2081. if (this->sznickname().size() > 0) {
  2082. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2083. this->_internal_sznickname().data(), static_cast<int>(this->_internal_sznickname().length()),
  2084. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2085. "LogonServer.PB_CS_C_RegisterAccounts.szNickName");
  2086. target = stream->WriteStringMaybeAliased(
  2087. 8, this->_internal_sznickname(), target);
  2088. }
  2089. // string szMachineID = 9;
  2090. if (this->szmachineid().size() > 0) {
  2091. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2092. this->_internal_szmachineid().data(), static_cast<int>(this->_internal_szmachineid().length()),
  2093. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2094. "LogonServer.PB_CS_C_RegisterAccounts.szMachineID");
  2095. target = stream->WriteStringMaybeAliased(
  2096. 9, this->_internal_szmachineid(), target);
  2097. }
  2098. // string szMobilePhone = 10;
  2099. if (this->szmobilephone().size() > 0) {
  2100. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2101. this->_internal_szmobilephone().data(), static_cast<int>(this->_internal_szmobilephone().length()),
  2102. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2103. "LogonServer.PB_CS_C_RegisterAccounts.szMobilePhone");
  2104. target = stream->WriteStringMaybeAliased(
  2105. 10, this->_internal_szmobilephone(), target);
  2106. }
  2107. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2108. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  2109. _internal_metadata_.unknown_fields(), target, stream);
  2110. }
  2111. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_RegisterAccounts)
  2112. return target;
  2113. }
  2114. size_t PB_CS_C_RegisterAccounts::ByteSizeLong() const {
  2115. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_RegisterAccounts)
  2116. size_t total_size = 0;
  2117. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2118. // Prevent compiler warnings about cached_has_bits being unused
  2119. (void) cached_has_bits;
  2120. // string szLogonPass = 4;
  2121. if (this->szlogonpass().size() > 0) {
  2122. total_size += 1 +
  2123. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2124. this->_internal_szlogonpass());
  2125. }
  2126. // string szAccounts = 7;
  2127. if (this->szaccounts().size() > 0) {
  2128. total_size += 1 +
  2129. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2130. this->_internal_szaccounts());
  2131. }
  2132. // string szNickName = 8;
  2133. if (this->sznickname().size() > 0) {
  2134. total_size += 1 +
  2135. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2136. this->_internal_sznickname());
  2137. }
  2138. // string szMachineID = 9;
  2139. if (this->szmachineid().size() > 0) {
  2140. total_size += 1 +
  2141. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2142. this->_internal_szmachineid());
  2143. }
  2144. // string szMobilePhone = 10;
  2145. if (this->szmobilephone().size() > 0) {
  2146. total_size += 1 +
  2147. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2148. this->_internal_szmobilephone());
  2149. }
  2150. // uint32 wModuleID = 1;
  2151. if (this->wmoduleid() != 0) {
  2152. total_size += 1 +
  2153. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2154. this->_internal_wmoduleid());
  2155. }
  2156. // uint32 dwPlazaVersion = 2;
  2157. if (this->dwplazaversion() != 0) {
  2158. total_size += 1 +
  2159. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2160. this->_internal_dwplazaversion());
  2161. }
  2162. // uint32 cbDeviceType = 3;
  2163. if (this->cbdevicetype() != 0) {
  2164. total_size += 1 +
  2165. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2166. this->_internal_cbdevicetype());
  2167. }
  2168. // uint32 wFaceID = 5;
  2169. if (this->wfaceid() != 0) {
  2170. total_size += 1 +
  2171. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2172. this->_internal_wfaceid());
  2173. }
  2174. // uint32 cbGender = 6;
  2175. if (this->cbgender() != 0) {
  2176. total_size += 1 +
  2177. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2178. this->_internal_cbgender());
  2179. }
  2180. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2181. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  2182. _internal_metadata_, total_size, &_cached_size_);
  2183. }
  2184. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  2185. SetCachedSize(cached_size);
  2186. return total_size;
  2187. }
  2188. void PB_CS_C_RegisterAccounts::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  2189. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_RegisterAccounts)
  2190. GOOGLE_DCHECK_NE(&from, this);
  2191. const PB_CS_C_RegisterAccounts* source =
  2192. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_RegisterAccounts>(
  2193. &from);
  2194. if (source == nullptr) {
  2195. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_RegisterAccounts)
  2196. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  2197. } else {
  2198. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_RegisterAccounts)
  2199. MergeFrom(*source);
  2200. }
  2201. }
  2202. void PB_CS_C_RegisterAccounts::MergeFrom(const PB_CS_C_RegisterAccounts& from) {
  2203. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_RegisterAccounts)
  2204. GOOGLE_DCHECK_NE(&from, this);
  2205. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2206. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2207. (void) cached_has_bits;
  2208. if (from.szlogonpass().size() > 0) {
  2209. szlogonpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlogonpass_);
  2210. }
  2211. if (from.szaccounts().size() > 0) {
  2212. szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
  2213. }
  2214. if (from.sznickname().size() > 0) {
  2215. sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
  2216. }
  2217. if (from.szmachineid().size() > 0) {
  2218. szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
  2219. }
  2220. if (from.szmobilephone().size() > 0) {
  2221. szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
  2222. }
  2223. if (from.wmoduleid() != 0) {
  2224. _internal_set_wmoduleid(from._internal_wmoduleid());
  2225. }
  2226. if (from.dwplazaversion() != 0) {
  2227. _internal_set_dwplazaversion(from._internal_dwplazaversion());
  2228. }
  2229. if (from.cbdevicetype() != 0) {
  2230. _internal_set_cbdevicetype(from._internal_cbdevicetype());
  2231. }
  2232. if (from.wfaceid() != 0) {
  2233. _internal_set_wfaceid(from._internal_wfaceid());
  2234. }
  2235. if (from.cbgender() != 0) {
  2236. _internal_set_cbgender(from._internal_cbgender());
  2237. }
  2238. }
  2239. void PB_CS_C_RegisterAccounts::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  2240. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_RegisterAccounts)
  2241. if (&from == this) return;
  2242. Clear();
  2243. MergeFrom(from);
  2244. }
  2245. void PB_CS_C_RegisterAccounts::CopyFrom(const PB_CS_C_RegisterAccounts& from) {
  2246. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_RegisterAccounts)
  2247. if (&from == this) return;
  2248. Clear();
  2249. MergeFrom(from);
  2250. }
  2251. bool PB_CS_C_RegisterAccounts::IsInitialized() const {
  2252. return true;
  2253. }
  2254. void PB_CS_C_RegisterAccounts::InternalSwap(PB_CS_C_RegisterAccounts* other) {
  2255. using std::swap;
  2256. _internal_metadata_.Swap(&other->_internal_metadata_);
  2257. szlogonpass_.Swap(&other->szlogonpass_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2258. GetArenaNoVirtual());
  2259. szaccounts_.Swap(&other->szaccounts_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2260. GetArenaNoVirtual());
  2261. sznickname_.Swap(&other->sznickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2262. GetArenaNoVirtual());
  2263. szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2264. GetArenaNoVirtual());
  2265. szmobilephone_.Swap(&other->szmobilephone_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2266. GetArenaNoVirtual());
  2267. swap(wmoduleid_, other->wmoduleid_);
  2268. swap(dwplazaversion_, other->dwplazaversion_);
  2269. swap(cbdevicetype_, other->cbdevicetype_);
  2270. swap(wfaceid_, other->wfaceid_);
  2271. swap(cbgender_, other->cbgender_);
  2272. }
  2273. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_RegisterAccounts::GetMetadata() const {
  2274. return GetMetadataStatic();
  2275. }
  2276. // ===================================================================
  2277. void PB_CS_C_LogonOtherPlatformEx::InitAsDefaultInstance() {
  2278. }
  2279. class PB_CS_C_LogonOtherPlatformEx::_Internal {
  2280. public:
  2281. };
  2282. PB_CS_C_LogonOtherPlatformEx::PB_CS_C_LogonOtherPlatformEx()
  2283. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  2284. SharedCtor();
  2285. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2286. }
  2287. PB_CS_C_LogonOtherPlatformEx::PB_CS_C_LogonOtherPlatformEx(const PB_CS_C_LogonOtherPlatformEx& from)
  2288. : ::PROTOBUF_NAMESPACE_ID::Message(),
  2289. _internal_metadata_(nullptr) {
  2290. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2291. szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2292. if (!from._internal_szuseruin().empty()) {
  2293. szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
  2294. }
  2295. sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2296. if (!from._internal_sznickname().empty()) {
  2297. sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
  2298. }
  2299. szcompellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2300. if (!from._internal_szcompellation().empty()) {
  2301. szcompellation_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szcompellation_);
  2302. }
  2303. szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2304. if (!from._internal_szmachineid().empty()) {
  2305. szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
  2306. }
  2307. szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2308. if (!from._internal_szmobilephone().empty()) {
  2309. szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
  2310. }
  2311. szheadurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2312. if (!from._internal_szheadurl().empty()) {
  2313. szheadurl_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szheadurl_);
  2314. }
  2315. ::memcpy(&wmoduleid_, &from.wmoduleid_,
  2316. static_cast<size_t>(reinterpret_cast<char*>(&dianliang_) -
  2317. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(dianliang_));
  2318. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2319. }
  2320. void PB_CS_C_LogonOtherPlatformEx::SharedCtor() {
  2321. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto.base);
  2322. szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2323. sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2324. szcompellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2325. szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2326. szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2327. szheadurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2328. ::memset(&wmoduleid_, 0, static_cast<size_t>(
  2329. reinterpret_cast<char*>(&dianliang_) -
  2330. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(dianliang_));
  2331. }
  2332. PB_CS_C_LogonOtherPlatformEx::~PB_CS_C_LogonOtherPlatformEx() {
  2333. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2334. SharedDtor();
  2335. }
  2336. void PB_CS_C_LogonOtherPlatformEx::SharedDtor() {
  2337. szuseruin_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2338. sznickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2339. szcompellation_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2340. szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2341. szmobilephone_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2342. szheadurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2343. }
  2344. void PB_CS_C_LogonOtherPlatformEx::SetCachedSize(int size) const {
  2345. _cached_size_.Set(size);
  2346. }
  2347. const PB_CS_C_LogonOtherPlatformEx& PB_CS_C_LogonOtherPlatformEx::default_instance() {
  2348. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto.base);
  2349. return *internal_default_instance();
  2350. }
  2351. void PB_CS_C_LogonOtherPlatformEx::Clear() {
  2352. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2353. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2354. // Prevent compiler warnings about cached_has_bits being unused
  2355. (void) cached_has_bits;
  2356. szuseruin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2357. sznickname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2358. szcompellation_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2359. szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2360. szmobilephone_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2361. szheadurl_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  2362. ::memset(&wmoduleid_, 0, static_cast<size_t>(
  2363. reinterpret_cast<char*>(&dianliang_) -
  2364. reinterpret_cast<char*>(&wmoduleid_)) + sizeof(dianliang_));
  2365. _internal_metadata_.Clear();
  2366. }
  2367. const char* PB_CS_C_LogonOtherPlatformEx::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  2368. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  2369. while (!ctx->Done(&ptr)) {
  2370. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  2371. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  2372. CHK_(ptr);
  2373. switch (tag >> 3) {
  2374. // uint32 wModuleID = 1;
  2375. case 1:
  2376. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  2377. wmoduleid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2378. CHK_(ptr);
  2379. } else goto handle_unusual;
  2380. continue;
  2381. // uint32 dwPlazaVersion = 2;
  2382. case 2:
  2383. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  2384. dwplazaversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2385. CHK_(ptr);
  2386. } else goto handle_unusual;
  2387. continue;
  2388. // uint32 cbDeviceType = 3;
  2389. case 3:
  2390. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  2391. cbdevicetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2392. CHK_(ptr);
  2393. } else goto handle_unusual;
  2394. continue;
  2395. // uint32 cbGender = 4;
  2396. case 4:
  2397. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  2398. cbgender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2399. CHK_(ptr);
  2400. } else goto handle_unusual;
  2401. continue;
  2402. // uint32 cbPlatformID = 5;
  2403. case 5:
  2404. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
  2405. cbplatformid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2406. CHK_(ptr);
  2407. } else goto handle_unusual;
  2408. continue;
  2409. // string szUserUin = 6;
  2410. case 6:
  2411. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
  2412. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szuseruin(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szUserUin");
  2413. CHK_(ptr);
  2414. } else goto handle_unusual;
  2415. continue;
  2416. // string szNickName = 7;
  2417. case 7:
  2418. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
  2419. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sznickname(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szNickName");
  2420. CHK_(ptr);
  2421. } else goto handle_unusual;
  2422. continue;
  2423. // string szCompellation = 8;
  2424. case 8:
  2425. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
  2426. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szcompellation(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szCompellation");
  2427. CHK_(ptr);
  2428. } else goto handle_unusual;
  2429. continue;
  2430. // string szMachineID = 9;
  2431. case 9:
  2432. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
  2433. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMachineID");
  2434. CHK_(ptr);
  2435. } else goto handle_unusual;
  2436. continue;
  2437. // string szMobilePhone = 10;
  2438. case 10:
  2439. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
  2440. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmobilephone(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMobilePhone");
  2441. CHK_(ptr);
  2442. } else goto handle_unusual;
  2443. continue;
  2444. // string szHeadUrl = 11;
  2445. case 11:
  2446. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
  2447. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szheadurl(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szHeadUrl");
  2448. CHK_(ptr);
  2449. } else goto handle_unusual;
  2450. continue;
  2451. // sint64 x = 12;
  2452. case 12:
  2453. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
  2454. x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  2455. CHK_(ptr);
  2456. } else goto handle_unusual;
  2457. continue;
  2458. // sint64 y = 13;
  2459. case 13:
  2460. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
  2461. y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  2462. CHK_(ptr);
  2463. } else goto handle_unusual;
  2464. continue;
  2465. // uint32 isSimulator = 14;
  2466. case 14:
  2467. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
  2468. issimulator_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2469. CHK_(ptr);
  2470. } else goto handle_unusual;
  2471. continue;
  2472. // uint32 networkType = 15;
  2473. case 15:
  2474. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
  2475. networktype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2476. CHK_(ptr);
  2477. } else goto handle_unusual;
  2478. continue;
  2479. // uint32 dianliang = 16;
  2480. case 16:
  2481. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
  2482. dianliang_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2483. CHK_(ptr);
  2484. } else goto handle_unusual;
  2485. continue;
  2486. default: {
  2487. handle_unusual:
  2488. if ((tag & 7) == 4 || tag == 0) {
  2489. ctx->SetLastTag(tag);
  2490. goto success;
  2491. }
  2492. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  2493. CHK_(ptr != nullptr);
  2494. continue;
  2495. }
  2496. } // switch
  2497. } // while
  2498. success:
  2499. return ptr;
  2500. failure:
  2501. ptr = nullptr;
  2502. goto success;
  2503. #undef CHK_
  2504. }
  2505. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_LogonOtherPlatformEx::InternalSerializeWithCachedSizesToArray(
  2506. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  2507. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2508. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2509. (void) cached_has_bits;
  2510. // uint32 wModuleID = 1;
  2511. if (this->wmoduleid() != 0) {
  2512. target = stream->EnsureSpace(target);
  2513. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wmoduleid(), target);
  2514. }
  2515. // uint32 dwPlazaVersion = 2;
  2516. if (this->dwplazaversion() != 0) {
  2517. target = stream->EnsureSpace(target);
  2518. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwplazaversion(), target);
  2519. }
  2520. // uint32 cbDeviceType = 3;
  2521. if (this->cbdevicetype() != 0) {
  2522. target = stream->EnsureSpace(target);
  2523. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbdevicetype(), target);
  2524. }
  2525. // uint32 cbGender = 4;
  2526. if (this->cbgender() != 0) {
  2527. target = stream->EnsureSpace(target);
  2528. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cbgender(), target);
  2529. }
  2530. // uint32 cbPlatformID = 5;
  2531. if (this->cbplatformid() != 0) {
  2532. target = stream->EnsureSpace(target);
  2533. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_cbplatformid(), target);
  2534. }
  2535. // string szUserUin = 6;
  2536. if (this->szuseruin().size() > 0) {
  2537. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2538. this->_internal_szuseruin().data(), static_cast<int>(this->_internal_szuseruin().length()),
  2539. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2540. "LogonServer.PB_CS_C_LogonOtherPlatformEx.szUserUin");
  2541. target = stream->WriteStringMaybeAliased(
  2542. 6, this->_internal_szuseruin(), target);
  2543. }
  2544. // string szNickName = 7;
  2545. if (this->sznickname().size() > 0) {
  2546. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2547. this->_internal_sznickname().data(), static_cast<int>(this->_internal_sznickname().length()),
  2548. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2549. "LogonServer.PB_CS_C_LogonOtherPlatformEx.szNickName");
  2550. target = stream->WriteStringMaybeAliased(
  2551. 7, this->_internal_sznickname(), target);
  2552. }
  2553. // string szCompellation = 8;
  2554. if (this->szcompellation().size() > 0) {
  2555. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2556. this->_internal_szcompellation().data(), static_cast<int>(this->_internal_szcompellation().length()),
  2557. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2558. "LogonServer.PB_CS_C_LogonOtherPlatformEx.szCompellation");
  2559. target = stream->WriteStringMaybeAliased(
  2560. 8, this->_internal_szcompellation(), target);
  2561. }
  2562. // string szMachineID = 9;
  2563. if (this->szmachineid().size() > 0) {
  2564. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2565. this->_internal_szmachineid().data(), static_cast<int>(this->_internal_szmachineid().length()),
  2566. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2567. "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMachineID");
  2568. target = stream->WriteStringMaybeAliased(
  2569. 9, this->_internal_szmachineid(), target);
  2570. }
  2571. // string szMobilePhone = 10;
  2572. if (this->szmobilephone().size() > 0) {
  2573. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2574. this->_internal_szmobilephone().data(), static_cast<int>(this->_internal_szmobilephone().length()),
  2575. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2576. "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMobilePhone");
  2577. target = stream->WriteStringMaybeAliased(
  2578. 10, this->_internal_szmobilephone(), target);
  2579. }
  2580. // string szHeadUrl = 11;
  2581. if (this->szheadurl().size() > 0) {
  2582. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  2583. this->_internal_szheadurl().data(), static_cast<int>(this->_internal_szheadurl().length()),
  2584. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  2585. "LogonServer.PB_CS_C_LogonOtherPlatformEx.szHeadUrl");
  2586. target = stream->WriteStringMaybeAliased(
  2587. 11, this->_internal_szheadurl(), target);
  2588. }
  2589. // sint64 x = 12;
  2590. if (this->x() != 0) {
  2591. target = stream->EnsureSpace(target);
  2592. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(12, this->_internal_x(), target);
  2593. }
  2594. // sint64 y = 13;
  2595. if (this->y() != 0) {
  2596. target = stream->EnsureSpace(target);
  2597. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(13, this->_internal_y(), target);
  2598. }
  2599. // uint32 isSimulator = 14;
  2600. if (this->issimulator() != 0) {
  2601. target = stream->EnsureSpace(target);
  2602. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_issimulator(), target);
  2603. }
  2604. // uint32 networkType = 15;
  2605. if (this->networktype() != 0) {
  2606. target = stream->EnsureSpace(target);
  2607. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(15, this->_internal_networktype(), target);
  2608. }
  2609. // uint32 dianliang = 16;
  2610. if (this->dianliang() != 0) {
  2611. target = stream->EnsureSpace(target);
  2612. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(16, this->_internal_dianliang(), target);
  2613. }
  2614. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2615. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  2616. _internal_metadata_.unknown_fields(), target, stream);
  2617. }
  2618. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2619. return target;
  2620. }
  2621. size_t PB_CS_C_LogonOtherPlatformEx::ByteSizeLong() const {
  2622. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2623. size_t total_size = 0;
  2624. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2625. // Prevent compiler warnings about cached_has_bits being unused
  2626. (void) cached_has_bits;
  2627. // string szUserUin = 6;
  2628. if (this->szuseruin().size() > 0) {
  2629. total_size += 1 +
  2630. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2631. this->_internal_szuseruin());
  2632. }
  2633. // string szNickName = 7;
  2634. if (this->sznickname().size() > 0) {
  2635. total_size += 1 +
  2636. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2637. this->_internal_sznickname());
  2638. }
  2639. // string szCompellation = 8;
  2640. if (this->szcompellation().size() > 0) {
  2641. total_size += 1 +
  2642. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2643. this->_internal_szcompellation());
  2644. }
  2645. // string szMachineID = 9;
  2646. if (this->szmachineid().size() > 0) {
  2647. total_size += 1 +
  2648. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2649. this->_internal_szmachineid());
  2650. }
  2651. // string szMobilePhone = 10;
  2652. if (this->szmobilephone().size() > 0) {
  2653. total_size += 1 +
  2654. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2655. this->_internal_szmobilephone());
  2656. }
  2657. // string szHeadUrl = 11;
  2658. if (this->szheadurl().size() > 0) {
  2659. total_size += 1 +
  2660. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2661. this->_internal_szheadurl());
  2662. }
  2663. // uint32 wModuleID = 1;
  2664. if (this->wmoduleid() != 0) {
  2665. total_size += 1 +
  2666. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2667. this->_internal_wmoduleid());
  2668. }
  2669. // uint32 dwPlazaVersion = 2;
  2670. if (this->dwplazaversion() != 0) {
  2671. total_size += 1 +
  2672. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2673. this->_internal_dwplazaversion());
  2674. }
  2675. // uint32 cbDeviceType = 3;
  2676. if (this->cbdevicetype() != 0) {
  2677. total_size += 1 +
  2678. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2679. this->_internal_cbdevicetype());
  2680. }
  2681. // uint32 cbGender = 4;
  2682. if (this->cbgender() != 0) {
  2683. total_size += 1 +
  2684. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2685. this->_internal_cbgender());
  2686. }
  2687. // uint32 cbPlatformID = 5;
  2688. if (this->cbplatformid() != 0) {
  2689. total_size += 1 +
  2690. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2691. this->_internal_cbplatformid());
  2692. }
  2693. // uint32 isSimulator = 14;
  2694. if (this->issimulator() != 0) {
  2695. total_size += 1 +
  2696. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2697. this->_internal_issimulator());
  2698. }
  2699. // sint64 x = 12;
  2700. if (this->x() != 0) {
  2701. total_size += 1 +
  2702. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  2703. this->_internal_x());
  2704. }
  2705. // sint64 y = 13;
  2706. if (this->y() != 0) {
  2707. total_size += 1 +
  2708. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  2709. this->_internal_y());
  2710. }
  2711. // uint32 networkType = 15;
  2712. if (this->networktype() != 0) {
  2713. total_size += 1 +
  2714. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2715. this->_internal_networktype());
  2716. }
  2717. // uint32 dianliang = 16;
  2718. if (this->dianliang() != 0) {
  2719. total_size += 2 +
  2720. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2721. this->_internal_dianliang());
  2722. }
  2723. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2724. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  2725. _internal_metadata_, total_size, &_cached_size_);
  2726. }
  2727. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  2728. SetCachedSize(cached_size);
  2729. return total_size;
  2730. }
  2731. void PB_CS_C_LogonOtherPlatformEx::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  2732. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2733. GOOGLE_DCHECK_NE(&from, this);
  2734. const PB_CS_C_LogonOtherPlatformEx* source =
  2735. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_LogonOtherPlatformEx>(
  2736. &from);
  2737. if (source == nullptr) {
  2738. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2739. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  2740. } else {
  2741. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2742. MergeFrom(*source);
  2743. }
  2744. }
  2745. void PB_CS_C_LogonOtherPlatformEx::MergeFrom(const PB_CS_C_LogonOtherPlatformEx& from) {
  2746. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2747. GOOGLE_DCHECK_NE(&from, this);
  2748. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2749. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2750. (void) cached_has_bits;
  2751. if (from.szuseruin().size() > 0) {
  2752. szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
  2753. }
  2754. if (from.sznickname().size() > 0) {
  2755. sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
  2756. }
  2757. if (from.szcompellation().size() > 0) {
  2758. szcompellation_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szcompellation_);
  2759. }
  2760. if (from.szmachineid().size() > 0) {
  2761. szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
  2762. }
  2763. if (from.szmobilephone().size() > 0) {
  2764. szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
  2765. }
  2766. if (from.szheadurl().size() > 0) {
  2767. szheadurl_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szheadurl_);
  2768. }
  2769. if (from.wmoduleid() != 0) {
  2770. _internal_set_wmoduleid(from._internal_wmoduleid());
  2771. }
  2772. if (from.dwplazaversion() != 0) {
  2773. _internal_set_dwplazaversion(from._internal_dwplazaversion());
  2774. }
  2775. if (from.cbdevicetype() != 0) {
  2776. _internal_set_cbdevicetype(from._internal_cbdevicetype());
  2777. }
  2778. if (from.cbgender() != 0) {
  2779. _internal_set_cbgender(from._internal_cbgender());
  2780. }
  2781. if (from.cbplatformid() != 0) {
  2782. _internal_set_cbplatformid(from._internal_cbplatformid());
  2783. }
  2784. if (from.issimulator() != 0) {
  2785. _internal_set_issimulator(from._internal_issimulator());
  2786. }
  2787. if (from.x() != 0) {
  2788. _internal_set_x(from._internal_x());
  2789. }
  2790. if (from.y() != 0) {
  2791. _internal_set_y(from._internal_y());
  2792. }
  2793. if (from.networktype() != 0) {
  2794. _internal_set_networktype(from._internal_networktype());
  2795. }
  2796. if (from.dianliang() != 0) {
  2797. _internal_set_dianliang(from._internal_dianliang());
  2798. }
  2799. }
  2800. void PB_CS_C_LogonOtherPlatformEx::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  2801. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2802. if (&from == this) return;
  2803. Clear();
  2804. MergeFrom(from);
  2805. }
  2806. void PB_CS_C_LogonOtherPlatformEx::CopyFrom(const PB_CS_C_LogonOtherPlatformEx& from) {
  2807. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
  2808. if (&from == this) return;
  2809. Clear();
  2810. MergeFrom(from);
  2811. }
  2812. bool PB_CS_C_LogonOtherPlatformEx::IsInitialized() const {
  2813. return true;
  2814. }
  2815. void PB_CS_C_LogonOtherPlatformEx::InternalSwap(PB_CS_C_LogonOtherPlatformEx* other) {
  2816. using std::swap;
  2817. _internal_metadata_.Swap(&other->_internal_metadata_);
  2818. szuseruin_.Swap(&other->szuseruin_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2819. GetArenaNoVirtual());
  2820. sznickname_.Swap(&other->sznickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2821. GetArenaNoVirtual());
  2822. szcompellation_.Swap(&other->szcompellation_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2823. GetArenaNoVirtual());
  2824. szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2825. GetArenaNoVirtual());
  2826. szmobilephone_.Swap(&other->szmobilephone_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2827. GetArenaNoVirtual());
  2828. szheadurl_.Swap(&other->szheadurl_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  2829. GetArenaNoVirtual());
  2830. swap(wmoduleid_, other->wmoduleid_);
  2831. swap(dwplazaversion_, other->dwplazaversion_);
  2832. swap(cbdevicetype_, other->cbdevicetype_);
  2833. swap(cbgender_, other->cbgender_);
  2834. swap(cbplatformid_, other->cbplatformid_);
  2835. swap(issimulator_, other->issimulator_);
  2836. swap(x_, other->x_);
  2837. swap(y_, other->y_);
  2838. swap(networktype_, other->networktype_);
  2839. swap(dianliang_, other->dianliang_);
  2840. }
  2841. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonOtherPlatformEx::GetMetadata() const {
  2842. return GetMetadataStatic();
  2843. }
  2844. // ===================================================================
  2845. void PB_CS_S_UserServerID::InitAsDefaultInstance() {
  2846. }
  2847. class PB_CS_S_UserServerID::_Internal {
  2848. public:
  2849. };
  2850. PB_CS_S_UserServerID::PB_CS_S_UserServerID()
  2851. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  2852. SharedCtor();
  2853. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_UserServerID)
  2854. }
  2855. PB_CS_S_UserServerID::PB_CS_S_UserServerID(const PB_CS_S_UserServerID& from)
  2856. : ::PROTOBUF_NAMESPACE_ID::Message(),
  2857. _internal_metadata_(nullptr) {
  2858. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2859. wserverid_ = from.wserverid_;
  2860. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_UserServerID)
  2861. }
  2862. void PB_CS_S_UserServerID::SharedCtor() {
  2863. wserverid_ = 0u;
  2864. }
  2865. PB_CS_S_UserServerID::~PB_CS_S_UserServerID() {
  2866. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_UserServerID)
  2867. SharedDtor();
  2868. }
  2869. void PB_CS_S_UserServerID::SharedDtor() {
  2870. }
  2871. void PB_CS_S_UserServerID::SetCachedSize(int size) const {
  2872. _cached_size_.Set(size);
  2873. }
  2874. const PB_CS_S_UserServerID& PB_CS_S_UserServerID::default_instance() {
  2875. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto.base);
  2876. return *internal_default_instance();
  2877. }
  2878. void PB_CS_S_UserServerID::Clear() {
  2879. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_UserServerID)
  2880. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2881. // Prevent compiler warnings about cached_has_bits being unused
  2882. (void) cached_has_bits;
  2883. wserverid_ = 0u;
  2884. _internal_metadata_.Clear();
  2885. }
  2886. const char* PB_CS_S_UserServerID::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  2887. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  2888. while (!ctx->Done(&ptr)) {
  2889. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  2890. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  2891. CHK_(ptr);
  2892. switch (tag >> 3) {
  2893. // uint32 wServerID = 1;
  2894. case 1:
  2895. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  2896. wserverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  2897. CHK_(ptr);
  2898. } else goto handle_unusual;
  2899. continue;
  2900. default: {
  2901. handle_unusual:
  2902. if ((tag & 7) == 4 || tag == 0) {
  2903. ctx->SetLastTag(tag);
  2904. goto success;
  2905. }
  2906. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  2907. CHK_(ptr != nullptr);
  2908. continue;
  2909. }
  2910. } // switch
  2911. } // while
  2912. success:
  2913. return ptr;
  2914. failure:
  2915. ptr = nullptr;
  2916. goto success;
  2917. #undef CHK_
  2918. }
  2919. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_UserServerID::InternalSerializeWithCachedSizesToArray(
  2920. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  2921. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_UserServerID)
  2922. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2923. (void) cached_has_bits;
  2924. // uint32 wServerID = 1;
  2925. if (this->wserverid() != 0) {
  2926. target = stream->EnsureSpace(target);
  2927. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wserverid(), target);
  2928. }
  2929. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2930. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  2931. _internal_metadata_.unknown_fields(), target, stream);
  2932. }
  2933. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_UserServerID)
  2934. return target;
  2935. }
  2936. size_t PB_CS_S_UserServerID::ByteSizeLong() const {
  2937. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_UserServerID)
  2938. size_t total_size = 0;
  2939. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2940. // Prevent compiler warnings about cached_has_bits being unused
  2941. (void) cached_has_bits;
  2942. // uint32 wServerID = 1;
  2943. if (this->wserverid() != 0) {
  2944. total_size += 1 +
  2945. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  2946. this->_internal_wserverid());
  2947. }
  2948. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2949. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  2950. _internal_metadata_, total_size, &_cached_size_);
  2951. }
  2952. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  2953. SetCachedSize(cached_size);
  2954. return total_size;
  2955. }
  2956. void PB_CS_S_UserServerID::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  2957. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_UserServerID)
  2958. GOOGLE_DCHECK_NE(&from, this);
  2959. const PB_CS_S_UserServerID* source =
  2960. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_UserServerID>(
  2961. &from);
  2962. if (source == nullptr) {
  2963. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_UserServerID)
  2964. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  2965. } else {
  2966. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_UserServerID)
  2967. MergeFrom(*source);
  2968. }
  2969. }
  2970. void PB_CS_S_UserServerID::MergeFrom(const PB_CS_S_UserServerID& from) {
  2971. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_UserServerID)
  2972. GOOGLE_DCHECK_NE(&from, this);
  2973. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2974. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  2975. (void) cached_has_bits;
  2976. if (from.wserverid() != 0) {
  2977. _internal_set_wserverid(from._internal_wserverid());
  2978. }
  2979. }
  2980. void PB_CS_S_UserServerID::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  2981. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_UserServerID)
  2982. if (&from == this) return;
  2983. Clear();
  2984. MergeFrom(from);
  2985. }
  2986. void PB_CS_S_UserServerID::CopyFrom(const PB_CS_S_UserServerID& from) {
  2987. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_UserServerID)
  2988. if (&from == this) return;
  2989. Clear();
  2990. MergeFrom(from);
  2991. }
  2992. bool PB_CS_S_UserServerID::IsInitialized() const {
  2993. return true;
  2994. }
  2995. void PB_CS_S_UserServerID::InternalSwap(PB_CS_S_UserServerID* other) {
  2996. using std::swap;
  2997. _internal_metadata_.Swap(&other->_internal_metadata_);
  2998. swap(wserverid_, other->wserverid_);
  2999. }
  3000. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_UserServerID::GetMetadata() const {
  3001. return GetMetadataStatic();
  3002. }
  3003. // ===================================================================
  3004. void PB_CS_S_tagGameServer::InitAsDefaultInstance() {
  3005. }
  3006. class PB_CS_S_tagGameServer::_Internal {
  3007. public:
  3008. };
  3009. PB_CS_S_tagGameServer::PB_CS_S_tagGameServer()
  3010. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  3011. SharedCtor();
  3012. // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_tagGameServer)
  3013. }
  3014. PB_CS_S_tagGameServer::PB_CS_S_tagGameServer(const PB_CS_S_tagGameServer& from)
  3015. : ::PROTOBUF_NAMESPACE_ID::Message(),
  3016. _internal_metadata_(nullptr) {
  3017. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3018. szserveraddr_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3019. if (!from._internal_szserveraddr().empty()) {
  3020. szserveraddr_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szserveraddr_);
  3021. }
  3022. szservername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3023. if (!from._internal_szservername().empty()) {
  3024. szservername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szservername_);
  3025. }
  3026. ::memcpy(&wkindid_, &from.wkindid_,
  3027. static_cast<size_t>(reinterpret_cast<char*>(&dwlivetime_) -
  3028. reinterpret_cast<char*>(&wkindid_)) + sizeof(dwlivetime_));
  3029. // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_tagGameServer)
  3030. }
  3031. void PB_CS_S_tagGameServer::SharedCtor() {
  3032. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto.base);
  3033. szserveraddr_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3034. szservername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3035. ::memset(&wkindid_, 0, static_cast<size_t>(
  3036. reinterpret_cast<char*>(&dwlivetime_) -
  3037. reinterpret_cast<char*>(&wkindid_)) + sizeof(dwlivetime_));
  3038. }
  3039. PB_CS_S_tagGameServer::~PB_CS_S_tagGameServer() {
  3040. // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_tagGameServer)
  3041. SharedDtor();
  3042. }
  3043. void PB_CS_S_tagGameServer::SharedDtor() {
  3044. szserveraddr_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3045. szservername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3046. }
  3047. void PB_CS_S_tagGameServer::SetCachedSize(int size) const {
  3048. _cached_size_.Set(size);
  3049. }
  3050. const PB_CS_S_tagGameServer& PB_CS_S_tagGameServer::default_instance() {
  3051. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto.base);
  3052. return *internal_default_instance();
  3053. }
  3054. void PB_CS_S_tagGameServer::Clear() {
  3055. // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_tagGameServer)
  3056. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  3057. // Prevent compiler warnings about cached_has_bits being unused
  3058. (void) cached_has_bits;
  3059. szserveraddr_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3060. szservername_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  3061. ::memset(&wkindid_, 0, static_cast<size_t>(
  3062. reinterpret_cast<char*>(&dwlivetime_) -
  3063. reinterpret_cast<char*>(&wkindid_)) + sizeof(dwlivetime_));
  3064. _internal_metadata_.Clear();
  3065. }
  3066. const char* PB_CS_S_tagGameServer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  3067. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  3068. while (!ctx->Done(&ptr)) {
  3069. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  3070. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  3071. CHK_(ptr);
  3072. switch (tag >> 3) {
  3073. // uint32 wKindID = 1;
  3074. case 1:
  3075. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
  3076. wkindid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3077. CHK_(ptr);
  3078. } else goto handle_unusual;
  3079. continue;
  3080. // uint32 wNodeID = 2;
  3081. case 2:
  3082. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  3083. wnodeid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3084. CHK_(ptr);
  3085. } else goto handle_unusual;
  3086. continue;
  3087. // uint32 wSortID = 3;
  3088. case 3:
  3089. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  3090. wsortid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3091. CHK_(ptr);
  3092. } else goto handle_unusual;
  3093. continue;
  3094. // uint32 wServerID = 4;
  3095. case 4:
  3096. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  3097. wserverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3098. CHK_(ptr);
  3099. } else goto handle_unusual;
  3100. continue;
  3101. // uint32 wServerKind = 5;
  3102. case 5:
  3103. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
  3104. wserverkind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3105. CHK_(ptr);
  3106. } else goto handle_unusual;
  3107. continue;
  3108. // uint32 wServerType = 6;
  3109. case 6:
  3110. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
  3111. wservertype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3112. CHK_(ptr);
  3113. } else goto handle_unusual;
  3114. continue;
  3115. // uint32 wServerPort = 7;
  3116. case 7:
  3117. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
  3118. wserverport_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3119. CHK_(ptr);
  3120. } else goto handle_unusual;
  3121. continue;
  3122. // sint64 lCellScore = 8;
  3123. case 8:
  3124. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
  3125. lcellscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  3126. CHK_(ptr);
  3127. } else goto handle_unusual;
  3128. continue;
  3129. // sint64 lEnterScore = 9;
  3130. case 9:
  3131. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
  3132. lenterscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  3133. CHK_(ptr);
  3134. } else goto handle_unusual;
  3135. continue;
  3136. // sint64 dwServerRule = 10;
  3137. case 10:
  3138. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
  3139. dwserverrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  3140. CHK_(ptr);
  3141. } else goto handle_unusual;
  3142. continue;
  3143. // uint32 dwOnLineCount = 11;
  3144. case 11:
  3145. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
  3146. dwonlinecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3147. CHK_(ptr);
  3148. } else goto handle_unusual;
  3149. continue;
  3150. // uint32 wTableFullCount = 12;
  3151. case 12:
  3152. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
  3153. wtablefullcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3154. CHK_(ptr);
  3155. } else goto handle_unusual;
  3156. continue;
  3157. // uint32 wTableOnlineCount = 13;
  3158. case 13:
  3159. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
  3160. wtableonlinecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3161. CHK_(ptr);
  3162. } else goto handle_unusual;
  3163. continue;
  3164. // uint32 dwFullCount = 14;
  3165. case 14:
  3166. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
  3167. dwfullcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3168. CHK_(ptr);
  3169. } else goto handle_unusual;
  3170. continue;
  3171. // string szServerAddr = 15;
  3172. case 15:
  3173. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
  3174. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szserveraddr(), ptr, ctx, "LogonServer.PB_CS_S_tagGameServer.szServerAddr");
  3175. CHK_(ptr);
  3176. } else goto handle_unusual;
  3177. continue;
  3178. // string szServerName = 16;
  3179. case 16:
  3180. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
  3181. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szservername(), ptr, ctx, "LogonServer.PB_CS_S_tagGameServer.szServerName");
  3182. CHK_(ptr);
  3183. } else goto handle_unusual;
  3184. continue;
  3185. // sint64 dwLiveTime = 17;
  3186. case 17:
  3187. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
  3188. dwlivetime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
  3189. CHK_(ptr);
  3190. } else goto handle_unusual;
  3191. continue;
  3192. // uint32 wServerLevel = 18;
  3193. case 18:
  3194. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
  3195. wserverlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  3196. CHK_(ptr);
  3197. } else goto handle_unusual;
  3198. continue;
  3199. default: {
  3200. handle_unusual:
  3201. if ((tag & 7) == 4 || tag == 0) {
  3202. ctx->SetLastTag(tag);
  3203. goto success;
  3204. }
  3205. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  3206. CHK_(ptr != nullptr);
  3207. continue;
  3208. }
  3209. } // switch
  3210. } // while
  3211. success:
  3212. return ptr;
  3213. failure:
  3214. ptr = nullptr;
  3215. goto success;
  3216. #undef CHK_
  3217. }
  3218. ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_tagGameServer::InternalSerializeWithCachedSizesToArray(
  3219. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  3220. // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_tagGameServer)
  3221. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  3222. (void) cached_has_bits;
  3223. // uint32 wKindID = 1;
  3224. if (this->wkindid() != 0) {
  3225. target = stream->EnsureSpace(target);
  3226. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wkindid(), target);
  3227. }
  3228. // uint32 wNodeID = 2;
  3229. if (this->wnodeid() != 0) {
  3230. target = stream->EnsureSpace(target);
  3231. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wnodeid(), target);
  3232. }
  3233. // uint32 wSortID = 3;
  3234. if (this->wsortid() != 0) {
  3235. target = stream->EnsureSpace(target);
  3236. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wsortid(), target);
  3237. }
  3238. // uint32 wServerID = 4;
  3239. if (this->wserverid() != 0) {
  3240. target = stream->EnsureSpace(target);
  3241. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wserverid(), target);
  3242. }
  3243. // uint32 wServerKind = 5;
  3244. if (this->wserverkind() != 0) {
  3245. target = stream->EnsureSpace(target);
  3246. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wserverkind(), target);
  3247. }
  3248. // uint32 wServerType = 6;
  3249. if (this->wservertype() != 0) {
  3250. target = stream->EnsureSpace(target);
  3251. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_wservertype(), target);
  3252. }
  3253. // uint32 wServerPort = 7;
  3254. if (this->wserverport() != 0) {
  3255. target = stream->EnsureSpace(target);
  3256. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_wserverport(), target);
  3257. }
  3258. // sint64 lCellScore = 8;
  3259. if (this->lcellscore() != 0) {
  3260. target = stream->EnsureSpace(target);
  3261. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(8, this->_internal_lcellscore(), target);
  3262. }
  3263. // sint64 lEnterScore = 9;
  3264. if (this->lenterscore() != 0) {
  3265. target = stream->EnsureSpace(target);
  3266. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(9, this->_internal_lenterscore(), target);
  3267. }
  3268. // sint64 dwServerRule = 10;
  3269. if (this->dwserverrule() != 0) {
  3270. target = stream->EnsureSpace(target);
  3271. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(10, this->_internal_dwserverrule(), target);
  3272. }
  3273. // uint32 dwOnLineCount = 11;
  3274. if (this->dwonlinecount() != 0) {
  3275. target = stream->EnsureSpace(target);
  3276. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_dwonlinecount(), target);
  3277. }
  3278. // uint32 wTableFullCount = 12;
  3279. if (this->wtablefullcount() != 0) {
  3280. target = stream->EnsureSpace(target);
  3281. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_wtablefullcount(), target);
  3282. }
  3283. // uint32 wTableOnlineCount = 13;
  3284. if (this->wtableonlinecount() != 0) {
  3285. target = stream->EnsureSpace(target);
  3286. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(13, this->_internal_wtableonlinecount(), target);
  3287. }
  3288. // uint32 dwFullCount = 14;
  3289. if (this->dwfullcount() != 0) {
  3290. target = stream->EnsureSpace(target);
  3291. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_dwfullcount(), target);
  3292. }
  3293. // string szServerAddr = 15;
  3294. if (this->szserveraddr().size() > 0) {
  3295. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  3296. this->_internal_szserveraddr().data(), static_cast<int>(this->_internal_szserveraddr().length()),
  3297. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  3298. "LogonServer.PB_CS_S_tagGameServer.szServerAddr");
  3299. target = stream->WriteStringMaybeAliased(
  3300. 15, this->_internal_szserveraddr(), target);
  3301. }
  3302. // string szServerName = 16;
  3303. if (this->szservername().size() > 0) {
  3304. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  3305. this->_internal_szservername().data(), static_cast<int>(this->_internal_szservername().length()),
  3306. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  3307. "LogonServer.PB_CS_S_tagGameServer.szServerName");
  3308. target = stream->WriteStringMaybeAliased(
  3309. 16, this->_internal_szservername(), target);
  3310. }
  3311. // sint64 dwLiveTime = 17;
  3312. if (this->dwlivetime() != 0) {
  3313. target = stream->EnsureSpace(target);
  3314. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(17, this->_internal_dwlivetime(), target);
  3315. }
  3316. // uint32 wServerLevel = 18;
  3317. if (this->wserverlevel() != 0) {
  3318. target = stream->EnsureSpace(target);
  3319. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(18, this->_internal_wserverlevel(), target);
  3320. }
  3321. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3322. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  3323. _internal_metadata_.unknown_fields(), target, stream);
  3324. }
  3325. // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_tagGameServer)
  3326. return target;
  3327. }
  3328. size_t PB_CS_S_tagGameServer::ByteSizeLong() const {
  3329. // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_tagGameServer)
  3330. size_t total_size = 0;
  3331. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  3332. // Prevent compiler warnings about cached_has_bits being unused
  3333. (void) cached_has_bits;
  3334. // string szServerAddr = 15;
  3335. if (this->szserveraddr().size() > 0) {
  3336. total_size += 1 +
  3337. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  3338. this->_internal_szserveraddr());
  3339. }
  3340. // string szServerName = 16;
  3341. if (this->szservername().size() > 0) {
  3342. total_size += 2 +
  3343. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  3344. this->_internal_szservername());
  3345. }
  3346. // uint32 wKindID = 1;
  3347. if (this->wkindid() != 0) {
  3348. total_size += 1 +
  3349. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3350. this->_internal_wkindid());
  3351. }
  3352. // uint32 wNodeID = 2;
  3353. if (this->wnodeid() != 0) {
  3354. total_size += 1 +
  3355. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3356. this->_internal_wnodeid());
  3357. }
  3358. // uint32 wSortID = 3;
  3359. if (this->wsortid() != 0) {
  3360. total_size += 1 +
  3361. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3362. this->_internal_wsortid());
  3363. }
  3364. // uint32 wServerID = 4;
  3365. if (this->wserverid() != 0) {
  3366. total_size += 1 +
  3367. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3368. this->_internal_wserverid());
  3369. }
  3370. // uint32 wServerKind = 5;
  3371. if (this->wserverkind() != 0) {
  3372. total_size += 1 +
  3373. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3374. this->_internal_wserverkind());
  3375. }
  3376. // uint32 wServerType = 6;
  3377. if (this->wservertype() != 0) {
  3378. total_size += 1 +
  3379. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3380. this->_internal_wservertype());
  3381. }
  3382. // sint64 lCellScore = 8;
  3383. if (this->lcellscore() != 0) {
  3384. total_size += 1 +
  3385. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  3386. this->_internal_lcellscore());
  3387. }
  3388. // sint64 lEnterScore = 9;
  3389. if (this->lenterscore() != 0) {
  3390. total_size += 1 +
  3391. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  3392. this->_internal_lenterscore());
  3393. }
  3394. // uint32 wServerPort = 7;
  3395. if (this->wserverport() != 0) {
  3396. total_size += 1 +
  3397. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3398. this->_internal_wserverport());
  3399. }
  3400. // uint32 dwOnLineCount = 11;
  3401. if (this->dwonlinecount() != 0) {
  3402. total_size += 1 +
  3403. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3404. this->_internal_dwonlinecount());
  3405. }
  3406. // sint64 dwServerRule = 10;
  3407. if (this->dwserverrule() != 0) {
  3408. total_size += 1 +
  3409. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  3410. this->_internal_dwserverrule());
  3411. }
  3412. // uint32 wTableFullCount = 12;
  3413. if (this->wtablefullcount() != 0) {
  3414. total_size += 1 +
  3415. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3416. this->_internal_wtablefullcount());
  3417. }
  3418. // uint32 wTableOnlineCount = 13;
  3419. if (this->wtableonlinecount() != 0) {
  3420. total_size += 1 +
  3421. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3422. this->_internal_wtableonlinecount());
  3423. }
  3424. // uint32 dwFullCount = 14;
  3425. if (this->dwfullcount() != 0) {
  3426. total_size += 1 +
  3427. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3428. this->_internal_dwfullcount());
  3429. }
  3430. // uint32 wServerLevel = 18;
  3431. if (this->wserverlevel() != 0) {
  3432. total_size += 2 +
  3433. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
  3434. this->_internal_wserverlevel());
  3435. }
  3436. // sint64 dwLiveTime = 17;
  3437. if (this->dwlivetime() != 0) {
  3438. total_size += 2 +
  3439. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
  3440. this->_internal_dwlivetime());
  3441. }
  3442. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3443. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  3444. _internal_metadata_, total_size, &_cached_size_);
  3445. }
  3446. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  3447. SetCachedSize(cached_size);
  3448. return total_size;
  3449. }
  3450. void PB_CS_S_tagGameServer::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  3451. // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_tagGameServer)
  3452. GOOGLE_DCHECK_NE(&from, this);
  3453. const PB_CS_S_tagGameServer* source =
  3454. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_tagGameServer>(
  3455. &from);
  3456. if (source == nullptr) {
  3457. // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_tagGameServer)
  3458. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  3459. } else {
  3460. // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_tagGameServer)
  3461. MergeFrom(*source);
  3462. }
  3463. }
  3464. void PB_CS_S_tagGameServer::MergeFrom(const PB_CS_S_tagGameServer& from) {
  3465. // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_tagGameServer)
  3466. GOOGLE_DCHECK_NE(&from, this);
  3467. _internal_metadata_.MergeFrom(from._internal_metadata_);
  3468. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  3469. (void) cached_has_bits;
  3470. if (from.szserveraddr().size() > 0) {
  3471. szserveraddr_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szserveraddr_);
  3472. }
  3473. if (from.szservername().size() > 0) {
  3474. szservername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szservername_);
  3475. }
  3476. if (from.wkindid() != 0) {
  3477. _internal_set_wkindid(from._internal_wkindid());
  3478. }
  3479. if (from.wnodeid() != 0) {
  3480. _internal_set_wnodeid(from._internal_wnodeid());
  3481. }
  3482. if (from.wsortid() != 0) {
  3483. _internal_set_wsortid(from._internal_wsortid());
  3484. }
  3485. if (from.wserverid() != 0) {
  3486. _internal_set_wserverid(from._internal_wserverid());
  3487. }
  3488. if (from.wserverkind() != 0) {
  3489. _internal_set_wserverkind(from._internal_wserverkind());
  3490. }
  3491. if (from.wservertype() != 0) {
  3492. _internal_set_wservertype(from._internal_wservertype());
  3493. }
  3494. if (from.lcellscore() != 0) {
  3495. _internal_set_lcellscore(from._internal_lcellscore());
  3496. }
  3497. if (from.lenterscore() != 0) {
  3498. _internal_set_lenterscore(from._internal_lenterscore());
  3499. }
  3500. if (from.wserverport() != 0) {
  3501. _internal_set_wserverport(from._internal_wserverport());
  3502. }
  3503. if (from.dwonlinecount() != 0) {
  3504. _internal_set_dwonlinecount(from._internal_dwonlinecount());
  3505. }
  3506. if (from.dwserverrule() != 0) {
  3507. _internal_set_dwserverrule(from._internal_dwserverrule());
  3508. }
  3509. if (from.wtablefullcount() != 0) {
  3510. _internal_set_wtablefullcount(from._internal_wtablefullcount());
  3511. }
  3512. if (from.wtableonlinecount() != 0) {
  3513. _internal_set_wtableonlinecount(from._internal_wtableonlinecount());
  3514. }
  3515. if (from.dwfullcount() != 0) {
  3516. _internal_set_dwfullcount(from._internal_dwfullcount());
  3517. }
  3518. if (from.wserverlevel() != 0) {
  3519. _internal_set_wserverlevel(from._internal_wserverlevel());
  3520. }
  3521. if (from.dwlivetime() != 0) {
  3522. _internal_set_dwlivetime(from._internal_dwlivetime());
  3523. }
  3524. }
  3525. void PB_CS_S_tagGameServer::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  3526. // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_tagGameServer)
  3527. if (&from == this) return;
  3528. Clear();
  3529. MergeFrom(from);
  3530. }
  3531. void PB_CS_S_tagGameServer::CopyFrom(const PB_CS_S_tagGameServer& from) {
  3532. // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_tagGameServer)
  3533. if (&from == this) return;
  3534. Clear();
  3535. MergeFrom(from);
  3536. }
  3537. bool PB_CS_S_tagGameServer::IsInitialized() const {
  3538. return true;
  3539. }
  3540. void PB_CS_S_tagGameServer::InternalSwap(PB_CS_S_tagGameServer* other) {
  3541. using std::swap;
  3542. _internal_metadata_.Swap(&other->_internal_metadata_);
  3543. szserveraddr_.Swap(&other->szserveraddr_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  3544. GetArenaNoVirtual());
  3545. szservername_.Swap(&other->szservername_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  3546. GetArenaNoVirtual());
  3547. swap(wkindid_, other->wkindid_);
  3548. swap(wnodeid_, other->wnodeid_);
  3549. swap(wsortid_, other->wsortid_);
  3550. swap(wserverid_, other->wserverid_);
  3551. swap(wserverkind_, other->wserverkind_);
  3552. swap(wservertype_, other->wservertype_);
  3553. swap(lcellscore_, other->lcellscore_);
  3554. swap(lenterscore_, other->lenterscore_);
  3555. swap(wserverport_, other->wserverport_);
  3556. swap(dwonlinecount_, other->dwonlinecount_);
  3557. swap(dwserverrule_, other->dwserverrule_);
  3558. swap(wtablefullcount_, other->wtablefullcount_);
  3559. swap(wtableonlinecount_, other->wtableonlinecount_);
  3560. swap(dwfullcount_, other->dwfullcount_);
  3561. swap(wserverlevel_, other->wserverlevel_);
  3562. swap(dwlivetime_, other->dwlivetime_);
  3563. }
  3564. ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagGameServer::GetMetadata() const {
  3565. return GetMetadataStatic();
  3566. }
  3567. // @@protoc_insertion_point(namespace_scope)
  3568. } // namespace LogonServer
  3569. PROTOBUF_NAMESPACE_OPEN
  3570. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_LogonAccounts* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_LogonAccounts >(Arena* arena) {
  3571. return Arena::CreateInternal< ::LogonServer::PB_CS_C_LogonAccounts >(arena);
  3572. }
  3573. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_LogonSuccess* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_LogonSuccess >(Arena* arena) {
  3574. return Arena::CreateInternal< ::LogonServer::PB_CS_S_LogonSuccess >(arena);
  3575. }
  3576. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_LogonFailure* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_LogonFailure >(Arena* arena) {
  3577. return Arena::CreateInternal< ::LogonServer::PB_CS_S_LogonFailure >(arena);
  3578. }
  3579. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_LogonCheckVerifCode* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_LogonCheckVerifCode >(Arena* arena) {
  3580. return Arena::CreateInternal< ::LogonServer::PB_CS_C_LogonCheckVerifCode >(arena);
  3581. }
  3582. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_LogonCheckVerifCode* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_LogonCheckVerifCode >(Arena* arena) {
  3583. return Arena::CreateInternal< ::LogonServer::PB_CS_S_LogonCheckVerifCode >(arena);
  3584. }
  3585. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_RegisterAccounts* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_RegisterAccounts >(Arena* arena) {
  3586. return Arena::CreateInternal< ::LogonServer::PB_CS_C_RegisterAccounts >(arena);
  3587. }
  3588. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_LogonOtherPlatformEx* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_LogonOtherPlatformEx >(Arena* arena) {
  3589. return Arena::CreateInternal< ::LogonServer::PB_CS_C_LogonOtherPlatformEx >(arena);
  3590. }
  3591. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_UserServerID* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_UserServerID >(Arena* arena) {
  3592. return Arena::CreateInternal< ::LogonServer::PB_CS_S_UserServerID >(arena);
  3593. }
  3594. template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_tagGameServer* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_tagGameServer >(Arena* arena) {
  3595. return Arena::CreateInternal< ::LogonServer::PB_CS_S_tagGameServer >(arena);
  3596. }
  3597. PROTOBUF_NAMESPACE_CLOSE
  3598. // @@protoc_insertion_point(global_scope)
  3599. #include <google/protobuf/port_undef.inc>