// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Pb_TurntableLogon.proto #include "Pb_TurntableLogon.pb.h" #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) #include extern PROTOBUF_INTERNAL_EXPORT_Pb_5fTurntableLogon_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_Pb_5fTurntableLogon_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto; namespace TurntableLogon { class PB_CS_C_LogonMobileDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_LogonMobile_default_instance_; class PB_CS_S_LogonFailureDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_LogonFailure_default_instance_; class PB_CS_S_LogonSuccessDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_LogonSuccess_default_instance_; class PB_CS_C_tagRouletteConfigDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_tagRouletteConfig_default_instance_; class PB_CS_S_tagRouletteConfig2DefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagRouletteConfig2_default_instance_; class PB_CS_C_tagLotteryResultDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_tagLotteryResult_default_instance_; class PB_CS_S_tagLotteryResultDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagLotteryResult_default_instance_; class PB_CS_C_workLotteryInfoDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_workLotteryInfo_default_instance_; class PB_CS_S_tagLotteryInfoDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagLotteryInfo_default_instance_; class PB_CS_C_workLotteryHisDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_workLotteryHis_default_instance_; class PB_CS_S_tagLotteryHisDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagLotteryHis_default_instance_; class PB_CS_S_tagLotteryHisACKDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagLotteryHisACK_default_instance_; class PB_CS_S_tagLotteryHisExDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagLotteryHisEx_default_instance_; class PB_CS_S_tagLotteryHisExACKDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_tagLotteryHisExACK_default_instance_; class PB_CS_C_workLotteryAwardDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_workLotteryAward_default_instance_; class PB_CS_LotteryAddrDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_LotteryAddr_default_instance_; } // namespace TurntableLogon static void InitDefaultsscc_info_PB_CS_C_LogonMobile_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_C_LogonMobile_default_instance_; new (ptr) ::TurntableLogon::PB_CS_C_LogonMobile(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_C_LogonMobile::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_LogonMobile_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_LogonMobile_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_C_tagLotteryResult_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_C_tagLotteryResult_default_instance_; new (ptr) ::TurntableLogon::PB_CS_C_tagLotteryResult(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_C_tagLotteryResult::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_tagLotteryResult_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_tagLotteryResult_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_C_tagRouletteConfig_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_C_tagRouletteConfig_default_instance_; new (ptr) ::TurntableLogon::PB_CS_C_tagRouletteConfig(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_C_tagRouletteConfig::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_tagRouletteConfig_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_tagRouletteConfig_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_C_workLotteryAward_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_C_workLotteryAward_default_instance_; new (ptr) ::TurntableLogon::PB_CS_C_workLotteryAward(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_C_workLotteryAward::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_workLotteryAward_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_workLotteryAward_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_C_workLotteryHis_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_C_workLotteryHis_default_instance_; new (ptr) ::TurntableLogon::PB_CS_C_workLotteryHis(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_C_workLotteryHis::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_workLotteryHis_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_workLotteryHis_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_C_workLotteryInfo_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_C_workLotteryInfo_default_instance_; new (ptr) ::TurntableLogon::PB_CS_C_workLotteryInfo(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_C_workLotteryInfo::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_workLotteryInfo_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_workLotteryInfo_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_LotteryAddr_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_LotteryAddr_default_instance_; new (ptr) ::TurntableLogon::PB_CS_LotteryAddr(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_LotteryAddr::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_LotteryAddr_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_LotteryAddr_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_LogonFailure_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_LogonFailure_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_LogonFailure(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_LogonFailure::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonFailure_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonFailure_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_LogonSuccess_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_LogonSuccess_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_LogonSuccess(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_LogonSuccess::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_LogonSuccess_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_LogonSuccess_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagLotteryHis_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagLotteryHis(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagLotteryHis::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_tagLotteryHisACK_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagLotteryHisACK_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagLotteryHisACK(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagLotteryHisACK::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PB_CS_S_tagLotteryHisACK_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_PB_CS_S_tagLotteryHisACK_Pb_5fTurntableLogon_2eproto}, { &scc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto.base,}}; static void InitDefaultsscc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagLotteryHisEx_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagLotteryHisEx(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagLotteryHisEx::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_tagLotteryHisExACK_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagLotteryHisExACK_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagLotteryHisExACK(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagLotteryHisExACK::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PB_CS_S_tagLotteryHisExACK_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_PB_CS_S_tagLotteryHisExACK_Pb_5fTurntableLogon_2eproto}, { &scc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto.base,}}; static void InitDefaultsscc_info_PB_CS_S_tagLotteryInfo_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagLotteryInfo_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagLotteryInfo(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagLotteryInfo::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagLotteryInfo_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagLotteryInfo_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_tagLotteryResult_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagLotteryResult_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagLotteryResult(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagLotteryResult::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagLotteryResult_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagLotteryResult_Pb_5fTurntableLogon_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_tagRouletteConfig2_Pb_5fTurntableLogon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::TurntableLogon::_PB_CS_S_tagRouletteConfig2_default_instance_; new (ptr) ::TurntableLogon::PB_CS_S_tagRouletteConfig2(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::TurntableLogon::PB_CS_S_tagRouletteConfig2::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_tagRouletteConfig2_Pb_5fTurntableLogon_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_tagRouletteConfig2_Pb_5fTurntableLogon_2eproto}, {}}; static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Pb_5fTurntableLogon_2eproto[16]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_Pb_5fTurntableLogon_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Pb_5fTurntableLogon_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Pb_5fTurntableLogon_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, wgameid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, dwprocessversion_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, cbdevicetype_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, wbehaviorflags_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, wpagetablecount_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, dwuserid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, szpassword_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, szmachineid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, dx_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, dy_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_LogonMobile, szchengshi_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_LogonFailure, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_LogonFailure, lerrorcode_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_LogonFailure, szdescribestring_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_LogonSuccess, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_tagRouletteConfig, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, wresult_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, szdesc_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, wid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, szicon_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, whadlotterycount_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, wlotterycountpara_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, wlotterylimit_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, winningvalue_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, wrechargevalue_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, winninginfo_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, cbrechargeinfo_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagRouletteConfig2, szlotteryrule_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_tagLotteryResult, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, wresult_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, szdesc_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, wlotterytype_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, wroulettelotterid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, whadlotterycount_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, wlotterycountpara_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, lscore_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, dwbean_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryResult, szresultdesc_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryInfo, wlotterytype_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, wresult_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, wlotterytype_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, whadlotterycount_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, wlotterycountpara_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, wcurrentdrawcount_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, wdrawlotterycountpara_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryInfo, szdesc_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryHis, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryHis, btqueryflag_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, dwuserid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, szusername_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, wlotterytype_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, wrouletteid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, szlotteryname_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, szinputedate_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, szgetlotterydate_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHis, btgetlotteryflag_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisACK, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisACK, lotteryhis_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisEx, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisEx, dwrecordid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisEx, wrouletteid_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisEx, szlotteryname_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisEx, szinputedate_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisEx, btgetlotteryflag_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisExACK, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_S_tagLotteryHisExACK, lotteryhisex_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryAward, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryAward, precord_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryAward, lerrorcode_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_C_workLotteryAward, szdescribestring_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_LotteryAddr, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_LotteryAddr, szaddressname_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_LotteryAddr, szaddress_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_LotteryAddr, szaddrphonenum_), PROTOBUF_FIELD_OFFSET(::TurntableLogon::PB_CS_LotteryAddr, preq_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::TurntableLogon::PB_CS_C_LogonMobile)}, { 16, -1, sizeof(::TurntableLogon::PB_CS_S_LogonFailure)}, { 23, -1, sizeof(::TurntableLogon::PB_CS_S_LogonSuccess)}, { 28, -1, sizeof(::TurntableLogon::PB_CS_C_tagRouletteConfig)}, { 33, -1, sizeof(::TurntableLogon::PB_CS_S_tagRouletteConfig2)}, { 50, -1, sizeof(::TurntableLogon::PB_CS_C_tagLotteryResult)}, { 55, -1, sizeof(::TurntableLogon::PB_CS_S_tagLotteryResult)}, { 69, -1, sizeof(::TurntableLogon::PB_CS_C_workLotteryInfo)}, { 75, -1, sizeof(::TurntableLogon::PB_CS_S_tagLotteryInfo)}, { 87, -1, sizeof(::TurntableLogon::PB_CS_C_workLotteryHis)}, { 93, -1, sizeof(::TurntableLogon::PB_CS_S_tagLotteryHis)}, { 106, -1, sizeof(::TurntableLogon::PB_CS_S_tagLotteryHisACK)}, { 112, -1, sizeof(::TurntableLogon::PB_CS_S_tagLotteryHisEx)}, { 122, -1, sizeof(::TurntableLogon::PB_CS_S_tagLotteryHisExACK)}, { 128, -1, sizeof(::TurntableLogon::PB_CS_C_workLotteryAward)}, { 136, -1, sizeof(::TurntableLogon::PB_CS_LotteryAddr)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::TurntableLogon::_PB_CS_C_LogonMobile_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_LogonFailure_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_LogonSuccess_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_C_tagRouletteConfig_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagRouletteConfig2_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_C_tagLotteryResult_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagLotteryResult_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_C_workLotteryInfo_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagLotteryInfo_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_C_workLotteryHis_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagLotteryHis_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagLotteryHisACK_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagLotteryHisEx_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_S_tagLotteryHisExACK_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_C_workLotteryAward_default_instance_), reinterpret_cast(&::TurntableLogon::_PB_CS_LotteryAddr_default_instance_), }; const char descriptor_table_protodef_Pb_5fTurntableLogon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\027Pb_TurntableLogon.proto\022\016TurntableLogo" "n\"\356\001\n\023PB_CS_C_LogonMobile\022\017\n\007wGameID\030\001 \001" "(\r\022\030\n\020dwProcessVersion\030\002 \001(\r\022\024\n\014cbDevice" "Type\030\003 \001(\r\022\026\n\016wBehaviorFlags\030\004 \001(\r\022\027\n\017wP" "ageTableCount\030\005 \001(\r\022\020\n\010dwUserID\030\006 \001(\r\022\022\n" "\nszPassword\030\007 \001(\t\022\023\n\013szMachineID\030\010 \001(\t\022\n" "\n\002dX\030\t \001(\022\022\n\n\002dY\030\n \001(\022\022\022\n\nszChengShi\030\013 \001" "(\t\"D\n\024PB_CS_S_LogonFailure\022\022\n\nlErrorCode" "\030\001 \001(\022\022\030\n\020szDescribeString\030\002 \001(\t\"\026\n\024PB_C" "S_S_LogonSuccess\"\033\n\031PB_CS_C_tagRouletteC" "onfig\"\230\002\n\032PB_CS_S_tagRouletteConfig2\022\017\n\007" "wResult\030\001 \001(\r\022\016\n\006szDesc\030\002 \001(\t\022\013\n\003wID\030\003 \001" "(\r\022\016\n\006szICON\030\004 \001(\t\022\030\n\020wHadLotteryCount\030\005" " \001(\r\022\031\n\021wLotteryCountPara\030\006 \001(\r\022\025\n\rwLott" "eryLimit\030\007 \001(\r\022\024\n\014wInningValue\030\010 \001(\r\022\026\n\016" "wRechargeValue\030\t \001(\r\022\023\n\013wInningInfo\030\n \003(" "\r\022\026\n\016cbRechargeInfo\030\013 \001(\r\022\025\n\rszLotteryRu" "le\030\014 \001(\t\"\032\n\030PB_CS_C_tagLotteryResult\"\327\001\n" "\030PB_CS_S_tagLotteryResult\022\017\n\007wResult\030\001 \001" "(\r\022\016\n\006szDesc\030\002 \001(\t\022\024\n\014wLotteryType\030\003 \001(\r" "\022\031\n\021wRouletteLotterID\030\004 \001(\r\022\030\n\020wHadLotte" "ryCount\030\005 \001(\r\022\031\n\021wLotteryCountPara\030\006 \001(\r" "\022\016\n\006lScore\030\007 \001(\022\022\016\n\006dwBean\030\010 \001(\004\022\024\n\014szRe" "sultDesc\030\t \001(\t\"/\n\027PB_CS_C_workLotteryInf" "o\022\024\n\014wLotteryType\030\001 \001(\r\"\276\001\n\026PB_CS_S_tagL" "otteryInfo\022\017\n\007wResult\030\001 \001(\r\022\024\n\014wLotteryT" "ype\030\002 \001(\r\022\030\n\020wHadLotteryCount\030\003 \001(\r\022\031\n\021w" "LotteryCountPara\030\004 \001(\r\022\031\n\021wCurrentDrawCo" "unt\030\005 \001(\r\022\035\n\025wDrawLotteryCountPara\030\006 \001(\r" "\022\016\n\006szDesc\030\007 \001(\t\"-\n\026PB_CS_C_workLotteryH" "is\022\023\n\013btQueryFlag\030\001 \001(\r\"\311\001\n\025PB_CS_S_tagL" "otteryHis\022\020\n\010dwUserID\030\001 \001(\r\022\022\n\nszUserNam" "e\030\002 \001(\t\022\024\n\014wLotteryType\030\003 \001(\r\022\023\n\013wRoulet" "teID\030\004 \001(\r\022\025\n\rszLotteryName\030\005 \001(\t\022\024\n\014szI" "nputeDate\030\007 \001(\t\022\030\n\020szGetLotteryDate\030\010 \001(" "\t\022\030\n\020btGetLotteryFlag\030\t \001(\r\"U\n\030PB_CS_S_t" "agLotteryHisACK\0229\n\nLotteryHis\030\001 \003(\0132%.Tu" "rntableLogon.PB_CS_S_tagLotteryHis\"\211\001\n\027P" "B_CS_S_tagLotteryHisEx\022\022\n\ndwRecordID\030\001 \001" "(\r\022\023\n\013wRouletteID\030\002 \001(\r\022\025\n\rszLotteryName" "\030\003 \001(\t\022\024\n\014szInputeDate\030\004 \001(\t\022\030\n\020btGetLot" "teryFlag\030\005 \001(\r\"[\n\032PB_CS_S_tagLotteryHisE" "xACK\022=\n\014LotteryHisEx\030\001 \003(\0132\'.TurntableLo" "gon.PB_CS_S_tagLotteryHisEx\"Y\n\030PB_CS_C_w" "orkLotteryAward\022\017\n\007pRecord\030\001 \001(\r\022\022\n\nlErr" "orCode\030\002 \001(\r\022\030\n\020szDescribeString\030\003 \001(\t\"c" "\n\021PB_CS_LotteryAddr\022\025\n\rszAddressName\030\001 \001" "(\t\022\021\n\tszAddress\030\002 \001(\t\022\026\n\016szAddrPhoneNum\030" "\003 \001(\t\022\014\n\004pReq\030\004 \001(\rb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Pb_5fTurntableLogon_2eproto_deps[1] = { }; static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Pb_5fTurntableLogon_2eproto_sccs[16] = { &scc_info_PB_CS_C_LogonMobile_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_C_tagLotteryResult_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_C_tagRouletteConfig_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_C_workLotteryAward_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_C_workLotteryHis_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_C_workLotteryInfo_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_LotteryAddr_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_LogonFailure_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_LogonSuccess_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagLotteryHisACK_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagLotteryHisExACK_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagLotteryInfo_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagLotteryResult_Pb_5fTurntableLogon_2eproto.base, &scc_info_PB_CS_S_tagRouletteConfig2_Pb_5fTurntableLogon_2eproto.base, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Pb_5fTurntableLogon_2eproto_once; static bool descriptor_table_Pb_5fTurntableLogon_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Pb_5fTurntableLogon_2eproto = { &descriptor_table_Pb_5fTurntableLogon_2eproto_initialized, descriptor_table_protodef_Pb_5fTurntableLogon_2eproto, "Pb_TurntableLogon.proto", 1947, &descriptor_table_Pb_5fTurntableLogon_2eproto_once, descriptor_table_Pb_5fTurntableLogon_2eproto_sccs, descriptor_table_Pb_5fTurntableLogon_2eproto_deps, 16, 0, schemas, file_default_instances, TableStruct_Pb_5fTurntableLogon_2eproto::offsets, file_level_metadata_Pb_5fTurntableLogon_2eproto, 16, file_level_enum_descriptors_Pb_5fTurntableLogon_2eproto, file_level_service_descriptors_Pb_5fTurntableLogon_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. static bool dynamic_init_dummy_Pb_5fTurntableLogon_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Pb_5fTurntableLogon_2eproto), true); namespace TurntableLogon { // =================================================================== void PB_CS_C_LogonMobile::InitAsDefaultInstance() { } class PB_CS_C_LogonMobile::_Internal { public: }; PB_CS_C_LogonMobile::PB_CS_C_LogonMobile() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_C_LogonMobile) } PB_CS_C_LogonMobile::PB_CS_C_LogonMobile(const PB_CS_C_LogonMobile& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); 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_); } szchengshi_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szchengshi().empty()) { szchengshi_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szchengshi_); } ::memcpy(&wgameid_, &from.wgameid_, static_cast(reinterpret_cast(&dy_) - reinterpret_cast(&wgameid_)) + sizeof(dy_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_C_LogonMobile) } void PB_CS_C_LogonMobile::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_LogonMobile_Pb_5fTurntableLogon_2eproto.base); szpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szmachineid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szchengshi_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wgameid_, 0, static_cast( reinterpret_cast(&dy_) - reinterpret_cast(&wgameid_)) + sizeof(dy_)); } PB_CS_C_LogonMobile::~PB_CS_C_LogonMobile() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_C_LogonMobile) SharedDtor(); } void PB_CS_C_LogonMobile::SharedDtor() { szpassword_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szmachineid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szchengshi_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_C_LogonMobile::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_LogonMobile& PB_CS_C_LogonMobile::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_LogonMobile_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_C_LogonMobile::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_C_LogonMobile) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szpassword_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szmachineid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szchengshi_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wgameid_, 0, static_cast( reinterpret_cast(&dy_) - reinterpret_cast(&wgameid_)) + sizeof(dy_)); _internal_metadata_.Clear(); } const char* PB_CS_C_LogonMobile::_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 wGameID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwProcessVersion = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { dwprocessversion_ = ::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 wBehaviorFlags = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wbehaviorflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wPageTableCount = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { wpagetablecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwUserID = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { dwuserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szPassword = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szpassword(), ptr, ctx, "TurntableLogon.PB_CS_C_LogonMobile.szPassword"); CHK_(ptr); } else goto handle_unusual; continue; // string szMachineID = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szmachineid(), ptr, ctx, "TurntableLogon.PB_CS_C_LogonMobile.szMachineID"); CHK_(ptr); } else goto handle_unusual; continue; // sint64 dX = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { dx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // sint64 dY = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { dy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szChengShi = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szchengshi(), ptr, ctx, "TurntableLogon.PB_CS_C_LogonMobile.szChengShi"); 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_LogonMobile::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_C_LogonMobile) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wGameID = 1; if (this->wgameid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wgameid(), target); } // uint32 dwProcessVersion = 2; if (this->dwprocessversion() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwprocessversion(), 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 wBehaviorFlags = 4; if (this->wbehaviorflags() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wbehaviorflags(), target); } // uint32 wPageTableCount = 5; if (this->wpagetablecount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wpagetablecount(), target); } // uint32 dwUserID = 6; if (this->dwuserid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_dwuserid(), target); } // string szPassword = 7; if (this->szpassword().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szpassword().data(), static_cast(this->_internal_szpassword().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_C_LogonMobile.szPassword"); target = stream->WriteStringMaybeAliased( 7, this->_internal_szpassword(), target); } // string szMachineID = 8; if (this->szmachineid().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szmachineid().data(), static_cast(this->_internal_szmachineid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_C_LogonMobile.szMachineID"); target = stream->WriteStringMaybeAliased( 8, this->_internal_szmachineid(), target); } // sint64 dX = 9; if (this->dx() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(9, this->_internal_dx(), target); } // sint64 dY = 10; if (this->dy() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(10, this->_internal_dy(), target); } // string szChengShi = 11; if (this->szchengshi().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szchengshi().data(), static_cast(this->_internal_szchengshi().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_C_LogonMobile.szChengShi"); target = stream->WriteStringMaybeAliased( 11, this->_internal_szchengshi(), 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:TurntableLogon.PB_CS_C_LogonMobile) return target; } size_t PB_CS_C_LogonMobile::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_C_LogonMobile) 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 szPassword = 7; if (this->szpassword().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szpassword()); } // string szMachineID = 8; if (this->szmachineid().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szmachineid()); } // string szChengShi = 11; if (this->szchengshi().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szchengshi()); } // uint32 wGameID = 1; if (this->wgameid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wgameid()); } // uint32 dwProcessVersion = 2; if (this->dwprocessversion() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwprocessversion()); } // uint32 cbDeviceType = 3; if (this->cbdevicetype() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbdevicetype()); } // uint32 wBehaviorFlags = 4; if (this->wbehaviorflags() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wbehaviorflags()); } // uint32 wPageTableCount = 5; if (this->wpagetablecount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wpagetablecount()); } // uint32 dwUserID = 6; if (this->dwuserid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwuserid()); } // sint64 dX = 9; if (this->dx() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size( this->_internal_dx()); } // sint64 dY = 10; if (this->dy() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size( this->_internal_dy()); } 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_LogonMobile::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_C_LogonMobile) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_LogonMobile* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_C_LogonMobile) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_C_LogonMobile) MergeFrom(*source); } } void PB_CS_C_LogonMobile::MergeFrom(const PB_CS_C_LogonMobile& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_C_LogonMobile) 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.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.szchengshi().size() > 0) { szchengshi_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szchengshi_); } if (from.wgameid() != 0) { _internal_set_wgameid(from._internal_wgameid()); } if (from.dwprocessversion() != 0) { _internal_set_dwprocessversion(from._internal_dwprocessversion()); } if (from.cbdevicetype() != 0) { _internal_set_cbdevicetype(from._internal_cbdevicetype()); } if (from.wbehaviorflags() != 0) { _internal_set_wbehaviorflags(from._internal_wbehaviorflags()); } if (from.wpagetablecount() != 0) { _internal_set_wpagetablecount(from._internal_wpagetablecount()); } if (from.dwuserid() != 0) { _internal_set_dwuserid(from._internal_dwuserid()); } if (from.dx() != 0) { _internal_set_dx(from._internal_dx()); } if (from.dy() != 0) { _internal_set_dy(from._internal_dy()); } } void PB_CS_C_LogonMobile::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_C_LogonMobile) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_LogonMobile::CopyFrom(const PB_CS_C_LogonMobile& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_C_LogonMobile) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_LogonMobile::IsInitialized() const { return true; } void PB_CS_C_LogonMobile::InternalSwap(PB_CS_C_LogonMobile* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szpassword_.Swap(&other->szpassword_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szmachineid_.Swap(&other->szmachineid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szchengshi_.Swap(&other->szchengshi_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wgameid_, other->wgameid_); swap(dwprocessversion_, other->dwprocessversion_); swap(cbdevicetype_, other->cbdevicetype_); swap(wbehaviorflags_, other->wbehaviorflags_); swap(wpagetablecount_, other->wpagetablecount_); swap(dwuserid_, other->dwuserid_); swap(dx_, other->dx_); swap(dy_, other->dy_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_LogonMobile::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:TurntableLogon.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_); } lerrorcode_ = from.lerrorcode_; // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_LogonFailure) } void PB_CS_S_LogonFailure::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_LogonFailure_Pb_5fTurntableLogon_2eproto.base); szdescribestring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); lerrorcode_ = PROTOBUF_LONGLONG(0); } PB_CS_S_LogonFailure::~PB_CS_S_LogonFailure() { // @@protoc_insertion_point(destructor:TurntableLogon.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_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_LogonFailure::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.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()); lerrorcode_ = 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 lErrorCode = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { lerrorcode_ = ::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, "TurntableLogon.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:TurntableLogon.PB_CS_S_LogonFailure) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // sint64 lErrorCode = 1; if (this->lerrorcode() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(1, this->_internal_lerrorcode(), target); } // string szDescribeString = 2; if (this->szdescribestring().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szdescribestring().data(), static_cast(this->_internal_szdescribestring().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.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:TurntableLogon.PB_CS_S_LogonFailure) return target; } size_t PB_CS_S_LogonFailure::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.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 lErrorCode = 1; if (this->lerrorcode() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size( this->_internal_lerrorcode()); } 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:TurntableLogon.PB_CS_S_LogonFailure) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_LogonFailure* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_LogonFailure) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.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:TurntableLogon.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.lerrorcode() != 0) { _internal_set_lerrorcode(from._internal_lerrorcode()); } } void PB_CS_S_LogonFailure::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.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:TurntableLogon.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(lerrorcode_, other->lerrorcode_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonFailure::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:TurntableLogon.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_); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_LogonSuccess) } void PB_CS_S_LogonSuccess::SharedCtor() { } PB_CS_S_LogonSuccess::~PB_CS_S_LogonSuccess() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_LogonSuccess) SharedDtor(); } void PB_CS_S_LogonSuccess::SharedDtor() { } 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_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_LogonSuccess::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.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; _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) { default: { 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:TurntableLogon.PB_CS_S_LogonSuccess) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; 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:TurntableLogon.PB_CS_S_LogonSuccess) return target; } size_t PB_CS_S_LogonSuccess::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.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; 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:TurntableLogon.PB_CS_S_LogonSuccess) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_LogonSuccess* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_LogonSuccess) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.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:TurntableLogon.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; } void PB_CS_S_LogonSuccess::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.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:TurntableLogon.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_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_LogonSuccess::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_C_tagRouletteConfig::InitAsDefaultInstance() { } class PB_CS_C_tagRouletteConfig::_Internal { public: }; PB_CS_C_tagRouletteConfig::PB_CS_C_tagRouletteConfig() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_C_tagRouletteConfig) } PB_CS_C_tagRouletteConfig::PB_CS_C_tagRouletteConfig(const PB_CS_C_tagRouletteConfig& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_C_tagRouletteConfig) } void PB_CS_C_tagRouletteConfig::SharedCtor() { } PB_CS_C_tagRouletteConfig::~PB_CS_C_tagRouletteConfig() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_C_tagRouletteConfig) SharedDtor(); } void PB_CS_C_tagRouletteConfig::SharedDtor() { } void PB_CS_C_tagRouletteConfig::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_tagRouletteConfig& PB_CS_C_tagRouletteConfig::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_tagRouletteConfig_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_C_tagRouletteConfig::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_C_tagRouletteConfig) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_metadata_.Clear(); } const char* PB_CS_C_tagRouletteConfig::_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) { default: { 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_tagRouletteConfig::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_C_tagRouletteConfig) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; 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:TurntableLogon.PB_CS_C_tagRouletteConfig) return target; } size_t PB_CS_C_tagRouletteConfig::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_C_tagRouletteConfig) 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; 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_tagRouletteConfig::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_C_tagRouletteConfig) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_tagRouletteConfig* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_C_tagRouletteConfig) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_C_tagRouletteConfig) MergeFrom(*source); } } void PB_CS_C_tagRouletteConfig::MergeFrom(const PB_CS_C_tagRouletteConfig& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_C_tagRouletteConfig) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; } void PB_CS_C_tagRouletteConfig::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_C_tagRouletteConfig) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_tagRouletteConfig::CopyFrom(const PB_CS_C_tagRouletteConfig& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_C_tagRouletteConfig) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_tagRouletteConfig::IsInitialized() const { return true; } void PB_CS_C_tagRouletteConfig::InternalSwap(PB_CS_C_tagRouletteConfig* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_tagRouletteConfig::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagRouletteConfig2::InitAsDefaultInstance() { } class PB_CS_S_tagRouletteConfig2::_Internal { public: }; PB_CS_S_tagRouletteConfig2::PB_CS_S_tagRouletteConfig2() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagRouletteConfig2) } PB_CS_S_tagRouletteConfig2::PB_CS_S_tagRouletteConfig2(const PB_CS_S_tagRouletteConfig2& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), winninginfo_(from.winninginfo_) { _internal_metadata_.MergeFrom(from._internal_metadata_); szdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szdesc().empty()) { szdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdesc_); } szicon_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szicon().empty()) { szicon_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szicon_); } szlotteryrule_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szlotteryrule().empty()) { szlotteryrule_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlotteryrule_); } ::memcpy(&wresult_, &from.wresult_, static_cast(reinterpret_cast(&cbrechargeinfo_) - reinterpret_cast(&wresult_)) + sizeof(cbrechargeinfo_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagRouletteConfig2) } void PB_CS_S_tagRouletteConfig2::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagRouletteConfig2_Pb_5fTurntableLogon_2eproto.base); szdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szicon_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szlotteryrule_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wresult_, 0, static_cast( reinterpret_cast(&cbrechargeinfo_) - reinterpret_cast(&wresult_)) + sizeof(cbrechargeinfo_)); } PB_CS_S_tagRouletteConfig2::~PB_CS_S_tagRouletteConfig2() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagRouletteConfig2) SharedDtor(); } void PB_CS_S_tagRouletteConfig2::SharedDtor() { szdesc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szicon_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szlotteryrule_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_S_tagRouletteConfig2::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagRouletteConfig2& PB_CS_S_tagRouletteConfig2::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagRouletteConfig2_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagRouletteConfig2::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; winninginfo_.Clear(); szdesc_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szicon_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szlotteryrule_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wresult_, 0, static_cast( reinterpret_cast(&cbrechargeinfo_) - reinterpret_cast(&wresult_)) + sizeof(cbrechargeinfo_)); _internal_metadata_.Clear(); } const char* PB_CS_S_tagRouletteConfig2::_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 wResult = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szDesc = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdesc(), ptr, ctx, "TurntableLogon.PB_CS_S_tagRouletteConfig2.szDesc"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wID = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { wid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szICON = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szicon(), ptr, ctx, "TurntableLogon.PB_CS_S_tagRouletteConfig2.szICON"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wHadLotteryCount = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { whadlotterycount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryCountPara = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { wlotterycountpara_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryLimit = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { wlotterylimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wInningValue = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { winningvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wRechargeValue = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { wrechargevalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 wInningInfo = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_winninginfo(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80) { _internal_add_winninginfo(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 cbRechargeInfo = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { cbrechargeinfo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szLotteryRule = 12; case 12: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szlotteryrule(), ptr, ctx, "TurntableLogon.PB_CS_S_tagRouletteConfig2.szLotteryRule"); 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_tagRouletteConfig2::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wResult = 1; if (this->wresult() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wresult(), target); } // string szDesc = 2; if (this->szdesc().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szdesc().data(), static_cast(this->_internal_szdesc().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagRouletteConfig2.szDesc"); target = stream->WriteStringMaybeAliased( 2, this->_internal_szdesc(), target); } // uint32 wID = 3; if (this->wid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wid(), target); } // string szICON = 4; if (this->szicon().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szicon().data(), static_cast(this->_internal_szicon().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagRouletteConfig2.szICON"); target = stream->WriteStringMaybeAliased( 4, this->_internal_szicon(), target); } // uint32 wHadLotteryCount = 5; if (this->whadlotterycount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_whadlotterycount(), target); } // uint32 wLotteryCountPara = 6; if (this->wlotterycountpara() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_wlotterycountpara(), target); } // uint32 wLotteryLimit = 7; if (this->wlotterylimit() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_wlotterylimit(), target); } // uint32 wInningValue = 8; if (this->winningvalue() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_winningvalue(), target); } // uint32 wRechargeValue = 9; if (this->wrechargevalue() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(9, this->_internal_wrechargevalue(), target); } // repeated uint32 wInningInfo = 10; { int byte_size = _winninginfo_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 10, _internal_winninginfo(), byte_size, target); } } // uint32 cbRechargeInfo = 11; if (this->cbrechargeinfo() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_cbrechargeinfo(), target); } // string szLotteryRule = 12; if (this->szlotteryrule().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szlotteryrule().data(), static_cast(this->_internal_szlotteryrule().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagRouletteConfig2.szLotteryRule"); target = stream->WriteStringMaybeAliased( 12, this->_internal_szlotteryrule(), 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:TurntableLogon.PB_CS_S_tagRouletteConfig2) return target; } size_t PB_CS_S_tagRouletteConfig2::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) 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; // repeated uint32 wInningInfo = 10; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->winninginfo_); if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _winninginfo_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // string szDesc = 2; if (this->szdesc().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szdesc()); } // string szICON = 4; if (this->szicon().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szicon()); } // string szLotteryRule = 12; if (this->szlotteryrule().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szlotteryrule()); } // uint32 wResult = 1; if (this->wresult() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wresult()); } // uint32 wID = 3; if (this->wid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wid()); } // uint32 wHadLotteryCount = 5; if (this->whadlotterycount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_whadlotterycount()); } // uint32 wLotteryCountPara = 6; if (this->wlotterycountpara() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterycountpara()); } // uint32 wLotteryLimit = 7; if (this->wlotterylimit() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterylimit()); } // uint32 wInningValue = 8; if (this->winningvalue() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_winningvalue()); } // uint32 wRechargeValue = 9; if (this->wrechargevalue() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wrechargevalue()); } // uint32 cbRechargeInfo = 11; if (this->cbrechargeinfo() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbrechargeinfo()); } 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_tagRouletteConfig2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagRouletteConfig2* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagRouletteConfig2) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagRouletteConfig2) MergeFrom(*source); } } void PB_CS_S_tagRouletteConfig2::MergeFrom(const PB_CS_S_tagRouletteConfig2& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; winninginfo_.MergeFrom(from.winninginfo_); if (from.szdesc().size() > 0) { szdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdesc_); } if (from.szicon().size() > 0) { szicon_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szicon_); } if (from.szlotteryrule().size() > 0) { szlotteryrule_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlotteryrule_); } if (from.wresult() != 0) { _internal_set_wresult(from._internal_wresult()); } if (from.wid() != 0) { _internal_set_wid(from._internal_wid()); } if (from.whadlotterycount() != 0) { _internal_set_whadlotterycount(from._internal_whadlotterycount()); } if (from.wlotterycountpara() != 0) { _internal_set_wlotterycountpara(from._internal_wlotterycountpara()); } if (from.wlotterylimit() != 0) { _internal_set_wlotterylimit(from._internal_wlotterylimit()); } if (from.winningvalue() != 0) { _internal_set_winningvalue(from._internal_winningvalue()); } if (from.wrechargevalue() != 0) { _internal_set_wrechargevalue(from._internal_wrechargevalue()); } if (from.cbrechargeinfo() != 0) { _internal_set_cbrechargeinfo(from._internal_cbrechargeinfo()); } } void PB_CS_S_tagRouletteConfig2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagRouletteConfig2::CopyFrom(const PB_CS_S_tagRouletteConfig2& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagRouletteConfig2) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagRouletteConfig2::IsInitialized() const { return true; } void PB_CS_S_tagRouletteConfig2::InternalSwap(PB_CS_S_tagRouletteConfig2* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); winninginfo_.InternalSwap(&other->winninginfo_); szdesc_.Swap(&other->szdesc_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szicon_.Swap(&other->szicon_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szlotteryrule_.Swap(&other->szlotteryrule_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wresult_, other->wresult_); swap(wid_, other->wid_); swap(whadlotterycount_, other->whadlotterycount_); swap(wlotterycountpara_, other->wlotterycountpara_); swap(wlotterylimit_, other->wlotterylimit_); swap(winningvalue_, other->winningvalue_); swap(wrechargevalue_, other->wrechargevalue_); swap(cbrechargeinfo_, other->cbrechargeinfo_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagRouletteConfig2::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_C_tagLotteryResult::InitAsDefaultInstance() { } class PB_CS_C_tagLotteryResult::_Internal { public: }; PB_CS_C_tagLotteryResult::PB_CS_C_tagLotteryResult() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_C_tagLotteryResult) } PB_CS_C_tagLotteryResult::PB_CS_C_tagLotteryResult(const PB_CS_C_tagLotteryResult& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_C_tagLotteryResult) } void PB_CS_C_tagLotteryResult::SharedCtor() { } PB_CS_C_tagLotteryResult::~PB_CS_C_tagLotteryResult() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_C_tagLotteryResult) SharedDtor(); } void PB_CS_C_tagLotteryResult::SharedDtor() { } void PB_CS_C_tagLotteryResult::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_tagLotteryResult& PB_CS_C_tagLotteryResult::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_tagLotteryResult_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_C_tagLotteryResult::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_C_tagLotteryResult) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_metadata_.Clear(); } const char* PB_CS_C_tagLotteryResult::_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) { default: { 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_tagLotteryResult::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_C_tagLotteryResult) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; 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:TurntableLogon.PB_CS_C_tagLotteryResult) return target; } size_t PB_CS_C_tagLotteryResult::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_C_tagLotteryResult) 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; 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_tagLotteryResult::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_C_tagLotteryResult) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_tagLotteryResult* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_C_tagLotteryResult) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_C_tagLotteryResult) MergeFrom(*source); } } void PB_CS_C_tagLotteryResult::MergeFrom(const PB_CS_C_tagLotteryResult& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_C_tagLotteryResult) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; } void PB_CS_C_tagLotteryResult::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_C_tagLotteryResult) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_tagLotteryResult::CopyFrom(const PB_CS_C_tagLotteryResult& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_C_tagLotteryResult) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_tagLotteryResult::IsInitialized() const { return true; } void PB_CS_C_tagLotteryResult::InternalSwap(PB_CS_C_tagLotteryResult* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_tagLotteryResult::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagLotteryResult::InitAsDefaultInstance() { } class PB_CS_S_tagLotteryResult::_Internal { public: }; PB_CS_S_tagLotteryResult::PB_CS_S_tagLotteryResult() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagLotteryResult) } PB_CS_S_tagLotteryResult::PB_CS_S_tagLotteryResult(const PB_CS_S_tagLotteryResult& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szdesc().empty()) { szdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdesc_); } szresultdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szresultdesc().empty()) { szresultdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szresultdesc_); } ::memcpy(&wresult_, &from.wresult_, static_cast(reinterpret_cast(&wlotterycountpara_) - reinterpret_cast(&wresult_)) + sizeof(wlotterycountpara_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagLotteryResult) } void PB_CS_S_tagLotteryResult::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagLotteryResult_Pb_5fTurntableLogon_2eproto.base); szdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szresultdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wresult_, 0, static_cast( reinterpret_cast(&wlotterycountpara_) - reinterpret_cast(&wresult_)) + sizeof(wlotterycountpara_)); } PB_CS_S_tagLotteryResult::~PB_CS_S_tagLotteryResult() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagLotteryResult) SharedDtor(); } void PB_CS_S_tagLotteryResult::SharedDtor() { szdesc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szresultdesc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_S_tagLotteryResult::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagLotteryResult& PB_CS_S_tagLotteryResult::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagLotteryResult_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagLotteryResult::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagLotteryResult) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szdesc_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szresultdesc_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wresult_, 0, static_cast( reinterpret_cast(&wlotterycountpara_) - reinterpret_cast(&wresult_)) + sizeof(wlotterycountpara_)); _internal_metadata_.Clear(); } const char* PB_CS_S_tagLotteryResult::_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 wResult = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szDesc = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdesc(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryResult.szDesc"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryType = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { wlotterytype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wRouletteLotterID = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wroulettelotterid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wHadLotteryCount = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { whadlotterycount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryCountPara = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { wlotterycountpara_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // sint64 lScore = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { lscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint64 dwBean = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { dwbean_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szResultDesc = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szresultdesc(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryResult.szResultDesc"); 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_tagLotteryResult::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagLotteryResult) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wResult = 1; if (this->wresult() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wresult(), target); } // string szDesc = 2; if (this->szdesc().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szdesc().data(), static_cast(this->_internal_szdesc().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryResult.szDesc"); target = stream->WriteStringMaybeAliased( 2, this->_internal_szdesc(), target); } // uint32 wLotteryType = 3; if (this->wlotterytype() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wlotterytype(), target); } // uint32 wRouletteLotterID = 4; if (this->wroulettelotterid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wroulettelotterid(), target); } // uint32 wHadLotteryCount = 5; if (this->whadlotterycount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_whadlotterycount(), target); } // uint32 wLotteryCountPara = 6; if (this->wlotterycountpara() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_wlotterycountpara(), target); } // sint64 lScore = 7; if (this->lscore() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSInt64ToArray(7, this->_internal_lscore(), target); } // uint64 dwBean = 8; if (this->dwbean() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(8, this->_internal_dwbean(), target); } // string szResultDesc = 9; if (this->szresultdesc().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szresultdesc().data(), static_cast(this->_internal_szresultdesc().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryResult.szResultDesc"); target = stream->WriteStringMaybeAliased( 9, this->_internal_szresultdesc(), 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:TurntableLogon.PB_CS_S_tagLotteryResult) return target; } size_t PB_CS_S_tagLotteryResult::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagLotteryResult) 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 szDesc = 2; if (this->szdesc().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szdesc()); } // string szResultDesc = 9; if (this->szresultdesc().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szresultdesc()); } // uint32 wResult = 1; if (this->wresult() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wresult()); } // uint32 wLotteryType = 3; if (this->wlotterytype() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterytype()); } // uint32 wRouletteLotterID = 4; if (this->wroulettelotterid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wroulettelotterid()); } // uint32 wHadLotteryCount = 5; if (this->whadlotterycount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_whadlotterycount()); } // sint64 lScore = 7; if (this->lscore() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SInt64Size( this->_internal_lscore()); } // uint64 dwBean = 8; if (this->dwbean() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( this->_internal_dwbean()); } // uint32 wLotteryCountPara = 6; if (this->wlotterycountpara() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterycountpara()); } 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_tagLotteryResult::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryResult) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagLotteryResult* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagLotteryResult) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagLotteryResult) MergeFrom(*source); } } void PB_CS_S_tagLotteryResult::MergeFrom(const PB_CS_S_tagLotteryResult& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryResult) 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.szdesc().size() > 0) { szdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdesc_); } if (from.szresultdesc().size() > 0) { szresultdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szresultdesc_); } if (from.wresult() != 0) { _internal_set_wresult(from._internal_wresult()); } if (from.wlotterytype() != 0) { _internal_set_wlotterytype(from._internal_wlotterytype()); } if (from.wroulettelotterid() != 0) { _internal_set_wroulettelotterid(from._internal_wroulettelotterid()); } if (from.whadlotterycount() != 0) { _internal_set_whadlotterycount(from._internal_whadlotterycount()); } if (from.lscore() != 0) { _internal_set_lscore(from._internal_lscore()); } if (from.dwbean() != 0) { _internal_set_dwbean(from._internal_dwbean()); } if (from.wlotterycountpara() != 0) { _internal_set_wlotterycountpara(from._internal_wlotterycountpara()); } } void PB_CS_S_tagLotteryResult::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryResult) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagLotteryResult::CopyFrom(const PB_CS_S_tagLotteryResult& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryResult) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagLotteryResult::IsInitialized() const { return true; } void PB_CS_S_tagLotteryResult::InternalSwap(PB_CS_S_tagLotteryResult* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szdesc_.Swap(&other->szdesc_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szresultdesc_.Swap(&other->szresultdesc_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wresult_, other->wresult_); swap(wlotterytype_, other->wlotterytype_); swap(wroulettelotterid_, other->wroulettelotterid_); swap(whadlotterycount_, other->whadlotterycount_); swap(lscore_, other->lscore_); swap(dwbean_, other->dwbean_); swap(wlotterycountpara_, other->wlotterycountpara_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagLotteryResult::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_C_workLotteryInfo::InitAsDefaultInstance() { } class PB_CS_C_workLotteryInfo::_Internal { public: }; PB_CS_C_workLotteryInfo::PB_CS_C_workLotteryInfo() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_C_workLotteryInfo) } PB_CS_C_workLotteryInfo::PB_CS_C_workLotteryInfo(const PB_CS_C_workLotteryInfo& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); wlotterytype_ = from.wlotterytype_; // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_C_workLotteryInfo) } void PB_CS_C_workLotteryInfo::SharedCtor() { wlotterytype_ = 0u; } PB_CS_C_workLotteryInfo::~PB_CS_C_workLotteryInfo() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_C_workLotteryInfo) SharedDtor(); } void PB_CS_C_workLotteryInfo::SharedDtor() { } void PB_CS_C_workLotteryInfo::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_workLotteryInfo& PB_CS_C_workLotteryInfo::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_workLotteryInfo_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_C_workLotteryInfo::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_C_workLotteryInfo) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; wlotterytype_ = 0u; _internal_metadata_.Clear(); } const char* PB_CS_C_workLotteryInfo::_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 wLotteryType = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wlotterytype_ = ::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_workLotteryInfo::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_C_workLotteryInfo) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wLotteryType = 1; if (this->wlotterytype() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wlotterytype(), 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:TurntableLogon.PB_CS_C_workLotteryInfo) return target; } size_t PB_CS_C_workLotteryInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_C_workLotteryInfo) 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 wLotteryType = 1; if (this->wlotterytype() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterytype()); } 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_workLotteryInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_C_workLotteryInfo) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_workLotteryInfo* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_C_workLotteryInfo) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_C_workLotteryInfo) MergeFrom(*source); } } void PB_CS_C_workLotteryInfo::MergeFrom(const PB_CS_C_workLotteryInfo& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_C_workLotteryInfo) 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.wlotterytype() != 0) { _internal_set_wlotterytype(from._internal_wlotterytype()); } } void PB_CS_C_workLotteryInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_C_workLotteryInfo) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_workLotteryInfo::CopyFrom(const PB_CS_C_workLotteryInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_C_workLotteryInfo) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_workLotteryInfo::IsInitialized() const { return true; } void PB_CS_C_workLotteryInfo::InternalSwap(PB_CS_C_workLotteryInfo* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(wlotterytype_, other->wlotterytype_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_workLotteryInfo::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagLotteryInfo::InitAsDefaultInstance() { } class PB_CS_S_tagLotteryInfo::_Internal { public: }; PB_CS_S_tagLotteryInfo::PB_CS_S_tagLotteryInfo() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagLotteryInfo) } PB_CS_S_tagLotteryInfo::PB_CS_S_tagLotteryInfo(const PB_CS_S_tagLotteryInfo& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szdesc().empty()) { szdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdesc_); } ::memcpy(&wresult_, &from.wresult_, static_cast(reinterpret_cast(&wdrawlotterycountpara_) - reinterpret_cast(&wresult_)) + sizeof(wdrawlotterycountpara_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagLotteryInfo) } void PB_CS_S_tagLotteryInfo::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagLotteryInfo_Pb_5fTurntableLogon_2eproto.base); szdesc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wresult_, 0, static_cast( reinterpret_cast(&wdrawlotterycountpara_) - reinterpret_cast(&wresult_)) + sizeof(wdrawlotterycountpara_)); } PB_CS_S_tagLotteryInfo::~PB_CS_S_tagLotteryInfo() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagLotteryInfo) SharedDtor(); } void PB_CS_S_tagLotteryInfo::SharedDtor() { szdesc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_S_tagLotteryInfo::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagLotteryInfo& PB_CS_S_tagLotteryInfo::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagLotteryInfo_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagLotteryInfo::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagLotteryInfo) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szdesc_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wresult_, 0, static_cast( reinterpret_cast(&wdrawlotterycountpara_) - reinterpret_cast(&wresult_)) + sizeof(wdrawlotterycountpara_)); _internal_metadata_.Clear(); } const char* PB_CS_S_tagLotteryInfo::_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 wResult = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryType = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { wlotterytype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wHadLotteryCount = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { whadlotterycount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryCountPara = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wlotterycountpara_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wCurrentDrawCount = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { wcurrentdrawcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wDrawLotteryCountPara = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { wdrawlotterycountpara_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szDesc = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdesc(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryInfo.szDesc"); 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_tagLotteryInfo::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagLotteryInfo) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wResult = 1; if (this->wresult() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wresult(), target); } // uint32 wLotteryType = 2; if (this->wlotterytype() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wlotterytype(), target); } // uint32 wHadLotteryCount = 3; if (this->whadlotterycount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_whadlotterycount(), target); } // uint32 wLotteryCountPara = 4; if (this->wlotterycountpara() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wlotterycountpara(), target); } // uint32 wCurrentDrawCount = 5; if (this->wcurrentdrawcount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wcurrentdrawcount(), target); } // uint32 wDrawLotteryCountPara = 6; if (this->wdrawlotterycountpara() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_wdrawlotterycountpara(), target); } // string szDesc = 7; if (this->szdesc().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szdesc().data(), static_cast(this->_internal_szdesc().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryInfo.szDesc"); target = stream->WriteStringMaybeAliased( 7, this->_internal_szdesc(), 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:TurntableLogon.PB_CS_S_tagLotteryInfo) return target; } size_t PB_CS_S_tagLotteryInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagLotteryInfo) 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 szDesc = 7; if (this->szdesc().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szdesc()); } // uint32 wResult = 1; if (this->wresult() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wresult()); } // uint32 wLotteryType = 2; if (this->wlotterytype() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterytype()); } // uint32 wHadLotteryCount = 3; if (this->whadlotterycount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_whadlotterycount()); } // uint32 wLotteryCountPara = 4; if (this->wlotterycountpara() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterycountpara()); } // uint32 wCurrentDrawCount = 5; if (this->wcurrentdrawcount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wcurrentdrawcount()); } // uint32 wDrawLotteryCountPara = 6; if (this->wdrawlotterycountpara() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wdrawlotterycountpara()); } 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_tagLotteryInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryInfo) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagLotteryInfo* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagLotteryInfo) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagLotteryInfo) MergeFrom(*source); } } void PB_CS_S_tagLotteryInfo::MergeFrom(const PB_CS_S_tagLotteryInfo& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryInfo) 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.szdesc().size() > 0) { szdesc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szdesc_); } if (from.wresult() != 0) { _internal_set_wresult(from._internal_wresult()); } if (from.wlotterytype() != 0) { _internal_set_wlotterytype(from._internal_wlotterytype()); } if (from.whadlotterycount() != 0) { _internal_set_whadlotterycount(from._internal_whadlotterycount()); } if (from.wlotterycountpara() != 0) { _internal_set_wlotterycountpara(from._internal_wlotterycountpara()); } if (from.wcurrentdrawcount() != 0) { _internal_set_wcurrentdrawcount(from._internal_wcurrentdrawcount()); } if (from.wdrawlotterycountpara() != 0) { _internal_set_wdrawlotterycountpara(from._internal_wdrawlotterycountpara()); } } void PB_CS_S_tagLotteryInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryInfo) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagLotteryInfo::CopyFrom(const PB_CS_S_tagLotteryInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryInfo) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagLotteryInfo::IsInitialized() const { return true; } void PB_CS_S_tagLotteryInfo::InternalSwap(PB_CS_S_tagLotteryInfo* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szdesc_.Swap(&other->szdesc_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wresult_, other->wresult_); swap(wlotterytype_, other->wlotterytype_); swap(whadlotterycount_, other->whadlotterycount_); swap(wlotterycountpara_, other->wlotterycountpara_); swap(wcurrentdrawcount_, other->wcurrentdrawcount_); swap(wdrawlotterycountpara_, other->wdrawlotterycountpara_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagLotteryInfo::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_C_workLotteryHis::InitAsDefaultInstance() { } class PB_CS_C_workLotteryHis::_Internal { public: }; PB_CS_C_workLotteryHis::PB_CS_C_workLotteryHis() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_C_workLotteryHis) } PB_CS_C_workLotteryHis::PB_CS_C_workLotteryHis(const PB_CS_C_workLotteryHis& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); btqueryflag_ = from.btqueryflag_; // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_C_workLotteryHis) } void PB_CS_C_workLotteryHis::SharedCtor() { btqueryflag_ = 0u; } PB_CS_C_workLotteryHis::~PB_CS_C_workLotteryHis() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_C_workLotteryHis) SharedDtor(); } void PB_CS_C_workLotteryHis::SharedDtor() { } void PB_CS_C_workLotteryHis::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_workLotteryHis& PB_CS_C_workLotteryHis::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_workLotteryHis_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_C_workLotteryHis::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_C_workLotteryHis) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; btqueryflag_ = 0u; _internal_metadata_.Clear(); } const char* PB_CS_C_workLotteryHis::_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 btQueryFlag = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { btqueryflag_ = ::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_workLotteryHis::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_C_workLotteryHis) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 btQueryFlag = 1; if (this->btqueryflag() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_btqueryflag(), 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:TurntableLogon.PB_CS_C_workLotteryHis) return target; } size_t PB_CS_C_workLotteryHis::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_C_workLotteryHis) 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 btQueryFlag = 1; if (this->btqueryflag() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_btqueryflag()); } 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_workLotteryHis::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_C_workLotteryHis) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_workLotteryHis* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_C_workLotteryHis) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_C_workLotteryHis) MergeFrom(*source); } } void PB_CS_C_workLotteryHis::MergeFrom(const PB_CS_C_workLotteryHis& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_C_workLotteryHis) 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.btqueryflag() != 0) { _internal_set_btqueryflag(from._internal_btqueryflag()); } } void PB_CS_C_workLotteryHis::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_C_workLotteryHis) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_workLotteryHis::CopyFrom(const PB_CS_C_workLotteryHis& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_C_workLotteryHis) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_workLotteryHis::IsInitialized() const { return true; } void PB_CS_C_workLotteryHis::InternalSwap(PB_CS_C_workLotteryHis* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(btqueryflag_, other->btqueryflag_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_workLotteryHis::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagLotteryHis::InitAsDefaultInstance() { } class PB_CS_S_tagLotteryHis::_Internal { public: }; PB_CS_S_tagLotteryHis::PB_CS_S_tagLotteryHis() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagLotteryHis) } PB_CS_S_tagLotteryHis::PB_CS_S_tagLotteryHis(const PB_CS_S_tagLotteryHis& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szusername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szusername().empty()) { szusername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szusername_); } szlotteryname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szlotteryname().empty()) { szlotteryname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlotteryname_); } szinputedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szinputedate().empty()) { szinputedate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szinputedate_); } szgetlotterydate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szgetlotterydate().empty()) { szgetlotterydate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szgetlotterydate_); } ::memcpy(&dwuserid_, &from.dwuserid_, static_cast(reinterpret_cast(&btgetlotteryflag_) - reinterpret_cast(&dwuserid_)) + sizeof(btgetlotteryflag_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagLotteryHis) } void PB_CS_S_tagLotteryHis::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto.base); szusername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szlotteryname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szinputedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szgetlotterydate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&dwuserid_, 0, static_cast( reinterpret_cast(&btgetlotteryflag_) - reinterpret_cast(&dwuserid_)) + sizeof(btgetlotteryflag_)); } PB_CS_S_tagLotteryHis::~PB_CS_S_tagLotteryHis() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagLotteryHis) SharedDtor(); } void PB_CS_S_tagLotteryHis::SharedDtor() { szusername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szlotteryname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szinputedate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szgetlotterydate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_S_tagLotteryHis::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagLotteryHis& PB_CS_S_tagLotteryHis::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagLotteryHis_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagLotteryHis::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagLotteryHis) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szusername_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szlotteryname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szinputedate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szgetlotterydate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&dwuserid_, 0, static_cast( reinterpret_cast(&btgetlotteryflag_) - reinterpret_cast(&dwuserid_)) + sizeof(btgetlotteryflag_)); _internal_metadata_.Clear(); } const char* PB_CS_S_tagLotteryHis::_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 dwUserID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { dwuserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szUserName = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szusername(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryHis.szUserName"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLotteryType = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { wlotterytype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wRouletteID = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wrouletteid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szLotteryName = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szlotteryname(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryHis.szLotteryName"); CHK_(ptr); } else goto handle_unusual; continue; // string szInputeDate = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szinputedate(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryHis.szInputeDate"); CHK_(ptr); } else goto handle_unusual; continue; // string szGetLotteryDate = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szgetlotterydate(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryHis.szGetLotteryDate"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 btGetLotteryFlag = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { btgetlotteryflag_ = ::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_tagLotteryHis::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagLotteryHis) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 dwUserID = 1; if (this->dwuserid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dwuserid(), target); } // string szUserName = 2; if (this->szusername().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szusername().data(), static_cast(this->_internal_szusername().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryHis.szUserName"); target = stream->WriteStringMaybeAliased( 2, this->_internal_szusername(), target); } // uint32 wLotteryType = 3; if (this->wlotterytype() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wlotterytype(), target); } // uint32 wRouletteID = 4; if (this->wrouletteid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wrouletteid(), target); } // string szLotteryName = 5; if (this->szlotteryname().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szlotteryname().data(), static_cast(this->_internal_szlotteryname().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryHis.szLotteryName"); target = stream->WriteStringMaybeAliased( 5, this->_internal_szlotteryname(), target); } // string szInputeDate = 7; if (this->szinputedate().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szinputedate().data(), static_cast(this->_internal_szinputedate().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryHis.szInputeDate"); target = stream->WriteStringMaybeAliased( 7, this->_internal_szinputedate(), target); } // string szGetLotteryDate = 8; if (this->szgetlotterydate().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szgetlotterydate().data(), static_cast(this->_internal_szgetlotterydate().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryHis.szGetLotteryDate"); target = stream->WriteStringMaybeAliased( 8, this->_internal_szgetlotterydate(), target); } // uint32 btGetLotteryFlag = 9; if (this->btgetlotteryflag() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(9, this->_internal_btgetlotteryflag(), 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:TurntableLogon.PB_CS_S_tagLotteryHis) return target; } size_t PB_CS_S_tagLotteryHis::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagLotteryHis) 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 szUserName = 2; if (this->szusername().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szusername()); } // string szLotteryName = 5; if (this->szlotteryname().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szlotteryname()); } // string szInputeDate = 7; if (this->szinputedate().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szinputedate()); } // string szGetLotteryDate = 8; if (this->szgetlotterydate().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szgetlotterydate()); } // uint32 dwUserID = 1; if (this->dwuserid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwuserid()); } // uint32 wLotteryType = 3; if (this->wlotterytype() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlotterytype()); } // uint32 wRouletteID = 4; if (this->wrouletteid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wrouletteid()); } // uint32 btGetLotteryFlag = 9; if (this->btgetlotteryflag() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_btgetlotteryflag()); } 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_tagLotteryHis::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHis) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagLotteryHis* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagLotteryHis) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagLotteryHis) MergeFrom(*source); } } void PB_CS_S_tagLotteryHis::MergeFrom(const PB_CS_S_tagLotteryHis& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHis) 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.szusername().size() > 0) { szusername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szusername_); } if (from.szlotteryname().size() > 0) { szlotteryname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlotteryname_); } if (from.szinputedate().size() > 0) { szinputedate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szinputedate_); } if (from.szgetlotterydate().size() > 0) { szgetlotterydate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szgetlotterydate_); } if (from.dwuserid() != 0) { _internal_set_dwuserid(from._internal_dwuserid()); } if (from.wlotterytype() != 0) { _internal_set_wlotterytype(from._internal_wlotterytype()); } if (from.wrouletteid() != 0) { _internal_set_wrouletteid(from._internal_wrouletteid()); } if (from.btgetlotteryflag() != 0) { _internal_set_btgetlotteryflag(from._internal_btgetlotteryflag()); } } void PB_CS_S_tagLotteryHis::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHis) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagLotteryHis::CopyFrom(const PB_CS_S_tagLotteryHis& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHis) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagLotteryHis::IsInitialized() const { return true; } void PB_CS_S_tagLotteryHis::InternalSwap(PB_CS_S_tagLotteryHis* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szusername_.Swap(&other->szusername_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szlotteryname_.Swap(&other->szlotteryname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szinputedate_.Swap(&other->szinputedate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szgetlotterydate_.Swap(&other->szgetlotterydate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(dwuserid_, other->dwuserid_); swap(wlotterytype_, other->wlotterytype_); swap(wrouletteid_, other->wrouletteid_); swap(btgetlotteryflag_, other->btgetlotteryflag_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagLotteryHis::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagLotteryHisACK::InitAsDefaultInstance() { } class PB_CS_S_tagLotteryHisACK::_Internal { public: }; PB_CS_S_tagLotteryHisACK::PB_CS_S_tagLotteryHisACK() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagLotteryHisACK) } PB_CS_S_tagLotteryHisACK::PB_CS_S_tagLotteryHisACK(const PB_CS_S_tagLotteryHisACK& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), lotteryhis_(from.lotteryhis_) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagLotteryHisACK) } void PB_CS_S_tagLotteryHisACK::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagLotteryHisACK_Pb_5fTurntableLogon_2eproto.base); } PB_CS_S_tagLotteryHisACK::~PB_CS_S_tagLotteryHisACK() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagLotteryHisACK) SharedDtor(); } void PB_CS_S_tagLotteryHisACK::SharedDtor() { } void PB_CS_S_tagLotteryHisACK::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagLotteryHisACK& PB_CS_S_tagLotteryHisACK::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagLotteryHisACK_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagLotteryHisACK::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; lotteryhis_.Clear(); _internal_metadata_.Clear(); } const char* PB_CS_S_tagLotteryHisACK::_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) { // repeated .TurntableLogon.PB_CS_S_tagLotteryHis LotteryHis = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr -= 1; do { ptr += 1; ptr = ctx->ParseMessage(_internal_add_lotteryhis(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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_tagLotteryHisACK::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .TurntableLogon.PB_CS_S_tagLotteryHis LotteryHis = 1; for (unsigned int i = 0, n = static_cast(this->_internal_lotteryhis_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray(1, this->_internal_lotteryhis(i), target, stream); } 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:TurntableLogon.PB_CS_S_tagLotteryHisACK) return target; } size_t PB_CS_S_tagLotteryHisACK::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) 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; // repeated .TurntableLogon.PB_CS_S_tagLotteryHis LotteryHis = 1; total_size += 1UL * this->_internal_lotteryhis_size(); for (const auto& msg : this->lotteryhis_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } 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_tagLotteryHisACK::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagLotteryHisACK* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagLotteryHisACK) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagLotteryHisACK) MergeFrom(*source); } } void PB_CS_S_tagLotteryHisACK::MergeFrom(const PB_CS_S_tagLotteryHisACK& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; lotteryhis_.MergeFrom(from.lotteryhis_); } void PB_CS_S_tagLotteryHisACK::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagLotteryHisACK::CopyFrom(const PB_CS_S_tagLotteryHisACK& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHisACK) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagLotteryHisACK::IsInitialized() const { return true; } void PB_CS_S_tagLotteryHisACK::InternalSwap(PB_CS_S_tagLotteryHisACK* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); lotteryhis_.InternalSwap(&other->lotteryhis_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagLotteryHisACK::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagLotteryHisEx::InitAsDefaultInstance() { } class PB_CS_S_tagLotteryHisEx::_Internal { public: }; PB_CS_S_tagLotteryHisEx::PB_CS_S_tagLotteryHisEx() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagLotteryHisEx) } PB_CS_S_tagLotteryHisEx::PB_CS_S_tagLotteryHisEx(const PB_CS_S_tagLotteryHisEx& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szlotteryname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szlotteryname().empty()) { szlotteryname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlotteryname_); } szinputedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szinputedate().empty()) { szinputedate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szinputedate_); } ::memcpy(&dwrecordid_, &from.dwrecordid_, static_cast(reinterpret_cast(&btgetlotteryflag_) - reinterpret_cast(&dwrecordid_)) + sizeof(btgetlotteryflag_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagLotteryHisEx) } void PB_CS_S_tagLotteryHisEx::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto.base); szlotteryname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szinputedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&dwrecordid_, 0, static_cast( reinterpret_cast(&btgetlotteryflag_) - reinterpret_cast(&dwrecordid_)) + sizeof(btgetlotteryflag_)); } PB_CS_S_tagLotteryHisEx::~PB_CS_S_tagLotteryHisEx() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagLotteryHisEx) SharedDtor(); } void PB_CS_S_tagLotteryHisEx::SharedDtor() { szlotteryname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szinputedate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_S_tagLotteryHisEx::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagLotteryHisEx& PB_CS_S_tagLotteryHisEx::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagLotteryHisEx_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagLotteryHisEx::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szlotteryname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szinputedate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&dwrecordid_, 0, static_cast( reinterpret_cast(&btgetlotteryflag_) - reinterpret_cast(&dwrecordid_)) + sizeof(btgetlotteryflag_)); _internal_metadata_.Clear(); } const char* PB_CS_S_tagLotteryHisEx::_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 dwRecordID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { dwrecordid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wRouletteID = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { wrouletteid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szLotteryName = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szlotteryname(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryHisEx.szLotteryName"); CHK_(ptr); } else goto handle_unusual; continue; // string szInputeDate = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szinputedate(), ptr, ctx, "TurntableLogon.PB_CS_S_tagLotteryHisEx.szInputeDate"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 btGetLotteryFlag = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { btgetlotteryflag_ = ::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_tagLotteryHisEx::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 dwRecordID = 1; if (this->dwrecordid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dwrecordid(), target); } // uint32 wRouletteID = 2; if (this->wrouletteid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wrouletteid(), target); } // string szLotteryName = 3; if (this->szlotteryname().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szlotteryname().data(), static_cast(this->_internal_szlotteryname().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryHisEx.szLotteryName"); target = stream->WriteStringMaybeAliased( 3, this->_internal_szlotteryname(), target); } // string szInputeDate = 4; if (this->szinputedate().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szinputedate().data(), static_cast(this->_internal_szinputedate().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_S_tagLotteryHisEx.szInputeDate"); target = stream->WriteStringMaybeAliased( 4, this->_internal_szinputedate(), target); } // uint32 btGetLotteryFlag = 5; if (this->btgetlotteryflag() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_btgetlotteryflag(), 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:TurntableLogon.PB_CS_S_tagLotteryHisEx) return target; } size_t PB_CS_S_tagLotteryHisEx::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) 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 szLotteryName = 3; if (this->szlotteryname().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szlotteryname()); } // string szInputeDate = 4; if (this->szinputedate().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szinputedate()); } // uint32 dwRecordID = 1; if (this->dwrecordid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwrecordid()); } // uint32 wRouletteID = 2; if (this->wrouletteid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wrouletteid()); } // uint32 btGetLotteryFlag = 5; if (this->btgetlotteryflag() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_btgetlotteryflag()); } 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_tagLotteryHisEx::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagLotteryHisEx* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagLotteryHisEx) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagLotteryHisEx) MergeFrom(*source); } } void PB_CS_S_tagLotteryHisEx::MergeFrom(const PB_CS_S_tagLotteryHisEx& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) 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.szlotteryname().size() > 0) { szlotteryname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szlotteryname_); } if (from.szinputedate().size() > 0) { szinputedate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szinputedate_); } if (from.dwrecordid() != 0) { _internal_set_dwrecordid(from._internal_dwrecordid()); } if (from.wrouletteid() != 0) { _internal_set_wrouletteid(from._internal_wrouletteid()); } if (from.btgetlotteryflag() != 0) { _internal_set_btgetlotteryflag(from._internal_btgetlotteryflag()); } } void PB_CS_S_tagLotteryHisEx::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagLotteryHisEx::CopyFrom(const PB_CS_S_tagLotteryHisEx& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHisEx) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagLotteryHisEx::IsInitialized() const { return true; } void PB_CS_S_tagLotteryHisEx::InternalSwap(PB_CS_S_tagLotteryHisEx* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szlotteryname_.Swap(&other->szlotteryname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szinputedate_.Swap(&other->szinputedate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(dwrecordid_, other->dwrecordid_); swap(wrouletteid_, other->wrouletteid_); swap(btgetlotteryflag_, other->btgetlotteryflag_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagLotteryHisEx::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_tagLotteryHisExACK::InitAsDefaultInstance() { } class PB_CS_S_tagLotteryHisExACK::_Internal { public: }; PB_CS_S_tagLotteryHisExACK::PB_CS_S_tagLotteryHisExACK() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_S_tagLotteryHisExACK) } PB_CS_S_tagLotteryHisExACK::PB_CS_S_tagLotteryHisExACK(const PB_CS_S_tagLotteryHisExACK& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), lotteryhisex_(from.lotteryhisex_) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_S_tagLotteryHisExACK) } void PB_CS_S_tagLotteryHisExACK::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_tagLotteryHisExACK_Pb_5fTurntableLogon_2eproto.base); } PB_CS_S_tagLotteryHisExACK::~PB_CS_S_tagLotteryHisExACK() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_S_tagLotteryHisExACK) SharedDtor(); } void PB_CS_S_tagLotteryHisExACK::SharedDtor() { } void PB_CS_S_tagLotteryHisExACK::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_tagLotteryHisExACK& PB_CS_S_tagLotteryHisExACK::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_tagLotteryHisExACK_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_S_tagLotteryHisExACK::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; lotteryhisex_.Clear(); _internal_metadata_.Clear(); } const char* PB_CS_S_tagLotteryHisExACK::_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) { // repeated .TurntableLogon.PB_CS_S_tagLotteryHisEx LotteryHisEx = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr -= 1; do { ptr += 1; ptr = ctx->ParseMessage(_internal_add_lotteryhisex(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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_tagLotteryHisExACK::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .TurntableLogon.PB_CS_S_tagLotteryHisEx LotteryHisEx = 1; for (unsigned int i = 0, n = static_cast(this->_internal_lotteryhisex_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray(1, this->_internal_lotteryhisex(i), target, stream); } 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:TurntableLogon.PB_CS_S_tagLotteryHisExACK) return target; } size_t PB_CS_S_tagLotteryHisExACK::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) 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; // repeated .TurntableLogon.PB_CS_S_tagLotteryHisEx LotteryHisEx = 1; total_size += 1UL * this->_internal_lotteryhisex_size(); for (const auto& msg : this->lotteryhisex_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } 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_tagLotteryHisExACK::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_tagLotteryHisExACK* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_S_tagLotteryHisExACK) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_S_tagLotteryHisExACK) MergeFrom(*source); } } void PB_CS_S_tagLotteryHisExACK::MergeFrom(const PB_CS_S_tagLotteryHisExACK& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; lotteryhisex_.MergeFrom(from.lotteryhisex_); } void PB_CS_S_tagLotteryHisExACK::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_tagLotteryHisExACK::CopyFrom(const PB_CS_S_tagLotteryHisExACK& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_S_tagLotteryHisExACK) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_tagLotteryHisExACK::IsInitialized() const { return true; } void PB_CS_S_tagLotteryHisExACK::InternalSwap(PB_CS_S_tagLotteryHisExACK* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); lotteryhisex_.InternalSwap(&other->lotteryhisex_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_tagLotteryHisExACK::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_C_workLotteryAward::InitAsDefaultInstance() { } class PB_CS_C_workLotteryAward::_Internal { public: }; PB_CS_C_workLotteryAward::PB_CS_C_workLotteryAward() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_C_workLotteryAward) } PB_CS_C_workLotteryAward::PB_CS_C_workLotteryAward(const PB_CS_C_workLotteryAward& 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_); } ::memcpy(&precord_, &from.precord_, static_cast(reinterpret_cast(&lerrorcode_) - reinterpret_cast(&precord_)) + sizeof(lerrorcode_)); // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_C_workLotteryAward) } void PB_CS_C_workLotteryAward::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_workLotteryAward_Pb_5fTurntableLogon_2eproto.base); szdescribestring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&precord_, 0, static_cast( reinterpret_cast(&lerrorcode_) - reinterpret_cast(&precord_)) + sizeof(lerrorcode_)); } PB_CS_C_workLotteryAward::~PB_CS_C_workLotteryAward() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_C_workLotteryAward) SharedDtor(); } void PB_CS_C_workLotteryAward::SharedDtor() { szdescribestring_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_C_workLotteryAward::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_workLotteryAward& PB_CS_C_workLotteryAward::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_workLotteryAward_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_C_workLotteryAward::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_C_workLotteryAward) ::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()); ::memset(&precord_, 0, static_cast( reinterpret_cast(&lerrorcode_) - reinterpret_cast(&precord_)) + sizeof(lerrorcode_)); _internal_metadata_.Clear(); } const char* PB_CS_C_workLotteryAward::_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 pRecord = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { precord_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 lErrorCode = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { lerrorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szDescribeString = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szdescribestring(), ptr, ctx, "TurntableLogon.PB_CS_C_workLotteryAward.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_C_workLotteryAward::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_C_workLotteryAward) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 pRecord = 1; if (this->precord() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_precord(), target); } // uint32 lErrorCode = 2; if (this->lerrorcode() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_lerrorcode(), target); } // string szDescribeString = 3; if (this->szdescribestring().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szdescribestring().data(), static_cast(this->_internal_szdescribestring().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_C_workLotteryAward.szDescribeString"); target = stream->WriteStringMaybeAliased( 3, 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:TurntableLogon.PB_CS_C_workLotteryAward) return target; } size_t PB_CS_C_workLotteryAward::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_C_workLotteryAward) 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 = 3; if (this->szdescribestring().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szdescribestring()); } // uint32 pRecord = 1; if (this->precord() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_precord()); } // uint32 lErrorCode = 2; if (this->lerrorcode() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_lerrorcode()); } 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_workLotteryAward::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_C_workLotteryAward) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_workLotteryAward* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_C_workLotteryAward) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_C_workLotteryAward) MergeFrom(*source); } } void PB_CS_C_workLotteryAward::MergeFrom(const PB_CS_C_workLotteryAward& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_C_workLotteryAward) 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.precord() != 0) { _internal_set_precord(from._internal_precord()); } if (from.lerrorcode() != 0) { _internal_set_lerrorcode(from._internal_lerrorcode()); } } void PB_CS_C_workLotteryAward::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_C_workLotteryAward) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_workLotteryAward::CopyFrom(const PB_CS_C_workLotteryAward& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_C_workLotteryAward) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_workLotteryAward::IsInitialized() const { return true; } void PB_CS_C_workLotteryAward::InternalSwap(PB_CS_C_workLotteryAward* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szdescribestring_.Swap(&other->szdescribestring_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(precord_, other->precord_); swap(lerrorcode_, other->lerrorcode_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_workLotteryAward::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_LotteryAddr::InitAsDefaultInstance() { } class PB_CS_LotteryAddr::_Internal { public: }; PB_CS_LotteryAddr::PB_CS_LotteryAddr() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:TurntableLogon.PB_CS_LotteryAddr) } PB_CS_LotteryAddr::PB_CS_LotteryAddr(const PB_CS_LotteryAddr& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szaddressname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szaddressname().empty()) { szaddressname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaddressname_); } szaddress_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szaddress().empty()) { szaddress_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaddress_); } szaddrphonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szaddrphonenum().empty()) { szaddrphonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaddrphonenum_); } preq_ = from.preq_; // @@protoc_insertion_point(copy_constructor:TurntableLogon.PB_CS_LotteryAddr) } void PB_CS_LotteryAddr::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_LotteryAddr_Pb_5fTurntableLogon_2eproto.base); szaddressname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szaddress_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szaddrphonenum_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); preq_ = 0u; } PB_CS_LotteryAddr::~PB_CS_LotteryAddr() { // @@protoc_insertion_point(destructor:TurntableLogon.PB_CS_LotteryAddr) SharedDtor(); } void PB_CS_LotteryAddr::SharedDtor() { szaddressname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szaddress_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szaddrphonenum_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_LotteryAddr::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_LotteryAddr& PB_CS_LotteryAddr::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_LotteryAddr_Pb_5fTurntableLogon_2eproto.base); return *internal_default_instance(); } void PB_CS_LotteryAddr::Clear() { // @@protoc_insertion_point(message_clear_start:TurntableLogon.PB_CS_LotteryAddr) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szaddressname_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szaddress_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); szaddrphonenum_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); preq_ = 0u; _internal_metadata_.Clear(); } const char* PB_CS_LotteryAddr::_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) { // string szAddressName = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaddressname(), ptr, ctx, "TurntableLogon.PB_CS_LotteryAddr.szAddressName"); CHK_(ptr); } else goto handle_unusual; continue; // string szAddress = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaddress(), ptr, ctx, "TurntableLogon.PB_CS_LotteryAddr.szAddress"); CHK_(ptr); } else goto handle_unusual; continue; // string szAddrPhoneNum = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szaddrphonenum(), ptr, ctx, "TurntableLogon.PB_CS_LotteryAddr.szAddrPhoneNum"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 pReq = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { preq_ = ::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_LotteryAddr::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TurntableLogon.PB_CS_LotteryAddr) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // string szAddressName = 1; if (this->szaddressname().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szaddressname().data(), static_cast(this->_internal_szaddressname().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_LotteryAddr.szAddressName"); target = stream->WriteStringMaybeAliased( 1, this->_internal_szaddressname(), target); } // string szAddress = 2; if (this->szaddress().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szaddress().data(), static_cast(this->_internal_szaddress().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_LotteryAddr.szAddress"); target = stream->WriteStringMaybeAliased( 2, this->_internal_szaddress(), target); } // string szAddrPhoneNum = 3; if (this->szaddrphonenum().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szaddrphonenum().data(), static_cast(this->_internal_szaddrphonenum().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "TurntableLogon.PB_CS_LotteryAddr.szAddrPhoneNum"); target = stream->WriteStringMaybeAliased( 3, this->_internal_szaddrphonenum(), target); } // uint32 pReq = 4; if (this->preq() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_preq(), 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:TurntableLogon.PB_CS_LotteryAddr) return target; } size_t PB_CS_LotteryAddr::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:TurntableLogon.PB_CS_LotteryAddr) 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 szAddressName = 1; if (this->szaddressname().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szaddressname()); } // string szAddress = 2; if (this->szaddress().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szaddress()); } // string szAddrPhoneNum = 3; if (this->szaddrphonenum().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szaddrphonenum()); } // uint32 pReq = 4; if (this->preq() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_preq()); } 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_LotteryAddr::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:TurntableLogon.PB_CS_LotteryAddr) GOOGLE_DCHECK_NE(&from, this); const PB_CS_LotteryAddr* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:TurntableLogon.PB_CS_LotteryAddr) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:TurntableLogon.PB_CS_LotteryAddr) MergeFrom(*source); } } void PB_CS_LotteryAddr::MergeFrom(const PB_CS_LotteryAddr& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TurntableLogon.PB_CS_LotteryAddr) 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.szaddressname().size() > 0) { szaddressname_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaddressname_); } if (from.szaddress().size() > 0) { szaddress_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaddress_); } if (from.szaddrphonenum().size() > 0) { szaddrphonenum_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szaddrphonenum_); } if (from.preq() != 0) { _internal_set_preq(from._internal_preq()); } } void PB_CS_LotteryAddr::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:TurntableLogon.PB_CS_LotteryAddr) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_LotteryAddr::CopyFrom(const PB_CS_LotteryAddr& from) { // @@protoc_insertion_point(class_specific_copy_from_start:TurntableLogon.PB_CS_LotteryAddr) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_LotteryAddr::IsInitialized() const { return true; } void PB_CS_LotteryAddr::InternalSwap(PB_CS_LotteryAddr* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szaddressname_.Swap(&other->szaddressname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szaddress_.Swap(&other->szaddress_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); szaddrphonenum_.Swap(&other->szaddrphonenum_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(preq_, other->preq_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_LotteryAddr::GetMetadata() const { return GetMetadataStatic(); } // @@protoc_insertion_point(namespace_scope) } // namespace TurntableLogon PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_C_LogonMobile* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_C_LogonMobile >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_C_LogonMobile >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_LogonFailure* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_LogonFailure >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_LogonFailure >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_LogonSuccess* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_LogonSuccess >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_LogonSuccess >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_C_tagRouletteConfig* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_C_tagRouletteConfig >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_C_tagRouletteConfig >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagRouletteConfig2* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagRouletteConfig2 >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagRouletteConfig2 >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_C_tagLotteryResult* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_C_tagLotteryResult >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_C_tagLotteryResult >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagLotteryResult* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagLotteryResult >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagLotteryResult >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_C_workLotteryInfo* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_C_workLotteryInfo >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_C_workLotteryInfo >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagLotteryInfo* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagLotteryInfo >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagLotteryInfo >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_C_workLotteryHis* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_C_workLotteryHis >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_C_workLotteryHis >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagLotteryHis* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagLotteryHis >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagLotteryHis >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagLotteryHisACK* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagLotteryHisACK >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagLotteryHisACK >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagLotteryHisEx* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagLotteryHisEx >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagLotteryHisEx >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_S_tagLotteryHisExACK* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_S_tagLotteryHisExACK >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_S_tagLotteryHisExACK >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_C_workLotteryAward* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_C_workLotteryAward >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_C_workLotteryAward >(arena); } template<> PROTOBUF_NOINLINE ::TurntableLogon::PB_CS_LotteryAddr* Arena::CreateMaybeMessage< ::TurntableLogon::PB_CS_LotteryAddr >(Arena* arena) { return Arena::CreateInternal< ::TurntableLogon::PB_CS_LotteryAddr >(arena); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include