|
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: Pb_LogonServer.proto
-
- #include "Pb_LogonServer.pb.h"
-
- #include <algorithm>
-
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/extension_set.h>
- #include <google/protobuf/wire_format_lite.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- namespace LogonServer {
- class PB_CS_C_LogonAccountsDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_LogonAccounts> _instance;
- } _PB_CS_C_LogonAccounts_default_instance_;
- class PB_CS_S_LogonSuccessDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_LogonSuccess> _instance;
- } _PB_CS_S_LogonSuccess_default_instance_;
- class PB_CS_S_LogonFailureDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_LogonFailure> _instance;
- } _PB_CS_S_LogonFailure_default_instance_;
- class PB_CS_C_LogonCheckVerifCodeDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_LogonCheckVerifCode> _instance;
- } _PB_CS_C_LogonCheckVerifCode_default_instance_;
- class PB_CS_S_LogonCheckVerifCodeDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_LogonCheckVerifCode> _instance;
- } _PB_CS_S_LogonCheckVerifCode_default_instance_;
- class PB_CS_C_RegisterAccountsDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_RegisterAccounts> _instance;
- } _PB_CS_C_RegisterAccounts_default_instance_;
- class PB_CS_C_LogonOtherPlatformExDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_C_LogonOtherPlatformEx> _instance;
- } _PB_CS_C_LogonOtherPlatformEx_default_instance_;
- class PB_CS_S_UserServerIDDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_UserServerID> _instance;
- } _PB_CS_S_UserServerID_default_instance_;
- class PB_CS_S_tagGameServerDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PB_CS_S_tagGameServer> _instance;
- } _PB_CS_S_tagGameServer_default_instance_;
- } // namespace LogonServer
- static void InitDefaultsscc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_C_LogonAccounts_default_instance_;
- new (ptr) ::LogonServer::PB_CS_C_LogonAccounts();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_C_LogonAccounts::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_C_LogonCheckVerifCode_default_instance_;
- new (ptr) ::LogonServer::PB_CS_C_LogonCheckVerifCode();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_C_LogonCheckVerifCode::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_C_LogonOtherPlatformEx_default_instance_;
- new (ptr) ::LogonServer::PB_CS_C_LogonOtherPlatformEx();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_C_LogonOtherPlatformEx::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_C_RegisterAccounts_default_instance_;
- new (ptr) ::LogonServer::PB_CS_C_RegisterAccounts();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_C_RegisterAccounts::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_S_LogonCheckVerifCode_default_instance_;
- new (ptr) ::LogonServer::PB_CS_S_LogonCheckVerifCode();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_S_LogonCheckVerifCode::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_S_LogonFailure_default_instance_;
- new (ptr) ::LogonServer::PB_CS_S_LogonFailure();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_S_LogonFailure::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_S_LogonSuccess_default_instance_;
- new (ptr) ::LogonServer::PB_CS_S_LogonSuccess();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_S_LogonSuccess::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_S_UserServerID_default_instance_;
- new (ptr) ::LogonServer::PB_CS_S_UserServerID();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_S_UserServerID::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto}, {}};
-
- static void InitDefaultsscc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
-
- {
- void* ptr = &::LogonServer::_PB_CS_S_tagGameServer_default_instance_;
- new (ptr) ::LogonServer::PB_CS_S_tagGameServer();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::LogonServer::PB_CS_S_tagGameServer::InitAsDefaultInstance();
- }
-
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto}, {}};
-
- static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Pb_5fLogonServer_2eproto[9];
- static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_Pb_5fLogonServer_2eproto = nullptr;
- static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Pb_5fLogonServer_2eproto = nullptr;
-
- const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Pb_5fLogonServer_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, wmoduleid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, dwplazaversion_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, cbdevicetype_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, blogontype_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szaccounts_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szpassword_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szmachineid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonAccounts, szuseruin_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwcustomid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwuserid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwgameid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwexperience_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, dwloveliness_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, luserscore_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, luseringot_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, luserinsure_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, duserbeans_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, wfaceid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, cbgender_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, cbinsureenabled_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, sznickname_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, szdynamicpass_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonSuccess, bingding_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonFailure, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonFailure, lresultcode_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonFailure, szdescribestring_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonCheckVerifCode, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonCheckVerifCode, bresult_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonCheckVerifCode, phonenum_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, bresult_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, phonenum_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_LogonCheckVerifCode, strerrordescribe_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, wmoduleid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, dwplazaversion_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, cbdevicetype_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szlogonpass_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, wfaceid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, cbgender_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szaccounts_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, sznickname_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szmachineid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_RegisterAccounts, szmobilephone_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, wmoduleid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, dwplazaversion_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, cbdevicetype_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, cbgender_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, cbplatformid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szuseruin_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, sznickname_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szcompellation_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szmachineid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szmobilephone_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, szheadurl_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, x_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, y_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, issimulator_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, networktype_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_C_LogonOtherPlatformEx, dianliang_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_UserServerID, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_UserServerID, wserverid_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wkindid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wnodeid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wsortid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverid_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverkind_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wservertype_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverport_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, lcellscore_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, lenterscore_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwserverrule_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwonlinecount_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wtablefullcount_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wtableonlinecount_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwfullcount_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, szserveraddr_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, szservername_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, dwlivetime_),
- PROTOBUF_FIELD_OFFSET(::LogonServer::PB_CS_S_tagGameServer, wserverlevel_),
- };
- static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, sizeof(::LogonServer::PB_CS_C_LogonAccounts)},
- { 13, -1, sizeof(::LogonServer::PB_CS_S_LogonSuccess)},
- { 33, -1, sizeof(::LogonServer::PB_CS_S_LogonFailure)},
- { 40, -1, sizeof(::LogonServer::PB_CS_C_LogonCheckVerifCode)},
- { 47, -1, sizeof(::LogonServer::PB_CS_S_LogonCheckVerifCode)},
- { 55, -1, sizeof(::LogonServer::PB_CS_C_RegisterAccounts)},
- { 70, -1, sizeof(::LogonServer::PB_CS_C_LogonOtherPlatformEx)},
- { 91, -1, sizeof(::LogonServer::PB_CS_S_UserServerID)},
- { 97, -1, sizeof(::LogonServer::PB_CS_S_tagGameServer)},
- };
-
- static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_LogonAccounts_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_LogonSuccess_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_LogonFailure_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_LogonCheckVerifCode_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_LogonCheckVerifCode_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_RegisterAccounts_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_C_LogonOtherPlatformEx_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_UserServerID_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::LogonServer::_PB_CS_S_tagGameServer_default_instance_),
- };
-
- const char descriptor_table_protodef_Pb_5fLogonServer_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
- "\n\024Pb_LogonServer.proto\022\013LogonServer\"\274\001\n\025"
- "PB_CS_C_LogonAccounts\022\021\n\twModuleID\030\001 \001(\r"
- "\022\026\n\016dwPlazaVersion\030\002 \001(\r\022\024\n\014cbDeviceType"
- "\030\003 \001(\r\022\022\n\nbLogonType\030\004 \001(\r\022\022\n\nszAccounts"
- "\030\005 \001(\t\022\022\n\nszPassword\030\006 \001(\t\022\023\n\013szMachineI"
- "D\030\007 \001(\t\022\021\n\tszUserUin\030\010 \001(\t\"\304\002\n\024PB_CS_S_L"
- "ogonSuccess\022\022\n\ndwCustomID\030\001 \001(\r\022\020\n\010dwUse"
- "rID\030\002 \001(\r\022\020\n\010dwGameID\030\003 \001(\r\022\024\n\014dwExperie"
- "nce\030\004 \001(\r\022\024\n\014dwLoveLiness\030\005 \001(\r\022\022\n\nlUser"
- "Score\030\006 \001(\021\022\022\n\nlUserIngot\030\007 \001(\021\022\023\n\013lUser"
- "Insure\030\010 \001(\021\022\022\n\ndUserBeans\030\t \001(\021\022\017\n\007wFac"
- "eID\030\n \001(\r\022\020\n\010cbGender\030\013 \001(\r\022\027\n\017cbInsureE"
- "nabled\030\014 \001(\r\022\022\n\nszNickName\030\r \001(\t\022\025\n\rszDy"
- "namicPass\030\016 \001(\t\022\020\n\010BingDing\030\017 \001(\r\"E\n\024PB_"
- "CS_S_LogonFailure\022\023\n\013lResultCode\030\001 \001(\022\022\030"
- "\n\020szDescribeString\030\002 \001(\t\"@\n\033PB_CS_C_Logo"
- "nCheckVerifCode\022\017\n\007bResult\030\001 \001(\r\022\020\n\010Phon"
- "eNum\030\002 \001(\t\"Z\n\033PB_CS_S_LogonCheckVerifCod"
- "e\022\017\n\007bResult\030\001 \001(\r\022\020\n\010PhoneNum\030\002 \001(\t\022\030\n\020"
- "strErrorDescribe\030\003 \001(\t\"\347\001\n\030PB_CS_C_Regis"
- "terAccounts\022\021\n\twModuleID\030\001 \001(\r\022\026\n\016dwPlaz"
- "aVersion\030\002 \001(\r\022\024\n\014cbDeviceType\030\003 \001(\r\022\023\n\013"
- "szLogonPass\030\004 \001(\t\022\017\n\007wFaceID\030\005 \001(\r\022\020\n\010cb"
- "Gender\030\006 \001(\r\022\022\n\nszAccounts\030\007 \001(\t\022\022\n\nszNi"
- "ckName\030\010 \001(\t\022\023\n\013szMachineID\030\t \001(\t\022\025\n\rszM"
- "obilePhone\030\n \001(\t\"\330\002\n\034PB_CS_C_LogonOtherP"
- "latformEx\022\021\n\twModuleID\030\001 \001(\r\022\026\n\016dwPlazaV"
- "ersion\030\002 \001(\r\022\024\n\014cbDeviceType\030\003 \001(\r\022\020\n\010cb"
- "Gender\030\004 \001(\r\022\024\n\014cbPlatformID\030\005 \001(\r\022\021\n\tsz"
- "UserUin\030\006 \001(\t\022\022\n\nszNickName\030\007 \001(\t\022\026\n\016szC"
- "ompellation\030\010 \001(\t\022\023\n\013szMachineID\030\t \001(\t\022\025"
- "\n\rszMobilePhone\030\n \001(\t\022\021\n\tszHeadUrl\030\013 \001(\t"
- "\022\t\n\001x\030\014 \001(\022\022\t\n\001y\030\r \001(\022\022\023\n\013isSimulator\030\016 "
- "\001(\r\022\023\n\013networkType\030\017 \001(\r\022\021\n\tdianliang\030\020 "
- "\001(\r\")\n\024PB_CS_S_UserServerID\022\021\n\twServerID"
- "\030\001 \001(\r\"\221\003\n\025PB_CS_S_tagGameServer\022\017\n\007wKin"
- "dID\030\001 \001(\r\022\017\n\007wNodeID\030\002 \001(\r\022\017\n\007wSortID\030\003 "
- "\001(\r\022\021\n\twServerID\030\004 \001(\r\022\023\n\013wServerKind\030\005 "
- "\001(\r\022\023\n\013wServerType\030\006 \001(\r\022\023\n\013wServerPort\030"
- "\007 \001(\r\022\022\n\nlCellScore\030\010 \001(\022\022\023\n\013lEnterScore"
- "\030\t \001(\022\022\024\n\014dwServerRule\030\n \001(\022\022\025\n\rdwOnLine"
- "Count\030\013 \001(\r\022\027\n\017wTableFullCount\030\014 \001(\r\022\031\n\021"
- "wTableOnlineCount\030\r \001(\r\022\023\n\013dwFullCount\030\016"
- " \001(\r\022\024\n\014szServerAddr\030\017 \001(\t\022\024\n\014szServerNa"
- "me\030\020 \001(\t\022\022\n\ndwLiveTime\030\021 \001(\022\022\024\n\014wServerL"
- "evel\030\022 \001(\rb\006proto3"
- ;
- static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Pb_5fLogonServer_2eproto_deps[1] = {
- };
- static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Pb_5fLogonServer_2eproto_sccs[9] = {
- &scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto.base,
- &scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto.base,
- };
- static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Pb_5fLogonServer_2eproto_once;
- static bool descriptor_table_Pb_5fLogonServer_2eproto_initialized = false;
- const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Pb_5fLogonServer_2eproto = {
- &descriptor_table_Pb_5fLogonServer_2eproto_initialized, descriptor_table_protodef_Pb_5fLogonServer_2eproto, "Pb_LogonServer.proto", 1818,
- &descriptor_table_Pb_5fLogonServer_2eproto_once, descriptor_table_Pb_5fLogonServer_2eproto_sccs, descriptor_table_Pb_5fLogonServer_2eproto_deps, 9, 0,
- schemas, file_default_instances, TableStruct_Pb_5fLogonServer_2eproto::offsets,
- file_level_metadata_Pb_5fLogonServer_2eproto, 9, file_level_enum_descriptors_Pb_5fLogonServer_2eproto, file_level_service_descriptors_Pb_5fLogonServer_2eproto,
- };
-
- // Force running AddDescriptors() at dynamic initialization time.
- static bool dynamic_init_dummy_Pb_5fLogonServer_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Pb_5fLogonServer_2eproto), true);
- namespace LogonServer {
-
- // ===================================================================
-
- void PB_CS_C_LogonAccounts::InitAsDefaultInstance() {
- }
- class PB_CS_C_LogonAccounts::_Internal {
- public:
- };
-
- PB_CS_C_LogonAccounts::PB_CS_C_LogonAccounts()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_LogonAccounts)
- }
- PB_CS_C_LogonAccounts::PB_CS_C_LogonAccounts(const PB_CS_C_LogonAccounts& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szaccounts().empty()) {
- szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
- }
- szpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szpassword().empty()) {
- szpassword_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szpassword_);
- }
- szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szmachineid().empty()) {
- szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
- }
- szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szuseruin().empty()) {
- szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
- }
- ::memcpy(&wmoduleid_, &from.wmoduleid_,
- static_cast<size_t>(reinterpret_cast<char*>(&blogontype_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(blogontype_));
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_LogonAccounts)
- }
-
- void PB_CS_C_LogonAccounts::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto.base);
- szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wmoduleid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&blogontype_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(blogontype_));
- }
-
- PB_CS_C_LogonAccounts::~PB_CS_C_LogonAccounts() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_LogonAccounts)
- SharedDtor();
- }
-
- void PB_CS_C_LogonAccounts::SharedDtor() {
- szaccounts_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szpassword_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szuseruin_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_C_LogonAccounts::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_C_LogonAccounts& PB_CS_C_LogonAccounts::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonAccounts_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_C_LogonAccounts::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_LogonAccounts)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- szaccounts_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szpassword_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szuseruin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wmoduleid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&blogontype_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(blogontype_));
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_C_LogonAccounts::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 wModuleID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- wmoduleid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwPlazaVersion = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- dwplazaversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbDeviceType = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- cbdevicetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 bLogonType = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- blogontype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szAccounts = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaccounts(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szAccounts");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szPassword = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szpassword(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szPassword");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szMachineID = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szMachineID");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szUserUin = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szuseruin(), ptr, ctx, "LogonServer.PB_CS_C_LogonAccounts.szUserUin");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_LogonAccounts::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_LogonAccounts)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 wModuleID = 1;
- if (this->wmoduleid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wmoduleid(), target);
- }
-
- // uint32 dwPlazaVersion = 2;
- if (this->dwplazaversion() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwplazaversion(), target);
- }
-
- // uint32 cbDeviceType = 3;
- if (this->cbdevicetype() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbdevicetype(), target);
- }
-
- // uint32 bLogonType = 4;
- if (this->blogontype() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_blogontype(), target);
- }
-
- // string szAccounts = 5;
- if (this->szaccounts().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szaccounts().data(), static_cast<int>(this->_internal_szaccounts().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonAccounts.szAccounts");
- target = stream->WriteStringMaybeAliased(
- 5, this->_internal_szaccounts(), target);
- }
-
- // string szPassword = 6;
- if (this->szpassword().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szpassword().data(), static_cast<int>(this->_internal_szpassword().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonAccounts.szPassword");
- target = stream->WriteStringMaybeAliased(
- 6, this->_internal_szpassword(), target);
- }
-
- // string szMachineID = 7;
- if (this->szmachineid().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szmachineid().data(), static_cast<int>(this->_internal_szmachineid().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonAccounts.szMachineID");
- target = stream->WriteStringMaybeAliased(
- 7, this->_internal_szmachineid(), target);
- }
-
- // string szUserUin = 8;
- if (this->szuseruin().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szuseruin().data(), static_cast<int>(this->_internal_szuseruin().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonAccounts.szUserUin");
- target = stream->WriteStringMaybeAliased(
- 8, this->_internal_szuseruin(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_LogonAccounts)
- return target;
- }
-
- size_t PB_CS_C_LogonAccounts::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_LogonAccounts)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string szAccounts = 5;
- if (this->szaccounts().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szaccounts());
- }
-
- // string szPassword = 6;
- if (this->szpassword().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szpassword());
- }
-
- // string szMachineID = 7;
- if (this->szmachineid().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szmachineid());
- }
-
- // string szUserUin = 8;
- if (this->szuseruin().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szuseruin());
- }
-
- // uint32 wModuleID = 1;
- if (this->wmoduleid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wmoduleid());
- }
-
- // uint32 dwPlazaVersion = 2;
- if (this->dwplazaversion() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwplazaversion());
- }
-
- // uint32 cbDeviceType = 3;
- if (this->cbdevicetype() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbdevicetype());
- }
-
- // uint32 bLogonType = 4;
- if (this->blogontype() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_blogontype());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_C_LogonAccounts::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_LogonAccounts)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_C_LogonAccounts* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_LogonAccounts>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_LogonAccounts)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_LogonAccounts)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_C_LogonAccounts::MergeFrom(const PB_CS_C_LogonAccounts& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_LogonAccounts)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.szaccounts().size() > 0) {
-
- szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
- }
- if (from.szpassword().size() > 0) {
-
- szpassword_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szpassword_);
- }
- if (from.szmachineid().size() > 0) {
-
- szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
- }
- if (from.szuseruin().size() > 0) {
-
- szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
- }
- if (from.wmoduleid() != 0) {
- _internal_set_wmoduleid(from._internal_wmoduleid());
- }
- if (from.dwplazaversion() != 0) {
- _internal_set_dwplazaversion(from._internal_dwplazaversion());
- }
- if (from.cbdevicetype() != 0) {
- _internal_set_cbdevicetype(from._internal_cbdevicetype());
- }
- if (from.blogontype() != 0) {
- _internal_set_blogontype(from._internal_blogontype());
- }
- }
-
- void PB_CS_C_LogonAccounts::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_LogonAccounts)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_C_LogonAccounts::CopyFrom(const PB_CS_C_LogonAccounts& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_LogonAccounts)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_C_LogonAccounts::IsInitialized() const {
- return true;
- }
-
- void PB_CS_C_LogonAccounts::InternalSwap(PB_CS_C_LogonAccounts* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- szaccounts_.Swap(&other->szaccounts_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szpassword_.Swap(&other->szpassword_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szuseruin_.Swap(&other->szuseruin_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(wmoduleid_, other->wmoduleid_);
- swap(dwplazaversion_, other->dwplazaversion_);
- swap(cbdevicetype_, other->cbdevicetype_);
- swap(blogontype_, other->blogontype_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonAccounts::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_S_LogonSuccess::InitAsDefaultInstance() {
- }
- class PB_CS_S_LogonSuccess::_Internal {
- public:
- };
-
- PB_CS_S_LogonSuccess::PB_CS_S_LogonSuccess()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_LogonSuccess)
- }
- PB_CS_S_LogonSuccess::PB_CS_S_LogonSuccess(const PB_CS_S_LogonSuccess& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_sznickname().empty()) {
- sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
- }
- szdynamicpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szdynamicpass().empty()) {
- szdynamicpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdynamicpass_);
- }
- ::memcpy(&dwcustomid_, &from.dwcustomid_,
- static_cast<size_t>(reinterpret_cast<char*>(&bingding_) -
- reinterpret_cast<char*>(&dwcustomid_)) + sizeof(bingding_));
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_LogonSuccess)
- }
-
- void PB_CS_S_LogonSuccess::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto.base);
- sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szdynamicpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&dwcustomid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&bingding_) -
- reinterpret_cast<char*>(&dwcustomid_)) + sizeof(bingding_));
- }
-
- PB_CS_S_LogonSuccess::~PB_CS_S_LogonSuccess() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_LogonSuccess)
- SharedDtor();
- }
-
- void PB_CS_S_LogonSuccess::SharedDtor() {
- sznickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szdynamicpass_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_S_LogonSuccess::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_S_LogonSuccess& PB_CS_S_LogonSuccess::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_LogonSuccess_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_S_LogonSuccess::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_LogonSuccess)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- sznickname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szdynamicpass_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&dwcustomid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&bingding_) -
- reinterpret_cast<char*>(&dwcustomid_)) + sizeof(bingding_));
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_S_LogonSuccess::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 dwCustomID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- dwcustomid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwUserID = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- dwuserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwGameID = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- dwgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwExperience = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- dwexperience_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwLoveLiness = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- dwloveliness_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint32 lUserScore = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
- luserscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint32 lUserIngot = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
- luseringot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint32 lUserInsure = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
- luserinsure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint32 dUserBeans = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
- duserbeans_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wFaceID = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- wfaceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbGender = 11;
- case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
- cbgender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbInsureEnabled = 12;
- case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
- cbinsureenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szNickName = 13;
- case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sznickname(), ptr, ctx, "LogonServer.PB_CS_S_LogonSuccess.szNickName");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szDynamicPass = 14;
- case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdynamicpass(), ptr, ctx, "LogonServer.PB_CS_S_LogonSuccess.szDynamicPass");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 BingDing = 15;
- case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
- bingding_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_LogonSuccess::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_LogonSuccess)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 dwCustomID = 1;
- if (this->dwcustomid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dwcustomid(), target);
- }
-
- // uint32 dwUserID = 2;
- if (this->dwuserid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwuserid(), target);
- }
-
- // uint32 dwGameID = 3;
- if (this->dwgameid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_dwgameid(), target);
- }
-
- // uint32 dwExperience = 4;
- if (this->dwexperience() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_dwexperience(), target);
- }
-
- // uint32 dwLoveLiness = 5;
- if (this->dwloveliness() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_dwloveliness(), target);
- }
-
- // sint32 lUserScore = 6;
- if (this->luserscore() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(6, this->_internal_luserscore(), target);
- }
-
- // sint32 lUserIngot = 7;
- if (this->luseringot() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(7, this->_internal_luseringot(), target);
- }
-
- // sint32 lUserInsure = 8;
- if (this->luserinsure() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(8, this->_internal_luserinsure(), target);
- }
-
- // sint32 dUserBeans = 9;
- if (this->duserbeans() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt32ToArray(9, this->_internal_duserbeans(), target);
- }
-
- // uint32 wFaceID = 10;
- if (this->wfaceid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_wfaceid(), target);
- }
-
- // uint32 cbGender = 11;
- if (this->cbgender() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_cbgender(), target);
- }
-
- // uint32 cbInsureEnabled = 12;
- if (this->cbinsureenabled() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_cbinsureenabled(), target);
- }
-
- // string szNickName = 13;
- if (this->sznickname().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_sznickname().data(), static_cast<int>(this->_internal_sznickname().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_LogonSuccess.szNickName");
- target = stream->WriteStringMaybeAliased(
- 13, this->_internal_sznickname(), target);
- }
-
- // string szDynamicPass = 14;
- if (this->szdynamicpass().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szdynamicpass().data(), static_cast<int>(this->_internal_szdynamicpass().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_LogonSuccess.szDynamicPass");
- target = stream->WriteStringMaybeAliased(
- 14, this->_internal_szdynamicpass(), target);
- }
-
- // uint32 BingDing = 15;
- if (this->bingding() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(15, this->_internal_bingding(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_LogonSuccess)
- return target;
- }
-
- size_t PB_CS_S_LogonSuccess::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_LogonSuccess)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string szNickName = 13;
- if (this->sznickname().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_sznickname());
- }
-
- // string szDynamicPass = 14;
- if (this->szdynamicpass().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szdynamicpass());
- }
-
- // uint32 dwCustomID = 1;
- if (this->dwcustomid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwcustomid());
- }
-
- // uint32 dwUserID = 2;
- if (this->dwuserid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwuserid());
- }
-
- // uint32 dwGameID = 3;
- if (this->dwgameid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwgameid());
- }
-
- // uint32 dwExperience = 4;
- if (this->dwexperience() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwexperience());
- }
-
- // uint32 dwLoveLiness = 5;
- if (this->dwloveliness() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwloveliness());
- }
-
- // sint32 lUserScore = 6;
- if (this->luserscore() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
- this->_internal_luserscore());
- }
-
- // sint32 lUserIngot = 7;
- if (this->luseringot() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
- this->_internal_luseringot());
- }
-
- // sint32 lUserInsure = 8;
- if (this->luserinsure() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
- this->_internal_luserinsure());
- }
-
- // sint32 dUserBeans = 9;
- if (this->duserbeans() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt32Size(
- this->_internal_duserbeans());
- }
-
- // uint32 wFaceID = 10;
- if (this->wfaceid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wfaceid());
- }
-
- // uint32 cbGender = 11;
- if (this->cbgender() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbgender());
- }
-
- // uint32 cbInsureEnabled = 12;
- if (this->cbinsureenabled() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbinsureenabled());
- }
-
- // uint32 BingDing = 15;
- if (this->bingding() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_bingding());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_S_LogonSuccess::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_LogonSuccess)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_S_LogonSuccess* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_LogonSuccess>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_LogonSuccess)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_LogonSuccess)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_S_LogonSuccess::MergeFrom(const PB_CS_S_LogonSuccess& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_LogonSuccess)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.sznickname().size() > 0) {
-
- sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
- }
- if (from.szdynamicpass().size() > 0) {
-
- szdynamicpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdynamicpass_);
- }
- if (from.dwcustomid() != 0) {
- _internal_set_dwcustomid(from._internal_dwcustomid());
- }
- if (from.dwuserid() != 0) {
- _internal_set_dwuserid(from._internal_dwuserid());
- }
- if (from.dwgameid() != 0) {
- _internal_set_dwgameid(from._internal_dwgameid());
- }
- if (from.dwexperience() != 0) {
- _internal_set_dwexperience(from._internal_dwexperience());
- }
- if (from.dwloveliness() != 0) {
- _internal_set_dwloveliness(from._internal_dwloveliness());
- }
- if (from.luserscore() != 0) {
- _internal_set_luserscore(from._internal_luserscore());
- }
- if (from.luseringot() != 0) {
- _internal_set_luseringot(from._internal_luseringot());
- }
- if (from.luserinsure() != 0) {
- _internal_set_luserinsure(from._internal_luserinsure());
- }
- if (from.duserbeans() != 0) {
- _internal_set_duserbeans(from._internal_duserbeans());
- }
- if (from.wfaceid() != 0) {
- _internal_set_wfaceid(from._internal_wfaceid());
- }
- if (from.cbgender() != 0) {
- _internal_set_cbgender(from._internal_cbgender());
- }
- if (from.cbinsureenabled() != 0) {
- _internal_set_cbinsureenabled(from._internal_cbinsureenabled());
- }
- if (from.bingding() != 0) {
- _internal_set_bingding(from._internal_bingding());
- }
- }
-
- void PB_CS_S_LogonSuccess::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_LogonSuccess)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_S_LogonSuccess::CopyFrom(const PB_CS_S_LogonSuccess& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_LogonSuccess)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_S_LogonSuccess::IsInitialized() const {
- return true;
- }
-
- void PB_CS_S_LogonSuccess::InternalSwap(PB_CS_S_LogonSuccess* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- sznickname_.Swap(&other->sznickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szdynamicpass_.Swap(&other->szdynamicpass_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(dwcustomid_, other->dwcustomid_);
- swap(dwuserid_, other->dwuserid_);
- swap(dwgameid_, other->dwgameid_);
- swap(dwexperience_, other->dwexperience_);
- swap(dwloveliness_, other->dwloveliness_);
- swap(luserscore_, other->luserscore_);
- swap(luseringot_, other->luseringot_);
- swap(luserinsure_, other->luserinsure_);
- swap(duserbeans_, other->duserbeans_);
- swap(wfaceid_, other->wfaceid_);
- swap(cbgender_, other->cbgender_);
- swap(cbinsureenabled_, other->cbinsureenabled_);
- swap(bingding_, other->bingding_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonSuccess::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_S_LogonFailure::InitAsDefaultInstance() {
- }
- class PB_CS_S_LogonFailure::_Internal {
- public:
- };
-
- PB_CS_S_LogonFailure::PB_CS_S_LogonFailure()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_LogonFailure)
- }
- PB_CS_S_LogonFailure::PB_CS_S_LogonFailure(const PB_CS_S_LogonFailure& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- szdescribestring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szdescribestring().empty()) {
- szdescribestring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdescribestring_);
- }
- lresultcode_ = from.lresultcode_;
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_LogonFailure)
- }
-
- void PB_CS_S_LogonFailure::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto.base);
- szdescribestring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- lresultcode_ = PROTOBUF_LONGLONG(0);
- }
-
- PB_CS_S_LogonFailure::~PB_CS_S_LogonFailure() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_LogonFailure)
- SharedDtor();
- }
-
- void PB_CS_S_LogonFailure::SharedDtor() {
- szdescribestring_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_S_LogonFailure::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_S_LogonFailure& PB_CS_S_LogonFailure::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_LogonFailure_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_S_LogonFailure::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_LogonFailure)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- szdescribestring_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- lresultcode_ = PROTOBUF_LONGLONG(0);
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_S_LogonFailure::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // sint64 lResultCode = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- lresultcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szDescribeString = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdescribestring(), ptr, ctx, "LogonServer.PB_CS_S_LogonFailure.szDescribeString");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_LogonFailure::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_LogonFailure)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // sint64 lResultCode = 1;
- if (this->lresultcode() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(1, this->_internal_lresultcode(), target);
- }
-
- // string szDescribeString = 2;
- if (this->szdescribestring().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szdescribestring().data(), static_cast<int>(this->_internal_szdescribestring().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_LogonFailure.szDescribeString");
- target = stream->WriteStringMaybeAliased(
- 2, this->_internal_szdescribestring(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_LogonFailure)
- return target;
- }
-
- size_t PB_CS_S_LogonFailure::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_LogonFailure)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string szDescribeString = 2;
- if (this->szdescribestring().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szdescribestring());
- }
-
- // sint64 lResultCode = 1;
- if (this->lresultcode() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_lresultcode());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_S_LogonFailure::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_LogonFailure)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_S_LogonFailure* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_LogonFailure>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_LogonFailure)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_LogonFailure)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_S_LogonFailure::MergeFrom(const PB_CS_S_LogonFailure& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_LogonFailure)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.szdescribestring().size() > 0) {
-
- szdescribestring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdescribestring_);
- }
- if (from.lresultcode() != 0) {
- _internal_set_lresultcode(from._internal_lresultcode());
- }
- }
-
- void PB_CS_S_LogonFailure::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_LogonFailure)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_S_LogonFailure::CopyFrom(const PB_CS_S_LogonFailure& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_LogonFailure)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_S_LogonFailure::IsInitialized() const {
- return true;
- }
-
- void PB_CS_S_LogonFailure::InternalSwap(PB_CS_S_LogonFailure* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- szdescribestring_.Swap(&other->szdescribestring_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(lresultcode_, other->lresultcode_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonFailure::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_C_LogonCheckVerifCode::InitAsDefaultInstance() {
- }
- class PB_CS_C_LogonCheckVerifCode::_Internal {
- public:
- };
-
- PB_CS_C_LogonCheckVerifCode::PB_CS_C_LogonCheckVerifCode()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_LogonCheckVerifCode)
- }
- PB_CS_C_LogonCheckVerifCode::PB_CS_C_LogonCheckVerifCode(const PB_CS_C_LogonCheckVerifCode& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_phonenum().empty()) {
- phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
- }
- bresult_ = from.bresult_;
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_LogonCheckVerifCode)
- }
-
- void PB_CS_C_LogonCheckVerifCode::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
- phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- bresult_ = 0u;
- }
-
- PB_CS_C_LogonCheckVerifCode::~PB_CS_C_LogonCheckVerifCode() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_LogonCheckVerifCode)
- SharedDtor();
- }
-
- void PB_CS_C_LogonCheckVerifCode::SharedDtor() {
- phonenum_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_C_LogonCheckVerifCode::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_C_LogonCheckVerifCode& PB_CS_C_LogonCheckVerifCode::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_C_LogonCheckVerifCode::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- phonenum_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- bresult_ = 0u;
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_C_LogonCheckVerifCode::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 bResult = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- bresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string PhoneNum = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_phonenum(), ptr, ctx, "LogonServer.PB_CS_C_LogonCheckVerifCode.PhoneNum");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_LogonCheckVerifCode::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 bResult = 1;
- if (this->bresult() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_bresult(), target);
- }
-
- // string PhoneNum = 2;
- if (this->phonenum().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_phonenum().data(), static_cast<int>(this->_internal_phonenum().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonCheckVerifCode.PhoneNum");
- target = stream->WriteStringMaybeAliased(
- 2, this->_internal_phonenum(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_LogonCheckVerifCode)
- return target;
- }
-
- size_t PB_CS_C_LogonCheckVerifCode::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string PhoneNum = 2;
- if (this->phonenum().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_phonenum());
- }
-
- // uint32 bResult = 1;
- if (this->bresult() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_bresult());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_C_LogonCheckVerifCode::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_C_LogonCheckVerifCode* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_LogonCheckVerifCode>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_LogonCheckVerifCode)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_LogonCheckVerifCode)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_C_LogonCheckVerifCode::MergeFrom(const PB_CS_C_LogonCheckVerifCode& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.phonenum().size() > 0) {
-
- phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
- }
- if (from.bresult() != 0) {
- _internal_set_bresult(from._internal_bresult());
- }
- }
-
- void PB_CS_C_LogonCheckVerifCode::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_C_LogonCheckVerifCode::CopyFrom(const PB_CS_C_LogonCheckVerifCode& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_LogonCheckVerifCode)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_C_LogonCheckVerifCode::IsInitialized() const {
- return true;
- }
-
- void PB_CS_C_LogonCheckVerifCode::InternalSwap(PB_CS_C_LogonCheckVerifCode* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- phonenum_.Swap(&other->phonenum_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(bresult_, other->bresult_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonCheckVerifCode::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_S_LogonCheckVerifCode::InitAsDefaultInstance() {
- }
- class PB_CS_S_LogonCheckVerifCode::_Internal {
- public:
- };
-
- PB_CS_S_LogonCheckVerifCode::PB_CS_S_LogonCheckVerifCode()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_LogonCheckVerifCode)
- }
- PB_CS_S_LogonCheckVerifCode::PB_CS_S_LogonCheckVerifCode(const PB_CS_S_LogonCheckVerifCode& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_phonenum().empty()) {
- phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
- }
- strerrordescribe_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_strerrordescribe().empty()) {
- strerrordescribe_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.strerrordescribe_);
- }
- bresult_ = from.bresult_;
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_LogonCheckVerifCode)
- }
-
- void PB_CS_S_LogonCheckVerifCode::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
- phonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- strerrordescribe_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- bresult_ = 0u;
- }
-
- PB_CS_S_LogonCheckVerifCode::~PB_CS_S_LogonCheckVerifCode() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_LogonCheckVerifCode)
- SharedDtor();
- }
-
- void PB_CS_S_LogonCheckVerifCode::SharedDtor() {
- phonenum_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- strerrordescribe_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_S_LogonCheckVerifCode::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_S_LogonCheckVerifCode& PB_CS_S_LogonCheckVerifCode::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_LogonCheckVerifCode_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_S_LogonCheckVerifCode::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- phonenum_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- strerrordescribe_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- bresult_ = 0u;
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_S_LogonCheckVerifCode::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 bResult = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- bresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string PhoneNum = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_phonenum(), ptr, ctx, "LogonServer.PB_CS_S_LogonCheckVerifCode.PhoneNum");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string strErrorDescribe = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_strerrordescribe(), ptr, ctx, "LogonServer.PB_CS_S_LogonCheckVerifCode.strErrorDescribe");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_LogonCheckVerifCode::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 bResult = 1;
- if (this->bresult() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_bresult(), target);
- }
-
- // string PhoneNum = 2;
- if (this->phonenum().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_phonenum().data(), static_cast<int>(this->_internal_phonenum().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_LogonCheckVerifCode.PhoneNum");
- target = stream->WriteStringMaybeAliased(
- 2, this->_internal_phonenum(), target);
- }
-
- // string strErrorDescribe = 3;
- if (this->strerrordescribe().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_strerrordescribe().data(), static_cast<int>(this->_internal_strerrordescribe().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_LogonCheckVerifCode.strErrorDescribe");
- target = stream->WriteStringMaybeAliased(
- 3, this->_internal_strerrordescribe(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_LogonCheckVerifCode)
- return target;
- }
-
- size_t PB_CS_S_LogonCheckVerifCode::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string PhoneNum = 2;
- if (this->phonenum().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_phonenum());
- }
-
- // string strErrorDescribe = 3;
- if (this->strerrordescribe().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_strerrordescribe());
- }
-
- // uint32 bResult = 1;
- if (this->bresult() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_bresult());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_S_LogonCheckVerifCode::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_S_LogonCheckVerifCode* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_LogonCheckVerifCode>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_LogonCheckVerifCode)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_LogonCheckVerifCode)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_S_LogonCheckVerifCode::MergeFrom(const PB_CS_S_LogonCheckVerifCode& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.phonenum().size() > 0) {
-
- phonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.phonenum_);
- }
- if (from.strerrordescribe().size() > 0) {
-
- strerrordescribe_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.strerrordescribe_);
- }
- if (from.bresult() != 0) {
- _internal_set_bresult(from._internal_bresult());
- }
- }
-
- void PB_CS_S_LogonCheckVerifCode::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_S_LogonCheckVerifCode::CopyFrom(const PB_CS_S_LogonCheckVerifCode& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_LogonCheckVerifCode)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_S_LogonCheckVerifCode::IsInitialized() const {
- return true;
- }
-
- void PB_CS_S_LogonCheckVerifCode::InternalSwap(PB_CS_S_LogonCheckVerifCode* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- phonenum_.Swap(&other->phonenum_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- strerrordescribe_.Swap(&other->strerrordescribe_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(bresult_, other->bresult_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonCheckVerifCode::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_C_RegisterAccounts::InitAsDefaultInstance() {
- }
- class PB_CS_C_RegisterAccounts::_Internal {
- public:
- };
-
- PB_CS_C_RegisterAccounts::PB_CS_C_RegisterAccounts()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_RegisterAccounts)
- }
- PB_CS_C_RegisterAccounts::PB_CS_C_RegisterAccounts(const PB_CS_C_RegisterAccounts& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- szlogonpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szlogonpass().empty()) {
- szlogonpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlogonpass_);
- }
- szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szaccounts().empty()) {
- szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
- }
- sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_sznickname().empty()) {
- sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
- }
- szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szmachineid().empty()) {
- szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
- }
- szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szmobilephone().empty()) {
- szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
- }
- ::memcpy(&wmoduleid_, &from.wmoduleid_,
- static_cast<size_t>(reinterpret_cast<char*>(&cbgender_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(cbgender_));
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_RegisterAccounts)
- }
-
- void PB_CS_C_RegisterAccounts::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto.base);
- szlogonpass_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szaccounts_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wmoduleid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&cbgender_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(cbgender_));
- }
-
- PB_CS_C_RegisterAccounts::~PB_CS_C_RegisterAccounts() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_RegisterAccounts)
- SharedDtor();
- }
-
- void PB_CS_C_RegisterAccounts::SharedDtor() {
- szlogonpass_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szaccounts_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sznickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmobilephone_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_C_RegisterAccounts::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_C_RegisterAccounts& PB_CS_C_RegisterAccounts::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_RegisterAccounts_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_C_RegisterAccounts::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_RegisterAccounts)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- szlogonpass_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szaccounts_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sznickname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmobilephone_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wmoduleid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&cbgender_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(cbgender_));
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_C_RegisterAccounts::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 wModuleID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- wmoduleid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwPlazaVersion = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- dwplazaversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbDeviceType = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- cbdevicetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szLogonPass = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szlogonpass(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szLogonPass");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wFaceID = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- wfaceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbGender = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
- cbgender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szAccounts = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaccounts(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szAccounts");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szNickName = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sznickname(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szNickName");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szMachineID = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szMachineID");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szMobilePhone = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmobilephone(), ptr, ctx, "LogonServer.PB_CS_C_RegisterAccounts.szMobilePhone");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_RegisterAccounts::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_RegisterAccounts)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 wModuleID = 1;
- if (this->wmoduleid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wmoduleid(), target);
- }
-
- // uint32 dwPlazaVersion = 2;
- if (this->dwplazaversion() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwplazaversion(), target);
- }
-
- // uint32 cbDeviceType = 3;
- if (this->cbdevicetype() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbdevicetype(), target);
- }
-
- // string szLogonPass = 4;
- if (this->szlogonpass().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szlogonpass().data(), static_cast<int>(this->_internal_szlogonpass().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_RegisterAccounts.szLogonPass");
- target = stream->WriteStringMaybeAliased(
- 4, this->_internal_szlogonpass(), target);
- }
-
- // uint32 wFaceID = 5;
- if (this->wfaceid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wfaceid(), target);
- }
-
- // uint32 cbGender = 6;
- if (this->cbgender() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_cbgender(), target);
- }
-
- // string szAccounts = 7;
- if (this->szaccounts().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szaccounts().data(), static_cast<int>(this->_internal_szaccounts().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_RegisterAccounts.szAccounts");
- target = stream->WriteStringMaybeAliased(
- 7, this->_internal_szaccounts(), target);
- }
-
- // string szNickName = 8;
- if (this->sznickname().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_sznickname().data(), static_cast<int>(this->_internal_sznickname().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_RegisterAccounts.szNickName");
- target = stream->WriteStringMaybeAliased(
- 8, this->_internal_sznickname(), target);
- }
-
- // string szMachineID = 9;
- if (this->szmachineid().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szmachineid().data(), static_cast<int>(this->_internal_szmachineid().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_RegisterAccounts.szMachineID");
- target = stream->WriteStringMaybeAliased(
- 9, this->_internal_szmachineid(), target);
- }
-
- // string szMobilePhone = 10;
- if (this->szmobilephone().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szmobilephone().data(), static_cast<int>(this->_internal_szmobilephone().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_RegisterAccounts.szMobilePhone");
- target = stream->WriteStringMaybeAliased(
- 10, this->_internal_szmobilephone(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_RegisterAccounts)
- return target;
- }
-
- size_t PB_CS_C_RegisterAccounts::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_RegisterAccounts)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string szLogonPass = 4;
- if (this->szlogonpass().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szlogonpass());
- }
-
- // string szAccounts = 7;
- if (this->szaccounts().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szaccounts());
- }
-
- // string szNickName = 8;
- if (this->sznickname().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_sznickname());
- }
-
- // string szMachineID = 9;
- if (this->szmachineid().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szmachineid());
- }
-
- // string szMobilePhone = 10;
- if (this->szmobilephone().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szmobilephone());
- }
-
- // uint32 wModuleID = 1;
- if (this->wmoduleid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wmoduleid());
- }
-
- // uint32 dwPlazaVersion = 2;
- if (this->dwplazaversion() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwplazaversion());
- }
-
- // uint32 cbDeviceType = 3;
- if (this->cbdevicetype() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbdevicetype());
- }
-
- // uint32 wFaceID = 5;
- if (this->wfaceid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wfaceid());
- }
-
- // uint32 cbGender = 6;
- if (this->cbgender() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbgender());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_C_RegisterAccounts::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_RegisterAccounts)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_C_RegisterAccounts* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_RegisterAccounts>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_RegisterAccounts)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_RegisterAccounts)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_C_RegisterAccounts::MergeFrom(const PB_CS_C_RegisterAccounts& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_RegisterAccounts)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.szlogonpass().size() > 0) {
-
- szlogonpass_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlogonpass_);
- }
- if (from.szaccounts().size() > 0) {
-
- szaccounts_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaccounts_);
- }
- if (from.sznickname().size() > 0) {
-
- sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
- }
- if (from.szmachineid().size() > 0) {
-
- szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
- }
- if (from.szmobilephone().size() > 0) {
-
- szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
- }
- if (from.wmoduleid() != 0) {
- _internal_set_wmoduleid(from._internal_wmoduleid());
- }
- if (from.dwplazaversion() != 0) {
- _internal_set_dwplazaversion(from._internal_dwplazaversion());
- }
- if (from.cbdevicetype() != 0) {
- _internal_set_cbdevicetype(from._internal_cbdevicetype());
- }
- if (from.wfaceid() != 0) {
- _internal_set_wfaceid(from._internal_wfaceid());
- }
- if (from.cbgender() != 0) {
- _internal_set_cbgender(from._internal_cbgender());
- }
- }
-
- void PB_CS_C_RegisterAccounts::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_RegisterAccounts)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_C_RegisterAccounts::CopyFrom(const PB_CS_C_RegisterAccounts& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_RegisterAccounts)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_C_RegisterAccounts::IsInitialized() const {
- return true;
- }
-
- void PB_CS_C_RegisterAccounts::InternalSwap(PB_CS_C_RegisterAccounts* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- szlogonpass_.Swap(&other->szlogonpass_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szaccounts_.Swap(&other->szaccounts_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- sznickname_.Swap(&other->sznickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szmobilephone_.Swap(&other->szmobilephone_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(wmoduleid_, other->wmoduleid_);
- swap(dwplazaversion_, other->dwplazaversion_);
- swap(cbdevicetype_, other->cbdevicetype_);
- swap(wfaceid_, other->wfaceid_);
- swap(cbgender_, other->cbgender_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_RegisterAccounts::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_C_LogonOtherPlatformEx::InitAsDefaultInstance() {
- }
- class PB_CS_C_LogonOtherPlatformEx::_Internal {
- public:
- };
-
- PB_CS_C_LogonOtherPlatformEx::PB_CS_C_LogonOtherPlatformEx()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- }
- PB_CS_C_LogonOtherPlatformEx::PB_CS_C_LogonOtherPlatformEx(const PB_CS_C_LogonOtherPlatformEx& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szuseruin().empty()) {
- szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
- }
- sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_sznickname().empty()) {
- sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
- }
- szcompellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szcompellation().empty()) {
- szcompellation_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szcompellation_);
- }
- szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szmachineid().empty()) {
- szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
- }
- szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szmobilephone().empty()) {
- szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
- }
- szheadurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szheadurl().empty()) {
- szheadurl_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szheadurl_);
- }
- ::memcpy(&wmoduleid_, &from.wmoduleid_,
- static_cast<size_t>(reinterpret_cast<char*>(&dianliang_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(dianliang_));
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- }
-
- void PB_CS_C_LogonOtherPlatformEx::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto.base);
- szuseruin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sznickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szcompellation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmobilephone_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szheadurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wmoduleid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&dianliang_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(dianliang_));
- }
-
- PB_CS_C_LogonOtherPlatformEx::~PB_CS_C_LogonOtherPlatformEx() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- SharedDtor();
- }
-
- void PB_CS_C_LogonOtherPlatformEx::SharedDtor() {
- szuseruin_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sznickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szcompellation_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmobilephone_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szheadurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_C_LogonOtherPlatformEx::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_C_LogonOtherPlatformEx& PB_CS_C_LogonOtherPlatformEx::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonOtherPlatformEx_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_C_LogonOtherPlatformEx::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- szuseruin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sznickname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szcompellation_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szmobilephone_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szheadurl_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wmoduleid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&dianliang_) -
- reinterpret_cast<char*>(&wmoduleid_)) + sizeof(dianliang_));
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_C_LogonOtherPlatformEx::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 wModuleID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- wmoduleid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwPlazaVersion = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- dwplazaversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbDeviceType = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- cbdevicetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbGender = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- cbgender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 cbPlatformID = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- cbplatformid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szUserUin = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szuseruin(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szUserUin");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szNickName = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sznickname(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szNickName");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szCompellation = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szcompellation(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szCompellation");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szMachineID = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMachineID");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szMobilePhone = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmobilephone(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMobilePhone");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szHeadUrl = 11;
- case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szheadurl(), ptr, ctx, "LogonServer.PB_CS_C_LogonOtherPlatformEx.szHeadUrl");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint64 x = 12;
- case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
- x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint64 y = 13;
- case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
- y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 isSimulator = 14;
- case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
- issimulator_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 networkType = 15;
- case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
- networktype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dianliang = 16;
- case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
- dianliang_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_C_LogonOtherPlatformEx::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 wModuleID = 1;
- if (this->wmoduleid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wmoduleid(), target);
- }
-
- // uint32 dwPlazaVersion = 2;
- if (this->dwplazaversion() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwplazaversion(), target);
- }
-
- // uint32 cbDeviceType = 3;
- if (this->cbdevicetype() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbdevicetype(), target);
- }
-
- // uint32 cbGender = 4;
- if (this->cbgender() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cbgender(), target);
- }
-
- // uint32 cbPlatformID = 5;
- if (this->cbplatformid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_cbplatformid(), target);
- }
-
- // string szUserUin = 6;
- if (this->szuseruin().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szuseruin().data(), static_cast<int>(this->_internal_szuseruin().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonOtherPlatformEx.szUserUin");
- target = stream->WriteStringMaybeAliased(
- 6, this->_internal_szuseruin(), target);
- }
-
- // string szNickName = 7;
- if (this->sznickname().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_sznickname().data(), static_cast<int>(this->_internal_sznickname().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonOtherPlatformEx.szNickName");
- target = stream->WriteStringMaybeAliased(
- 7, this->_internal_sznickname(), target);
- }
-
- // string szCompellation = 8;
- if (this->szcompellation().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szcompellation().data(), static_cast<int>(this->_internal_szcompellation().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonOtherPlatformEx.szCompellation");
- target = stream->WriteStringMaybeAliased(
- 8, this->_internal_szcompellation(), target);
- }
-
- // string szMachineID = 9;
- if (this->szmachineid().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szmachineid().data(), static_cast<int>(this->_internal_szmachineid().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMachineID");
- target = stream->WriteStringMaybeAliased(
- 9, this->_internal_szmachineid(), target);
- }
-
- // string szMobilePhone = 10;
- if (this->szmobilephone().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szmobilephone().data(), static_cast<int>(this->_internal_szmobilephone().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonOtherPlatformEx.szMobilePhone");
- target = stream->WriteStringMaybeAliased(
- 10, this->_internal_szmobilephone(), target);
- }
-
- // string szHeadUrl = 11;
- if (this->szheadurl().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szheadurl().data(), static_cast<int>(this->_internal_szheadurl().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_C_LogonOtherPlatformEx.szHeadUrl");
- target = stream->WriteStringMaybeAliased(
- 11, this->_internal_szheadurl(), target);
- }
-
- // sint64 x = 12;
- if (this->x() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(12, this->_internal_x(), target);
- }
-
- // sint64 y = 13;
- if (this->y() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(13, this->_internal_y(), target);
- }
-
- // uint32 isSimulator = 14;
- if (this->issimulator() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_issimulator(), target);
- }
-
- // uint32 networkType = 15;
- if (this->networktype() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(15, this->_internal_networktype(), target);
- }
-
- // uint32 dianliang = 16;
- if (this->dianliang() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(16, this->_internal_dianliang(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- return target;
- }
-
- size_t PB_CS_C_LogonOtherPlatformEx::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string szUserUin = 6;
- if (this->szuseruin().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szuseruin());
- }
-
- // string szNickName = 7;
- if (this->sznickname().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_sznickname());
- }
-
- // string szCompellation = 8;
- if (this->szcompellation().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szcompellation());
- }
-
- // string szMachineID = 9;
- if (this->szmachineid().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szmachineid());
- }
-
- // string szMobilePhone = 10;
- if (this->szmobilephone().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szmobilephone());
- }
-
- // string szHeadUrl = 11;
- if (this->szheadurl().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szheadurl());
- }
-
- // uint32 wModuleID = 1;
- if (this->wmoduleid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wmoduleid());
- }
-
- // uint32 dwPlazaVersion = 2;
- if (this->dwplazaversion() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwplazaversion());
- }
-
- // uint32 cbDeviceType = 3;
- if (this->cbdevicetype() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbdevicetype());
- }
-
- // uint32 cbGender = 4;
- if (this->cbgender() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbgender());
- }
-
- // uint32 cbPlatformID = 5;
- if (this->cbplatformid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_cbplatformid());
- }
-
- // uint32 isSimulator = 14;
- if (this->issimulator() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_issimulator());
- }
-
- // sint64 x = 12;
- if (this->x() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_x());
- }
-
- // sint64 y = 13;
- if (this->y() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_y());
- }
-
- // uint32 networkType = 15;
- if (this->networktype() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_networktype());
- }
-
- // uint32 dianliang = 16;
- if (this->dianliang() != 0) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dianliang());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_C_LogonOtherPlatformEx::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_C_LogonOtherPlatformEx* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_C_LogonOtherPlatformEx>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_C_LogonOtherPlatformEx::MergeFrom(const PB_CS_C_LogonOtherPlatformEx& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.szuseruin().size() > 0) {
-
- szuseruin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szuseruin_);
- }
- if (from.sznickname().size() > 0) {
-
- sznickname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sznickname_);
- }
- if (from.szcompellation().size() > 0) {
-
- szcompellation_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szcompellation_);
- }
- if (from.szmachineid().size() > 0) {
-
- szmachineid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmachineid_);
- }
- if (from.szmobilephone().size() > 0) {
-
- szmobilephone_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szmobilephone_);
- }
- if (from.szheadurl().size() > 0) {
-
- szheadurl_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szheadurl_);
- }
- if (from.wmoduleid() != 0) {
- _internal_set_wmoduleid(from._internal_wmoduleid());
- }
- if (from.dwplazaversion() != 0) {
- _internal_set_dwplazaversion(from._internal_dwplazaversion());
- }
- if (from.cbdevicetype() != 0) {
- _internal_set_cbdevicetype(from._internal_cbdevicetype());
- }
- if (from.cbgender() != 0) {
- _internal_set_cbgender(from._internal_cbgender());
- }
- if (from.cbplatformid() != 0) {
- _internal_set_cbplatformid(from._internal_cbplatformid());
- }
- if (from.issimulator() != 0) {
- _internal_set_issimulator(from._internal_issimulator());
- }
- if (from.x() != 0) {
- _internal_set_x(from._internal_x());
- }
- if (from.y() != 0) {
- _internal_set_y(from._internal_y());
- }
- if (from.networktype() != 0) {
- _internal_set_networktype(from._internal_networktype());
- }
- if (from.dianliang() != 0) {
- _internal_set_dianliang(from._internal_dianliang());
- }
- }
-
- void PB_CS_C_LogonOtherPlatformEx::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_C_LogonOtherPlatformEx::CopyFrom(const PB_CS_C_LogonOtherPlatformEx& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_C_LogonOtherPlatformEx)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_C_LogonOtherPlatformEx::IsInitialized() const {
- return true;
- }
-
- void PB_CS_C_LogonOtherPlatformEx::InternalSwap(PB_CS_C_LogonOtherPlatformEx* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- szuseruin_.Swap(&other->szuseruin_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- sznickname_.Swap(&other->sznickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szcompellation_.Swap(&other->szcompellation_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szmobilephone_.Swap(&other->szmobilephone_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szheadurl_.Swap(&other->szheadurl_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(wmoduleid_, other->wmoduleid_);
- swap(dwplazaversion_, other->dwplazaversion_);
- swap(cbdevicetype_, other->cbdevicetype_);
- swap(cbgender_, other->cbgender_);
- swap(cbplatformid_, other->cbplatformid_);
- swap(issimulator_, other->issimulator_);
- swap(x_, other->x_);
- swap(y_, other->y_);
- swap(networktype_, other->networktype_);
- swap(dianliang_, other->dianliang_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonOtherPlatformEx::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_S_UserServerID::InitAsDefaultInstance() {
- }
- class PB_CS_S_UserServerID::_Internal {
- public:
- };
-
- PB_CS_S_UserServerID::PB_CS_S_UserServerID()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_UserServerID)
- }
- PB_CS_S_UserServerID::PB_CS_S_UserServerID(const PB_CS_S_UserServerID& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- wserverid_ = from.wserverid_;
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_UserServerID)
- }
-
- void PB_CS_S_UserServerID::SharedCtor() {
- wserverid_ = 0u;
- }
-
- PB_CS_S_UserServerID::~PB_CS_S_UserServerID() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_UserServerID)
- SharedDtor();
- }
-
- void PB_CS_S_UserServerID::SharedDtor() {
- }
-
- void PB_CS_S_UserServerID::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_S_UserServerID& PB_CS_S_UserServerID::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_UserServerID_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_S_UserServerID::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_UserServerID)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- wserverid_ = 0u;
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_S_UserServerID::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 wServerID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- wserverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_UserServerID::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_UserServerID)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 wServerID = 1;
- if (this->wserverid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wserverid(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_UserServerID)
- return target;
- }
-
- size_t PB_CS_S_UserServerID::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_UserServerID)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // uint32 wServerID = 1;
- if (this->wserverid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wserverid());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_S_UserServerID::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_UserServerID)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_S_UserServerID* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_UserServerID>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_UserServerID)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_UserServerID)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_S_UserServerID::MergeFrom(const PB_CS_S_UserServerID& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_UserServerID)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.wserverid() != 0) {
- _internal_set_wserverid(from._internal_wserverid());
- }
- }
-
- void PB_CS_S_UserServerID::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_UserServerID)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_S_UserServerID::CopyFrom(const PB_CS_S_UserServerID& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_UserServerID)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_S_UserServerID::IsInitialized() const {
- return true;
- }
-
- void PB_CS_S_UserServerID::InternalSwap(PB_CS_S_UserServerID* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(wserverid_, other->wserverid_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_UserServerID::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // ===================================================================
-
- void PB_CS_S_tagGameServer::InitAsDefaultInstance() {
- }
- class PB_CS_S_tagGameServer::_Internal {
- public:
- };
-
- PB_CS_S_tagGameServer::PB_CS_S_tagGameServer()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:LogonServer.PB_CS_S_tagGameServer)
- }
- PB_CS_S_tagGameServer::PB_CS_S_tagGameServer(const PB_CS_S_tagGameServer& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- szserveraddr_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szserveraddr().empty()) {
- szserveraddr_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szserveraddr_);
- }
- szservername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (!from._internal_szservername().empty()) {
- szservername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szservername_);
- }
- ::memcpy(&wkindid_, &from.wkindid_,
- static_cast<size_t>(reinterpret_cast<char*>(&dwlivetime_) -
- reinterpret_cast<char*>(&wkindid_)) + sizeof(dwlivetime_));
- // @@protoc_insertion_point(copy_constructor:LogonServer.PB_CS_S_tagGameServer)
- }
-
- void PB_CS_S_tagGameServer::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto.base);
- szserveraddr_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szservername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wkindid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&dwlivetime_) -
- reinterpret_cast<char*>(&wkindid_)) + sizeof(dwlivetime_));
- }
-
- PB_CS_S_tagGameServer::~PB_CS_S_tagGameServer() {
- // @@protoc_insertion_point(destructor:LogonServer.PB_CS_S_tagGameServer)
- SharedDtor();
- }
-
- void PB_CS_S_tagGameServer::SharedDtor() {
- szserveraddr_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szservername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
-
- void PB_CS_S_tagGameServer::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const PB_CS_S_tagGameServer& PB_CS_S_tagGameServer::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagGameServer_Pb_5fLogonServer_2eproto.base);
- return *internal_default_instance();
- }
-
-
- void PB_CS_S_tagGameServer::Clear() {
- // @@protoc_insertion_point(message_clear_start:LogonServer.PB_CS_S_tagGameServer)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- szserveraddr_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- szservername_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ::memset(&wkindid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&dwlivetime_) -
- reinterpret_cast<char*>(&wkindid_)) + sizeof(dwlivetime_));
- _internal_metadata_.Clear();
- }
-
- const char* PB_CS_S_tagGameServer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // uint32 wKindID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- wkindid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wNodeID = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- wnodeid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wSortID = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- wsortid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wServerID = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- wserverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wServerKind = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- wserverkind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wServerType = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
- wservertype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wServerPort = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
- wserverport_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint64 lCellScore = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
- lcellscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint64 lEnterScore = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
- lenterscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint64 dwServerRule = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- dwserverrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwOnLineCount = 11;
- case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
- dwonlinecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wTableFullCount = 12;
- case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
- wtablefullcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wTableOnlineCount = 13;
- case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
- wtableonlinecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 dwFullCount = 14;
- case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
- dwfullcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szServerAddr = 15;
- case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szserveraddr(), ptr, ctx, "LogonServer.PB_CS_S_tagGameServer.szServerAddr");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // string szServerName = 16;
- case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szservername(), ptr, ctx, "LogonServer.PB_CS_S_tagGameServer.szServerName");
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // sint64 dwLiveTime = 17;
- case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
- dwlivetime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- // uint32 wServerLevel = 18;
- case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
- wserverlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
- CHK_(ptr);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
-
- ::PROTOBUF_NAMESPACE_ID::uint8* PB_CS_S_tagGameServer::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:LogonServer.PB_CS_S_tagGameServer)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- // uint32 wKindID = 1;
- if (this->wkindid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wkindid(), target);
- }
-
- // uint32 wNodeID = 2;
- if (this->wnodeid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wnodeid(), target);
- }
-
- // uint32 wSortID = 3;
- if (this->wsortid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wsortid(), target);
- }
-
- // uint32 wServerID = 4;
- if (this->wserverid() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wserverid(), target);
- }
-
- // uint32 wServerKind = 5;
- if (this->wserverkind() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wserverkind(), target);
- }
-
- // uint32 wServerType = 6;
- if (this->wservertype() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_wservertype(), target);
- }
-
- // uint32 wServerPort = 7;
- if (this->wserverport() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_wserverport(), target);
- }
-
- // sint64 lCellScore = 8;
- if (this->lcellscore() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(8, this->_internal_lcellscore(), target);
- }
-
- // sint64 lEnterScore = 9;
- if (this->lenterscore() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(9, this->_internal_lenterscore(), target);
- }
-
- // sint64 dwServerRule = 10;
- if (this->dwserverrule() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(10, this->_internal_dwserverrule(), target);
- }
-
- // uint32 dwOnLineCount = 11;
- if (this->dwonlinecount() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_dwonlinecount(), target);
- }
-
- // uint32 wTableFullCount = 12;
- if (this->wtablefullcount() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_wtablefullcount(), target);
- }
-
- // uint32 wTableOnlineCount = 13;
- if (this->wtableonlinecount() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(13, this->_internal_wtableonlinecount(), target);
- }
-
- // uint32 dwFullCount = 14;
- if (this->dwfullcount() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_dwfullcount(), target);
- }
-
- // string szServerAddr = 15;
- if (this->szserveraddr().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szserveraddr().data(), static_cast<int>(this->_internal_szserveraddr().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_tagGameServer.szServerAddr");
- target = stream->WriteStringMaybeAliased(
- 15, this->_internal_szserveraddr(), target);
- }
-
- // string szServerName = 16;
- if (this->szservername().size() > 0) {
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- this->_internal_szservername().data(), static_cast<int>(this->_internal_szservername().length()),
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
- "LogonServer.PB_CS_S_tagGameServer.szServerName");
- target = stream->WriteStringMaybeAliased(
- 16, this->_internal_szservername(), target);
- }
-
- // sint64 dwLiveTime = 17;
- if (this->dwlivetime() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(17, this->_internal_dwlivetime(), target);
- }
-
- // uint32 wServerLevel = 18;
- if (this->wserverlevel() != 0) {
- target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(18, this->_internal_wserverlevel(), target);
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:LogonServer.PB_CS_S_tagGameServer)
- return target;
- }
-
- size_t PB_CS_S_tagGameServer::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:LogonServer.PB_CS_S_tagGameServer)
- size_t total_size = 0;
-
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
-
- // string szServerAddr = 15;
- if (this->szserveraddr().size() > 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szserveraddr());
- }
-
- // string szServerName = 16;
- if (this->szservername().size() > 0) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_szservername());
- }
-
- // uint32 wKindID = 1;
- if (this->wkindid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wkindid());
- }
-
- // uint32 wNodeID = 2;
- if (this->wnodeid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wnodeid());
- }
-
- // uint32 wSortID = 3;
- if (this->wsortid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wsortid());
- }
-
- // uint32 wServerID = 4;
- if (this->wserverid() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wserverid());
- }
-
- // uint32 wServerKind = 5;
- if (this->wserverkind() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wserverkind());
- }
-
- // uint32 wServerType = 6;
- if (this->wservertype() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wservertype());
- }
-
- // sint64 lCellScore = 8;
- if (this->lcellscore() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_lcellscore());
- }
-
- // sint64 lEnterScore = 9;
- if (this->lenterscore() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_lenterscore());
- }
-
- // uint32 wServerPort = 7;
- if (this->wserverport() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wserverport());
- }
-
- // uint32 dwOnLineCount = 11;
- if (this->dwonlinecount() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwonlinecount());
- }
-
- // sint64 dwServerRule = 10;
- if (this->dwserverrule() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_dwserverrule());
- }
-
- // uint32 wTableFullCount = 12;
- if (this->wtablefullcount() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wtablefullcount());
- }
-
- // uint32 wTableOnlineCount = 13;
- if (this->wtableonlinecount() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wtableonlinecount());
- }
-
- // uint32 dwFullCount = 14;
- if (this->dwfullcount() != 0) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_dwfullcount());
- }
-
- // uint32 wServerLevel = 18;
- if (this->wserverlevel() != 0) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
- this->_internal_wserverlevel());
- }
-
- // sint64 dwLiveTime = 17;
- if (this->dwlivetime() != 0) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size(
- this->_internal_dwlivetime());
- }
-
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
-
- void PB_CS_S_tagGameServer::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:LogonServer.PB_CS_S_tagGameServer)
- GOOGLE_DCHECK_NE(&from, this);
- const PB_CS_S_tagGameServer* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<PB_CS_S_tagGameServer>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:LogonServer.PB_CS_S_tagGameServer)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:LogonServer.PB_CS_S_tagGameServer)
- MergeFrom(*source);
- }
- }
-
- void PB_CS_S_tagGameServer::MergeFrom(const PB_CS_S_tagGameServer& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:LogonServer.PB_CS_S_tagGameServer)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
-
- if (from.szserveraddr().size() > 0) {
-
- szserveraddr_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szserveraddr_);
- }
- if (from.szservername().size() > 0) {
-
- szservername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szservername_);
- }
- if (from.wkindid() != 0) {
- _internal_set_wkindid(from._internal_wkindid());
- }
- if (from.wnodeid() != 0) {
- _internal_set_wnodeid(from._internal_wnodeid());
- }
- if (from.wsortid() != 0) {
- _internal_set_wsortid(from._internal_wsortid());
- }
- if (from.wserverid() != 0) {
- _internal_set_wserverid(from._internal_wserverid());
- }
- if (from.wserverkind() != 0) {
- _internal_set_wserverkind(from._internal_wserverkind());
- }
- if (from.wservertype() != 0) {
- _internal_set_wservertype(from._internal_wservertype());
- }
- if (from.lcellscore() != 0) {
- _internal_set_lcellscore(from._internal_lcellscore());
- }
- if (from.lenterscore() != 0) {
- _internal_set_lenterscore(from._internal_lenterscore());
- }
- if (from.wserverport() != 0) {
- _internal_set_wserverport(from._internal_wserverport());
- }
- if (from.dwonlinecount() != 0) {
- _internal_set_dwonlinecount(from._internal_dwonlinecount());
- }
- if (from.dwserverrule() != 0) {
- _internal_set_dwserverrule(from._internal_dwserverrule());
- }
- if (from.wtablefullcount() != 0) {
- _internal_set_wtablefullcount(from._internal_wtablefullcount());
- }
- if (from.wtableonlinecount() != 0) {
- _internal_set_wtableonlinecount(from._internal_wtableonlinecount());
- }
- if (from.dwfullcount() != 0) {
- _internal_set_dwfullcount(from._internal_dwfullcount());
- }
- if (from.wserverlevel() != 0) {
- _internal_set_wserverlevel(from._internal_wserverlevel());
- }
- if (from.dwlivetime() != 0) {
- _internal_set_dwlivetime(from._internal_dwlivetime());
- }
- }
-
- void PB_CS_S_tagGameServer::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:LogonServer.PB_CS_S_tagGameServer)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- void PB_CS_S_tagGameServer::CopyFrom(const PB_CS_S_tagGameServer& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:LogonServer.PB_CS_S_tagGameServer)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
-
- bool PB_CS_S_tagGameServer::IsInitialized() const {
- return true;
- }
-
- void PB_CS_S_tagGameServer::InternalSwap(PB_CS_S_tagGameServer* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- szserveraddr_.Swap(&other->szserveraddr_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- szservername_.Swap(&other->szservername_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(wkindid_, other->wkindid_);
- swap(wnodeid_, other->wnodeid_);
- swap(wsortid_, other->wsortid_);
- swap(wserverid_, other->wserverid_);
- swap(wserverkind_, other->wserverkind_);
- swap(wservertype_, other->wservertype_);
- swap(lcellscore_, other->lcellscore_);
- swap(lenterscore_, other->lenterscore_);
- swap(wserverport_, other->wserverport_);
- swap(dwonlinecount_, other->dwonlinecount_);
- swap(dwserverrule_, other->dwserverrule_);
- swap(wtablefullcount_, other->wtablefullcount_);
- swap(wtableonlinecount_, other->wtableonlinecount_);
- swap(dwfullcount_, other->dwfullcount_);
- swap(wserverlevel_, other->wserverlevel_);
- swap(dwlivetime_, other->dwlivetime_);
- }
-
- ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagGameServer::GetMetadata() const {
- return GetMetadataStatic();
- }
-
-
- // @@protoc_insertion_point(namespace_scope)
- } // namespace LogonServer
- PROTOBUF_NAMESPACE_OPEN
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_LogonAccounts* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_LogonAccounts >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_C_LogonAccounts >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_LogonSuccess* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_LogonSuccess >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_S_LogonSuccess >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_LogonFailure* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_LogonFailure >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_S_LogonFailure >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_LogonCheckVerifCode* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_LogonCheckVerifCode >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_C_LogonCheckVerifCode >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_LogonCheckVerifCode* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_LogonCheckVerifCode >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_S_LogonCheckVerifCode >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_RegisterAccounts* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_RegisterAccounts >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_C_RegisterAccounts >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_C_LogonOtherPlatformEx* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_C_LogonOtherPlatformEx >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_C_LogonOtherPlatformEx >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_UserServerID* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_UserServerID >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_S_UserServerID >(arena);
- }
- template<> PROTOBUF_NOINLINE ::LogonServer::PB_CS_S_tagGameServer* Arena::CreateMaybeMessage< ::LogonServer::PB_CS_S_tagGameServer >(Arena* arena) {
- return Arena::CreateInternal< ::LogonServer::PB_CS_S_tagGameServer >(arena);
- }
- PROTOBUF_NAMESPACE_CLOSE
-
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
|