// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Pb_GameInfo.proto #include "Pb_GameInfo.pb.h" #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) #include extern PROTOBUF_INTERNAL_EXPORT_Pb_5fGameInfo_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto; extern PROTOBUF_INTERNAL_EXPORT_Pb_5fGameInfo_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto; extern PROTOBUF_INTERNAL_EXPORT_Pb_5fGameInfo_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto; extern PROTOBUF_INTERNAL_EXPORT_Pb_5fGameInfo_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto; extern PROTOBUF_INTERNAL_EXPORT_Pb_5fGameInfo_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_dwUserName_Pb_5fGameInfo_2eproto; namespace GameInfo { class PB_CS_USER_READYDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_USER_READY_default_instance_; class pb_dwUserNameDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _pb_dwUserName_default_instance_; class PB_CS_S_SHUFFLE_ALL_ACKDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_SHUFFLE_ALL_ACK_default_instance_; class PB_CS_UserChatDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_UserChat_default_instance_; class PB_CS_UserExpressionDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_UserExpression_default_instance_; class PB_CS_GameStatusDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_GameStatus_default_instance_; class PB_CS_C_tagGameConfigDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_C_tagGameConfig_default_instance_; class PB_CS_S_StatusFreeDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_StatusFree_default_instance_; class pb_WeaveItemDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _pb_WeaveItem_default_instance_; class pb_WeaveItemArrayDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _pb_WeaveItemArray_default_instance_; class pb_cbDiscardCardDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _pb_cbDiscardCard_default_instance_; class PB_CS_S_StatusPlayDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_StatusPlay_default_instance_; class PB_CS_S_UserDistanceDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_UserDistance_default_instance_; class PB_CS_S_SystemMessageDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _PB_CS_S_SystemMessage_default_instance_; } // namespace GameInfo static void InitDefaultsscc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_C_tagGameConfig_default_instance_; new (ptr) ::GameInfo::PB_CS_C_tagGameConfig(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_C_tagGameConfig::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_GameStatus_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_GameStatus_default_instance_; new (ptr) ::GameInfo::PB_CS_GameStatus(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_GameStatus::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_GameStatus_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_GameStatus_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_SHUFFLE_ALL_ACK_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_S_SHUFFLE_ALL_ACK_default_instance_; new (ptr) ::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PB_CS_S_SHUFFLE_ALL_ACK_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_PB_CS_S_SHUFFLE_ALL_ACK_Pb_5fGameInfo_2eproto}, { &scc_info_pb_dwUserName_Pb_5fGameInfo_2eproto.base,}}; static void InitDefaultsscc_info_PB_CS_S_StatusFree_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_S_StatusFree_default_instance_; new (ptr) ::GameInfo::PB_CS_S_StatusFree(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_S_StatusFree::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PB_CS_S_StatusFree_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_PB_CS_S_StatusFree_Pb_5fGameInfo_2eproto}, { &scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto.base,}}; static void InitDefaultsscc_info_PB_CS_S_StatusPlay_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_S_StatusPlay_default_instance_; new (ptr) ::GameInfo::PB_CS_S_StatusPlay(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_S_StatusPlay::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_PB_CS_S_StatusPlay_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_PB_CS_S_StatusPlay_Pb_5fGameInfo_2eproto}, { &scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto.base, &scc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto.base, &scc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto.base,}}; static void InitDefaultsscc_info_PB_CS_S_SystemMessage_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_S_SystemMessage_default_instance_; new (ptr) ::GameInfo::PB_CS_S_SystemMessage(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_S_SystemMessage::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_SystemMessage_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_SystemMessage_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_S_UserDistance_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_S_UserDistance_default_instance_; new (ptr) ::GameInfo::PB_CS_S_UserDistance(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_S_UserDistance::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_S_UserDistance_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_S_UserDistance_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_USER_READY_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_USER_READY_default_instance_; new (ptr) ::GameInfo::PB_CS_USER_READY(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_USER_READY::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_USER_READY_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_USER_READY_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_UserChat_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_UserChat_default_instance_; new (ptr) ::GameInfo::PB_CS_UserChat(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_UserChat::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_UserChat_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_UserChat_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_PB_CS_UserExpression_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_PB_CS_UserExpression_default_instance_; new (ptr) ::GameInfo::PB_CS_UserExpression(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::PB_CS_UserExpression::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PB_CS_UserExpression_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PB_CS_UserExpression_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_pb_WeaveItem_default_instance_; new (ptr) ::GameInfo::pb_WeaveItem(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::pb_WeaveItem::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_pb_WeaveItemArray_default_instance_; new (ptr) ::GameInfo::pb_WeaveItemArray(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::pb_WeaveItemArray::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto}, { &scc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto.base,}}; static void InitDefaultsscc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_pb_cbDiscardCard_default_instance_; new (ptr) ::GameInfo::pb_cbDiscardCard(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::pb_cbDiscardCard::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto}, {}}; static void InitDefaultsscc_info_pb_dwUserName_Pb_5fGameInfo_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::GameInfo::_pb_dwUserName_default_instance_; new (ptr) ::GameInfo::pb_dwUserName(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::GameInfo::pb_dwUserName::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_pb_dwUserName_Pb_5fGameInfo_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_pb_dwUserName_Pb_5fGameInfo_2eproto}, {}}; static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Pb_5fGameInfo_2eproto[14]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_Pb_5fGameInfo_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Pb_5fGameInfo_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Pb_5fGameInfo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_USER_READY, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_dwUserName, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_dwUserName, dwusername_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK, cbcount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK, dwusername_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserChat, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserChat, wchatlength_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserChat, dwchatcolor_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserChat, dwtargetuserid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserChat, dwsenduserid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserChat, szchatstring_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserExpression, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserExpression, witemindex_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserExpression, dwsenduserid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_UserExpression, dwtargetuserid_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_GameStatus, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_GameStatus, cbgamestatus_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_GameStatus, cballowlookon_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, wsubgameid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, wplayrule_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, wmaxfanrule_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, wmaxscore_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, wplaycountrule_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, whadplaycount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, zmextrarule_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, dghrule_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, sprivatetableid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, bduolai_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, wfengding_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, tmp1_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, tmp2_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, tmp3_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, tmp4_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_C_tagGameConfig, tmp5_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, gameconfig_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, lusertmpscore_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, lefttime_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, wchairid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, options_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusFree, userstat_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItem, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItem, cbweavekind_), PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItem, cbcentercard_), PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItem, cbpubliccard_), PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItem, wprovideuser_), PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItem, cbmargicoffset_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItemArray, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_WeaveItemArray, weaveitem_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_cbDiscardCard, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::pb_cbDiscardCard, cbdiscardcard_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, gameconfig_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, lusertmpscore_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, lefttime_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, wchairid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, options_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbtotalcardcount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbleftcardcount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, wbankeruser_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, lsizi_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, dwownerid_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, wcurrentuser_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, bputcarddata_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, totalopttime_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, leftopttime_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbdiscardcount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbdiscardcard_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbcardcount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbweavecount_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, weaveitemarray_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbcarddata_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, cbactionmask_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_StatusPlay, gangcards_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_UserDistance, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_UserDistance, cboperlocation_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_UserDistance, dwuserdistance_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SystemMessage, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SystemMessage, wtype_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SystemMessage, wlength_), PROTOBUF_FIELD_OFFSET(::GameInfo::PB_CS_S_SystemMessage, szstring_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::GameInfo::PB_CS_USER_READY)}, { 5, -1, sizeof(::GameInfo::pb_dwUserName)}, { 11, -1, sizeof(::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK)}, { 18, -1, sizeof(::GameInfo::PB_CS_UserChat)}, { 28, -1, sizeof(::GameInfo::PB_CS_UserExpression)}, { 36, -1, sizeof(::GameInfo::PB_CS_GameStatus)}, { 43, -1, sizeof(::GameInfo::PB_CS_C_tagGameConfig)}, { 64, -1, sizeof(::GameInfo::PB_CS_S_StatusFree)}, { 75, -1, sizeof(::GameInfo::pb_WeaveItem)}, { 85, -1, sizeof(::GameInfo::pb_WeaveItemArray)}, { 91, -1, sizeof(::GameInfo::pb_cbDiscardCard)}, { 97, -1, sizeof(::GameInfo::PB_CS_S_StatusPlay)}, { 124, -1, sizeof(::GameInfo::PB_CS_S_UserDistance)}, { 131, -1, sizeof(::GameInfo::PB_CS_S_SystemMessage)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::GameInfo::_PB_CS_USER_READY_default_instance_), reinterpret_cast(&::GameInfo::_pb_dwUserName_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_S_SHUFFLE_ALL_ACK_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_UserChat_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_UserExpression_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_GameStatus_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_C_tagGameConfig_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_S_StatusFree_default_instance_), reinterpret_cast(&::GameInfo::_pb_WeaveItem_default_instance_), reinterpret_cast(&::GameInfo::_pb_WeaveItemArray_default_instance_), reinterpret_cast(&::GameInfo::_pb_cbDiscardCard_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_S_StatusPlay_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_S_UserDistance_default_instance_), reinterpret_cast(&::GameInfo::_PB_CS_S_SystemMessage_default_instance_), }; const char descriptor_table_protodef_Pb_5fGameInfo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\021Pb_GameInfo.proto\022\010GameInfo\"\022\n\020PB_CS_U" "SER_READY\"#\n\rpb_dwUserName\022\022\n\ndwUserName" "\030\001 \001(\t\"W\n\027PB_CS_S_SHUFFLE_ALL_ACK\022\017\n\007cbC" "ount\030\001 \001(\r\022+\n\ndwUserName\030\002 \003(\0132\027.GameInf" "o.pb_dwUserName\"~\n\016PB_CS_UserChat\022\023\n\013wCh" "atLength\030\001 \001(\r\022\023\n\013dwChatColor\030\002 \001(\r\022\026\n\016d" "wTargetUserID\030\003 \001(\r\022\024\n\014dwSendUserID\030\004 \001(" "\r\022\024\n\014szChatString\030\005 \001(\t\"X\n\024PB_CS_UserExp" "ression\022\022\n\nwItemIndex\030\001 \001(\r\022\024\n\014dwSendUse" "rID\030\002 \001(\r\022\026\n\016dwTargetUserID\030\003 \001(\r\"\?\n\020PB_" "CS_GameStatus\022\024\n\014cbGameStatus\030\001 \001(\r\022\025\n\rc" "bAllowLookon\030\002 \001(\r\"\276\002\n\025PB_CS_C_tagGameCo" "nfig\022\022\n\nwSubGameID\030\001 \001(\r\022\021\n\twPlayRule\030\002 " "\001(\r\022\023\n\013wMaxFanRule\030\003 \001(\r\022\021\n\twMaxScore\030\004 " "\001(\r\022\026\n\016wPlayCountRule\030\005 \001(\r\022\025\n\rwHadPlayC" "ount\030\006 \001(\r\022\023\n\013zmExtraRule\030\007 \001(\r\022\017\n\007dghRu" "le\030\010 \001(\r\022\027\n\017sPrivateTableID\030\t \001(\t\022\017\n\007bDu" "oLai\030\n \001(\r\022\021\n\twFengDing\030\013 \001(\r\022\014\n\004tmp1\030\014 " "\001(\r\022\014\n\004tmp2\030\r \001(\r\022\014\n\004tmp3\030\016 \001(\r\022\014\n\004tmp4\030" "\017 \001(\r\022\014\n\004tmp5\030\020 \001(\r\"\247\001\n\022PB_CS_S_StatusFr" "ee\0223\n\ngameConfig\030\001 \001(\0132\037.GameInfo.PB_CS_" "C_tagGameConfig\022\025\n\rlUserTmpScore\030\002 \003(\022\022\020" "\n\010leftTime\030\003 \001(\r\022\020\n\010wchairId\030\004 \001(\r\022\017\n\007op" "tions\030\005 \003(\r\022\020\n\010UserStat\030\006 \001(\r\"}\n\014pb_Weav" "eItem\022\023\n\013cbWeaveKind\030\001 \001(\r\022\024\n\014cbCenterCa" "rd\030\002 \001(\r\022\024\n\014cbPublicCard\030\003 \001(\r\022\024\n\014wProvi" "deUser\030\004 \001(\r\022\026\n\016cbMargicOffset\030\005 \003(\r\">\n\021" "pb_WeaveItemArray\022)\n\tWeaveItem\030\002 \003(\0132\026.G" "ameInfo.pb_WeaveItem\")\n\020pb_cbDiscardCard" "\022\025\n\rcbDiscardCard\030\001 \003(\r\"\276\004\n\022PB_CS_S_Stat" "usPlay\0223\n\ngameConfig\030\001 \001(\0132\037.GameInfo.PB" "_CS_C_tagGameConfig\022\025\n\rlUserTmpScore\030\002 \003" "(\004\022\020\n\010leftTime\030\003 \001(\r\022\020\n\010wchairId\030\004 \001(\r\022\017" "\n\007options\030\005 \003(\r\022\030\n\020cbTotalCardCount\030\006 \001(" "\r\022\027\n\017cbLeftCardCount\030\007 \001(\r\022\023\n\013wBankerUse" "r\030\010 \001(\r\022\r\n\005lSiZi\030\t \003(\r\022\021\n\tdwOwnerID\030\n \001(" "\r\022\024\n\014wCurrentUser\030\013 \001(\r\022\024\n\014bPutCardData\030" "\014 \003(\r\022\024\n\014totalOptTime\030\r \001(\r\022\023\n\013leftOptTi" "me\030\016 \001(\r\022\026\n\016cbDiscardCount\030\017 \003(\r\0221\n\rcbDi" "scardCard\030\020 \003(\0132\032.GameInfo.pb_cbDiscardC" "ard\022\023\n\013cbCardCount\030\021 \003(\r\022\024\n\014cbWeaveCount" "\030\022 \003(\r\0223\n\016WeaveItemArray\030\023 \003(\0132\033.GameInf" "o.pb_WeaveItemArray\022\022\n\ncbCardData\030\024 \003(\r\022" "\024\n\014cbActionMask\030\025 \001(\004\022\021\n\tgangCards\030\026 \003(\r" "\"F\n\024PB_CS_S_UserDistance\022\026\n\016cbOperLocati" "on\030\001 \003(\r\022\026\n\016dwUserDistance\030\002 \003(\022\"I\n\025PB_C" "S_S_SystemMessage\022\r\n\005wType\030\001 \001(\r\022\017\n\007wLen" "gth\030\002 \001(\r\022\020\n\010szString\030\003 \001(\tb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Pb_5fGameInfo_2eproto_deps[1] = { }; static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Pb_5fGameInfo_2eproto_sccs[14] = { &scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_GameStatus_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_S_SHUFFLE_ALL_ACK_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_S_StatusFree_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_S_StatusPlay_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_S_SystemMessage_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_S_UserDistance_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_USER_READY_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_UserChat_Pb_5fGameInfo_2eproto.base, &scc_info_PB_CS_UserExpression_Pb_5fGameInfo_2eproto.base, &scc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto.base, &scc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto.base, &scc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto.base, &scc_info_pb_dwUserName_Pb_5fGameInfo_2eproto.base, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Pb_5fGameInfo_2eproto_once; static bool descriptor_table_Pb_5fGameInfo_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Pb_5fGameInfo_2eproto = { &descriptor_table_Pb_5fGameInfo_2eproto_initialized, descriptor_table_protodef_Pb_5fGameInfo_2eproto, "Pb_GameInfo.proto", 1915, &descriptor_table_Pb_5fGameInfo_2eproto_once, descriptor_table_Pb_5fGameInfo_2eproto_sccs, descriptor_table_Pb_5fGameInfo_2eproto_deps, 14, 0, schemas, file_default_instances, TableStruct_Pb_5fGameInfo_2eproto::offsets, file_level_metadata_Pb_5fGameInfo_2eproto, 14, file_level_enum_descriptors_Pb_5fGameInfo_2eproto, file_level_service_descriptors_Pb_5fGameInfo_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. static bool dynamic_init_dummy_Pb_5fGameInfo_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Pb_5fGameInfo_2eproto), true); namespace GameInfo { // =================================================================== void PB_CS_USER_READY::InitAsDefaultInstance() { } class PB_CS_USER_READY::_Internal { public: }; PB_CS_USER_READY::PB_CS_USER_READY() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_USER_READY) } PB_CS_USER_READY::PB_CS_USER_READY(const PB_CS_USER_READY& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_USER_READY) } void PB_CS_USER_READY::SharedCtor() { } PB_CS_USER_READY::~PB_CS_USER_READY() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_USER_READY) SharedDtor(); } void PB_CS_USER_READY::SharedDtor() { } void PB_CS_USER_READY::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_USER_READY& PB_CS_USER_READY::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_USER_READY_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_USER_READY::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_USER_READY) ::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_USER_READY::_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_USER_READY::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_USER_READY) ::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:GameInfo.PB_CS_USER_READY) return target; } size_t PB_CS_USER_READY::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_USER_READY) 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_USER_READY::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_USER_READY) GOOGLE_DCHECK_NE(&from, this); const PB_CS_USER_READY* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_USER_READY) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_USER_READY) MergeFrom(*source); } } void PB_CS_USER_READY::MergeFrom(const PB_CS_USER_READY& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_USER_READY) 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_USER_READY::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_USER_READY) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_USER_READY::CopyFrom(const PB_CS_USER_READY& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_USER_READY) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_USER_READY::IsInitialized() const { return true; } void PB_CS_USER_READY::InternalSwap(PB_CS_USER_READY* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_USER_READY::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void pb_dwUserName::InitAsDefaultInstance() { } class pb_dwUserName::_Internal { public: }; pb_dwUserName::pb_dwUserName() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.pb_dwUserName) } pb_dwUserName::pb_dwUserName(const pb_dwUserName& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); dwusername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_dwusername().empty()) { dwusername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.dwusername_); } // @@protoc_insertion_point(copy_constructor:GameInfo.pb_dwUserName) } void pb_dwUserName::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_pb_dwUserName_Pb_5fGameInfo_2eproto.base); dwusername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } pb_dwUserName::~pb_dwUserName() { // @@protoc_insertion_point(destructor:GameInfo.pb_dwUserName) SharedDtor(); } void pb_dwUserName::SharedDtor() { dwusername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void pb_dwUserName::SetCachedSize(int size) const { _cached_size_.Set(size); } const pb_dwUserName& pb_dwUserName::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_dwUserName_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void pb_dwUserName::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.pb_dwUserName) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; dwusername_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _internal_metadata_.Clear(); } const char* pb_dwUserName::_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 dwUserName = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_dwusername(), ptr, ctx, "GameInfo.pb_dwUserName.dwUserName"); 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_dwUserName::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.pb_dwUserName) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // string dwUserName = 1; if (this->dwusername().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_dwusername().data(), static_cast(this->_internal_dwusername().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "GameInfo.pb_dwUserName.dwUserName"); target = stream->WriteStringMaybeAliased( 1, this->_internal_dwusername(), 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:GameInfo.pb_dwUserName) return target; } size_t pb_dwUserName::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.pb_dwUserName) 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 dwUserName = 1; if (this->dwusername().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_dwusername()); } 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_dwUserName::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.pb_dwUserName) GOOGLE_DCHECK_NE(&from, this); const pb_dwUserName* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.pb_dwUserName) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.pb_dwUserName) MergeFrom(*source); } } void pb_dwUserName::MergeFrom(const pb_dwUserName& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.pb_dwUserName) 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.dwusername().size() > 0) { dwusername_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.dwusername_); } } void pb_dwUserName::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.pb_dwUserName) if (&from == this) return; Clear(); MergeFrom(from); } void pb_dwUserName::CopyFrom(const pb_dwUserName& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.pb_dwUserName) if (&from == this) return; Clear(); MergeFrom(from); } bool pb_dwUserName::IsInitialized() const { return true; } void pb_dwUserName::InternalSwap(pb_dwUserName* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); dwusername_.Swap(&other->dwusername_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); } ::PROTOBUF_NAMESPACE_ID::Metadata pb_dwUserName::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_SHUFFLE_ALL_ACK::InitAsDefaultInstance() { } class PB_CS_S_SHUFFLE_ALL_ACK::_Internal { public: }; PB_CS_S_SHUFFLE_ALL_ACK::PB_CS_S_SHUFFLE_ALL_ACK() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) } PB_CS_S_SHUFFLE_ALL_ACK::PB_CS_S_SHUFFLE_ALL_ACK(const PB_CS_S_SHUFFLE_ALL_ACK& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), dwusername_(from.dwusername_) { _internal_metadata_.MergeFrom(from._internal_metadata_); cbcount_ = from.cbcount_; // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) } void PB_CS_S_SHUFFLE_ALL_ACK::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_SHUFFLE_ALL_ACK_Pb_5fGameInfo_2eproto.base); cbcount_ = 0u; } PB_CS_S_SHUFFLE_ALL_ACK::~PB_CS_S_SHUFFLE_ALL_ACK() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) SharedDtor(); } void PB_CS_S_SHUFFLE_ALL_ACK::SharedDtor() { } void PB_CS_S_SHUFFLE_ALL_ACK::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_SHUFFLE_ALL_ACK& PB_CS_S_SHUFFLE_ALL_ACK::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_SHUFFLE_ALL_ACK_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_S_SHUFFLE_ALL_ACK::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; dwusername_.Clear(); cbcount_ = 0u; _internal_metadata_.Clear(); } const char* PB_CS_S_SHUFFLE_ALL_ACK::_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 cbCount = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { cbcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated .GameInfo.pb_dwUserName dwUserName = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr -= 1; do { ptr += 1; ptr = ctx->ParseMessage(_internal_add_dwusername(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(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_SHUFFLE_ALL_ACK::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 cbCount = 1; if (this->cbcount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_cbcount(), target); } // repeated .GameInfo.pb_dwUserName dwUserName = 2; for (unsigned int i = 0, n = static_cast(this->_internal_dwusername_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray(2, this->_internal_dwusername(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:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) return target; } size_t PB_CS_S_SHUFFLE_ALL_ACK::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) 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 .GameInfo.pb_dwUserName dwUserName = 2; total_size += 1UL * this->_internal_dwusername_size(); for (const auto& msg : this->dwusername_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // uint32 cbCount = 1; if (this->cbcount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbcount()); } 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_SHUFFLE_ALL_ACK::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_SHUFFLE_ALL_ACK* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) MergeFrom(*source); } } void PB_CS_S_SHUFFLE_ALL_ACK::MergeFrom(const PB_CS_S_SHUFFLE_ALL_ACK& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; dwusername_.MergeFrom(from.dwusername_); if (from.cbcount() != 0) { _internal_set_cbcount(from._internal_cbcount()); } } void PB_CS_S_SHUFFLE_ALL_ACK::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_SHUFFLE_ALL_ACK::CopyFrom(const PB_CS_S_SHUFFLE_ALL_ACK& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_S_SHUFFLE_ALL_ACK) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_SHUFFLE_ALL_ACK::IsInitialized() const { return true; } void PB_CS_S_SHUFFLE_ALL_ACK::InternalSwap(PB_CS_S_SHUFFLE_ALL_ACK* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); dwusername_.InternalSwap(&other->dwusername_); swap(cbcount_, other->cbcount_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_SHUFFLE_ALL_ACK::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_UserChat::InitAsDefaultInstance() { } class PB_CS_UserChat::_Internal { public: }; PB_CS_UserChat::PB_CS_UserChat() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_UserChat) } PB_CS_UserChat::PB_CS_UserChat(const PB_CS_UserChat& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szchatstring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szchatstring().empty()) { szchatstring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szchatstring_); } ::memcpy(&wchatlength_, &from.wchatlength_, static_cast(reinterpret_cast(&dwsenduserid_) - reinterpret_cast(&wchatlength_)) + sizeof(dwsenduserid_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_UserChat) } void PB_CS_UserChat::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_UserChat_Pb_5fGameInfo_2eproto.base); szchatstring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wchatlength_, 0, static_cast( reinterpret_cast(&dwsenduserid_) - reinterpret_cast(&wchatlength_)) + sizeof(dwsenduserid_)); } PB_CS_UserChat::~PB_CS_UserChat() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_UserChat) SharedDtor(); } void PB_CS_UserChat::SharedDtor() { szchatstring_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_UserChat::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_UserChat& PB_CS_UserChat::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_UserChat_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_UserChat::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_UserChat) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szchatstring_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wchatlength_, 0, static_cast( reinterpret_cast(&dwsenduserid_) - reinterpret_cast(&wchatlength_)) + sizeof(dwsenduserid_)); _internal_metadata_.Clear(); } const char* PB_CS_UserChat::_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 wChatLength = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wchatlength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwChatColor = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { dwchatcolor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwTargetUserID = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { dwtargetuserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwSendUserID = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { dwsenduserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szChatString = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szchatstring(), ptr, ctx, "GameInfo.PB_CS_UserChat.szChatString"); 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_UserChat::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_UserChat) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wChatLength = 1; if (this->wchatlength() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wchatlength(), target); } // uint32 dwChatColor = 2; if (this->dwchatcolor() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwchatcolor(), target); } // uint32 dwTargetUserID = 3; if (this->dwtargetuserid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_dwtargetuserid(), target); } // uint32 dwSendUserID = 4; if (this->dwsenduserid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_dwsenduserid(), target); } // string szChatString = 5; if (this->szchatstring().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szchatstring().data(), static_cast(this->_internal_szchatstring().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "GameInfo.PB_CS_UserChat.szChatString"); target = stream->WriteStringMaybeAliased( 5, this->_internal_szchatstring(), 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:GameInfo.PB_CS_UserChat) return target; } size_t PB_CS_UserChat::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_UserChat) 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 szChatString = 5; if (this->szchatstring().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szchatstring()); } // uint32 wChatLength = 1; if (this->wchatlength() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wchatlength()); } // uint32 dwChatColor = 2; if (this->dwchatcolor() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwchatcolor()); } // uint32 dwTargetUserID = 3; if (this->dwtargetuserid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwtargetuserid()); } // uint32 dwSendUserID = 4; if (this->dwsenduserid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwsenduserid()); } 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_UserChat::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_UserChat) GOOGLE_DCHECK_NE(&from, this); const PB_CS_UserChat* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_UserChat) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_UserChat) MergeFrom(*source); } } void PB_CS_UserChat::MergeFrom(const PB_CS_UserChat& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_UserChat) 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.szchatstring().size() > 0) { szchatstring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szchatstring_); } if (from.wchatlength() != 0) { _internal_set_wchatlength(from._internal_wchatlength()); } if (from.dwchatcolor() != 0) { _internal_set_dwchatcolor(from._internal_dwchatcolor()); } if (from.dwtargetuserid() != 0) { _internal_set_dwtargetuserid(from._internal_dwtargetuserid()); } if (from.dwsenduserid() != 0) { _internal_set_dwsenduserid(from._internal_dwsenduserid()); } } void PB_CS_UserChat::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_UserChat) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_UserChat::CopyFrom(const PB_CS_UserChat& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_UserChat) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_UserChat::IsInitialized() const { return true; } void PB_CS_UserChat::InternalSwap(PB_CS_UserChat* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szchatstring_.Swap(&other->szchatstring_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wchatlength_, other->wchatlength_); swap(dwchatcolor_, other->dwchatcolor_); swap(dwtargetuserid_, other->dwtargetuserid_); swap(dwsenduserid_, other->dwsenduserid_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_UserChat::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_UserExpression::InitAsDefaultInstance() { } class PB_CS_UserExpression::_Internal { public: }; PB_CS_UserExpression::PB_CS_UserExpression() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_UserExpression) } PB_CS_UserExpression::PB_CS_UserExpression(const PB_CS_UserExpression& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&witemindex_, &from.witemindex_, static_cast(reinterpret_cast(&dwtargetuserid_) - reinterpret_cast(&witemindex_)) + sizeof(dwtargetuserid_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_UserExpression) } void PB_CS_UserExpression::SharedCtor() { ::memset(&witemindex_, 0, static_cast( reinterpret_cast(&dwtargetuserid_) - reinterpret_cast(&witemindex_)) + sizeof(dwtargetuserid_)); } PB_CS_UserExpression::~PB_CS_UserExpression() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_UserExpression) SharedDtor(); } void PB_CS_UserExpression::SharedDtor() { } void PB_CS_UserExpression::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_UserExpression& PB_CS_UserExpression::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_UserExpression_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_UserExpression::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_UserExpression) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&witemindex_, 0, static_cast( reinterpret_cast(&dwtargetuserid_) - reinterpret_cast(&witemindex_)) + sizeof(dwtargetuserid_)); _internal_metadata_.Clear(); } const char* PB_CS_UserExpression::_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 wItemIndex = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { witemindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwSendUserID = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { dwsenduserid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwTargetUserID = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { dwtargetuserid_ = ::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_UserExpression::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_UserExpression) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wItemIndex = 1; if (this->witemindex() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_witemindex(), target); } // uint32 dwSendUserID = 2; if (this->dwsenduserid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dwsenduserid(), target); } // uint32 dwTargetUserID = 3; if (this->dwtargetuserid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_dwtargetuserid(), 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:GameInfo.PB_CS_UserExpression) return target; } size_t PB_CS_UserExpression::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_UserExpression) 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 wItemIndex = 1; if (this->witemindex() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_witemindex()); } // uint32 dwSendUserID = 2; if (this->dwsenduserid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwsenduserid()); } // uint32 dwTargetUserID = 3; if (this->dwtargetuserid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwtargetuserid()); } 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_UserExpression::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_UserExpression) GOOGLE_DCHECK_NE(&from, this); const PB_CS_UserExpression* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_UserExpression) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_UserExpression) MergeFrom(*source); } } void PB_CS_UserExpression::MergeFrom(const PB_CS_UserExpression& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_UserExpression) 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.witemindex() != 0) { _internal_set_witemindex(from._internal_witemindex()); } if (from.dwsenduserid() != 0) { _internal_set_dwsenduserid(from._internal_dwsenduserid()); } if (from.dwtargetuserid() != 0) { _internal_set_dwtargetuserid(from._internal_dwtargetuserid()); } } void PB_CS_UserExpression::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_UserExpression) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_UserExpression::CopyFrom(const PB_CS_UserExpression& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_UserExpression) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_UserExpression::IsInitialized() const { return true; } void PB_CS_UserExpression::InternalSwap(PB_CS_UserExpression* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(witemindex_, other->witemindex_); swap(dwsenduserid_, other->dwsenduserid_); swap(dwtargetuserid_, other->dwtargetuserid_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_UserExpression::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_GameStatus::InitAsDefaultInstance() { } class PB_CS_GameStatus::_Internal { public: }; PB_CS_GameStatus::PB_CS_GameStatus() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_GameStatus) } PB_CS_GameStatus::PB_CS_GameStatus(const PB_CS_GameStatus& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&cbgamestatus_, &from.cbgamestatus_, static_cast(reinterpret_cast(&cballowlookon_) - reinterpret_cast(&cbgamestatus_)) + sizeof(cballowlookon_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_GameStatus) } void PB_CS_GameStatus::SharedCtor() { ::memset(&cbgamestatus_, 0, static_cast( reinterpret_cast(&cballowlookon_) - reinterpret_cast(&cbgamestatus_)) + sizeof(cballowlookon_)); } PB_CS_GameStatus::~PB_CS_GameStatus() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_GameStatus) SharedDtor(); } void PB_CS_GameStatus::SharedDtor() { } void PB_CS_GameStatus::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_GameStatus& PB_CS_GameStatus::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_GameStatus_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_GameStatus::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_GameStatus) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&cbgamestatus_, 0, static_cast( reinterpret_cast(&cballowlookon_) - reinterpret_cast(&cbgamestatus_)) + sizeof(cballowlookon_)); _internal_metadata_.Clear(); } const char* PB_CS_GameStatus::_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 cbGameStatus = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { cbgamestatus_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 cbAllowLookon = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { cballowlookon_ = ::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_GameStatus::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_GameStatus) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 cbGameStatus = 1; if (this->cbgamestatus() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_cbgamestatus(), target); } // uint32 cbAllowLookon = 2; if (this->cballowlookon() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_cballowlookon(), 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:GameInfo.PB_CS_GameStatus) return target; } size_t PB_CS_GameStatus::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_GameStatus) 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 cbGameStatus = 1; if (this->cbgamestatus() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbgamestatus()); } // uint32 cbAllowLookon = 2; if (this->cballowlookon() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cballowlookon()); } 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_GameStatus::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_GameStatus) GOOGLE_DCHECK_NE(&from, this); const PB_CS_GameStatus* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_GameStatus) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_GameStatus) MergeFrom(*source); } } void PB_CS_GameStatus::MergeFrom(const PB_CS_GameStatus& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_GameStatus) 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.cbgamestatus() != 0) { _internal_set_cbgamestatus(from._internal_cbgamestatus()); } if (from.cballowlookon() != 0) { _internal_set_cballowlookon(from._internal_cballowlookon()); } } void PB_CS_GameStatus::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_GameStatus) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_GameStatus::CopyFrom(const PB_CS_GameStatus& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_GameStatus) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_GameStatus::IsInitialized() const { return true; } void PB_CS_GameStatus::InternalSwap(PB_CS_GameStatus* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(cbgamestatus_, other->cbgamestatus_); swap(cballowlookon_, other->cballowlookon_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_GameStatus::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_C_tagGameConfig::InitAsDefaultInstance() { } class PB_CS_C_tagGameConfig::_Internal { public: }; PB_CS_C_tagGameConfig::PB_CS_C_tagGameConfig() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_C_tagGameConfig) } PB_CS_C_tagGameConfig::PB_CS_C_tagGameConfig(const PB_CS_C_tagGameConfig& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); sprivatetableid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_sprivatetableid().empty()) { sprivatetableid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sprivatetableid_); } ::memcpy(&wsubgameid_, &from.wsubgameid_, static_cast(reinterpret_cast(&tmp5_) - reinterpret_cast(&wsubgameid_)) + sizeof(tmp5_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_C_tagGameConfig) } void PB_CS_C_tagGameConfig::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto.base); sprivatetableid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wsubgameid_, 0, static_cast( reinterpret_cast(&tmp5_) - reinterpret_cast(&wsubgameid_)) + sizeof(tmp5_)); } PB_CS_C_tagGameConfig::~PB_CS_C_tagGameConfig() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_C_tagGameConfig) SharedDtor(); } void PB_CS_C_tagGameConfig::SharedDtor() { sprivatetableid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_C_tagGameConfig::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_C_tagGameConfig& PB_CS_C_tagGameConfig::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_C_tagGameConfig_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_C_tagGameConfig::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_C_tagGameConfig) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; sprivatetableid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wsubgameid_, 0, static_cast( reinterpret_cast(&tmp5_) - reinterpret_cast(&wsubgameid_)) + sizeof(tmp5_)); _internal_metadata_.Clear(); } const char* PB_CS_C_tagGameConfig::_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 wSubGameID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wsubgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wPlayRule = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { wplayrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wMaxFanRule = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { wmaxfanrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wMaxScore = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wmaxscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wPlayCountRule = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { wplaycountrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wHadPlayCount = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { whadplaycount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 zmExtraRule = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { zmextrarule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dghRule = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { dghrule_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string sPrivateTableID = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_sprivatetableid(), ptr, ctx, "GameInfo.PB_CS_C_tagGameConfig.sPrivateTableID"); CHK_(ptr); } else goto handle_unusual; continue; // uint32 bDuoLai = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { bduolai_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wFengDing = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { wfengding_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 tmp1 = 12; case 12: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { tmp1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 tmp2 = 13; case 13: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) { tmp2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 tmp3 = 14; case 14: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) { tmp3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 tmp4 = 15; case 15: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { tmp4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 tmp5 = 16; case 16: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) { tmp5_ = ::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_tagGameConfig::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_C_tagGameConfig) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wSubGameID = 1; if (this->wsubgameid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wsubgameid(), target); } // uint32 wPlayRule = 2; if (this->wplayrule() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wplayrule(), target); } // uint32 wMaxFanRule = 3; if (this->wmaxfanrule() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wmaxfanrule(), target); } // uint32 wMaxScore = 4; if (this->wmaxscore() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wmaxscore(), target); } // uint32 wPlayCountRule = 5; if (this->wplaycountrule() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_wplaycountrule(), target); } // uint32 wHadPlayCount = 6; if (this->whadplaycount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_whadplaycount(), target); } // uint32 zmExtraRule = 7; if (this->zmextrarule() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_zmextrarule(), target); } // uint32 dghRule = 8; if (this->dghrule() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_dghrule(), target); } // string sPrivateTableID = 9; if (this->sprivatetableid().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_sprivatetableid().data(), static_cast(this->_internal_sprivatetableid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "GameInfo.PB_CS_C_tagGameConfig.sPrivateTableID"); target = stream->WriteStringMaybeAliased( 9, this->_internal_sprivatetableid(), target); } // uint32 bDuoLai = 10; if (this->bduolai() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_bduolai(), target); } // uint32 wFengDing = 11; if (this->wfengding() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_wfengding(), target); } // uint32 tmp1 = 12; if (this->tmp1() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_tmp1(), target); } // uint32 tmp2 = 13; if (this->tmp2() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(13, this->_internal_tmp2(), target); } // uint32 tmp3 = 14; if (this->tmp3() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_tmp3(), target); } // uint32 tmp4 = 15; if (this->tmp4() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(15, this->_internal_tmp4(), target); } // uint32 tmp5 = 16; if (this->tmp5() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(16, this->_internal_tmp5(), 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:GameInfo.PB_CS_C_tagGameConfig) return target; } size_t PB_CS_C_tagGameConfig::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_C_tagGameConfig) 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 sPrivateTableID = 9; if (this->sprivatetableid().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_sprivatetableid()); } // uint32 wSubGameID = 1; if (this->wsubgameid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wsubgameid()); } // uint32 wPlayRule = 2; if (this->wplayrule() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wplayrule()); } // uint32 wMaxFanRule = 3; if (this->wmaxfanrule() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wmaxfanrule()); } // uint32 wMaxScore = 4; if (this->wmaxscore() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wmaxscore()); } // uint32 wPlayCountRule = 5; if (this->wplaycountrule() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wplaycountrule()); } // uint32 wHadPlayCount = 6; if (this->whadplaycount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_whadplaycount()); } // uint32 zmExtraRule = 7; if (this->zmextrarule() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_zmextrarule()); } // uint32 dghRule = 8; if (this->dghrule() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dghrule()); } // uint32 bDuoLai = 10; if (this->bduolai() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_bduolai()); } // uint32 wFengDing = 11; if (this->wfengding() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wfengding()); } // uint32 tmp1 = 12; if (this->tmp1() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_tmp1()); } // uint32 tmp2 = 13; if (this->tmp2() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_tmp2()); } // uint32 tmp3 = 14; if (this->tmp3() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_tmp3()); } // uint32 tmp4 = 15; if (this->tmp4() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_tmp4()); } // uint32 tmp5 = 16; if (this->tmp5() != 0) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_tmp5()); } 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_tagGameConfig::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_C_tagGameConfig) GOOGLE_DCHECK_NE(&from, this); const PB_CS_C_tagGameConfig* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_C_tagGameConfig) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_C_tagGameConfig) MergeFrom(*source); } } void PB_CS_C_tagGameConfig::MergeFrom(const PB_CS_C_tagGameConfig& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_C_tagGameConfig) 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.sprivatetableid().size() > 0) { sprivatetableid_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.sprivatetableid_); } if (from.wsubgameid() != 0) { _internal_set_wsubgameid(from._internal_wsubgameid()); } if (from.wplayrule() != 0) { _internal_set_wplayrule(from._internal_wplayrule()); } if (from.wmaxfanrule() != 0) { _internal_set_wmaxfanrule(from._internal_wmaxfanrule()); } if (from.wmaxscore() != 0) { _internal_set_wmaxscore(from._internal_wmaxscore()); } if (from.wplaycountrule() != 0) { _internal_set_wplaycountrule(from._internal_wplaycountrule()); } if (from.whadplaycount() != 0) { _internal_set_whadplaycount(from._internal_whadplaycount()); } if (from.zmextrarule() != 0) { _internal_set_zmextrarule(from._internal_zmextrarule()); } if (from.dghrule() != 0) { _internal_set_dghrule(from._internal_dghrule()); } if (from.bduolai() != 0) { _internal_set_bduolai(from._internal_bduolai()); } if (from.wfengding() != 0) { _internal_set_wfengding(from._internal_wfengding()); } if (from.tmp1() != 0) { _internal_set_tmp1(from._internal_tmp1()); } if (from.tmp2() != 0) { _internal_set_tmp2(from._internal_tmp2()); } if (from.tmp3() != 0) { _internal_set_tmp3(from._internal_tmp3()); } if (from.tmp4() != 0) { _internal_set_tmp4(from._internal_tmp4()); } if (from.tmp5() != 0) { _internal_set_tmp5(from._internal_tmp5()); } } void PB_CS_C_tagGameConfig::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_C_tagGameConfig) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_C_tagGameConfig::CopyFrom(const PB_CS_C_tagGameConfig& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_C_tagGameConfig) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_C_tagGameConfig::IsInitialized() const { return true; } void PB_CS_C_tagGameConfig::InternalSwap(PB_CS_C_tagGameConfig* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); sprivatetableid_.Swap(&other->sprivatetableid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wsubgameid_, other->wsubgameid_); swap(wplayrule_, other->wplayrule_); swap(wmaxfanrule_, other->wmaxfanrule_); swap(wmaxscore_, other->wmaxscore_); swap(wplaycountrule_, other->wplaycountrule_); swap(whadplaycount_, other->whadplaycount_); swap(zmextrarule_, other->zmextrarule_); swap(dghrule_, other->dghrule_); swap(bduolai_, other->bduolai_); swap(wfengding_, other->wfengding_); swap(tmp1_, other->tmp1_); swap(tmp2_, other->tmp2_); swap(tmp3_, other->tmp3_); swap(tmp4_, other->tmp4_); swap(tmp5_, other->tmp5_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_C_tagGameConfig::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_StatusFree::InitAsDefaultInstance() { ::GameInfo::_PB_CS_S_StatusFree_default_instance_._instance.get_mutable()->gameconfig_ = const_cast< ::GameInfo::PB_CS_C_tagGameConfig*>( ::GameInfo::PB_CS_C_tagGameConfig::internal_default_instance()); } class PB_CS_S_StatusFree::_Internal { public: static const ::GameInfo::PB_CS_C_tagGameConfig& gameconfig(const PB_CS_S_StatusFree* msg); }; const ::GameInfo::PB_CS_C_tagGameConfig& PB_CS_S_StatusFree::_Internal::gameconfig(const PB_CS_S_StatusFree* msg) { return *msg->gameconfig_; } PB_CS_S_StatusFree::PB_CS_S_StatusFree() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_S_StatusFree) } PB_CS_S_StatusFree::PB_CS_S_StatusFree(const PB_CS_S_StatusFree& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), lusertmpscore_(from.lusertmpscore_), options_(from.options_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from._internal_has_gameconfig()) { gameconfig_ = new ::GameInfo::PB_CS_C_tagGameConfig(*from.gameconfig_); } else { gameconfig_ = nullptr; } ::memcpy(&lefttime_, &from.lefttime_, static_cast(reinterpret_cast(&userstat_) - reinterpret_cast(&lefttime_)) + sizeof(userstat_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_S_StatusFree) } void PB_CS_S_StatusFree::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_StatusFree_Pb_5fGameInfo_2eproto.base); ::memset(&gameconfig_, 0, static_cast( reinterpret_cast(&userstat_) - reinterpret_cast(&gameconfig_)) + sizeof(userstat_)); } PB_CS_S_StatusFree::~PB_CS_S_StatusFree() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_S_StatusFree) SharedDtor(); } void PB_CS_S_StatusFree::SharedDtor() { if (this != internal_default_instance()) delete gameconfig_; } void PB_CS_S_StatusFree::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_StatusFree& PB_CS_S_StatusFree::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_StatusFree_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_S_StatusFree::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_S_StatusFree) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; lusertmpscore_.Clear(); options_.Clear(); if (GetArenaNoVirtual() == nullptr && gameconfig_ != nullptr) { delete gameconfig_; } gameconfig_ = nullptr; ::memset(&lefttime_, 0, static_cast( reinterpret_cast(&userstat_) - reinterpret_cast(&lefttime_)) + sizeof(userstat_)); _internal_metadata_.Clear(); } const char* PB_CS_S_StatusFree::_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) { // .GameInfo.PB_CS_C_tagGameConfig gameConfig = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_gameconfig(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated sint64 lUserTmpScore = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedSInt64Parser(_internal_mutable_lusertmpscore(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16) { _internal_add_lusertmpscore(::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 leftTime = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { lefttime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wchairId = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wchairid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 options = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_options(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40) { _internal_add_options(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 UserStat = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { userstat_ = ::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_StatusFree::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_S_StatusFree) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .GameInfo.PB_CS_C_tagGameConfig gameConfig = 1; if (this->has_gameconfig()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray( 1, _Internal::gameconfig(this), target, stream); } // repeated sint64 lUserTmpScore = 2; { int byte_size = _lusertmpscore_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteSInt64Packed( 2, _internal_lusertmpscore(), byte_size, target); } } // uint32 leftTime = 3; if (this->lefttime() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lefttime(), target); } // uint32 wchairId = 4; if (this->wchairid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wchairid(), target); } // repeated uint32 options = 5; { int byte_size = _options_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 5, _internal_options(), byte_size, target); } } // uint32 UserStat = 6; if (this->userstat() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_userstat(), 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:GameInfo.PB_CS_S_StatusFree) return target; } size_t PB_CS_S_StatusFree::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_S_StatusFree) 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 sint64 lUserTmpScore = 2; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: SInt64Size(this->lusertmpscore_); 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); _lusertmpscore_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 options = 5; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->options_); 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); _options_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // .GameInfo.PB_CS_C_tagGameConfig gameConfig = 1; if (this->has_gameconfig()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *gameconfig_); } // uint32 leftTime = 3; if (this->lefttime() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_lefttime()); } // uint32 wchairId = 4; if (this->wchairid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wchairid()); } // uint32 UserStat = 6; if (this->userstat() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_userstat()); } 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_StatusFree::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_S_StatusFree) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_StatusFree* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_S_StatusFree) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_S_StatusFree) MergeFrom(*source); } } void PB_CS_S_StatusFree::MergeFrom(const PB_CS_S_StatusFree& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_S_StatusFree) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; lusertmpscore_.MergeFrom(from.lusertmpscore_); options_.MergeFrom(from.options_); if (from.has_gameconfig()) { _internal_mutable_gameconfig()->::GameInfo::PB_CS_C_tagGameConfig::MergeFrom(from._internal_gameconfig()); } if (from.lefttime() != 0) { _internal_set_lefttime(from._internal_lefttime()); } if (from.wchairid() != 0) { _internal_set_wchairid(from._internal_wchairid()); } if (from.userstat() != 0) { _internal_set_userstat(from._internal_userstat()); } } void PB_CS_S_StatusFree::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_S_StatusFree) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_StatusFree::CopyFrom(const PB_CS_S_StatusFree& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_S_StatusFree) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_StatusFree::IsInitialized() const { return true; } void PB_CS_S_StatusFree::InternalSwap(PB_CS_S_StatusFree* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); lusertmpscore_.InternalSwap(&other->lusertmpscore_); options_.InternalSwap(&other->options_); swap(gameconfig_, other->gameconfig_); swap(lefttime_, other->lefttime_); swap(wchairid_, other->wchairid_); swap(userstat_, other->userstat_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_StatusFree::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void pb_WeaveItem::InitAsDefaultInstance() { } class pb_WeaveItem::_Internal { public: }; pb_WeaveItem::pb_WeaveItem() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.pb_WeaveItem) } pb_WeaveItem::pb_WeaveItem(const pb_WeaveItem& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), cbmargicoffset_(from.cbmargicoffset_) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&cbweavekind_, &from.cbweavekind_, static_cast(reinterpret_cast(&wprovideuser_) - reinterpret_cast(&cbweavekind_)) + sizeof(wprovideuser_)); // @@protoc_insertion_point(copy_constructor:GameInfo.pb_WeaveItem) } void pb_WeaveItem::SharedCtor() { ::memset(&cbweavekind_, 0, static_cast( reinterpret_cast(&wprovideuser_) - reinterpret_cast(&cbweavekind_)) + sizeof(wprovideuser_)); } pb_WeaveItem::~pb_WeaveItem() { // @@protoc_insertion_point(destructor:GameInfo.pb_WeaveItem) SharedDtor(); } void pb_WeaveItem::SharedDtor() { } void pb_WeaveItem::SetCachedSize(int size) const { _cached_size_.Set(size); } const pb_WeaveItem& pb_WeaveItem::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_WeaveItem_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void pb_WeaveItem::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.pb_WeaveItem) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cbmargicoffset_.Clear(); ::memset(&cbweavekind_, 0, static_cast( reinterpret_cast(&wprovideuser_) - reinterpret_cast(&cbweavekind_)) + sizeof(wprovideuser_)); _internal_metadata_.Clear(); } const char* pb_WeaveItem::_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 cbWeaveKind = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { cbweavekind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 cbCenterCard = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { cbcentercard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 cbPublicCard = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { cbpubliccard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wProvideUser = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wprovideuser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 cbMargicOffset = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cbmargicoffset(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40) { _internal_add_cbmargicoffset(::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_WeaveItem::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.pb_WeaveItem) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 cbWeaveKind = 1; if (this->cbweavekind() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_cbweavekind(), target); } // uint32 cbCenterCard = 2; if (this->cbcentercard() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_cbcentercard(), target); } // uint32 cbPublicCard = 3; if (this->cbpubliccard() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cbpubliccard(), target); } // uint32 wProvideUser = 4; if (this->wprovideuser() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wprovideuser(), target); } // repeated uint32 cbMargicOffset = 5; { int byte_size = _cbmargicoffset_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 5, _internal_cbmargicoffset(), byte_size, 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:GameInfo.pb_WeaveItem) return target; } size_t pb_WeaveItem::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.pb_WeaveItem) 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 cbMargicOffset = 5; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cbmargicoffset_); 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); _cbmargicoffset_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // uint32 cbWeaveKind = 1; if (this->cbweavekind() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbweavekind()); } // uint32 cbCenterCard = 2; if (this->cbcentercard() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbcentercard()); } // uint32 cbPublicCard = 3; if (this->cbpubliccard() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbpubliccard()); } // uint32 wProvideUser = 4; if (this->wprovideuser() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wprovideuser()); } 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_WeaveItem::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.pb_WeaveItem) GOOGLE_DCHECK_NE(&from, this); const pb_WeaveItem* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.pb_WeaveItem) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.pb_WeaveItem) MergeFrom(*source); } } void pb_WeaveItem::MergeFrom(const pb_WeaveItem& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.pb_WeaveItem) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; cbmargicoffset_.MergeFrom(from.cbmargicoffset_); if (from.cbweavekind() != 0) { _internal_set_cbweavekind(from._internal_cbweavekind()); } if (from.cbcentercard() != 0) { _internal_set_cbcentercard(from._internal_cbcentercard()); } if (from.cbpubliccard() != 0) { _internal_set_cbpubliccard(from._internal_cbpubliccard()); } if (from.wprovideuser() != 0) { _internal_set_wprovideuser(from._internal_wprovideuser()); } } void pb_WeaveItem::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.pb_WeaveItem) if (&from == this) return; Clear(); MergeFrom(from); } void pb_WeaveItem::CopyFrom(const pb_WeaveItem& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.pb_WeaveItem) if (&from == this) return; Clear(); MergeFrom(from); } bool pb_WeaveItem::IsInitialized() const { return true; } void pb_WeaveItem::InternalSwap(pb_WeaveItem* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); cbmargicoffset_.InternalSwap(&other->cbmargicoffset_); swap(cbweavekind_, other->cbweavekind_); swap(cbcentercard_, other->cbcentercard_); swap(cbpubliccard_, other->cbpubliccard_); swap(wprovideuser_, other->wprovideuser_); } ::PROTOBUF_NAMESPACE_ID::Metadata pb_WeaveItem::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void pb_WeaveItemArray::InitAsDefaultInstance() { } class pb_WeaveItemArray::_Internal { public: }; pb_WeaveItemArray::pb_WeaveItemArray() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.pb_WeaveItemArray) } pb_WeaveItemArray::pb_WeaveItemArray(const pb_WeaveItemArray& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), weaveitem_(from.weaveitem_) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:GameInfo.pb_WeaveItemArray) } void pb_WeaveItemArray::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto.base); } pb_WeaveItemArray::~pb_WeaveItemArray() { // @@protoc_insertion_point(destructor:GameInfo.pb_WeaveItemArray) SharedDtor(); } void pb_WeaveItemArray::SharedDtor() { } void pb_WeaveItemArray::SetCachedSize(int size) const { _cached_size_.Set(size); } const pb_WeaveItemArray& pb_WeaveItemArray::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_WeaveItemArray_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void pb_WeaveItemArray::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.pb_WeaveItemArray) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; weaveitem_.Clear(); _internal_metadata_.Clear(); } const char* pb_WeaveItemArray::_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 .GameInfo.pb_WeaveItem WeaveItem = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr -= 1; do { ptr += 1; ptr = ctx->ParseMessage(_internal_add_weaveitem(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(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_WeaveItemArray::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.pb_WeaveItemArray) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .GameInfo.pb_WeaveItem WeaveItem = 2; for (unsigned int i = 0, n = static_cast(this->_internal_weaveitem_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray(2, this->_internal_weaveitem(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:GameInfo.pb_WeaveItemArray) return target; } size_t pb_WeaveItemArray::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.pb_WeaveItemArray) 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 .GameInfo.pb_WeaveItem WeaveItem = 2; total_size += 1UL * this->_internal_weaveitem_size(); for (const auto& msg : this->weaveitem_) { 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_WeaveItemArray::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.pb_WeaveItemArray) GOOGLE_DCHECK_NE(&from, this); const pb_WeaveItemArray* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.pb_WeaveItemArray) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.pb_WeaveItemArray) MergeFrom(*source); } } void pb_WeaveItemArray::MergeFrom(const pb_WeaveItemArray& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.pb_WeaveItemArray) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; weaveitem_.MergeFrom(from.weaveitem_); } void pb_WeaveItemArray::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.pb_WeaveItemArray) if (&from == this) return; Clear(); MergeFrom(from); } void pb_WeaveItemArray::CopyFrom(const pb_WeaveItemArray& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.pb_WeaveItemArray) if (&from == this) return; Clear(); MergeFrom(from); } bool pb_WeaveItemArray::IsInitialized() const { return true; } void pb_WeaveItemArray::InternalSwap(pb_WeaveItemArray* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); weaveitem_.InternalSwap(&other->weaveitem_); } ::PROTOBUF_NAMESPACE_ID::Metadata pb_WeaveItemArray::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void pb_cbDiscardCard::InitAsDefaultInstance() { } class pb_cbDiscardCard::_Internal { public: }; pb_cbDiscardCard::pb_cbDiscardCard() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.pb_cbDiscardCard) } pb_cbDiscardCard::pb_cbDiscardCard(const pb_cbDiscardCard& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), cbdiscardcard_(from.cbdiscardcard_) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:GameInfo.pb_cbDiscardCard) } void pb_cbDiscardCard::SharedCtor() { } pb_cbDiscardCard::~pb_cbDiscardCard() { // @@protoc_insertion_point(destructor:GameInfo.pb_cbDiscardCard) SharedDtor(); } void pb_cbDiscardCard::SharedDtor() { } void pb_cbDiscardCard::SetCachedSize(int size) const { _cached_size_.Set(size); } const pb_cbDiscardCard& pb_cbDiscardCard::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_pb_cbDiscardCard_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void pb_cbDiscardCard::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.pb_cbDiscardCard) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cbdiscardcard_.Clear(); _internal_metadata_.Clear(); } const char* pb_cbDiscardCard::_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 uint32 cbDiscardCard = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cbdiscardcard(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8) { _internal_add_cbdiscardcard(::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_cbDiscardCard::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.pb_cbDiscardCard) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated uint32 cbDiscardCard = 1; { int byte_size = _cbdiscardcard_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 1, _internal_cbdiscardcard(), byte_size, 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:GameInfo.pb_cbDiscardCard) return target; } size_t pb_cbDiscardCard::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.pb_cbDiscardCard) 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 cbDiscardCard = 1; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cbdiscardcard_); 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); _cbdiscardcard_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } 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_cbDiscardCard::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.pb_cbDiscardCard) GOOGLE_DCHECK_NE(&from, this); const pb_cbDiscardCard* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.pb_cbDiscardCard) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.pb_cbDiscardCard) MergeFrom(*source); } } void pb_cbDiscardCard::MergeFrom(const pb_cbDiscardCard& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.pb_cbDiscardCard) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; cbdiscardcard_.MergeFrom(from.cbdiscardcard_); } void pb_cbDiscardCard::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.pb_cbDiscardCard) if (&from == this) return; Clear(); MergeFrom(from); } void pb_cbDiscardCard::CopyFrom(const pb_cbDiscardCard& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.pb_cbDiscardCard) if (&from == this) return; Clear(); MergeFrom(from); } bool pb_cbDiscardCard::IsInitialized() const { return true; } void pb_cbDiscardCard::InternalSwap(pb_cbDiscardCard* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); cbdiscardcard_.InternalSwap(&other->cbdiscardcard_); } ::PROTOBUF_NAMESPACE_ID::Metadata pb_cbDiscardCard::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_StatusPlay::InitAsDefaultInstance() { ::GameInfo::_PB_CS_S_StatusPlay_default_instance_._instance.get_mutable()->gameconfig_ = const_cast< ::GameInfo::PB_CS_C_tagGameConfig*>( ::GameInfo::PB_CS_C_tagGameConfig::internal_default_instance()); } class PB_CS_S_StatusPlay::_Internal { public: static const ::GameInfo::PB_CS_C_tagGameConfig& gameconfig(const PB_CS_S_StatusPlay* msg); }; const ::GameInfo::PB_CS_C_tagGameConfig& PB_CS_S_StatusPlay::_Internal::gameconfig(const PB_CS_S_StatusPlay* msg) { return *msg->gameconfig_; } PB_CS_S_StatusPlay::PB_CS_S_StatusPlay() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_S_StatusPlay) } PB_CS_S_StatusPlay::PB_CS_S_StatusPlay(const PB_CS_S_StatusPlay& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), lusertmpscore_(from.lusertmpscore_), options_(from.options_), lsizi_(from.lsizi_), bputcarddata_(from.bputcarddata_), cbdiscardcount_(from.cbdiscardcount_), cbdiscardcard_(from.cbdiscardcard_), cbcardcount_(from.cbcardcount_), cbweavecount_(from.cbweavecount_), weaveitemarray_(from.weaveitemarray_), cbcarddata_(from.cbcarddata_), gangcards_(from.gangcards_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from._internal_has_gameconfig()) { gameconfig_ = new ::GameInfo::PB_CS_C_tagGameConfig(*from.gameconfig_); } else { gameconfig_ = nullptr; } ::memcpy(&lefttime_, &from.lefttime_, static_cast(reinterpret_cast(&leftopttime_) - reinterpret_cast(&lefttime_)) + sizeof(leftopttime_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_S_StatusPlay) } void PB_CS_S_StatusPlay::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_StatusPlay_Pb_5fGameInfo_2eproto.base); ::memset(&gameconfig_, 0, static_cast( reinterpret_cast(&leftopttime_) - reinterpret_cast(&gameconfig_)) + sizeof(leftopttime_)); } PB_CS_S_StatusPlay::~PB_CS_S_StatusPlay() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_S_StatusPlay) SharedDtor(); } void PB_CS_S_StatusPlay::SharedDtor() { if (this != internal_default_instance()) delete gameconfig_; } void PB_CS_S_StatusPlay::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_StatusPlay& PB_CS_S_StatusPlay::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_StatusPlay_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_S_StatusPlay::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_S_StatusPlay) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; lusertmpscore_.Clear(); options_.Clear(); lsizi_.Clear(); bputcarddata_.Clear(); cbdiscardcount_.Clear(); cbdiscardcard_.Clear(); cbcardcount_.Clear(); cbweavecount_.Clear(); weaveitemarray_.Clear(); cbcarddata_.Clear(); gangcards_.Clear(); if (GetArenaNoVirtual() == nullptr && gameconfig_ != nullptr) { delete gameconfig_; } gameconfig_ = nullptr; ::memset(&lefttime_, 0, static_cast( reinterpret_cast(&leftopttime_) - reinterpret_cast(&lefttime_)) + sizeof(leftopttime_)); _internal_metadata_.Clear(); } const char* PB_CS_S_StatusPlay::_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) { // .GameInfo.PB_CS_C_tagGameConfig gameConfig = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_gameconfig(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint64 lUserTmpScore = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_lusertmpscore(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16) { _internal_add_lusertmpscore(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 leftTime = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { lefttime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wchairId = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { wchairid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 options = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_options(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40) { _internal_add_options(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 cbTotalCardCount = 6; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { cbtotalcardcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 cbLeftCardCount = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { cbleftcardcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wBankerUser = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { wbankeruser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 lSiZi = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_lsizi(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72) { _internal_add_lsizi(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 dwOwnerID = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { dwownerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wCurrentUser = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { wcurrentuser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 bPutCardData = 12; case 12: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_bputcarddata(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96) { _internal_add_bputcarddata(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint32 totalOptTime = 13; case 13: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) { totalopttime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 leftOptTime = 14; case 14: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) { leftopttime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 cbDiscardCount = 15; case 15: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cbdiscardcount(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120) { _internal_add_cbdiscardcount(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // repeated .GameInfo.pb_cbDiscardCard cbDiscardCard = 16; case 16: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { ptr -= 2; do { ptr += 2; ptr = ctx->ParseMessage(_internal_add_cbdiscardcard(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<130>(ptr)); } else goto handle_unusual; continue; // repeated uint32 cbCardCount = 17; case 17: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cbcardcount(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136) { _internal_add_cbcardcount(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 cbWeaveCount = 18; case 18: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cbweavecount(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144) { _internal_add_cbweavecount(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // repeated .GameInfo.pb_WeaveItemArray WeaveItemArray = 19; case 19: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) { ptr -= 2; do { ptr += 2; ptr = ctx->ParseMessage(_internal_add_weaveitemarray(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<154>(ptr)); } else goto handle_unusual; continue; // repeated uint32 cbCardData = 20; case 20: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 162)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cbcarddata(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160) { _internal_add_cbcarddata(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // uint64 cbActionMask = 21; case 21: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) { cbactionmask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated uint32 gangCards = 22; case 22: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_gangcards(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176) { _internal_add_gangcards(::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_StatusPlay::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_S_StatusPlay) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .GameInfo.PB_CS_C_tagGameConfig gameConfig = 1; if (this->has_gameconfig()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray( 1, _Internal::gameconfig(this), target, stream); } // repeated uint64 lUserTmpScore = 2; { int byte_size = _lusertmpscore_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt64Packed( 2, _internal_lusertmpscore(), byte_size, target); } } // uint32 leftTime = 3; if (this->lefttime() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lefttime(), target); } // uint32 wchairId = 4; if (this->wchairid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wchairid(), target); } // repeated uint32 options = 5; { int byte_size = _options_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 5, _internal_options(), byte_size, target); } } // uint32 cbTotalCardCount = 6; if (this->cbtotalcardcount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_cbtotalcardcount(), target); } // uint32 cbLeftCardCount = 7; if (this->cbleftcardcount() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_cbleftcardcount(), target); } // uint32 wBankerUser = 8; if (this->wbankeruser() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_wbankeruser(), target); } // repeated uint32 lSiZi = 9; { int byte_size = _lsizi_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 9, _internal_lsizi(), byte_size, target); } } // uint32 dwOwnerID = 10; if (this->dwownerid() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_dwownerid(), target); } // uint32 wCurrentUser = 11; if (this->wcurrentuser() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_wcurrentuser(), target); } // repeated uint32 bPutCardData = 12; { int byte_size = _bputcarddata_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 12, _internal_bputcarddata(), byte_size, target); } } // uint32 totalOptTime = 13; if (this->totalopttime() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(13, this->_internal_totalopttime(), target); } // uint32 leftOptTime = 14; if (this->leftopttime() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_leftopttime(), target); } // repeated uint32 cbDiscardCount = 15; { int byte_size = _cbdiscardcount_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 15, _internal_cbdiscardcount(), byte_size, target); } } // repeated .GameInfo.pb_cbDiscardCard cbDiscardCard = 16; for (unsigned int i = 0, n = static_cast(this->_internal_cbdiscardcard_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray(16, this->_internal_cbdiscardcard(i), target, stream); } // repeated uint32 cbCardCount = 17; { int byte_size = _cbcardcount_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 17, _internal_cbcardcount(), byte_size, target); } } // repeated uint32 cbWeaveCount = 18; { int byte_size = _cbweavecount_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 18, _internal_cbweavecount(), byte_size, target); } } // repeated .GameInfo.pb_WeaveItemArray WeaveItemArray = 19; for (unsigned int i = 0, n = static_cast(this->_internal_weaveitemarray_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessageToArray(19, this->_internal_weaveitemarray(i), target, stream); } // repeated uint32 cbCardData = 20; { int byte_size = _cbcarddata_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 20, _internal_cbcarddata(), byte_size, target); } } // uint64 cbActionMask = 21; if (this->cbactionmask() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(21, this->_internal_cbactionmask(), target); } // repeated uint32 gangCards = 22; { int byte_size = _gangcards_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 22, _internal_gangcards(), byte_size, 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:GameInfo.PB_CS_S_StatusPlay) return target; } size_t PB_CS_S_StatusPlay::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_S_StatusPlay) 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 uint64 lUserTmpScore = 2; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt64Size(this->lusertmpscore_); 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); _lusertmpscore_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 options = 5; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->options_); 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); _options_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 lSiZi = 9; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->lsizi_); 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); _lsizi_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 bPutCardData = 12; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->bputcarddata_); 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); _bputcarddata_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 cbDiscardCount = 15; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cbdiscardcount_); 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); _cbdiscardcount_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated .GameInfo.pb_cbDiscardCard cbDiscardCard = 16; total_size += 2UL * this->_internal_cbdiscardcard_size(); for (const auto& msg : this->cbdiscardcard_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated uint32 cbCardCount = 17; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cbcardcount_); if (data_size > 0) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _cbcardcount_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 cbWeaveCount = 18; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cbweavecount_); if (data_size > 0) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _cbweavecount_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated .GameInfo.pb_WeaveItemArray WeaveItemArray = 19; total_size += 2UL * this->_internal_weaveitemarray_size(); for (const auto& msg : this->weaveitemarray_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated uint32 cbCardData = 20; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cbcarddata_); if (data_size > 0) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _cbcarddata_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated uint32 gangCards = 22; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->gangcards_); if (data_size > 0) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _gangcards_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // .GameInfo.PB_CS_C_tagGameConfig gameConfig = 1; if (this->has_gameconfig()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *gameconfig_); } // uint32 leftTime = 3; if (this->lefttime() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_lefttime()); } // uint32 wchairId = 4; if (this->wchairid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wchairid()); } // uint32 cbTotalCardCount = 6; if (this->cbtotalcardcount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbtotalcardcount()); } // uint32 cbLeftCardCount = 7; if (this->cbleftcardcount() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_cbleftcardcount()); } // uint32 wBankerUser = 8; if (this->wbankeruser() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wbankeruser()); } // uint32 dwOwnerID = 10; if (this->dwownerid() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_dwownerid()); } // uint32 wCurrentUser = 11; if (this->wcurrentuser() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wcurrentuser()); } // uint32 totalOptTime = 13; if (this->totalopttime() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_totalopttime()); } // uint64 cbActionMask = 21; if (this->cbactionmask() != 0) { total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( this->_internal_cbactionmask()); } // uint32 leftOptTime = 14; if (this->leftopttime() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_leftopttime()); } 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_StatusPlay::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_S_StatusPlay) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_StatusPlay* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_S_StatusPlay) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_S_StatusPlay) MergeFrom(*source); } } void PB_CS_S_StatusPlay::MergeFrom(const PB_CS_S_StatusPlay& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_S_StatusPlay) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; lusertmpscore_.MergeFrom(from.lusertmpscore_); options_.MergeFrom(from.options_); lsizi_.MergeFrom(from.lsizi_); bputcarddata_.MergeFrom(from.bputcarddata_); cbdiscardcount_.MergeFrom(from.cbdiscardcount_); cbdiscardcard_.MergeFrom(from.cbdiscardcard_); cbcardcount_.MergeFrom(from.cbcardcount_); cbweavecount_.MergeFrom(from.cbweavecount_); weaveitemarray_.MergeFrom(from.weaveitemarray_); cbcarddata_.MergeFrom(from.cbcarddata_); gangcards_.MergeFrom(from.gangcards_); if (from.has_gameconfig()) { _internal_mutable_gameconfig()->::GameInfo::PB_CS_C_tagGameConfig::MergeFrom(from._internal_gameconfig()); } if (from.lefttime() != 0) { _internal_set_lefttime(from._internal_lefttime()); } if (from.wchairid() != 0) { _internal_set_wchairid(from._internal_wchairid()); } if (from.cbtotalcardcount() != 0) { _internal_set_cbtotalcardcount(from._internal_cbtotalcardcount()); } if (from.cbleftcardcount() != 0) { _internal_set_cbleftcardcount(from._internal_cbleftcardcount()); } if (from.wbankeruser() != 0) { _internal_set_wbankeruser(from._internal_wbankeruser()); } if (from.dwownerid() != 0) { _internal_set_dwownerid(from._internal_dwownerid()); } if (from.wcurrentuser() != 0) { _internal_set_wcurrentuser(from._internal_wcurrentuser()); } if (from.totalopttime() != 0) { _internal_set_totalopttime(from._internal_totalopttime()); } if (from.cbactionmask() != 0) { _internal_set_cbactionmask(from._internal_cbactionmask()); } if (from.leftopttime() != 0) { _internal_set_leftopttime(from._internal_leftopttime()); } } void PB_CS_S_StatusPlay::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_S_StatusPlay) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_StatusPlay::CopyFrom(const PB_CS_S_StatusPlay& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_S_StatusPlay) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_StatusPlay::IsInitialized() const { return true; } void PB_CS_S_StatusPlay::InternalSwap(PB_CS_S_StatusPlay* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); lusertmpscore_.InternalSwap(&other->lusertmpscore_); options_.InternalSwap(&other->options_); lsizi_.InternalSwap(&other->lsizi_); bputcarddata_.InternalSwap(&other->bputcarddata_); cbdiscardcount_.InternalSwap(&other->cbdiscardcount_); cbdiscardcard_.InternalSwap(&other->cbdiscardcard_); cbcardcount_.InternalSwap(&other->cbcardcount_); cbweavecount_.InternalSwap(&other->cbweavecount_); weaveitemarray_.InternalSwap(&other->weaveitemarray_); cbcarddata_.InternalSwap(&other->cbcarddata_); gangcards_.InternalSwap(&other->gangcards_); swap(gameconfig_, other->gameconfig_); swap(lefttime_, other->lefttime_); swap(wchairid_, other->wchairid_); swap(cbtotalcardcount_, other->cbtotalcardcount_); swap(cbleftcardcount_, other->cbleftcardcount_); swap(wbankeruser_, other->wbankeruser_); swap(dwownerid_, other->dwownerid_); swap(wcurrentuser_, other->wcurrentuser_); swap(totalopttime_, other->totalopttime_); swap(cbactionmask_, other->cbactionmask_); swap(leftopttime_, other->leftopttime_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_StatusPlay::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_UserDistance::InitAsDefaultInstance() { } class PB_CS_S_UserDistance::_Internal { public: }; PB_CS_S_UserDistance::PB_CS_S_UserDistance() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_S_UserDistance) } PB_CS_S_UserDistance::PB_CS_S_UserDistance(const PB_CS_S_UserDistance& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), cboperlocation_(from.cboperlocation_), dwuserdistance_(from.dwuserdistance_) { _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_S_UserDistance) } void PB_CS_S_UserDistance::SharedCtor() { } PB_CS_S_UserDistance::~PB_CS_S_UserDistance() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_S_UserDistance) SharedDtor(); } void PB_CS_S_UserDistance::SharedDtor() { } void PB_CS_S_UserDistance::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_UserDistance& PB_CS_S_UserDistance::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_UserDistance_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_S_UserDistance::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_S_UserDistance) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cboperlocation_.Clear(); dwuserdistance_.Clear(); _internal_metadata_.Clear(); } const char* PB_CS_S_UserDistance::_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 uint32 cbOperLocation = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_cboperlocation(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8) { _internal_add_cboperlocation(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // repeated sint64 dwUserDistance = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedSInt64Parser(_internal_mutable_dwuserdistance(), ptr, ctx); CHK_(ptr); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16) { _internal_add_dwuserdistance(::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&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_UserDistance::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_S_UserDistance) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated uint32 cbOperLocation = 1; { int byte_size = _cboperlocation_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteUInt32Packed( 1, _internal_cboperlocation(), byte_size, target); } } // repeated sint64 dwUserDistance = 2; { int byte_size = _dwuserdistance_cached_byte_size_.load(std::memory_order_relaxed); if (byte_size > 0) { target = stream->WriteSInt64Packed( 2, _internal_dwuserdistance(), byte_size, 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:GameInfo.PB_CS_S_UserDistance) return target; } size_t PB_CS_S_UserDistance::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_S_UserDistance) 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 cbOperLocation = 1; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: UInt32Size(this->cboperlocation_); 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); _cboperlocation_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } // repeated sint64 dwUserDistance = 2; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: SInt64Size(this->dwuserdistance_); 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); _dwuserdistance_cached_byte_size_.store(cached_size, std::memory_order_relaxed); total_size += data_size; } 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_UserDistance::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_S_UserDistance) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_UserDistance* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_S_UserDistance) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_S_UserDistance) MergeFrom(*source); } } void PB_CS_S_UserDistance::MergeFrom(const PB_CS_S_UserDistance& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_S_UserDistance) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; cboperlocation_.MergeFrom(from.cboperlocation_); dwuserdistance_.MergeFrom(from.dwuserdistance_); } void PB_CS_S_UserDistance::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_S_UserDistance) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_UserDistance::CopyFrom(const PB_CS_S_UserDistance& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_S_UserDistance) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_UserDistance::IsInitialized() const { return true; } void PB_CS_S_UserDistance::InternalSwap(PB_CS_S_UserDistance* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); cboperlocation_.InternalSwap(&other->cboperlocation_); dwuserdistance_.InternalSwap(&other->dwuserdistance_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_UserDistance::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== void PB_CS_S_SystemMessage::InitAsDefaultInstance() { } class PB_CS_S_SystemMessage::_Internal { public: }; PB_CS_S_SystemMessage::PB_CS_S_SystemMessage() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:GameInfo.PB_CS_S_SystemMessage) } PB_CS_S_SystemMessage::PB_CS_S_SystemMessage(const PB_CS_S_SystemMessage& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); szstring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_szstring().empty()) { szstring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szstring_); } ::memcpy(&wtype_, &from.wtype_, static_cast(reinterpret_cast(&wlength_) - reinterpret_cast(&wtype_)) + sizeof(wlength_)); // @@protoc_insertion_point(copy_constructor:GameInfo.PB_CS_S_SystemMessage) } void PB_CS_S_SystemMessage::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PB_CS_S_SystemMessage_Pb_5fGameInfo_2eproto.base); szstring_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wtype_, 0, static_cast( reinterpret_cast(&wlength_) - reinterpret_cast(&wtype_)) + sizeof(wlength_)); } PB_CS_S_SystemMessage::~PB_CS_S_SystemMessage() { // @@protoc_insertion_point(destructor:GameInfo.PB_CS_S_SystemMessage) SharedDtor(); } void PB_CS_S_SystemMessage::SharedDtor() { szstring_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PB_CS_S_SystemMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } const PB_CS_S_SystemMessage& PB_CS_S_SystemMessage::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PB_CS_S_SystemMessage_Pb_5fGameInfo_2eproto.base); return *internal_default_instance(); } void PB_CS_S_SystemMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameInfo.PB_CS_S_SystemMessage) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; szstring_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); ::memset(&wtype_, 0, static_cast( reinterpret_cast(&wlength_) - reinterpret_cast(&wtype_)) + sizeof(wlength_)); _internal_metadata_.Clear(); } const char* PB_CS_S_SystemMessage::_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 wType = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { wtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // uint32 wLength = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { wlength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // string szString = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_szstring(), ptr, ctx, "GameInfo.PB_CS_S_SystemMessage.szString"); 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_SystemMessage::InternalSerializeWithCachedSizesToArray( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameInfo.PB_CS_S_SystemMessage) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 wType = 1; if (this->wtype() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wtype(), target); } // uint32 wLength = 2; if (this->wlength() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wlength(), target); } // string szString = 3; if (this->szstring().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_szstring().data(), static_cast(this->_internal_szstring().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "GameInfo.PB_CS_S_SystemMessage.szString"); target = stream->WriteStringMaybeAliased( 3, this->_internal_szstring(), 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:GameInfo.PB_CS_S_SystemMessage) return target; } size_t PB_CS_S_SystemMessage::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:GameInfo.PB_CS_S_SystemMessage) 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 szString = 3; if (this->szstring().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_szstring()); } // uint32 wType = 1; if (this->wtype() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wtype()); } // uint32 wLength = 2; if (this->wlength() != 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( this->_internal_wlength()); } 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_SystemMessage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:GameInfo.PB_CS_S_SystemMessage) GOOGLE_DCHECK_NE(&from, this); const PB_CS_S_SystemMessage* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:GameInfo.PB_CS_S_SystemMessage) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:GameInfo.PB_CS_S_SystemMessage) MergeFrom(*source); } } void PB_CS_S_SystemMessage::MergeFrom(const PB_CS_S_SystemMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameInfo.PB_CS_S_SystemMessage) 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.szstring().size() > 0) { szstring_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.szstring_); } if (from.wtype() != 0) { _internal_set_wtype(from._internal_wtype()); } if (from.wlength() != 0) { _internal_set_wlength(from._internal_wlength()); } } void PB_CS_S_SystemMessage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:GameInfo.PB_CS_S_SystemMessage) if (&from == this) return; Clear(); MergeFrom(from); } void PB_CS_S_SystemMessage::CopyFrom(const PB_CS_S_SystemMessage& from) { // @@protoc_insertion_point(class_specific_copy_from_start:GameInfo.PB_CS_S_SystemMessage) if (&from == this) return; Clear(); MergeFrom(from); } bool PB_CS_S_SystemMessage::IsInitialized() const { return true; } void PB_CS_S_SystemMessage::InternalSwap(PB_CS_S_SystemMessage* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); szstring_.Swap(&other->szstring_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(wtype_, other->wtype_); swap(wlength_, other->wlength_); } ::PROTOBUF_NAMESPACE_ID::Metadata PB_CS_S_SystemMessage::GetMetadata() const { return GetMetadataStatic(); } // @@protoc_insertion_point(namespace_scope) } // namespace GameInfo PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_USER_READY* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_USER_READY >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_USER_READY >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::pb_dwUserName* Arena::CreateMaybeMessage< ::GameInfo::pb_dwUserName >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::pb_dwUserName >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_S_SHUFFLE_ALL_ACK >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_UserChat* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_UserChat >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_UserChat >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_UserExpression* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_UserExpression >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_UserExpression >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_GameStatus* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_GameStatus >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_GameStatus >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_C_tagGameConfig* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_C_tagGameConfig >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_C_tagGameConfig >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_S_StatusFree* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_S_StatusFree >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_S_StatusFree >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::pb_WeaveItem* Arena::CreateMaybeMessage< ::GameInfo::pb_WeaveItem >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::pb_WeaveItem >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::pb_WeaveItemArray* Arena::CreateMaybeMessage< ::GameInfo::pb_WeaveItemArray >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::pb_WeaveItemArray >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::pb_cbDiscardCard* Arena::CreateMaybeMessage< ::GameInfo::pb_cbDiscardCard >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::pb_cbDiscardCard >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_S_StatusPlay* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_S_StatusPlay >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_S_StatusPlay >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_S_UserDistance* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_S_UserDistance >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_S_UserDistance >(arena); } template<> PROTOBUF_NOINLINE ::GameInfo::PB_CS_S_SystemMessage* Arena::CreateMaybeMessage< ::GameInfo::PB_CS_S_SystemMessage >(Arena* arena) { return Arena::CreateInternal< ::GameInfo::PB_CS_S_SystemMessage >(arena); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include