diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj index 6c1494f..a7ecd5f 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj @@ -198,6 +198,7 @@ + @@ -376,6 +377,7 @@ + @@ -451,6 +453,7 @@ + diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters index 05d47a4..21f6d38 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters @@ -459,6 +459,9 @@ Andromeda-CS2-Base\GameClient + + Andromeda-CS2-Base\CS2\Protobuf + @@ -1094,5 +1097,11 @@ Andromeda-CS2-Base\GameClient + + Andromeda-CS2-Base\CS2\SDK\Update + + + Andromeda-CS2-Base\CS2\Protobuf + \ No newline at end of file diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp index 9105604..7be44e1 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp @@ -34,7 +34,7 @@ auto CHook_Loader::InstallFirstHook() -> bool m_Hooks = { #if DISABLE_INVENTORY == 0 - { { XorStr( "Hook::SOCacheSubscribed" ) , XorStr( "48 89 6C 24 ? 56 48 83 EC ? 8B 41 ? 49 8B E8" ) , CLIENT_DLL } , &Hook_SOCacheSubscribed , reinterpret_cast( &SOCacheSubscribed_o ) }, + { { XorStr( "Hook::SOCacheSubscribed" ) , XorStr( "4C 8B DC 55 56 41 56 49 8D 6B" ) , CLIENT_DLL } , &Hook_SOCacheSubscribed , reinterpret_cast( &SOCacheSubscribed_o ) }, #endif }; @@ -60,18 +60,18 @@ auto CHook_Loader::InstallSecondHook() -> bool */ { { XorStr( "Hook::CreateSwapChain" ) , XorStr( "48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 48 83 EC 20 48 8B F9 49 8B F1 48 8D ? ? ? ? ? 49 8B D8 48 8B EA E8 ? ? ? ? 48 8D ? ? ? ? ? E8 ? ? ? ? 48 8D ? ? ? ? ? E8 ? ? ? ? 48 8D ? ? ? ? ? E8 ? ? ? ? 48 8B ? ? ? ? ? 4C 8B CE 4C 8B C3 48 8B D5 48 8B CF FF D0 8B D8 85 C0 78 18 48 85 F6 74 13 48 83 3E 00 74 0D 48 8B D5 48 8B CE E8 ? ? ? ? 8B C3 48 8B 5C 24 30 48 8B 6C 24 38 48 8B 74 24 40 48 83 C4 20 5F C3 CC CC CC CC CC CC CC CC 48 83 EC 38 48 8B 01 4C 8D 44 24 40" ) , GAMEOVERLAYRENDER64_DLL } , &Hook_CreateSwapChain , reinterpret_cast( &CreateSwapChain_o ) } , { { XorStr( "Hook::MouseInputEnabled" ) , XorStr( "40 53 48 83 EC 20 80 B9 ? ? ? ? ? 48 8B D9 75 78" ) , CLIENT_DLL } , &Hook_MouseInputEnabled , reinterpret_cast( &MouseInputEnabled_o ) }, - { { XorStr( "Hook::FireEventClientSide" ) , XorStr( "48 89 5C 24 20 57 41 54 41 56 48 83 EC 30" ) , CLIENT_DLL } , &Hook_FireEventClientSide , reinterpret_cast( &FireEventClientSide_o ) }, + { { XorStr( "Hook::FireEventClientSide" ) , XorStr( "40 53 41 54 41 56 48 83 EC ? 4C 8B F2" ) , CLIENT_DLL } , &Hook_FireEventClientSide , reinterpret_cast( &FireEventClientSide_o ) }, { { XorStr( "Hook::OnAddEntity" ) , XorStr( "48 89 74 24 10 57 48 83 EC 20 41 B9 FF 7F 00 00 41 8B C0 41 23 C1 48 8B F2 41 83 F8 FF 48 8B F9 44 0F 45 C8 41 81 F9 00 40 00 00 73 0D" ) , CLIENT_DLL } , &Hook_OnAddEntity , reinterpret_cast( &OnAddEntity_o ) }, { { XorStr( "Hook::OnRemoveEntity" ) , XorStr( "48 89 74 24 10 57 48 83 EC 20 41 B9 FF 7F 00 00 41 8B C0 41 23 C1 48 8B F2 41 83 F8 FF 48 8B F9 44 0F 45 C8 41 81 F9 00 40 00 00 73 08" ) , CLIENT_DLL } , &Hook_OnRemoveEntity , reinterpret_cast( &OnRemoveEntity_o ) }, - { { XorStr( "Hook::FrameStageNotify" ) , XorStr( "48 89 5C 24 ? 57 48 81 EC ? ? ? ? 48 8B F9 8B DA" ) , CLIENT_DLL } , &Hook_FrameStageNotify , reinterpret_cast( &FrameStageNotify_o ) }, - { { XorStr( "Hook::GetMatricesForView" ) , XorStr( "40 53 48 81 EC ? ? ? ? 49 8B C1" ) , CLIENT_DLL } , &Hook_GetMatricesForView , reinterpret_cast( &GetMatricesForView_o ) }, + { { XorStr( "Hook::FrameStageNotify" ) , XorStr( "48 89 5C 24 ? 48 89 6C 24 ? 57 48 83 EC ? 48 8B F9 33 ED" ) , CLIENT_DLL } , &Hook_FrameStageNotify , reinterpret_cast( &FrameStageNotify_o ) }, + { { XorStr( "Hook::GetMatricesForView" ) , XorStr( "48 8B C4 48 89 68 ? 48 89 70 ? 57 48 81 EC ? ? ? ? 0F 29 70 ? 49 8B F1" ) , CLIENT_DLL } , &Hook_GetMatricesForView , reinterpret_cast( &GetMatricesForView_o ) }, { { XorStr( "Hook::CreateMove" ) , XorStr( "85 D2 0F 85 ? ? ? ? 48 8B C4 44 88 40 18" ) , CLIENT_DLL } , &Hook_CreateMove , reinterpret_cast( &CreateMove_o ) }, { { XorStr( "Hook::SerializePartialToArray" ) , XorStr( "48 89 5C 24 ? 55 56 57 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 84 24 ? ? ? ? 49 63 F0" ) , CLIENT_DLL } , &Hook_MessageLite_SerializePartialToArray , reinterpret_cast( &MessageLite_SerializePartialToArray_o ) }, { { XorStr( "Hook::OnClientOutput" ) , XorStr( "48 89 5C 24 18 55 56 57 41 54 41 56 48 83 EC 70" ) , ENGINE2_DLL } , &Hook_OnClientOutput , reinterpret_cast( &OnClientOutput_o ) }, { { XorStr( "Hook::CDemoRecorder" ) , XorStr( "40 56 57 41 57 48 83 EC ? 4C 8B F9" ) , ENGINE2_DLL } , &Hook_CDemoRecorder , reinterpret_cast( &CDemoRecorder_o ) }, { { XorStr( "Hook::IsRelativeMouseMode" ) , XorStr( "48 89 6C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 41 56 48 83 EC ? 0F B6 F2" ) , INPUTSYSTEM_DLL } , &Hook_IsRelativeMouseMode , reinterpret_cast( &IsRelativeMouseMode_o ) }, - { { XorStr( "Hook::UpdateInPVS" ) , XorStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8B 01 8B F2 48 8B D9 FF 90 ? ? ? ? 33 FF" ) , CLIENT_DLL } , &Hook_UpdateInPVS , reinterpret_cast( &UpdateInPVS_o ) }, - { { XorStr( "Hook::AntiTamper" ) , XorStr( "40 53 48 83 EC 50 48 89 6C 24 60 48 8B E9 48 89 74" ) , CLIENT_DLL } , &Hook_AntiTamper , reinterpret_cast( &AntiTamper_o ) }, + { { XorStr( "Hook::UpdateInPVS" ) , XorStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8B D9 8B F2 48 8B 89 ? ? ? ? 48 8B 01 FF 50 ? 33 FF 48 85 C0 74 ? 48 8B 80 ? ? ? ? EB ? 48 8B C7 39 B8 ? ? ? ? 0F 8F ? ? ? ? 0F B6 48 ? 80 F9" ) , CLIENT_DLL } , &Hook_UpdateInPVS , reinterpret_cast( &UpdateInPVS_o ) }, + { { XorStr( "Hook::AntiTamper" ) , XorStr( "40 53 41 57 48 83 EC ? 48 89 74 24 ? 48 8B F1" ) , CLIENT_DLL } , &Hook_AntiTamper , reinterpret_cast( &AntiTamper_o ) }, }; return InstallHooks(); diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp index 11d891a..33d623a 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp @@ -12,7 +12,7 @@ auto Hook_CDemoRecorder( CDemoRecorder* pDemoRecorder , CNetworkSerializerPB* pS { if ( pSerializer->messageID == GE_SosStartSoundEvent ) { - CMsgSosStartSoundEvent* pMessage = reinterpret_cast( (PBYTE)pNetMessage + g_CDemorecorder_ParseMessage ); + CMsgSosStartSoundEvent* pMessage = reinterpret_cast( (PBYTE)pNetMessage + g_ProtobufMsgOffset ); if ( pMessage ) { diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc index b96abe4..e04521e 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc @@ -247,7 +247,7 @@ const char descriptor_table_protodef_c_5fpeer2peer_5fnetmessages_2eproto[] PROTO "P_Voice\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022" "\027\n\017broadcast_group\030\002 \001(\r\"!\n\rHandler_Flag" "s\022\020\n\014Played_Audio\020\001\"0\n\tCP2P_Ping\022\021\n\tsend" - "_time\030\001 \002(\004\022\020\n\010is_reply\030\002 \002(\010\"\313\001\n\025CP2P_V" + "_time\030\001 \001(\004\022\020\n\010is_reply\030\002 \001(\010\"\313\001\n\025CP2P_V" "RAvatarPosition\0227\n\nbody_parts\030\001 \003(\0132#.CP" "2P_VRAvatarPosition.COrientation\022\016\n\006hat_" "id\030\002 \001(\005\022\020\n\010scene_id\030\003 \001(\005\022\023\n\013world_scal" @@ -1012,9 +1012,6 @@ class CP2P_Ping::_Internal { static void set_has_is_reply(HasBits* has_bits) { (*has_bits)[0] |= 2u; } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } }; CP2P_Ping::CP2P_Ping(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -1091,7 +1088,7 @@ const char* CP2P_Ping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // required uint64 send_time = 1; + // optional uint64 send_time = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_send_time(&has_bits); @@ -1100,7 +1097,7 @@ const char* CP2P_Ping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx } else goto handle_unusual; continue; - // required bool is_reply = 2; + // optional bool is_reply = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_is_reply(&has_bits); @@ -1140,13 +1137,13 @@ uint8_t* CP2P_Ping::_InternalSerialize( (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - // required uint64 send_time = 1; + // optional uint64 send_time = 1; if (cached_has_bits & 0x00000001u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_send_time(), target); } - // required bool is_reply = 2; + // optional bool is_reply = 2; if (cached_has_bits & 0x00000002u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_reply(), target); @@ -1160,40 +1157,27 @@ uint8_t* CP2P_Ping::_InternalSerialize( return target; } -size_t CP2P_Ping::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CP2P_Ping) - size_t total_size = 0; - - if (_internal_has_send_time()) { - // required uint64 send_time = 1; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); - } - - if (_internal_has_is_reply()) { - // required bool is_reply = 2; - total_size += 1 + 1; - } - - return total_size; -} size_t CP2P_Ping::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:CP2P_Ping) size_t total_size = 0; - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required uint64 send_time = 1; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); - - // required bool is_reply = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 send_time = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); + } + + // optional bool is_reply = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -1233,7 +1217,6 @@ void CP2P_Ping::CopyFrom(const CP2P_Ping& from) { } bool CP2P_Ping::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; return true; } diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h index a72aed7..05280f5 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h @@ -799,7 +799,7 @@ class CP2P_Ping final : kSendTimeFieldNumber = 1, kIsReplyFieldNumber = 2, }; - // required uint64 send_time = 1; + // optional uint64 send_time = 1; bool has_send_time() const; private: bool _internal_has_send_time() const; @@ -812,7 +812,7 @@ class CP2P_Ping final : void _internal_set_send_time(uint64_t value); public: - // required bool is_reply = 2; + // optional bool is_reply = 2; bool has_is_reply() const; private: bool _internal_has_is_reply() const; @@ -829,9 +829,6 @@ class CP2P_Ping final : private: class _Internal; - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; @@ -1780,7 +1777,7 @@ inline void CP2P_Voice::set_broadcast_group(uint32_t value) { // CP2P_Ping -// required uint64 send_time = 1; +// optional uint64 send_time = 1; inline bool CP2P_Ping::_internal_has_send_time() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; @@ -1808,7 +1805,7 @@ inline void CP2P_Ping::set_send_time(uint64_t value) { // @@protoc_insertion_point(field_set:CP2P_Ping.send_time) } -// required bool is_reply = 2; +// optional bool is_reply = 2; inline bool CP2P_Ping::_internal_has_is_reply() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc index d01a4de..de0a6bd 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc @@ -50,6 +50,27 @@ struct CMsgTERadioIconDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTERadioIconDefaultTypeInternal _CMsgTERadioIcon_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEFireBullets_Extra::CMsgTEFireBullets_Extra( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.aim_punch_)*/nullptr + , /*decltype(_impl_.attack_tick_count_)*/0 + , /*decltype(_impl_.attack_tick_frac_)*/0 + , /*decltype(_impl_.render_tick_count_)*/0 + , /*decltype(_impl_.render_tick_frac_)*/0 + , /*decltype(_impl_.inaccuracy_move_)*/0 + , /*decltype(_impl_.inaccuracy_air_)*/0 + , /*decltype(_impl_.type_)*/0} {} +struct CMsgTEFireBullets_ExtraDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEFireBullets_ExtraDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEFireBullets_ExtraDefaultTypeInternal() {} + union { + CMsgTEFireBullets_Extra _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEFireBullets_ExtraDefaultTypeInternal _CMsgTEFireBullets_Extra_default_instance_; PROTOBUF_CONSTEXPR CMsgTEFireBullets::CMsgTEFireBullets( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} @@ -57,6 +78,7 @@ PROTOBUF_CONSTEXPR CMsgTEFireBullets::CMsgTEFireBullets( , /*decltype(_impl_.origin_)*/nullptr , /*decltype(_impl_.angles_)*/nullptr , /*decltype(_impl_.ent_origin_)*/nullptr + , /*decltype(_impl_.extra_)*/nullptr , /*decltype(_impl_.mode_)*/0u , /*decltype(_impl_.seed_)*/0u , /*decltype(_impl_.inaccuracy_)*/0 @@ -67,6 +89,9 @@ PROTOBUF_CONSTEXPR CMsgTEFireBullets::CMsgTEFireBullets( , /*decltype(_impl_.sound_dsp_effect_)*/0u , /*decltype(_impl_.num_bullets_remaining_)*/0u , /*decltype(_impl_.attack_type_)*/0u + , /*decltype(_impl_.player_inair_)*/false + , /*decltype(_impl_.player_scoped_)*/false + , /*decltype(_impl_.tick_)*/0 , /*decltype(_impl_.weapon_id_)*/16777215u , /*decltype(_impl_.player_)*/16777215u} {} struct CMsgTEFireBulletsDefaultTypeInternal { @@ -78,7 +103,27 @@ struct CMsgTEFireBulletsDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEFireBulletsDefaultTypeInternal _CMsgTEFireBullets_default_instance_; -static ::_pb::Metadata file_level_metadata_cs_5fgameevents_2eproto[3]; +PROTOBUF_CONSTEXPR CMsgPlayerBulletHit::CMsgPlayerBulletHit( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.victim_pos_)*/nullptr + , /*decltype(_impl_.hit_group_)*/0 + , /*decltype(_impl_.damage_)*/0 + , /*decltype(_impl_.penetration_count_)*/0 + , /*decltype(_impl_.is_kill_)*/false + , /*decltype(_impl_.attacker_slot_)*/-1 + , /*decltype(_impl_.victim_slot_)*/-1} {} +struct CMsgPlayerBulletHitDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgPlayerBulletHitDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgPlayerBulletHitDefaultTypeInternal() {} + union { + CMsgPlayerBulletHit _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPlayerBulletHitDefaultTypeInternal _CMsgPlayerBulletHit_default_instance_; +static ::_pb::Metadata file_level_metadata_cs_5fgameevents_2eproto[5]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cs_5fgameevents_2eproto[1]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fgameevents_2eproto = nullptr; @@ -103,6 +148,28 @@ const uint32_t TableStruct_cs_5fgameevents_2eproto::offsets[] PROTOBUF_SECTION_V ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _impl_.player_), 0, + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.aim_punch_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.attack_tick_count_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.attack_tick_frac_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.render_tick_count_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.render_tick_frac_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.inaccuracy_move_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.inaccuracy_air_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets_Extra, _impl_.type_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _internal_metadata_), ~0u, // no _extensions_ @@ -124,32 +191,64 @@ const uint32_t TableStruct_cs_5fgameevents_2eproto::offsets[] PROTOBUF_SECTION_V PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.ent_origin_), PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.num_bullets_remaining_), PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.attack_type_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.player_inair_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.player_scoped_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.extra_), 0, 1, - 13, - 3, + 17, 4, - 14, 5, + 18, 6, 7, 8, 9, 10, - 2, 11, + 2, 12, + 13, + 14, + 15, + 16, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.attacker_slot_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.victim_slot_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.victim_pos_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.hit_group_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.damage_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.penetration_count_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerBulletHit, _impl_.is_kill_), + 5, + 6, + 0, + 1, + 2, + 3, + 4, }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 9, -1, sizeof(::CMsgTEPlayerAnimEvent)}, { 12, 19, -1, sizeof(::CMsgTERadioIcon)}, - { 20, 41, -1, sizeof(::CMsgTEFireBullets)}, + { 20, 34, -1, sizeof(::CMsgTEFireBullets_Extra)}, + { 42, 67, -1, sizeof(::CMsgTEFireBullets)}, + { 86, 99, -1, sizeof(::CMsgPlayerBulletHit)}, }; static const ::_pb::Message* const file_default_instances[] = { &::_CMsgTEPlayerAnimEvent_default_instance_._instance, &::_CMsgTERadioIcon_default_instance_._instance, + &::_CMsgTEFireBullets_Extra_default_instance_._instance, &::_CMsgTEFireBullets_default_instance_._instance, + &::_CMsgPlayerBulletHit_default_instance_._instance, }; const char descriptor_table_protodef_cs_5fgameevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -157,7 +256,7 @@ const char descriptor_table_protodef_cs_5fgameevents_2eproto[] PROTOBUF_SECTION_ "proto\"N\n\025CMsgTEPlayerAnimEvent\022\030\n\006player" "\030\001 \001(\007:\01016777215\022\r\n\005event\030\002 \001(\r\022\014\n\004data\030" "\003 \001(\005\"+\n\017CMsgTERadioIcon\022\030\n\006player\030\001 \001(\007" - ":\01016777215\"\365\002\n\021CMsgTEFireBullets\022\033\n\006orig" + ":\01016777215\"\254\005\n\021CMsgTEFireBullets\022\033\n\006orig" "in\030\001 \001(\0132\013.CMsgVector\022\033\n\006angles\030\002 \001(\0132\013." "CMsgQAngle\022\033\n\tweapon_id\030\003 \001(\r:\01016777215\022" "\014\n\004mode\030\004 \001(\r\022\014\n\004seed\030\005 \001(\r\022\030\n\006player\030\006 " @@ -166,19 +265,32 @@ const char descriptor_table_protodef_cs_5fgameevents_2eproto[] PROTOBUF_SECTION_ "_type\030\n \001(\005\022\026\n\016item_def_index\030\013 \001(\r\022\030\n\020s" "ound_dsp_effect\030\014 \001(\007\022\037\n\nent_origin\030\r \001(" "\0132\013.CMsgVector\022\035\n\025num_bullets_remaining\030" - "\016 \001(\r\022\023\n\013attack_type\030\017 \001(\r*]\n\017ECsgoGameE" - "vents\022\031\n\024GE_PlayerAnimEventId\020\302\003\022\030\n\023GE_R" - "adioIconEventId\020\303\003\022\025\n\020GE_FireBulletsId\020\304" - "\003" + "\016 \001(\r\022\023\n\013attack_type\030\017 \001(\r\022\024\n\014player_ina" + "ir\030\021 \001(\010\022\025\n\rplayer_scoped\030\022 \001(\010\022\014\n\004tick\030" + "\023 \001(\005\022\'\n\005extra\030\020 \001(\0132\030.CMsgTEFireBullets" + ".Extra\032\320\001\n\005Extra\022\036\n\taim_punch\030\001 \001(\0132\013.CM" + "sgQAngle\022\031\n\021attack_tick_count\030\002 \001(\005\022\030\n\020a" + "ttack_tick_frac\030\003 \001(\002\022\031\n\021render_tick_cou" + "nt\030\004 \001(\005\022\030\n\020render_tick_frac\030\005 \001(\002\022\027\n\017in" + "accuracy_move\030\006 \001(\002\022\026\n\016inaccuracy_air\030\007 " + "\001(\002\022\014\n\004type\030\010 \001(\005\"\271\001\n\023CMsgPlayerBulletHi" + "t\022\031\n\rattacker_slot\030\001 \001(\005:\002-1\022\027\n\013victim_s" + "lot\030\002 \001(\005:\002-1\022\037\n\nvictim_pos\030\003 \001(\0132\013.CMsg" + "Vector\022\021\n\thit_group\030\004 \001(\005\022\016\n\006damage\030\005 \001(" + "\005\022\031\n\021penetration_count\030\006 \001(\005\022\017\n\007is_kill\030" + "\007 \001(\010*x\n\017ECsgoGameEvents\022\031\n\024GE_PlayerAni" + "mEventId\020\302\003\022\030\n\023GE_RadioIconEventId\020\303\003\022\025\n" + "\020GE_FireBulletsId\020\304\003\022\031\n\024GE_PlayerBulletH" + "itId\020\305\003" ; static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fgameevents_2eproto_deps[1] = { &::descriptor_table_networkbasetypes_2eproto, }; static ::_pbi::once_flag descriptor_table_cs_5fgameevents_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_cs_5fgameevents_2eproto = { - false, false, 641, descriptor_table_protodef_cs_5fgameevents_2eproto, + false, false, 1167, descriptor_table_protodef_cs_5fgameevents_2eproto, "cs_gameevents.proto", - &descriptor_table_cs_5fgameevents_2eproto_once, descriptor_table_cs_5fgameevents_2eproto_deps, 1, 3, + &descriptor_table_cs_5fgameevents_2eproto_once, descriptor_table_cs_5fgameevents_2eproto_deps, 1, 5, schemas, file_default_instances, TableStruct_cs_5fgameevents_2eproto::offsets, file_level_metadata_cs_5fgameevents_2eproto, file_level_enum_descriptors_cs_5fgameevents_2eproto, file_level_service_descriptors_cs_5fgameevents_2eproto, @@ -198,6 +310,7 @@ bool ECsgoGameEvents_IsValid(int value) { case 450: case 451: case 452: + case 453: return true; default: return false; @@ -665,6 +778,431 @@ void CMsgTERadioIcon::InternalSwap(CMsgTERadioIcon* other) { // =================================================================== +class CMsgTEFireBullets_Extra::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgQAngle& aim_punch(const CMsgTEFireBullets_Extra* msg); + static void set_has_aim_punch(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_attack_tick_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_attack_tick_frac(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_render_tick_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_render_tick_frac(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_inaccuracy_move(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_inaccuracy_air(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +const ::CMsgQAngle& +CMsgTEFireBullets_Extra::_Internal::aim_punch(const CMsgTEFireBullets_Extra* msg) { + return *msg->_impl_.aim_punch_; +} +void CMsgTEFireBullets_Extra::clear_aim_punch() { + if (_impl_.aim_punch_ != nullptr) _impl_.aim_punch_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgTEFireBullets_Extra::CMsgTEFireBullets_Extra(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgTEFireBullets.Extra) +} +CMsgTEFireBullets_Extra::CMsgTEFireBullets_Extra(const CMsgTEFireBullets_Extra& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEFireBullets_Extra* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.aim_punch_){nullptr} + , decltype(_impl_.attack_tick_count_){} + , decltype(_impl_.attack_tick_frac_){} + , decltype(_impl_.render_tick_count_){} + , decltype(_impl_.render_tick_frac_){} + , decltype(_impl_.inaccuracy_move_){} + , decltype(_impl_.inaccuracy_air_){} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_aim_punch()) { + _this->_impl_.aim_punch_ = new ::CMsgQAngle(*from._impl_.aim_punch_); + } + ::memcpy(&_impl_.attack_tick_count_, &from._impl_.attack_tick_count_, + static_cast(reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.attack_tick_count_)) + sizeof(_impl_.type_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEFireBullets.Extra) +} + +inline void CMsgTEFireBullets_Extra::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.aim_punch_){nullptr} + , decltype(_impl_.attack_tick_count_){0} + , decltype(_impl_.attack_tick_frac_){0} + , decltype(_impl_.render_tick_count_){0} + , decltype(_impl_.render_tick_frac_){0} + , decltype(_impl_.inaccuracy_move_){0} + , decltype(_impl_.inaccuracy_air_){0} + , decltype(_impl_.type_){0} + }; +} + +CMsgTEFireBullets_Extra::~CMsgTEFireBullets_Extra() { + // @@protoc_insertion_point(destructor:CMsgTEFireBullets.Extra) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEFireBullets_Extra::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.aim_punch_; +} + +void CMsgTEFireBullets_Extra::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEFireBullets_Extra::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEFireBullets.Extra) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.aim_punch_ != nullptr); + _impl_.aim_punch_->Clear(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.attack_tick_count_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.attack_tick_count_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEFireBullets_Extra::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgQAngle aim_punch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_aim_punch(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 attack_tick_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_attack_tick_count(&has_bits); + _impl_.attack_tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float attack_tick_frac = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_attack_tick_frac(&has_bits); + _impl_.attack_tick_frac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 render_tick_count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_render_tick_count(&has_bits); + _impl_.render_tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float render_tick_frac = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_render_tick_frac(&has_bits); + _impl_.render_tick_frac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float inaccuracy_move = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_inaccuracy_move(&has_bits); + _impl_.inaccuracy_move_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float inaccuracy_air = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_inaccuracy_air(&has_bits); + _impl_.inaccuracy_air_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 type = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEFireBullets_Extra::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEFireBullets.Extra) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgQAngle aim_punch = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::aim_punch(this), + _Internal::aim_punch(this).GetCachedSize(), target, stream); + } + + // optional int32 attack_tick_count = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attack_tick_count(), target); + } + + // optional float attack_tick_frac = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_attack_tick_frac(), target); + } + + // optional int32 render_tick_count = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_render_tick_count(), target); + } + + // optional float render_tick_frac = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_render_tick_frac(), target); + } + + // optional float inaccuracy_move = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_inaccuracy_move(), target); + } + + // optional float inaccuracy_air = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_inaccuracy_air(), target); + } + + // optional int32 type = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgTEFireBullets.Extra) + return target; +} + +size_t CMsgTEFireBullets_Extra::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEFireBullets.Extra) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgQAngle aim_punch = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.aim_punch_); + } + + // optional int32 attack_tick_count = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attack_tick_count()); + } + + // optional float attack_tick_frac = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 render_tick_count = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_render_tick_count()); + } + + // optional float render_tick_frac = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional float inaccuracy_move = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float inaccuracy_air = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional int32 type = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEFireBullets_Extra::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEFireBullets_Extra::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEFireBullets_Extra::GetClassData() const { return &_class_data_; } + + +void CMsgTEFireBullets_Extra::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEFireBullets.Extra) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_aim_punch()->::CMsgQAngle::MergeFrom( + from._internal_aim_punch()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.attack_tick_count_ = from._impl_.attack_tick_count_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.attack_tick_frac_ = from._impl_.attack_tick_frac_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.render_tick_count_ = from._impl_.render_tick_count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.render_tick_frac_ = from._impl_.render_tick_frac_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.inaccuracy_move_ = from._impl_.inaccuracy_move_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.inaccuracy_air_ = from._impl_.inaccuracy_air_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEFireBullets_Extra::CopyFrom(const CMsgTEFireBullets_Extra& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEFireBullets.Extra) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEFireBullets_Extra::IsInitialized() const { + return true; +} + +void CMsgTEFireBullets_Extra::InternalSwap(CMsgTEFireBullets_Extra* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets_Extra, _impl_.type_) + + sizeof(CMsgTEFireBullets_Extra::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets_Extra, _impl_.aim_punch_)>( + reinterpret_cast(&_impl_.aim_punch_), + reinterpret_cast(&other->_impl_.aim_punch_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEFireBullets_Extra::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, + file_level_metadata_cs_5fgameevents_2eproto[2]); +} + +// =================================================================== + class CMsgTEFireBullets::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); @@ -677,44 +1215,57 @@ class CMsgTEFireBullets::_Internal { (*has_bits)[0] |= 2u; } static void set_has_weapon_id(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; + (*has_bits)[0] |= 131072u; } static void set_has_mode(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seed(HasBits* has_bits) { (*has_bits)[0] |= 16u; } - static void set_has_player(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_inaccuracy(HasBits* has_bits) { + static void set_has_seed(HasBits* has_bits) { (*has_bits)[0] |= 32u; } - static void set_has_recoil_index(HasBits* has_bits) { + static void set_has_player(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_inaccuracy(HasBits* has_bits) { (*has_bits)[0] |= 64u; } - static void set_has_spread(HasBits* has_bits) { + static void set_has_recoil_index(HasBits* has_bits) { (*has_bits)[0] |= 128u; } - static void set_has_sound_type(HasBits* has_bits) { + static void set_has_spread(HasBits* has_bits) { (*has_bits)[0] |= 256u; } - static void set_has_item_def_index(HasBits* has_bits) { + static void set_has_sound_type(HasBits* has_bits) { (*has_bits)[0] |= 512u; } - static void set_has_sound_dsp_effect(HasBits* has_bits) { + static void set_has_item_def_index(HasBits* has_bits) { (*has_bits)[0] |= 1024u; } + static void set_has_sound_dsp_effect(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } static const ::CMsgVector& ent_origin(const CMsgTEFireBullets* msg); static void set_has_ent_origin(HasBits* has_bits) { (*has_bits)[0] |= 4u; } static void set_has_num_bullets_remaining(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; + (*has_bits)[0] |= 4096u; } static void set_has_attack_type(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; + (*has_bits)[0] |= 8192u; + } + static void set_has_player_inair(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_player_scoped(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static const ::CMsgTEFireBullets_Extra& extra(const CMsgTEFireBullets* msg); + static void set_has_extra(HasBits* has_bits) { + (*has_bits)[0] |= 8u; } }; @@ -730,6 +1281,10 @@ const ::CMsgVector& CMsgTEFireBullets::_Internal::ent_origin(const CMsgTEFireBullets* msg) { return *msg->_impl_.ent_origin_; } +const ::CMsgTEFireBullets_Extra& +CMsgTEFireBullets::_Internal::extra(const CMsgTEFireBullets* msg) { + return *msg->_impl_.extra_; +} void CMsgTEFireBullets::clear_origin() { if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; @@ -757,6 +1312,7 @@ CMsgTEFireBullets::CMsgTEFireBullets(const CMsgTEFireBullets& from) , decltype(_impl_.origin_){nullptr} , decltype(_impl_.angles_){nullptr} , decltype(_impl_.ent_origin_){nullptr} + , decltype(_impl_.extra_){nullptr} , decltype(_impl_.mode_){} , decltype(_impl_.seed_){} , decltype(_impl_.inaccuracy_){} @@ -767,6 +1323,9 @@ CMsgTEFireBullets::CMsgTEFireBullets(const CMsgTEFireBullets& from) , decltype(_impl_.sound_dsp_effect_){} , decltype(_impl_.num_bullets_remaining_){} , decltype(_impl_.attack_type_){} + , decltype(_impl_.player_inair_){} + , decltype(_impl_.player_scoped_){} + , decltype(_impl_.tick_){} , decltype(_impl_.weapon_id_){} , decltype(_impl_.player_){}}; @@ -780,6 +1339,9 @@ CMsgTEFireBullets::CMsgTEFireBullets(const CMsgTEFireBullets& from) if (from._internal_has_ent_origin()) { _this->_impl_.ent_origin_ = new ::CMsgVector(*from._impl_.ent_origin_); } + if (from._internal_has_extra()) { + _this->_impl_.extra_ = new ::CMsgTEFireBullets_Extra(*from._impl_.extra_); + } ::memcpy(&_impl_.mode_, &from._impl_.mode_, static_cast(reinterpret_cast(&_impl_.player_) - reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.player_)); @@ -796,6 +1358,7 @@ inline void CMsgTEFireBullets::SharedCtor( , decltype(_impl_.origin_){nullptr} , decltype(_impl_.angles_){nullptr} , decltype(_impl_.ent_origin_){nullptr} + , decltype(_impl_.extra_){nullptr} , decltype(_impl_.mode_){0u} , decltype(_impl_.seed_){0u} , decltype(_impl_.inaccuracy_){0} @@ -806,6 +1369,9 @@ inline void CMsgTEFireBullets::SharedCtor( , decltype(_impl_.sound_dsp_effect_){0u} , decltype(_impl_.num_bullets_remaining_){0u} , decltype(_impl_.attack_type_){0u} + , decltype(_impl_.player_inair_){false} + , decltype(_impl_.player_scoped_){false} + , decltype(_impl_.tick_){0} , decltype(_impl_.weapon_id_){16777215u} , decltype(_impl_.player_){16777215u} }; @@ -825,6 +1391,7 @@ inline void CMsgTEFireBullets::SharedDtor() { if (this != internal_default_instance()) delete _impl_.origin_; if (this != internal_default_instance()) delete _impl_.angles_; if (this != internal_default_instance()) delete _impl_.ent_origin_; + if (this != internal_default_instance()) delete _impl_.extra_; } void CMsgTEFireBullets::SetCachedSize(int size) const { @@ -838,7 +1405,7 @@ void CMsgTEFireBullets::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(_impl_.origin_ != nullptr); _impl_.origin_->Clear(); @@ -851,16 +1418,23 @@ void CMsgTEFireBullets::Clear() { GOOGLE_DCHECK(_impl_.ent_origin_ != nullptr); _impl_.ent_origin_->Clear(); } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.extra_ != nullptr); + _impl_.extra_->Clear(); + } } - if (cached_has_bits & 0x000000f8u) { + if (cached_has_bits & 0x000000f0u) { ::memset(&_impl_.mode_, 0, static_cast( - reinterpret_cast(&_impl_.spread_) - - reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.spread_)); + reinterpret_cast(&_impl_.recoil_index_) - + reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.recoil_index_)); } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.sound_type_, 0, static_cast( - reinterpret_cast(&_impl_.attack_type_) - - reinterpret_cast(&_impl_.sound_type_)) + sizeof(_impl_.attack_type_)); + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.spread_, 0, static_cast( + reinterpret_cast(&_impl_.player_scoped_) - + reinterpret_cast(&_impl_.spread_)) + sizeof(_impl_.player_scoped_)); + } + if (cached_has_bits & 0x00070000u) { + _impl_.tick_ = 0; _impl_.weapon_id_ = 16777215u; _impl_.player_ = 16777215u; } @@ -1007,6 +1581,41 @@ const char* CMsgTEFireBullets::_InternalParse(const char* ptr, ::_pbi::ParseCont } else goto handle_unusual; continue; + // optional .CMsgTEFireBullets.Extra extra = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + ptr = ctx->ParseMessage(_internal_mutable_extra(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool player_inair = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_player_inair(&has_bits); + _impl_.player_inair_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool player_scoped = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_player_scoped(&has_bits); + _impl_.player_scoped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 tick = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1053,61 +1662,61 @@ uint8_t* CMsgTEFireBullets::_InternalSerialize( } // optional uint32 weapon_id = 3 [default = 16777215]; - if (cached_has_bits & 0x00002000u) { + if (cached_has_bits & 0x00020000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_weapon_id(), target); } // optional uint32 mode = 4; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000010u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target); } // optional uint32 seed = 5; - if (cached_has_bits & 0x00000010u) { + if (cached_has_bits & 0x00000020u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seed(), target); } // optional fixed32 player = 6 [default = 16777215]; - if (cached_has_bits & 0x00004000u) { + if (cached_has_bits & 0x00040000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_player(), target); } // optional float inaccuracy = 7; - if (cached_has_bits & 0x00000020u) { + if (cached_has_bits & 0x00000040u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_inaccuracy(), target); } // optional float recoil_index = 8; - if (cached_has_bits & 0x00000040u) { + if (cached_has_bits & 0x00000080u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_recoil_index(), target); } // optional float spread = 9; - if (cached_has_bits & 0x00000080u) { + if (cached_has_bits & 0x00000100u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_spread(), target); } // optional int32 sound_type = 10; - if (cached_has_bits & 0x00000100u) { + if (cached_has_bits & 0x00000200u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_sound_type(), target); } // optional uint32 item_def_index = 11; - if (cached_has_bits & 0x00000200u) { + if (cached_has_bits & 0x00000400u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_item_def_index(), target); } // optional fixed32 sound_dsp_effect = 12; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00000800u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_sound_dsp_effect(), target); } @@ -1120,17 +1729,42 @@ uint8_t* CMsgTEFireBullets::_InternalSerialize( } // optional uint32 num_bullets_remaining = 14; - if (cached_has_bits & 0x00000800u) { + if (cached_has_bits & 0x00001000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_num_bullets_remaining(), target); } // optional uint32 attack_type = 15; - if (cached_has_bits & 0x00001000u) { + if (cached_has_bits & 0x00002000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_attack_type(), target); } + // optional .CMsgTEFireBullets.Extra extra = 16; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(16, _Internal::extra(this), + _Internal::extra(this).GetCachedSize(), target, stream); + } + + // optional bool player_inair = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_player_inair(), target); + } + + // optional bool player_scoped = 18; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_player_scoped(), target); + } + + // optional int32 tick = 19; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(19, this->_internal_tick(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1170,65 +1804,91 @@ size_t CMsgTEFireBullets::ByteSizeLong() const { *_impl_.ent_origin_); } - // optional uint32 mode = 4; + // optional .CMsgTEFireBullets.Extra extra = 16; if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.extra_); + } + + // optional uint32 mode = 4; + if (cached_has_bits & 0x00000010u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); } // optional uint32 seed = 5; - if (cached_has_bits & 0x00000010u) { + if (cached_has_bits & 0x00000020u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed()); } // optional float inaccuracy = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float recoil_index = 8; if (cached_has_bits & 0x00000040u) { total_size += 1 + 4; } - // optional float spread = 9; + // optional float recoil_index = 8; if (cached_has_bits & 0x00000080u) { total_size += 1 + 4; } } - if (cached_has_bits & 0x00007f00u) { - // optional int32 sound_type = 10; + if (cached_has_bits & 0x0000ff00u) { + // optional float spread = 9; if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional int32 sound_type = 10; + if (cached_has_bits & 0x00000200u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_type()); } // optional uint32 item_def_index = 11; - if (cached_has_bits & 0x00000200u) { + if (cached_has_bits & 0x00000400u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); } // optional fixed32 sound_dsp_effect = 12; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00000800u) { total_size += 1 + 4; } // optional uint32 num_bullets_remaining = 14; - if (cached_has_bits & 0x00000800u) { + if (cached_has_bits & 0x00001000u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_bullets_remaining()); } // optional uint32 attack_type = 15; - if (cached_has_bits & 0x00001000u) { + if (cached_has_bits & 0x00002000u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attack_type()); } + // optional bool player_inair = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + 1; + } + + // optional bool player_scoped = 18; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + 1; + } + + } + if (cached_has_bits & 0x00070000u) { + // optional int32 tick = 19; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_tick()); + } + // optional uint32 weapon_id = 3 [default = 16777215]; - if (cached_has_bits & 0x00002000u) { + if (cached_has_bits & 0x00020000u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_weapon_id()); } // optional fixed32 player = 6 [default = 16777215]; - if (cached_has_bits & 0x00004000u) { + if (cached_has_bits & 0x00040000u) { total_size += 1 + 4; } @@ -1266,42 +1926,58 @@ void CMsgTEFireBullets::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons from._internal_ent_origin()); } if (cached_has_bits & 0x00000008u) { - _this->_impl_.mode_ = from._impl_.mode_; + _this->_internal_mutable_extra()->::CMsgTEFireBullets_Extra::MergeFrom( + from._internal_extra()); } if (cached_has_bits & 0x00000010u) { - _this->_impl_.seed_ = from._impl_.seed_; + _this->_impl_.mode_ = from._impl_.mode_; } if (cached_has_bits & 0x00000020u) { - _this->_impl_.inaccuracy_ = from._impl_.inaccuracy_; + _this->_impl_.seed_ = from._impl_.seed_; } if (cached_has_bits & 0x00000040u) { - _this->_impl_.recoil_index_ = from._impl_.recoil_index_; + _this->_impl_.inaccuracy_ = from._impl_.inaccuracy_; } if (cached_has_bits & 0x00000080u) { - _this->_impl_.spread_ = from._impl_.spread_; + _this->_impl_.recoil_index_ = from._impl_.recoil_index_; } _this->_impl_._has_bits_[0] |= cached_has_bits; } - if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x0000ff00u) { if (cached_has_bits & 0x00000100u) { - _this->_impl_.sound_type_ = from._impl_.sound_type_; + _this->_impl_.spread_ = from._impl_.spread_; } if (cached_has_bits & 0x00000200u) { - _this->_impl_.item_def_index_ = from._impl_.item_def_index_; + _this->_impl_.sound_type_ = from._impl_.sound_type_; } if (cached_has_bits & 0x00000400u) { - _this->_impl_.sound_dsp_effect_ = from._impl_.sound_dsp_effect_; + _this->_impl_.item_def_index_ = from._impl_.item_def_index_; } if (cached_has_bits & 0x00000800u) { - _this->_impl_.num_bullets_remaining_ = from._impl_.num_bullets_remaining_; + _this->_impl_.sound_dsp_effect_ = from._impl_.sound_dsp_effect_; } if (cached_has_bits & 0x00001000u) { - _this->_impl_.attack_type_ = from._impl_.attack_type_; + _this->_impl_.num_bullets_remaining_ = from._impl_.num_bullets_remaining_; } if (cached_has_bits & 0x00002000u) { - _this->_impl_.weapon_id_ = from._impl_.weapon_id_; + _this->_impl_.attack_type_ = from._impl_.attack_type_; } if (cached_has_bits & 0x00004000u) { + _this->_impl_.player_inair_ = from._impl_.player_inair_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.player_scoped_ = from._impl_.player_scoped_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00070000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.weapon_id_ = from._impl_.weapon_id_; + } + if (cached_has_bits & 0x00040000u) { _this->_impl_.player_ = from._impl_.player_; } _this->_impl_._has_bits_[0] |= cached_has_bits; @@ -1325,8 +2001,8 @@ void CMsgTEFireBullets::InternalSwap(CMsgTEFireBullets* other) { _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.attack_type_) - + sizeof(CMsgTEFireBullets::_impl_.attack_type_) + PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.tick_) + + sizeof(CMsgTEFireBullets::_impl_.tick_) - PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.origin_)>( reinterpret_cast(&_impl_.origin_), reinterpret_cast(&other->_impl_.origin_)); @@ -1337,7 +2013,408 @@ void CMsgTEFireBullets::InternalSwap(CMsgTEFireBullets* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEFireBullets::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, - file_level_metadata_cs_5fgameevents_2eproto[2]); + file_level_metadata_cs_5fgameevents_2eproto[3]); +} + +// =================================================================== + +class CMsgPlayerBulletHit::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_attacker_slot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_victim_slot(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CMsgVector& victim_pos(const CMsgPlayerBulletHit* msg); + static void set_has_victim_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_hit_group(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_damage(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_penetration_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_is_kill(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgVector& +CMsgPlayerBulletHit::_Internal::victim_pos(const CMsgPlayerBulletHit* msg) { + return *msg->_impl_.victim_pos_; +} +void CMsgPlayerBulletHit::clear_victim_pos() { + if (_impl_.victim_pos_ != nullptr) _impl_.victim_pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgPlayerBulletHit::CMsgPlayerBulletHit(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgPlayerBulletHit) +} +CMsgPlayerBulletHit::CMsgPlayerBulletHit(const CMsgPlayerBulletHit& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgPlayerBulletHit* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.victim_pos_){nullptr} + , decltype(_impl_.hit_group_){} + , decltype(_impl_.damage_){} + , decltype(_impl_.penetration_count_){} + , decltype(_impl_.is_kill_){} + , decltype(_impl_.attacker_slot_){} + , decltype(_impl_.victim_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_victim_pos()) { + _this->_impl_.victim_pos_ = new ::CMsgVector(*from._impl_.victim_pos_); + } + ::memcpy(&_impl_.hit_group_, &from._impl_.hit_group_, + static_cast(reinterpret_cast(&_impl_.victim_slot_) - + reinterpret_cast(&_impl_.hit_group_)) + sizeof(_impl_.victim_slot_)); + // @@protoc_insertion_point(copy_constructor:CMsgPlayerBulletHit) +} + +inline void CMsgPlayerBulletHit::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.victim_pos_){nullptr} + , decltype(_impl_.hit_group_){0} + , decltype(_impl_.damage_){0} + , decltype(_impl_.penetration_count_){0} + , decltype(_impl_.is_kill_){false} + , decltype(_impl_.attacker_slot_){-1} + , decltype(_impl_.victim_slot_){-1} + }; +} + +CMsgPlayerBulletHit::~CMsgPlayerBulletHit() { + // @@protoc_insertion_point(destructor:CMsgPlayerBulletHit) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgPlayerBulletHit::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.victim_pos_; +} + +void CMsgPlayerBulletHit::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgPlayerBulletHit::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgPlayerBulletHit) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.victim_pos_ != nullptr); + _impl_.victim_pos_->Clear(); + } + if (cached_has_bits & 0x0000007eu) { + ::memset(&_impl_.hit_group_, 0, static_cast( + reinterpret_cast(&_impl_.is_kill_) - + reinterpret_cast(&_impl_.hit_group_)) + sizeof(_impl_.is_kill_)); + _impl_.attacker_slot_ = -1; + _impl_.victim_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgPlayerBulletHit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 attacker_slot = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_attacker_slot(&has_bits); + _impl_.attacker_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 victim_slot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_victim_slot(&has_bits); + _impl_.victim_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector victim_pos = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_victim_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 hit_group = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_hit_group(&has_bits); + _impl_.hit_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 damage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_damage(&has_bits); + _impl_.damage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 penetration_count = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_penetration_count(&has_bits); + _impl_.penetration_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_kill = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_is_kill(&has_bits); + _impl_.is_kill_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgPlayerBulletHit::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgPlayerBulletHit) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 attacker_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_attacker_slot(), target); + } + + // optional int32 victim_slot = 2 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_victim_slot(), target); + } + + // optional .CMsgVector victim_pos = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::victim_pos(this), + _Internal::victim_pos(this).GetCachedSize(), target, stream); + } + + // optional int32 hit_group = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_hit_group(), target); + } + + // optional int32 damage = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_damage(), target); + } + + // optional int32 penetration_count = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_penetration_count(), target); + } + + // optional bool is_kill = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_is_kill(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgPlayerBulletHit) + return target; +} + +size_t CMsgPlayerBulletHit::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgPlayerBulletHit) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional .CMsgVector victim_pos = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_pos_); + } + + // optional int32 hit_group = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hit_group()); + } + + // optional int32 damage = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_damage()); + } + + // optional int32 penetration_count = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_penetration_count()); + } + + // optional bool is_kill = 7; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional int32 attacker_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attacker_slot()); + } + + // optional int32 victim_slot = 2 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPlayerBulletHit::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgPlayerBulletHit::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPlayerBulletHit::GetClassData() const { return &_class_data_; } + + +void CMsgPlayerBulletHit::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgPlayerBulletHit) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_victim_pos()->::CMsgVector::MergeFrom( + from._internal_victim_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.hit_group_ = from._impl_.hit_group_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.damage_ = from._impl_.damage_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.penetration_count_ = from._impl_.penetration_count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.is_kill_ = from._impl_.is_kill_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.attacker_slot_ = from._impl_.attacker_slot_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.victim_slot_ = from._impl_.victim_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgPlayerBulletHit::CopyFrom(const CMsgPlayerBulletHit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPlayerBulletHit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgPlayerBulletHit::IsInitialized() const { + return true; +} + +void CMsgPlayerBulletHit::InternalSwap(CMsgPlayerBulletHit* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgPlayerBulletHit, _impl_.is_kill_) + + sizeof(CMsgPlayerBulletHit::_impl_.is_kill_) + - PROTOBUF_FIELD_OFFSET(CMsgPlayerBulletHit, _impl_.victim_pos_)>( + reinterpret_cast(&_impl_.victim_pos_), + reinterpret_cast(&other->_impl_.victim_pos_)); + swap(_impl_.attacker_slot_, other->_impl_.attacker_slot_); + swap(_impl_.victim_slot_, other->_impl_.victim_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgPlayerBulletHit::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, + file_level_metadata_cs_5fgameevents_2eproto[4]); } // @@protoc_insertion_point(namespace_scope) @@ -1350,10 +2427,18 @@ template<> PROTOBUF_NOINLINE ::CMsgTERadioIcon* Arena::CreateMaybeMessage< ::CMsgTERadioIcon >(Arena* arena) { return Arena::CreateMessageInternal< ::CMsgTERadioIcon >(arena); } +template<> PROTOBUF_NOINLINE ::CMsgTEFireBullets_Extra* +Arena::CreateMaybeMessage< ::CMsgTEFireBullets_Extra >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEFireBullets_Extra >(arena); +} template<> PROTOBUF_NOINLINE ::CMsgTEFireBullets* Arena::CreateMaybeMessage< ::CMsgTEFireBullets >(Arena* arena) { return Arena::CreateMessageInternal< ::CMsgTEFireBullets >(arena); } +template<> PROTOBUF_NOINLINE ::CMsgPlayerBulletHit* +Arena::CreateMaybeMessage< ::CMsgPlayerBulletHit >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgPlayerBulletHit >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h index 2723ba4..642082b 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h @@ -46,9 +46,15 @@ struct TableStruct_cs_5fgameevents_2eproto { static const uint32_t offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fgameevents_2eproto; +class CMsgPlayerBulletHit; +struct CMsgPlayerBulletHitDefaultTypeInternal; +extern CMsgPlayerBulletHitDefaultTypeInternal _CMsgPlayerBulletHit_default_instance_; class CMsgTEFireBullets; struct CMsgTEFireBulletsDefaultTypeInternal; extern CMsgTEFireBulletsDefaultTypeInternal _CMsgTEFireBullets_default_instance_; +class CMsgTEFireBullets_Extra; +struct CMsgTEFireBullets_ExtraDefaultTypeInternal; +extern CMsgTEFireBullets_ExtraDefaultTypeInternal _CMsgTEFireBullets_Extra_default_instance_; class CMsgTEPlayerAnimEvent; struct CMsgTEPlayerAnimEventDefaultTypeInternal; extern CMsgTEPlayerAnimEventDefaultTypeInternal _CMsgTEPlayerAnimEvent_default_instance_; @@ -56,7 +62,9 @@ class CMsgTERadioIcon; struct CMsgTERadioIconDefaultTypeInternal; extern CMsgTERadioIconDefaultTypeInternal _CMsgTERadioIcon_default_instance_; PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgPlayerBulletHit* Arena::CreateMaybeMessage<::CMsgPlayerBulletHit>(Arena*); template<> ::CMsgTEFireBullets* Arena::CreateMaybeMessage<::CMsgTEFireBullets>(Arena*); +template<> ::CMsgTEFireBullets_Extra* Arena::CreateMaybeMessage<::CMsgTEFireBullets_Extra>(Arena*); template<> ::CMsgTEPlayerAnimEvent* Arena::CreateMaybeMessage<::CMsgTEPlayerAnimEvent>(Arena*); template<> ::CMsgTERadioIcon* Arena::CreateMaybeMessage<::CMsgTERadioIcon>(Arena*); PROTOBUF_NAMESPACE_CLOSE @@ -64,11 +72,12 @@ PROTOBUF_NAMESPACE_CLOSE enum ECsgoGameEvents : int { GE_PlayerAnimEventId = 450, GE_RadioIconEventId = 451, - GE_FireBulletsId = 452 + GE_FireBulletsId = 452, + GE_PlayerBulletHitId = 453 }; bool ECsgoGameEvents_IsValid(int value); constexpr ECsgoGameEvents ECsgoGameEvents_MIN = GE_PlayerAnimEventId; -constexpr ECsgoGameEvents ECsgoGameEvents_MAX = GE_FireBulletsId; +constexpr ECsgoGameEvents ECsgoGameEvents_MAX = GE_PlayerBulletHitId; constexpr int ECsgoGameEvents_ARRAYSIZE = ECsgoGameEvents_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGameEvents_descriptor(); @@ -437,6 +446,276 @@ class CMsgTERadioIcon final : }; // ------------------------------------------------------------------- +class CMsgTEFireBullets_Extra final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEFireBullets.Extra) */ { + public: + inline CMsgTEFireBullets_Extra() : CMsgTEFireBullets_Extra(nullptr) {} + ~CMsgTEFireBullets_Extra() override; + explicit PROTOBUF_CONSTEXPR CMsgTEFireBullets_Extra(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEFireBullets_Extra(const CMsgTEFireBullets_Extra& from); + CMsgTEFireBullets_Extra(CMsgTEFireBullets_Extra&& from) noexcept + : CMsgTEFireBullets_Extra() { + *this = ::std::move(from); + } + + inline CMsgTEFireBullets_Extra& operator=(const CMsgTEFireBullets_Extra& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEFireBullets_Extra& operator=(CMsgTEFireBullets_Extra&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgTEFireBullets_Extra& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEFireBullets_Extra* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEFireBullets_Extra_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgTEFireBullets_Extra& a, CMsgTEFireBullets_Extra& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEFireBullets_Extra* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgTEFireBullets_Extra* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEFireBullets_Extra* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEFireBullets_Extra& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEFireBullets_Extra& from) { + CMsgTEFireBullets_Extra::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgTEFireBullets_Extra* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEFireBullets.Extra"; + } + protected: + explicit CMsgTEFireBullets_Extra(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kAimPunchFieldNumber = 1, + kAttackTickCountFieldNumber = 2, + kAttackTickFracFieldNumber = 3, + kRenderTickCountFieldNumber = 4, + kRenderTickFracFieldNumber = 5, + kInaccuracyMoveFieldNumber = 6, + kInaccuracyAirFieldNumber = 7, + kTypeFieldNumber = 8, + }; + // optional .CMsgQAngle aim_punch = 1; + bool has_aim_punch() const; + private: + bool _internal_has_aim_punch() const; + public: + void clear_aim_punch(); + const ::CMsgQAngle& aim_punch() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_aim_punch(); + ::CMsgQAngle* mutable_aim_punch(); + void set_allocated_aim_punch(::CMsgQAngle* aim_punch); + private: + const ::CMsgQAngle& _internal_aim_punch() const; + ::CMsgQAngle* _internal_mutable_aim_punch(); + public: + void unsafe_arena_set_allocated_aim_punch( + ::CMsgQAngle* aim_punch); + ::CMsgQAngle* unsafe_arena_release_aim_punch(); + + // optional int32 attack_tick_count = 2; + bool has_attack_tick_count() const; + private: + bool _internal_has_attack_tick_count() const; + public: + void clear_attack_tick_count(); + int32_t attack_tick_count() const; + void set_attack_tick_count(int32_t value); + private: + int32_t _internal_attack_tick_count() const; + void _internal_set_attack_tick_count(int32_t value); + public: + + // optional float attack_tick_frac = 3; + bool has_attack_tick_frac() const; + private: + bool _internal_has_attack_tick_frac() const; + public: + void clear_attack_tick_frac(); + float attack_tick_frac() const; + void set_attack_tick_frac(float value); + private: + float _internal_attack_tick_frac() const; + void _internal_set_attack_tick_frac(float value); + public: + + // optional int32 render_tick_count = 4; + bool has_render_tick_count() const; + private: + bool _internal_has_render_tick_count() const; + public: + void clear_render_tick_count(); + int32_t render_tick_count() const; + void set_render_tick_count(int32_t value); + private: + int32_t _internal_render_tick_count() const; + void _internal_set_render_tick_count(int32_t value); + public: + + // optional float render_tick_frac = 5; + bool has_render_tick_frac() const; + private: + bool _internal_has_render_tick_frac() const; + public: + void clear_render_tick_frac(); + float render_tick_frac() const; + void set_render_tick_frac(float value); + private: + float _internal_render_tick_frac() const; + void _internal_set_render_tick_frac(float value); + public: + + // optional float inaccuracy_move = 6; + bool has_inaccuracy_move() const; + private: + bool _internal_has_inaccuracy_move() const; + public: + void clear_inaccuracy_move(); + float inaccuracy_move() const; + void set_inaccuracy_move(float value); + private: + float _internal_inaccuracy_move() const; + void _internal_set_inaccuracy_move(float value); + public: + + // optional float inaccuracy_air = 7; + bool has_inaccuracy_air() const; + private: + bool _internal_has_inaccuracy_air() const; + public: + void clear_inaccuracy_air(); + float inaccuracy_air() const; + void set_inaccuracy_air(float value); + private: + float _internal_inaccuracy_air() const; + void _internal_set_inaccuracy_air(float value); + public: + + // optional int32 type = 8; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEFireBullets.Extra) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* aim_punch_; + int32_t attack_tick_count_; + float attack_tick_frac_; + int32_t render_tick_count_; + float render_tick_frac_; + float inaccuracy_move_; + float inaccuracy_air_; + int32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fgameevents_2eproto; +}; +// ------------------------------------------------------------------- + class CMsgTEFireBullets final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEFireBullets) */ { public: @@ -492,7 +771,7 @@ class CMsgTEFireBullets final : &_CMsgTEFireBullets_default_instance_); } static constexpr int kIndexInFileMessages = - 2; + 3; friend void swap(CMsgTEFireBullets& a, CMsgTEFireBullets& b) { a.Swap(&b); @@ -562,12 +841,15 @@ class CMsgTEFireBullets final : // nested types ---------------------------------------------------- + typedef CMsgTEFireBullets_Extra Extra; + // accessors ------------------------------------------------------- enum : int { kOriginFieldNumber = 1, kAnglesFieldNumber = 2, kEntOriginFieldNumber = 13, + kExtraFieldNumber = 16, kModeFieldNumber = 4, kSeedFieldNumber = 5, kInaccuracyFieldNumber = 7, @@ -578,6 +860,9 @@ class CMsgTEFireBullets final : kSoundDspEffectFieldNumber = 12, kNumBulletsRemainingFieldNumber = 14, kAttackTypeFieldNumber = 15, + kPlayerInairFieldNumber = 17, + kPlayerScopedFieldNumber = 18, + kTickFieldNumber = 19, kWeaponIdFieldNumber = 3, kPlayerFieldNumber = 6, }; @@ -635,6 +920,24 @@ class CMsgTEFireBullets final : ::CMsgVector* ent_origin); ::CMsgVector* unsafe_arena_release_ent_origin(); + // optional .CMsgTEFireBullets.Extra extra = 16; + bool has_extra() const; + private: + bool _internal_has_extra() const; + public: + void clear_extra(); + const ::CMsgTEFireBullets_Extra& extra() const; + PROTOBUF_NODISCARD ::CMsgTEFireBullets_Extra* release_extra(); + ::CMsgTEFireBullets_Extra* mutable_extra(); + void set_allocated_extra(::CMsgTEFireBullets_Extra* extra); + private: + const ::CMsgTEFireBullets_Extra& _internal_extra() const; + ::CMsgTEFireBullets_Extra* _internal_mutable_extra(); + public: + void unsafe_arena_set_allocated_extra( + ::CMsgTEFireBullets_Extra* extra); + ::CMsgTEFireBullets_Extra* unsafe_arena_release_extra(); + // optional uint32 mode = 4; bool has_mode() const; private: @@ -765,6 +1068,45 @@ class CMsgTEFireBullets final : void _internal_set_attack_type(uint32_t value); public: + // optional bool player_inair = 17; + bool has_player_inair() const; + private: + bool _internal_has_player_inair() const; + public: + void clear_player_inair(); + bool player_inair() const; + void set_player_inair(bool value); + private: + bool _internal_player_inair() const; + void _internal_set_player_inair(bool value); + public: + + // optional bool player_scoped = 18; + bool has_player_scoped() const; + private: + bool _internal_has_player_scoped() const; + public: + void clear_player_scoped(); + bool player_scoped() const; + void set_player_scoped(bool value); + private: + bool _internal_player_scoped() const; + void _internal_set_player_scoped(bool value); + public: + + // optional int32 tick = 19; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + int32_t tick() const; + void set_tick(int32_t value); + private: + int32_t _internal_tick() const; + void _internal_set_tick(int32_t value); + public: + // optional uint32 weapon_id = 3 [default = 16777215]; bool has_weapon_id() const; private: @@ -804,6 +1146,7 @@ class CMsgTEFireBullets final : ::CMsgVector* origin_; ::CMsgQAngle* angles_; ::CMsgVector* ent_origin_; + ::CMsgTEFireBullets_Extra* extra_; uint32_t mode_; uint32_t seed_; float inaccuracy_; @@ -814,12 +1157,270 @@ class CMsgTEFireBullets final : uint32_t sound_dsp_effect_; uint32_t num_bullets_remaining_; uint32_t attack_type_; + bool player_inair_; + bool player_scoped_; + int32_t tick_; uint32_t weapon_id_; uint32_t player_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_cs_5fgameevents_2eproto; }; +// ------------------------------------------------------------------- + +class CMsgPlayerBulletHit final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPlayerBulletHit) */ { + public: + inline CMsgPlayerBulletHit() : CMsgPlayerBulletHit(nullptr) {} + ~CMsgPlayerBulletHit() override; + explicit PROTOBUF_CONSTEXPR CMsgPlayerBulletHit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgPlayerBulletHit(const CMsgPlayerBulletHit& from); + CMsgPlayerBulletHit(CMsgPlayerBulletHit&& from) noexcept + : CMsgPlayerBulletHit() { + *this = ::std::move(from); + } + + inline CMsgPlayerBulletHit& operator=(const CMsgPlayerBulletHit& from) { + CopyFrom(from); + return *this; + } + inline CMsgPlayerBulletHit& operator=(CMsgPlayerBulletHit&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgPlayerBulletHit& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgPlayerBulletHit* internal_default_instance() { + return reinterpret_cast( + &_CMsgPlayerBulletHit_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgPlayerBulletHit& a, CMsgPlayerBulletHit& b) { + a.Swap(&b); + } + inline void Swap(CMsgPlayerBulletHit* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgPlayerBulletHit* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgPlayerBulletHit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgPlayerBulletHit& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgPlayerBulletHit& from) { + CMsgPlayerBulletHit::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgPlayerBulletHit* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgPlayerBulletHit"; + } + protected: + explicit CMsgPlayerBulletHit(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kVictimPosFieldNumber = 3, + kHitGroupFieldNumber = 4, + kDamageFieldNumber = 5, + kPenetrationCountFieldNumber = 6, + kIsKillFieldNumber = 7, + kAttackerSlotFieldNumber = 1, + kVictimSlotFieldNumber = 2, + }; + // optional .CMsgVector victim_pos = 3; + bool has_victim_pos() const; + private: + bool _internal_has_victim_pos() const; + public: + void clear_victim_pos(); + const ::CMsgVector& victim_pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_victim_pos(); + ::CMsgVector* mutable_victim_pos(); + void set_allocated_victim_pos(::CMsgVector* victim_pos); + private: + const ::CMsgVector& _internal_victim_pos() const; + ::CMsgVector* _internal_mutable_victim_pos(); + public: + void unsafe_arena_set_allocated_victim_pos( + ::CMsgVector* victim_pos); + ::CMsgVector* unsafe_arena_release_victim_pos(); + + // optional int32 hit_group = 4; + bool has_hit_group() const; + private: + bool _internal_has_hit_group() const; + public: + void clear_hit_group(); + int32_t hit_group() const; + void set_hit_group(int32_t value); + private: + int32_t _internal_hit_group() const; + void _internal_set_hit_group(int32_t value); + public: + + // optional int32 damage = 5; + bool has_damage() const; + private: + bool _internal_has_damage() const; + public: + void clear_damage(); + int32_t damage() const; + void set_damage(int32_t value); + private: + int32_t _internal_damage() const; + void _internal_set_damage(int32_t value); + public: + + // optional int32 penetration_count = 6; + bool has_penetration_count() const; + private: + bool _internal_has_penetration_count() const; + public: + void clear_penetration_count(); + int32_t penetration_count() const; + void set_penetration_count(int32_t value); + private: + int32_t _internal_penetration_count() const; + void _internal_set_penetration_count(int32_t value); + public: + + // optional bool is_kill = 7; + bool has_is_kill() const; + private: + bool _internal_has_is_kill() const; + public: + void clear_is_kill(); + bool is_kill() const; + void set_is_kill(bool value); + private: + bool _internal_is_kill() const; + void _internal_set_is_kill(bool value); + public: + + // optional int32 attacker_slot = 1 [default = -1]; + bool has_attacker_slot() const; + private: + bool _internal_has_attacker_slot() const; + public: + void clear_attacker_slot(); + int32_t attacker_slot() const; + void set_attacker_slot(int32_t value); + private: + int32_t _internal_attacker_slot() const; + void _internal_set_attacker_slot(int32_t value); + public: + + // optional int32 victim_slot = 2 [default = -1]; + bool has_victim_slot() const; + private: + bool _internal_has_victim_slot() const; + public: + void clear_victim_slot(); + int32_t victim_slot() const; + void set_victim_slot(int32_t value); + private: + int32_t _internal_victim_slot() const; + void _internal_set_victim_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgPlayerBulletHit) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* victim_pos_; + int32_t hit_group_; + int32_t damage_; + int32_t penetration_count_; + bool is_kill_; + int32_t attacker_slot_; + int32_t victim_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fgameevents_2eproto; +}; // =================================================================== @@ -949,6 +1550,293 @@ inline void CMsgTERadioIcon::set_player(uint32_t value) { // ------------------------------------------------------------------- +// CMsgTEFireBullets_Extra + +// optional .CMsgQAngle aim_punch = 1; +inline bool CMsgTEFireBullets_Extra::_internal_has_aim_punch() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.aim_punch_ != nullptr); + return value; +} +inline bool CMsgTEFireBullets_Extra::has_aim_punch() const { + return _internal_has_aim_punch(); +} +inline const ::CMsgQAngle& CMsgTEFireBullets_Extra::_internal_aim_punch() const { + const ::CMsgQAngle* p = _impl_.aim_punch_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CMsgTEFireBullets_Extra::aim_punch() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.aim_punch) + return _internal_aim_punch(); +} +inline void CMsgTEFireBullets_Extra::unsafe_arena_set_allocated_aim_punch( + ::CMsgQAngle* aim_punch) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aim_punch_); + } + _impl_.aim_punch_ = aim_punch; + if (aim_punch) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.Extra.aim_punch) +} +inline ::CMsgQAngle* CMsgTEFireBullets_Extra::release_aim_punch() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.aim_punch_; + _impl_.aim_punch_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgQAngle* CMsgTEFireBullets_Extra::unsafe_arena_release_aim_punch() { + // @@protoc_insertion_point(field_release:CMsgTEFireBullets.Extra.aim_punch) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.aim_punch_; + _impl_.aim_punch_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CMsgTEFireBullets_Extra::_internal_mutable_aim_punch() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.aim_punch_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.aim_punch_ = p; + } + return _impl_.aim_punch_; +} +inline ::CMsgQAngle* CMsgTEFireBullets_Extra::mutable_aim_punch() { + ::CMsgQAngle* _msg = _internal_mutable_aim_punch(); + // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.Extra.aim_punch) + return _msg; +} +inline void CMsgTEFireBullets_Extra::set_allocated_aim_punch(::CMsgQAngle* aim_punch) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aim_punch_); + } + if (aim_punch) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(aim_punch)); + if (message_arena != submessage_arena) { + aim_punch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, aim_punch, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.aim_punch_ = aim_punch; + // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.Extra.aim_punch) +} + +// optional int32 attack_tick_count = 2; +inline bool CMsgTEFireBullets_Extra::_internal_has_attack_tick_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_attack_tick_count() const { + return _internal_has_attack_tick_count(); +} +inline void CMsgTEFireBullets_Extra::clear_attack_tick_count() { + _impl_.attack_tick_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgTEFireBullets_Extra::_internal_attack_tick_count() const { + return _impl_.attack_tick_count_; +} +inline int32_t CMsgTEFireBullets_Extra::attack_tick_count() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.attack_tick_count) + return _internal_attack_tick_count(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_attack_tick_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.attack_tick_count_ = value; +} +inline void CMsgTEFireBullets_Extra::set_attack_tick_count(int32_t value) { + _internal_set_attack_tick_count(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.attack_tick_count) +} + +// optional float attack_tick_frac = 3; +inline bool CMsgTEFireBullets_Extra::_internal_has_attack_tick_frac() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_attack_tick_frac() const { + return _internal_has_attack_tick_frac(); +} +inline void CMsgTEFireBullets_Extra::clear_attack_tick_frac() { + _impl_.attack_tick_frac_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTEFireBullets_Extra::_internal_attack_tick_frac() const { + return _impl_.attack_tick_frac_; +} +inline float CMsgTEFireBullets_Extra::attack_tick_frac() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.attack_tick_frac) + return _internal_attack_tick_frac(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_attack_tick_frac(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.attack_tick_frac_ = value; +} +inline void CMsgTEFireBullets_Extra::set_attack_tick_frac(float value) { + _internal_set_attack_tick_frac(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.attack_tick_frac) +} + +// optional int32 render_tick_count = 4; +inline bool CMsgTEFireBullets_Extra::_internal_has_render_tick_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_render_tick_count() const { + return _internal_has_render_tick_count(); +} +inline void CMsgTEFireBullets_Extra::clear_render_tick_count() { + _impl_.render_tick_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgTEFireBullets_Extra::_internal_render_tick_count() const { + return _impl_.render_tick_count_; +} +inline int32_t CMsgTEFireBullets_Extra::render_tick_count() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.render_tick_count) + return _internal_render_tick_count(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_render_tick_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.render_tick_count_ = value; +} +inline void CMsgTEFireBullets_Extra::set_render_tick_count(int32_t value) { + _internal_set_render_tick_count(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.render_tick_count) +} + +// optional float render_tick_frac = 5; +inline bool CMsgTEFireBullets_Extra::_internal_has_render_tick_frac() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_render_tick_frac() const { + return _internal_has_render_tick_frac(); +} +inline void CMsgTEFireBullets_Extra::clear_render_tick_frac() { + _impl_.render_tick_frac_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgTEFireBullets_Extra::_internal_render_tick_frac() const { + return _impl_.render_tick_frac_; +} +inline float CMsgTEFireBullets_Extra::render_tick_frac() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.render_tick_frac) + return _internal_render_tick_frac(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_render_tick_frac(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.render_tick_frac_ = value; +} +inline void CMsgTEFireBullets_Extra::set_render_tick_frac(float value) { + _internal_set_render_tick_frac(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.render_tick_frac) +} + +// optional float inaccuracy_move = 6; +inline bool CMsgTEFireBullets_Extra::_internal_has_inaccuracy_move() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_inaccuracy_move() const { + return _internal_has_inaccuracy_move(); +} +inline void CMsgTEFireBullets_Extra::clear_inaccuracy_move() { + _impl_.inaccuracy_move_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgTEFireBullets_Extra::_internal_inaccuracy_move() const { + return _impl_.inaccuracy_move_; +} +inline float CMsgTEFireBullets_Extra::inaccuracy_move() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.inaccuracy_move) + return _internal_inaccuracy_move(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_inaccuracy_move(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.inaccuracy_move_ = value; +} +inline void CMsgTEFireBullets_Extra::set_inaccuracy_move(float value) { + _internal_set_inaccuracy_move(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.inaccuracy_move) +} + +// optional float inaccuracy_air = 7; +inline bool CMsgTEFireBullets_Extra::_internal_has_inaccuracy_air() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_inaccuracy_air() const { + return _internal_has_inaccuracy_air(); +} +inline void CMsgTEFireBullets_Extra::clear_inaccuracy_air() { + _impl_.inaccuracy_air_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgTEFireBullets_Extra::_internal_inaccuracy_air() const { + return _impl_.inaccuracy_air_; +} +inline float CMsgTEFireBullets_Extra::inaccuracy_air() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.inaccuracy_air) + return _internal_inaccuracy_air(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_inaccuracy_air(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.inaccuracy_air_ = value; +} +inline void CMsgTEFireBullets_Extra::set_inaccuracy_air(float value) { + _internal_set_inaccuracy_air(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.inaccuracy_air) +} + +// optional int32 type = 8; +inline bool CMsgTEFireBullets_Extra::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgTEFireBullets_Extra::has_type() const { + return _internal_has_type(); +} +inline void CMsgTEFireBullets_Extra::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CMsgTEFireBullets_Extra::_internal_type() const { + return _impl_.type_; +} +inline int32_t CMsgTEFireBullets_Extra::type() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.Extra.type) + return _internal_type(); +} +inline void CMsgTEFireBullets_Extra::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.type_ = value; +} +inline void CMsgTEFireBullets_Extra::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.Extra.type) +} + +// ------------------------------------------------------------------- + // CMsgTEFireBullets // optional .CMsgVector origin = 1; @@ -1127,7 +2015,7 @@ inline void CMsgTEFireBullets::set_allocated_angles(::CMsgQAngle* angles) { // optional uint32 weapon_id = 3 [default = 16777215]; inline bool CMsgTEFireBullets::_internal_has_weapon_id() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; return value; } inline bool CMsgTEFireBullets::has_weapon_id() const { @@ -1135,7 +2023,7 @@ inline bool CMsgTEFireBullets::has_weapon_id() const { } inline void CMsgTEFireBullets::clear_weapon_id() { _impl_.weapon_id_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00002000u; + _impl_._has_bits_[0] &= ~0x00020000u; } inline uint32_t CMsgTEFireBullets::_internal_weapon_id() const { return _impl_.weapon_id_; @@ -1145,7 +2033,7 @@ inline uint32_t CMsgTEFireBullets::weapon_id() const { return _internal_weapon_id(); } inline void CMsgTEFireBullets::_internal_set_weapon_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; + _impl_._has_bits_[0] |= 0x00020000u; _impl_.weapon_id_ = value; } inline void CMsgTEFireBullets::set_weapon_id(uint32_t value) { @@ -1155,7 +2043,7 @@ inline void CMsgTEFireBullets::set_weapon_id(uint32_t value) { // optional uint32 mode = 4; inline bool CMsgTEFireBullets::_internal_has_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; return value; } inline bool CMsgTEFireBullets::has_mode() const { @@ -1163,7 +2051,7 @@ inline bool CMsgTEFireBullets::has_mode() const { } inline void CMsgTEFireBullets::clear_mode() { _impl_.mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000010u; } inline uint32_t CMsgTEFireBullets::_internal_mode() const { return _impl_.mode_; @@ -1173,7 +2061,7 @@ inline uint32_t CMsgTEFireBullets::mode() const { return _internal_mode(); } inline void CMsgTEFireBullets::_internal_set_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000010u; _impl_.mode_ = value; } inline void CMsgTEFireBullets::set_mode(uint32_t value) { @@ -1183,7 +2071,7 @@ inline void CMsgTEFireBullets::set_mode(uint32_t value) { // optional uint32 seed = 5; inline bool CMsgTEFireBullets::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; return value; } inline bool CMsgTEFireBullets::has_seed() const { @@ -1191,7 +2079,7 @@ inline bool CMsgTEFireBullets::has_seed() const { } inline void CMsgTEFireBullets::clear_seed() { _impl_.seed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000020u; } inline uint32_t CMsgTEFireBullets::_internal_seed() const { return _impl_.seed_; @@ -1201,7 +2089,7 @@ inline uint32_t CMsgTEFireBullets::seed() const { return _internal_seed(); } inline void CMsgTEFireBullets::_internal_set_seed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000020u; _impl_.seed_ = value; } inline void CMsgTEFireBullets::set_seed(uint32_t value) { @@ -1211,7 +2099,7 @@ inline void CMsgTEFireBullets::set_seed(uint32_t value) { // optional fixed32 player = 6 [default = 16777215]; inline bool CMsgTEFireBullets::_internal_has_player() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; return value; } inline bool CMsgTEFireBullets::has_player() const { @@ -1219,7 +2107,7 @@ inline bool CMsgTEFireBullets::has_player() const { } inline void CMsgTEFireBullets::clear_player() { _impl_.player_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00004000u; + _impl_._has_bits_[0] &= ~0x00040000u; } inline uint32_t CMsgTEFireBullets::_internal_player() const { return _impl_.player_; @@ -1229,7 +2117,7 @@ inline uint32_t CMsgTEFireBullets::player() const { return _internal_player(); } inline void CMsgTEFireBullets::_internal_set_player(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; + _impl_._has_bits_[0] |= 0x00040000u; _impl_.player_ = value; } inline void CMsgTEFireBullets::set_player(uint32_t value) { @@ -1239,7 +2127,7 @@ inline void CMsgTEFireBullets::set_player(uint32_t value) { // optional float inaccuracy = 7; inline bool CMsgTEFireBullets::_internal_has_inaccuracy() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; return value; } inline bool CMsgTEFireBullets::has_inaccuracy() const { @@ -1247,7 +2135,7 @@ inline bool CMsgTEFireBullets::has_inaccuracy() const { } inline void CMsgTEFireBullets::clear_inaccuracy() { _impl_.inaccuracy_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; + _impl_._has_bits_[0] &= ~0x00000040u; } inline float CMsgTEFireBullets::_internal_inaccuracy() const { return _impl_.inaccuracy_; @@ -1257,7 +2145,7 @@ inline float CMsgTEFireBullets::inaccuracy() const { return _internal_inaccuracy(); } inline void CMsgTEFireBullets::_internal_set_inaccuracy(float value) { - _impl_._has_bits_[0] |= 0x00000020u; + _impl_._has_bits_[0] |= 0x00000040u; _impl_.inaccuracy_ = value; } inline void CMsgTEFireBullets::set_inaccuracy(float value) { @@ -1267,7 +2155,7 @@ inline void CMsgTEFireBullets::set_inaccuracy(float value) { // optional float recoil_index = 8; inline bool CMsgTEFireBullets::_internal_has_recoil_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; return value; } inline bool CMsgTEFireBullets::has_recoil_index() const { @@ -1275,7 +2163,7 @@ inline bool CMsgTEFireBullets::has_recoil_index() const { } inline void CMsgTEFireBullets::clear_recoil_index() { _impl_.recoil_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; + _impl_._has_bits_[0] &= ~0x00000080u; } inline float CMsgTEFireBullets::_internal_recoil_index() const { return _impl_.recoil_index_; @@ -1285,7 +2173,7 @@ inline float CMsgTEFireBullets::recoil_index() const { return _internal_recoil_index(); } inline void CMsgTEFireBullets::_internal_set_recoil_index(float value) { - _impl_._has_bits_[0] |= 0x00000040u; + _impl_._has_bits_[0] |= 0x00000080u; _impl_.recoil_index_ = value; } inline void CMsgTEFireBullets::set_recoil_index(float value) { @@ -1295,7 +2183,7 @@ inline void CMsgTEFireBullets::set_recoil_index(float value) { // optional float spread = 9; inline bool CMsgTEFireBullets::_internal_has_spread() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; return value; } inline bool CMsgTEFireBullets::has_spread() const { @@ -1303,7 +2191,7 @@ inline bool CMsgTEFireBullets::has_spread() const { } inline void CMsgTEFireBullets::clear_spread() { _impl_.spread_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; + _impl_._has_bits_[0] &= ~0x00000100u; } inline float CMsgTEFireBullets::_internal_spread() const { return _impl_.spread_; @@ -1313,7 +2201,7 @@ inline float CMsgTEFireBullets::spread() const { return _internal_spread(); } inline void CMsgTEFireBullets::_internal_set_spread(float value) { - _impl_._has_bits_[0] |= 0x00000080u; + _impl_._has_bits_[0] |= 0x00000100u; _impl_.spread_ = value; } inline void CMsgTEFireBullets::set_spread(float value) { @@ -1323,7 +2211,7 @@ inline void CMsgTEFireBullets::set_spread(float value) { // optional int32 sound_type = 10; inline bool CMsgTEFireBullets::_internal_has_sound_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; return value; } inline bool CMsgTEFireBullets::has_sound_type() const { @@ -1331,7 +2219,7 @@ inline bool CMsgTEFireBullets::has_sound_type() const { } inline void CMsgTEFireBullets::clear_sound_type() { _impl_.sound_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; + _impl_._has_bits_[0] &= ~0x00000200u; } inline int32_t CMsgTEFireBullets::_internal_sound_type() const { return _impl_.sound_type_; @@ -1341,7 +2229,7 @@ inline int32_t CMsgTEFireBullets::sound_type() const { return _internal_sound_type(); } inline void CMsgTEFireBullets::_internal_set_sound_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; + _impl_._has_bits_[0] |= 0x00000200u; _impl_.sound_type_ = value; } inline void CMsgTEFireBullets::set_sound_type(int32_t value) { @@ -1351,7 +2239,7 @@ inline void CMsgTEFireBullets::set_sound_type(int32_t value) { // optional uint32 item_def_index = 11; inline bool CMsgTEFireBullets::_internal_has_item_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; return value; } inline bool CMsgTEFireBullets::has_item_def_index() const { @@ -1359,7 +2247,7 @@ inline bool CMsgTEFireBullets::has_item_def_index() const { } inline void CMsgTEFireBullets::clear_item_def_index() { _impl_.item_def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; + _impl_._has_bits_[0] &= ~0x00000400u; } inline uint32_t CMsgTEFireBullets::_internal_item_def_index() const { return _impl_.item_def_index_; @@ -1369,7 +2257,7 @@ inline uint32_t CMsgTEFireBullets::item_def_index() const { return _internal_item_def_index(); } inline void CMsgTEFireBullets::_internal_set_item_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; + _impl_._has_bits_[0] |= 0x00000400u; _impl_.item_def_index_ = value; } inline void CMsgTEFireBullets::set_item_def_index(uint32_t value) { @@ -1379,7 +2267,7 @@ inline void CMsgTEFireBullets::set_item_def_index(uint32_t value) { // optional fixed32 sound_dsp_effect = 12; inline bool CMsgTEFireBullets::_internal_has_sound_dsp_effect() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; return value; } inline bool CMsgTEFireBullets::has_sound_dsp_effect() const { @@ -1387,7 +2275,7 @@ inline bool CMsgTEFireBullets::has_sound_dsp_effect() const { } inline void CMsgTEFireBullets::clear_sound_dsp_effect() { _impl_.sound_dsp_effect_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; + _impl_._has_bits_[0] &= ~0x00000800u; } inline uint32_t CMsgTEFireBullets::_internal_sound_dsp_effect() const { return _impl_.sound_dsp_effect_; @@ -1397,7 +2285,7 @@ inline uint32_t CMsgTEFireBullets::sound_dsp_effect() const { return _internal_sound_dsp_effect(); } inline void CMsgTEFireBullets::_internal_set_sound_dsp_effect(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; + _impl_._has_bits_[0] |= 0x00000800u; _impl_.sound_dsp_effect_ = value; } inline void CMsgTEFireBullets::set_sound_dsp_effect(uint32_t value) { @@ -1494,7 +2382,7 @@ inline void CMsgTEFireBullets::set_allocated_ent_origin(::CMsgVector* ent_origin // optional uint32 num_bullets_remaining = 14; inline bool CMsgTEFireBullets::_internal_has_num_bullets_remaining() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; return value; } inline bool CMsgTEFireBullets::has_num_bullets_remaining() const { @@ -1502,7 +2390,7 @@ inline bool CMsgTEFireBullets::has_num_bullets_remaining() const { } inline void CMsgTEFireBullets::clear_num_bullets_remaining() { _impl_.num_bullets_remaining_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; + _impl_._has_bits_[0] &= ~0x00001000u; } inline uint32_t CMsgTEFireBullets::_internal_num_bullets_remaining() const { return _impl_.num_bullets_remaining_; @@ -1512,7 +2400,7 @@ inline uint32_t CMsgTEFireBullets::num_bullets_remaining() const { return _internal_num_bullets_remaining(); } inline void CMsgTEFireBullets::_internal_set_num_bullets_remaining(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; + _impl_._has_bits_[0] |= 0x00001000u; _impl_.num_bullets_remaining_ = value; } inline void CMsgTEFireBullets::set_num_bullets_remaining(uint32_t value) { @@ -1522,7 +2410,7 @@ inline void CMsgTEFireBullets::set_num_bullets_remaining(uint32_t value) { // optional uint32 attack_type = 15; inline bool CMsgTEFireBullets::_internal_has_attack_type() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; return value; } inline bool CMsgTEFireBullets::has_attack_type() const { @@ -1530,7 +2418,7 @@ inline bool CMsgTEFireBullets::has_attack_type() const { } inline void CMsgTEFireBullets::clear_attack_type() { _impl_.attack_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; + _impl_._has_bits_[0] &= ~0x00002000u; } inline uint32_t CMsgTEFireBullets::_internal_attack_type() const { return _impl_.attack_type_; @@ -1540,7 +2428,7 @@ inline uint32_t CMsgTEFireBullets::attack_type() const { return _internal_attack_type(); } inline void CMsgTEFireBullets::_internal_set_attack_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; + _impl_._has_bits_[0] |= 0x00002000u; _impl_.attack_type_ = value; } inline void CMsgTEFireBullets::set_attack_type(uint32_t value) { @@ -1548,6 +2436,439 @@ inline void CMsgTEFireBullets::set_attack_type(uint32_t value) { // @@protoc_insertion_point(field_set:CMsgTEFireBullets.attack_type) } +// optional bool player_inair = 17; +inline bool CMsgTEFireBullets::_internal_has_player_inair() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_player_inair() const { + return _internal_has_player_inair(); +} +inline void CMsgTEFireBullets::clear_player_inair() { + _impl_.player_inair_ = false; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline bool CMsgTEFireBullets::_internal_player_inair() const { + return _impl_.player_inair_; +} +inline bool CMsgTEFireBullets::player_inair() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.player_inair) + return _internal_player_inair(); +} +inline void CMsgTEFireBullets::_internal_set_player_inair(bool value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.player_inair_ = value; +} +inline void CMsgTEFireBullets::set_player_inair(bool value) { + _internal_set_player_inair(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.player_inair) +} + +// optional bool player_scoped = 18; +inline bool CMsgTEFireBullets::_internal_has_player_scoped() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_player_scoped() const { + return _internal_has_player_scoped(); +} +inline void CMsgTEFireBullets::clear_player_scoped() { + _impl_.player_scoped_ = false; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline bool CMsgTEFireBullets::_internal_player_scoped() const { + return _impl_.player_scoped_; +} +inline bool CMsgTEFireBullets::player_scoped() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.player_scoped) + return _internal_player_scoped(); +} +inline void CMsgTEFireBullets::_internal_set_player_scoped(bool value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.player_scoped_ = value; +} +inline void CMsgTEFireBullets::set_player_scoped(bool value) { + _internal_set_player_scoped(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.player_scoped) +} + +// optional int32 tick = 19; +inline bool CMsgTEFireBullets::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_tick() const { + return _internal_has_tick(); +} +inline void CMsgTEFireBullets::clear_tick() { + _impl_.tick_ = 0; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline int32_t CMsgTEFireBullets::_internal_tick() const { + return _impl_.tick_; +} +inline int32_t CMsgTEFireBullets::tick() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.tick) + return _internal_tick(); +} +inline void CMsgTEFireBullets::_internal_set_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.tick_ = value; +} +inline void CMsgTEFireBullets::set_tick(int32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.tick) +} + +// optional .CMsgTEFireBullets.Extra extra = 16; +inline bool CMsgTEFireBullets::_internal_has_extra() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.extra_ != nullptr); + return value; +} +inline bool CMsgTEFireBullets::has_extra() const { + return _internal_has_extra(); +} +inline void CMsgTEFireBullets::clear_extra() { + if (_impl_.extra_ != nullptr) _impl_.extra_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgTEFireBullets_Extra& CMsgTEFireBullets::_internal_extra() const { + const ::CMsgTEFireBullets_Extra* p = _impl_.extra_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgTEFireBullets_Extra_default_instance_); +} +inline const ::CMsgTEFireBullets_Extra& CMsgTEFireBullets::extra() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.extra) + return _internal_extra(); +} +inline void CMsgTEFireBullets::unsafe_arena_set_allocated_extra( + ::CMsgTEFireBullets_Extra* extra) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.extra_); + } + _impl_.extra_ = extra; + if (extra) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.extra) +} +inline ::CMsgTEFireBullets_Extra* CMsgTEFireBullets::release_extra() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgTEFireBullets_Extra* temp = _impl_.extra_; + _impl_.extra_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgTEFireBullets_Extra* CMsgTEFireBullets::unsafe_arena_release_extra() { + // @@protoc_insertion_point(field_release:CMsgTEFireBullets.extra) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgTEFireBullets_Extra* temp = _impl_.extra_; + _impl_.extra_ = nullptr; + return temp; +} +inline ::CMsgTEFireBullets_Extra* CMsgTEFireBullets::_internal_mutable_extra() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.extra_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgTEFireBullets_Extra>(GetArenaForAllocation()); + _impl_.extra_ = p; + } + return _impl_.extra_; +} +inline ::CMsgTEFireBullets_Extra* CMsgTEFireBullets::mutable_extra() { + ::CMsgTEFireBullets_Extra* _msg = _internal_mutable_extra(); + // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.extra) + return _msg; +} +inline void CMsgTEFireBullets::set_allocated_extra(::CMsgTEFireBullets_Extra* extra) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.extra_; + } + if (extra) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(extra); + if (message_arena != submessage_arena) { + extra = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, extra, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.extra_ = extra; + // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.extra) +} + +// ------------------------------------------------------------------- + +// CMsgPlayerBulletHit + +// optional int32 attacker_slot = 1 [default = -1]; +inline bool CMsgPlayerBulletHit::_internal_has_attacker_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgPlayerBulletHit::has_attacker_slot() const { + return _internal_has_attacker_slot(); +} +inline void CMsgPlayerBulletHit::clear_attacker_slot() { + _impl_.attacker_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgPlayerBulletHit::_internal_attacker_slot() const { + return _impl_.attacker_slot_; +} +inline int32_t CMsgPlayerBulletHit::attacker_slot() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.attacker_slot) + return _internal_attacker_slot(); +} +inline void CMsgPlayerBulletHit::_internal_set_attacker_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.attacker_slot_ = value; +} +inline void CMsgPlayerBulletHit::set_attacker_slot(int32_t value) { + _internal_set_attacker_slot(value); + // @@protoc_insertion_point(field_set:CMsgPlayerBulletHit.attacker_slot) +} + +// optional int32 victim_slot = 2 [default = -1]; +inline bool CMsgPlayerBulletHit::_internal_has_victim_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgPlayerBulletHit::has_victim_slot() const { + return _internal_has_victim_slot(); +} +inline void CMsgPlayerBulletHit::clear_victim_slot() { + _impl_.victim_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CMsgPlayerBulletHit::_internal_victim_slot() const { + return _impl_.victim_slot_; +} +inline int32_t CMsgPlayerBulletHit::victim_slot() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.victim_slot) + return _internal_victim_slot(); +} +inline void CMsgPlayerBulletHit::_internal_set_victim_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.victim_slot_ = value; +} +inline void CMsgPlayerBulletHit::set_victim_slot(int32_t value) { + _internal_set_victim_slot(value); + // @@protoc_insertion_point(field_set:CMsgPlayerBulletHit.victim_slot) +} + +// optional .CMsgVector victim_pos = 3; +inline bool CMsgPlayerBulletHit::_internal_has_victim_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.victim_pos_ != nullptr); + return value; +} +inline bool CMsgPlayerBulletHit::has_victim_pos() const { + return _internal_has_victim_pos(); +} +inline const ::CMsgVector& CMsgPlayerBulletHit::_internal_victim_pos() const { + const ::CMsgVector* p = _impl_.victim_pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgPlayerBulletHit::victim_pos() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.victim_pos) + return _internal_victim_pos(); +} +inline void CMsgPlayerBulletHit::unsafe_arena_set_allocated_victim_pos( + ::CMsgVector* victim_pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_pos_); + } + _impl_.victim_pos_ = victim_pos; + if (victim_pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlayerBulletHit.victim_pos) +} +inline ::CMsgVector* CMsgPlayerBulletHit::release_victim_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.victim_pos_; + _impl_.victim_pos_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgVector* CMsgPlayerBulletHit::unsafe_arena_release_victim_pos() { + // @@protoc_insertion_point(field_release:CMsgPlayerBulletHit.victim_pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.victim_pos_; + _impl_.victim_pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgPlayerBulletHit::_internal_mutable_victim_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.victim_pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.victim_pos_ = p; + } + return _impl_.victim_pos_; +} +inline ::CMsgVector* CMsgPlayerBulletHit::mutable_victim_pos() { + ::CMsgVector* _msg = _internal_mutable_victim_pos(); + // @@protoc_insertion_point(field_mutable:CMsgPlayerBulletHit.victim_pos) + return _msg; +} +inline void CMsgPlayerBulletHit::set_allocated_victim_pos(::CMsgVector* victim_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_pos_); + } + if (victim_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(victim_pos)); + if (message_arena != submessage_arena) { + victim_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim_pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.victim_pos_ = victim_pos; + // @@protoc_insertion_point(field_set_allocated:CMsgPlayerBulletHit.victim_pos) +} + +// optional int32 hit_group = 4; +inline bool CMsgPlayerBulletHit::_internal_has_hit_group() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgPlayerBulletHit::has_hit_group() const { + return _internal_has_hit_group(); +} +inline void CMsgPlayerBulletHit::clear_hit_group() { + _impl_.hit_group_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgPlayerBulletHit::_internal_hit_group() const { + return _impl_.hit_group_; +} +inline int32_t CMsgPlayerBulletHit::hit_group() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.hit_group) + return _internal_hit_group(); +} +inline void CMsgPlayerBulletHit::_internal_set_hit_group(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.hit_group_ = value; +} +inline void CMsgPlayerBulletHit::set_hit_group(int32_t value) { + _internal_set_hit_group(value); + // @@protoc_insertion_point(field_set:CMsgPlayerBulletHit.hit_group) +} + +// optional int32 damage = 5; +inline bool CMsgPlayerBulletHit::_internal_has_damage() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgPlayerBulletHit::has_damage() const { + return _internal_has_damage(); +} +inline void CMsgPlayerBulletHit::clear_damage() { + _impl_.damage_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgPlayerBulletHit::_internal_damage() const { + return _impl_.damage_; +} +inline int32_t CMsgPlayerBulletHit::damage() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.damage) + return _internal_damage(); +} +inline void CMsgPlayerBulletHit::_internal_set_damage(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.damage_ = value; +} +inline void CMsgPlayerBulletHit::set_damage(int32_t value) { + _internal_set_damage(value); + // @@protoc_insertion_point(field_set:CMsgPlayerBulletHit.damage) +} + +// optional int32 penetration_count = 6; +inline bool CMsgPlayerBulletHit::_internal_has_penetration_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgPlayerBulletHit::has_penetration_count() const { + return _internal_has_penetration_count(); +} +inline void CMsgPlayerBulletHit::clear_penetration_count() { + _impl_.penetration_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgPlayerBulletHit::_internal_penetration_count() const { + return _impl_.penetration_count_; +} +inline int32_t CMsgPlayerBulletHit::penetration_count() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.penetration_count) + return _internal_penetration_count(); +} +inline void CMsgPlayerBulletHit::_internal_set_penetration_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.penetration_count_ = value; +} +inline void CMsgPlayerBulletHit::set_penetration_count(int32_t value) { + _internal_set_penetration_count(value); + // @@protoc_insertion_point(field_set:CMsgPlayerBulletHit.penetration_count) +} + +// optional bool is_kill = 7; +inline bool CMsgPlayerBulletHit::_internal_has_is_kill() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgPlayerBulletHit::has_is_kill() const { + return _internal_has_is_kill(); +} +inline void CMsgPlayerBulletHit::clear_is_kill() { + _impl_.is_kill_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgPlayerBulletHit::_internal_is_kill() const { + return _impl_.is_kill_; +} +inline bool CMsgPlayerBulletHit::is_kill() const { + // @@protoc_insertion_point(field_get:CMsgPlayerBulletHit.is_kill) + return _internal_is_kill(); +} +inline void CMsgPlayerBulletHit::_internal_set_is_kill(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.is_kill_ = value; +} +inline void CMsgPlayerBulletHit::set_is_kill(bool value) { + _internal_set_is_kill(value); + // @@protoc_insertion_point(field_set:CMsgPlayerBulletHit.is_kill) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -1555,6 +2876,10 @@ inline void CMsgTEFireBullets::set_attack_type(uint32_t value) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc index 17f7b12..26c61d6 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc @@ -1619,7 +1619,8 @@ PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_ , /*decltype(_impl_.offset_y_)*/0 , /*decltype(_impl_.offset_z_)*/0 , /*decltype(_impl_.pattern_)*/0u - , /*decltype(_impl_.highlight_reel_)*/0u} {} + , /*decltype(_impl_.highlight_reel_)*/0u + , /*decltype(_impl_.wrapped_sticker_)*/0u} {} struct CEconItemPreviewDataBlock_StickerDefaultTypeInternal { PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_StickerDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -4775,6 +4776,7 @@ const uint32_t TableStruct_cstrike15_5fgcmessages_2eproto::offsets[] PROTOBUF_SE PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_z_), PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.pattern_), PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.highlight_reel_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.wrapped_sticker_), 0, 1, 2, @@ -4786,6 +4788,7 @@ const uint32_t TableStruct_cstrike15_5fgcmessages_2eproto::offsets[] PROTOBUF_SE 8, 9, 10, + 11, PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _internal_metadata_), ~0u, // no _extensions_ @@ -6131,104 +6134,104 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 1504, 1513, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTextMsg)}, { 1516, 1524, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCTextMsg)}, { 1526, 1534, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops)}, - { 1536, 1553, -1, sizeof(::CEconItemPreviewDataBlock_Sticker)}, - { 1564, 1593, -1, sizeof(::CEconItemPreviewDataBlock)}, - { 1616, 1623, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification)}, - { 1624, 1631, -1, sizeof(::CMsgItemAcknowledged)}, - { 1632, 1642, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest)}, - { 1646, 1653, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse)}, - { 1654, -1, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames)}, - { 1660, 1667, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser)}, - { 1668, 1675, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames)}, - { 1676, 1683, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames)}, - { 1684, 1693, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo)}, - { 1696, 1707, -1, sizeof(::CDataGCCStrike15_v2_MatchInfo)}, - { 1712, 1721, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroupTeam)}, - { 1724, -1, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup_Picks)}, - { 1731, 1747, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup)}, - { 1757, 1767, -1, sizeof(::CDataGCCStrike15_v2_TournamentSection)}, - { 1771, 1780, -1, sizeof(::CDataGCCStrike15_v2_TournamentInfo)}, - { 1783, 1795, -1, sizeof(::CMsgGCCStrike15_v2_MatchList)}, - { 1801, 1810, -1, sizeof(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt)}, - { 1813, 1824, -1, sizeof(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick)}, - { 1829, 1837, -1, sizeof(::CMsgGCCStrike15_v2_Predictions)}, - { 1839, 1848, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasySlot)}, - { 1851, 1859, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam)}, - { 1861, 1869, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy)}, - { 1871, 1878, -1, sizeof(::CAttribute_String)}, - { 1879, 1888, -1, sizeof(::CMsgLegacySource1ClientWelcome_Location)}, - { 1891, 1908, -1, sizeof(::CMsgLegacySource1ClientWelcome)}, - { 1919, 1932, -1, sizeof(::CMsgCStrike15Welcome)}, - { 1939, 1950, -1, sizeof(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo)}, - { 1955, 1965, -1, sizeof(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo)}, - { 1969, -1, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardRequest)}, - { 1975, 1983, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry)}, - { 1985, 1996, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse)}, - { 2001, 2009, -1, sizeof(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote)}, - { 2011, 2018, -1, sizeof(::CMsgGCCStrike15_v2_Server2GCClientValidate)}, - { 2019, 2029, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo)}, - { 2033, 2042, -1, sizeof(::CSOEconCoupon)}, - { 2045, 2054, -1, sizeof(::CSOAccountItemPersonalStore)}, - { 2057, 2066, -1, sizeof(::CSOAccountXpShop)}, - { 2069, 2079, -1, sizeof(::CSOAccountXpShopBids)}, - { 2083, 2092, -1, sizeof(::CSOVolatileItemOffer)}, - { 2095, 2104, -1, sizeof(::CSOVolatileItemClaimedRewards)}, - { 2107, 2114, -1, sizeof(::CSOAccountKeychainRemoveToolCharges)}, - { 2115, 2124, -1, sizeof(::CSOQuestProgress)}, - { 2127, 2140, -1, sizeof(::CSOAccountSeasonalOperation)}, - { 2147, 2155, -1, sizeof(::CSOAccountRecurringSubscription)}, - { 2157, 2166, -1, sizeof(::CSOGameAccountSteamChina)}, - { 2169, 2180, -1, sizeof(::CSOPersonaDataPublic)}, - { 2185, 2195, -1, sizeof(::CSOAccountRecurringMission)}, - { 2199, 2209, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop)}, - { 2213, -1, -1, sizeof(::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks)}, - { 2219, 2230, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats)}, - { 2235, 2242, -1, sizeof(::CMsgGC_GlobalGame_Subscribe)}, - { 2243, 2250, -1, sizeof(::CMsgGC_GlobalGame_Unsubscribe)}, - { 2251, 2260, -1, sizeof(::CMsgGC_GlobalGame_Play)}, - { 2263, 2270, -1, sizeof(::CMsgGCCStrike15_v2_AcknowledgePenalty)}, - { 2271, 2281, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin)}, - { 2285, 2293, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCStreamUnlock)}, - { 2295, 2302, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestElevate)}, - { 2303, 2311, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCChat)}, - { 2313, 2321, -1, sizeof(::CMsgGCCStrike15_v2_GCToClientChat)}, - { 2323, 2331, -1, sizeof(::CMsgGCCStrike15_v2_ClientAuthKeyCode)}, - { 2333, 2340, -1, sizeof(::CMsgGCCStrike15_GotvSyncPacket)}, - { 2341, 2361, -1, sizeof(::PlayerDecalDigitalSignature)}, - { 2375, 2383, -1, sizeof(::CMsgGCCStrike15_v2_ClientPlayerDecalSign)}, - { 2385, 2392, -1, sizeof(::CMsgGCCStrike15_v2_BetaEnrollment)}, - { 2393, 2402, -1, sizeof(::CMsgGCCStrike15_v2_ClientLogonFatalError)}, - { 2405, 2414, -1, sizeof(::CMsgGCCStrike15_v2_ClientPollState)}, - { 2417, 2432, -1, sizeof(::CMsgGCCStrike15_v2_Party_Register)}, - { 2441, 2453, -1, sizeof(::CMsgGCCStrike15_v2_Party_Search)}, - { 2459, 2472, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults_Entry)}, - { 2479, -1, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults)}, - { 2486, 2494, -1, sizeof(::CMsgGCCStrike15_v2_Party_Invite)}, - { 2496, 2505, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player)}, - { 2508, 2516, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays)}, - { 2518, 2528, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestTicket)}, - { 2532, 2539, -1, sizeof(::CMsgGCToClientSteamDatagramTicket)}, - { 2540, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestOffers)}, - { 2546, 2555, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestSouvenir)}, - { 2558, 2566, -1, sizeof(::CMsgGCCStrike15_v2_ClientAccountBalance)}, - { 2568, 2576, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyJoinRelay)}, - { 2578, 2586, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry)}, - { 2588, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning)}, - { 2595, 2603, -1, sizeof(::CMsgGCCStrike15_v2_SetEventFavorite)}, - { 2605, 2612, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Request)}, - { 2613, 2622, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Response)}, - { 2625, 2637, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport_Entry)}, - { 2643, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport)}, - { 2650, 2660, -1, sizeof(::CVDiagnostic)}, - { 2664, 2690, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportValidation)}, - { 2710, 2725, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode)}, - { 2734, 2742, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRequestValidation)}, - { 2744, 2759, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem)}, - { 2768, 2784, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response)}, - { 2794, 2801, -1, sizeof(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName)}, - { 2802, -1, -1, sizeof(::CMsgRequestRecurringMissionSchedule)}, - { 2808, 2816, -1, sizeof(::CMsgRecurringMissionSchema_MissionTemplateList)}, - { 2818, -1, -1, sizeof(::CMsgRecurringMissionSchema)}, + { 1536, 1554, -1, sizeof(::CEconItemPreviewDataBlock_Sticker)}, + { 1566, 1595, -1, sizeof(::CEconItemPreviewDataBlock)}, + { 1618, 1625, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification)}, + { 1626, 1633, -1, sizeof(::CMsgItemAcknowledged)}, + { 1634, 1644, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest)}, + { 1648, 1655, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse)}, + { 1656, -1, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames)}, + { 1662, 1669, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser)}, + { 1670, 1677, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames)}, + { 1678, 1685, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames)}, + { 1686, 1695, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo)}, + { 1698, 1709, -1, sizeof(::CDataGCCStrike15_v2_MatchInfo)}, + { 1714, 1723, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroupTeam)}, + { 1726, -1, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup_Picks)}, + { 1733, 1749, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup)}, + { 1759, 1769, -1, sizeof(::CDataGCCStrike15_v2_TournamentSection)}, + { 1773, 1782, -1, sizeof(::CDataGCCStrike15_v2_TournamentInfo)}, + { 1785, 1797, -1, sizeof(::CMsgGCCStrike15_v2_MatchList)}, + { 1803, 1812, -1, sizeof(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt)}, + { 1815, 1826, -1, sizeof(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick)}, + { 1831, 1839, -1, sizeof(::CMsgGCCStrike15_v2_Predictions)}, + { 1841, 1850, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasySlot)}, + { 1853, 1861, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam)}, + { 1863, 1871, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy)}, + { 1873, 1880, -1, sizeof(::CAttribute_String)}, + { 1881, 1890, -1, sizeof(::CMsgLegacySource1ClientWelcome_Location)}, + { 1893, 1910, -1, sizeof(::CMsgLegacySource1ClientWelcome)}, + { 1921, 1934, -1, sizeof(::CMsgCStrike15Welcome)}, + { 1941, 1952, -1, sizeof(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo)}, + { 1957, 1967, -1, sizeof(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo)}, + { 1971, -1, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardRequest)}, + { 1977, 1985, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry)}, + { 1987, 1998, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse)}, + { 2003, 2011, -1, sizeof(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote)}, + { 2013, 2020, -1, sizeof(::CMsgGCCStrike15_v2_Server2GCClientValidate)}, + { 2021, 2031, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo)}, + { 2035, 2044, -1, sizeof(::CSOEconCoupon)}, + { 2047, 2056, -1, sizeof(::CSOAccountItemPersonalStore)}, + { 2059, 2068, -1, sizeof(::CSOAccountXpShop)}, + { 2071, 2081, -1, sizeof(::CSOAccountXpShopBids)}, + { 2085, 2094, -1, sizeof(::CSOVolatileItemOffer)}, + { 2097, 2106, -1, sizeof(::CSOVolatileItemClaimedRewards)}, + { 2109, 2116, -1, sizeof(::CSOAccountKeychainRemoveToolCharges)}, + { 2117, 2126, -1, sizeof(::CSOQuestProgress)}, + { 2129, 2142, -1, sizeof(::CSOAccountSeasonalOperation)}, + { 2149, 2157, -1, sizeof(::CSOAccountRecurringSubscription)}, + { 2159, 2168, -1, sizeof(::CSOGameAccountSteamChina)}, + { 2171, 2182, -1, sizeof(::CSOPersonaDataPublic)}, + { 2187, 2197, -1, sizeof(::CSOAccountRecurringMission)}, + { 2201, 2211, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop)}, + { 2215, -1, -1, sizeof(::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks)}, + { 2221, 2232, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats)}, + { 2237, 2244, -1, sizeof(::CMsgGC_GlobalGame_Subscribe)}, + { 2245, 2252, -1, sizeof(::CMsgGC_GlobalGame_Unsubscribe)}, + { 2253, 2262, -1, sizeof(::CMsgGC_GlobalGame_Play)}, + { 2265, 2272, -1, sizeof(::CMsgGCCStrike15_v2_AcknowledgePenalty)}, + { 2273, 2283, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin)}, + { 2287, 2295, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCStreamUnlock)}, + { 2297, 2304, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestElevate)}, + { 2305, 2313, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCChat)}, + { 2315, 2323, -1, sizeof(::CMsgGCCStrike15_v2_GCToClientChat)}, + { 2325, 2333, -1, sizeof(::CMsgGCCStrike15_v2_ClientAuthKeyCode)}, + { 2335, 2342, -1, sizeof(::CMsgGCCStrike15_GotvSyncPacket)}, + { 2343, 2363, -1, sizeof(::PlayerDecalDigitalSignature)}, + { 2377, 2385, -1, sizeof(::CMsgGCCStrike15_v2_ClientPlayerDecalSign)}, + { 2387, 2394, -1, sizeof(::CMsgGCCStrike15_v2_BetaEnrollment)}, + { 2395, 2404, -1, sizeof(::CMsgGCCStrike15_v2_ClientLogonFatalError)}, + { 2407, 2416, -1, sizeof(::CMsgGCCStrike15_v2_ClientPollState)}, + { 2419, 2434, -1, sizeof(::CMsgGCCStrike15_v2_Party_Register)}, + { 2443, 2455, -1, sizeof(::CMsgGCCStrike15_v2_Party_Search)}, + { 2461, 2474, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults_Entry)}, + { 2481, -1, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults)}, + { 2488, 2496, -1, sizeof(::CMsgGCCStrike15_v2_Party_Invite)}, + { 2498, 2507, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player)}, + { 2510, 2518, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays)}, + { 2520, 2530, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestTicket)}, + { 2534, 2541, -1, sizeof(::CMsgGCToClientSteamDatagramTicket)}, + { 2542, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestOffers)}, + { 2548, 2557, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestSouvenir)}, + { 2560, 2568, -1, sizeof(::CMsgGCCStrike15_v2_ClientAccountBalance)}, + { 2570, 2578, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyJoinRelay)}, + { 2580, 2588, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry)}, + { 2590, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning)}, + { 2597, 2605, -1, sizeof(::CMsgGCCStrike15_v2_SetEventFavorite)}, + { 2607, 2614, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Request)}, + { 2615, 2624, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Response)}, + { 2627, 2639, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport_Entry)}, + { 2645, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport)}, + { 2652, 2662, -1, sizeof(::CVDiagnostic)}, + { 2666, 2692, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportValidation)}, + { 2712, 2727, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode)}, + { 2736, 2744, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRequestValidation)}, + { 2746, 2761, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem)}, + { 2770, 2786, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response)}, + { 2796, 2803, -1, sizeof(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName)}, + { 2804, -1, -1, sizeof(::CMsgRequestRecurringMissionSchedule)}, + { 2810, 2818, -1, sizeof(::CMsgRecurringMissionSchema_MissionTemplateList)}, + { 2820, -1, -1, sizeof(::CMsgRecurringMissionSchema)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -6822,7 +6825,7 @@ const char descriptor_table_protodef_cstrike15_5fgcmessages_2eproto[] PROTOBUF_S "\003 \001(\01328.CMsgGCCStrike15_v2_MatchmakingSe" "rverReservationResponse\022;\n\024match_end_que" "st_data\030\004 \001(\0132\035.CMsgGC_ServerQuestUpdate" - "Data\"\213\006\n\031CEconItemPreviewDataBlock\022\021\n\tac" + "Data\"\244\006\n\031CEconItemPreviewDataBlock\022\021\n\tac" "countid\030\001 \001(\r\022\016\n\006itemid\030\002 \001(\004\022\020\n\010definde" "x\030\003 \001(\r\022\022\n\npaintindex\030\004 \001(\r\022\016\n\006rarity\030\005 " "\001(\r\022\017\n\007quality\030\006 \001(\r\022\021\n\tpaintwear\030\007 \001(\r\022" @@ -6836,445 +6839,445 @@ const char descriptor_table_protodef_cstrike15_5fgcmessages_2eproto[] PROTOBUF_S "hains\030\024 \003(\0132\".CEconItemPreviewDataBlock." "Sticker\022\r\n\005style\030\025 \001(\r\0226\n\nvariations\030\026 \003" "(\0132\".CEconItemPreviewDataBlock.Sticker\022\025" - "\n\rupgrade_level\030\027 \001(\r\032\312\001\n\007Sticker\022\014\n\004slo" + "\n\rupgrade_level\030\027 \001(\r\032\343\001\n\007Sticker\022\014\n\004slo" "t\030\001 \001(\r\022\022\n\nsticker_id\030\002 \001(\r\022\014\n\004wear\030\003 \001(" "\002\022\r\n\005scale\030\004 \001(\002\022\020\n\010rotation\030\005 \001(\002\022\017\n\007ti" "nt_id\030\006 \001(\r\022\020\n\010offset_x\030\007 \001(\002\022\020\n\010offset_" "y\030\010 \001(\002\022\020\n\010offset_z\030\t \001(\002\022\017\n\007pattern\030\n \001" - "(\r\022\026\n\016highlight_reel\030\013 \001(\r\"b\n2CMsgGCCStr" - "ike15_v2_MatchEndRewardDropsNotification" - "\022,\n\010iteminfo\030\006 \001(\0132\032.CEconItemPreviewDat" - "aBlock\"D\n\024CMsgItemAcknowledged\022,\n\010itemin" - "fo\030\001 \001(\0132\032.CEconItemPreviewDataBlock\"}\n7" - "CMsgGCCStrike15_v2_Client2GCEconPreviewD" - "ataBlockRequest\022\017\n\007param_s\030\001 \001(\004\022\017\n\007para" - "m_a\030\002 \001(\004\022\017\n\007param_d\030\003 \001(\004\022\017\n\007param_m\030\004 " - "\001(\004\"h\n8CMsgGCCStrike15_v2_Client2GCEconP" - "reviewDataBlockResponse\022,\n\010iteminfo\030\001 \001(" - "\0132\032.CEconItemPreviewDataBlock\"5\n3CMsgGCC" - "Strike15_v2_MatchListRequestCurrentLiveG" - "ames\"G\n2CMsgGCCStrike15_v2_MatchListRequ" - "estLiveGameForUser\022\021\n\taccountid\030\001 \001(\r\"G\n" - "2CMsgGCCStrike15_v2_MatchListRequestRece" - "ntUserGames\022\021\n\taccountid\030\001 \001(\r\"E\n2CMsgGC" - "CStrike15_v2_MatchListRequestTournamentG" - "ames\022\017\n\007eventid\030\001 \001(\005\"d\n/CMsgGCCStrike15" - "_v2_MatchListRequestFullGameInfo\022\017\n\007matc" - "hid\030\001 \001(\004\022\021\n\toutcomeid\030\002 \001(\004\022\r\n\005token\030\003 " - "\001(\r\"\210\002\n\035CDataGCCStrike15_v2_MatchInfo\022\017\n" - "\007matchid\030\001 \001(\004\022\021\n\tmatchtime\030\002 \001(\r\022/\n\022wat" - "chablematchinfo\030\003 \001(\0132\023.WatchableMatchIn" - "fo\022J\n\021roundstats_legacy\030\004 \001(\0132/.CMsgGCCS" - "trike15_v2_MatchmakingServerRoundStats\022F" - "\n\rroundstatsall\030\005 \003(\0132/.CMsgGCCStrike15_" - "v2_MatchmakingServerRoundStats\"^\n\'CDataG" - "CCStrike15_v2_TournamentGroupTeam\022\017\n\007tea" - "m_id\030\001 \001(\005\022\r\n\005score\030\002 \001(\005\022\023\n\013correctpick" - "\030\003 \001(\010\"\331\002\n#CDataGCCStrike15_v2_Tournamen" - "tGroup\022\017\n\007groupid\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n" - "\004desc\030\003 \001(\t\022\031\n\021picks__deprecated\030\004 \001(\r\0227" - "\n\005teams\030\005 \003(\0132(.CDataGCCStrike15_v2_Tour" - "namentGroupTeam\022\021\n\tstage_ids\030\006 \003(\005\022\031\n\021pi" - "cklockuntiltime\030\007 \001(\r\022\025\n\rpickableteams\030\010" - " \001(\r\022\027\n\017points_per_pick\030\t \001(\r\0229\n\005picks\030\n" - " \003(\0132*.CDataGCCStrike15_v2_TournamentGro" - "up.Picks\032\030\n\005Picks\022\017\n\007pickids\030\001 \003(\005\"\214\001\n%C" - "DataGCCStrike15_v2_TournamentSection\022\021\n\t" - "sectionid\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n\004desc\030\003 " - "\001(\t\0224\n\006groups\030\004 \003(\0132$.CDataGCCStrike15_v" - "2_TournamentGroup\"\265\001\n\"CDataGCCStrike15_v" - "2_TournamentInfo\0228\n\010sections\030\001 \003(\0132&.CDa" - "taGCCStrike15_v2_TournamentSection\022*\n\020to" - "urnament_event\030\002 \001(\0132\020.TournamentEvent\022)" - "\n\020tournament_teams\030\003 \003(\0132\017.TournamentTea" - "m\"\353\001\n\034CMsgGCCStrike15_v2_MatchList\022\024\n\014ms" - "grequestid\030\001 \001(\r\022\021\n\taccountid\030\002 \001(\r\022\022\n\ns" - "ervertime\030\003 \001(\r\022/\n\007matches\030\004 \003(\0132\036.CData" - "GCCStrike15_v2_MatchInfo\022 \n\007streams\030\005 \003(" - "\0132\017.TournamentTeam\022;\n\016tournamentinfo\030\006 \001" - "(\0132#.CDataGCCStrike15_v2_TournamentInfo\"" - "\211\001\n2CMsgGCCStrike15_v2_MatchListTourname" - "ntOperatorMgmt\022\017\n\007eventid\030\001 \001(\005\022/\n\007match" - "es\030\002 \003(\0132\036.CDataGCCStrike15_v2_MatchInfo" - "\022\021\n\taccountid\030\003 \001(\r\"\357\001\n\036CMsgGCCStrike15_" - "v2_Predictions\022\020\n\010event_id\030\001 \001(\r\022R\n\026grou" - "p_match_team_picks\030\002 \003(\01322.CMsgGCCStrike" - "15_v2_Predictions.GroupMatchTeamPick\032g\n\022" - "GroupMatchTeamPick\022\021\n\tsectionid\030\001 \001(\005\022\017\n" - "\007groupid\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n\006teamid\030" - "\004 \001(\005\022\016\n\006itemid\030\005 \001(\004\"\373\001\n\032CMsgGCCStrike1" - "5_v2_Fantasy\022\020\n\010event_id\030\001 \001(\r\0226\n\005teams\030" - "\002 \003(\0132\'.CMsgGCCStrike15_v2_Fantasy.Fanta" - "syTeam\0329\n\013FantasySlot\022\014\n\004type\030\001 \001(\005\022\014\n\004p" - "ick\030\002 \001(\005\022\016\n\006itemid\030\003 \001(\004\032X\n\013FantasyTeam" - "\022\021\n\tsectionid\030\001 \001(\005\0226\n\005slots\030\002 \003(\0132\'.CMs" - "gGCCStrike15_v2_Fantasy.FantasySlot\"\"\n\021C" - "Attribute_String\022\r\n\005value\030\001 \001(\t\"\316\003\n\036CMsg" - "LegacySource1ClientWelcome\022\017\n\007version\030\001 " - "\001(\r\022\021\n\tgame_data\030\002 \001(\014\022;\n\033outofdate_subs" - "cribed_caches\030\003 \003(\0132\026.CMsgSOCacheSubscri" - "bed\022A\n\032uptodate_subscribed_caches\030\004 \003(\0132" - "\035.CMsgSOCacheSubscriptionCheck\022:\n\010locati" - "on\030\005 \001(\0132(.CMsgLegacySource1ClientWelcom" - "e.Location\022\022\n\ngame_data2\030\006 \001(\014\022$\n\034rtime3" - "2_gc_welcome_timestamp\030\007 \001(\r\022\020\n\010currency" - "\030\010 \001(\r\022\017\n\007balance\030\t \001(\r\022\023\n\013balance_url\030\n" - " \001(\t\022\030\n\020txn_country_code\030\013 \001(\t\032@\n\010Locati" - "on\022\020\n\010latitude\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\022" - "\017\n\007country\030\003 \001(\t\"\304\001\n\024CMsgCStrike15Welcom" - "e\022\027\n\017store_item_hash\030\005 \001(\r\022\037\n\027timeplayed" - "consecutively\030\006 \001(\r\022\031\n\021time_first_played" - "\030\n \001(\r\022\030\n\020last_time_played\030\014 \001(\r\022\027\n\017last" - "_ip_address\030\r \001(\r\022\022\n\ngscookieid\030\022 \001(\004\022\020\n" - "\010uniqueid\030\023 \001(\004\"\233\001\n1CMsgGCCStrike15_v2_C" - "lientVarValueNotificationInfo\022\022\n\nvalue_n" - "ame\030\001 \001(\t\022\021\n\tvalue_int\030\002 \001(\005\022\023\n\013server_a" - "ddr\030\003 \001(\r\022\023\n\013server_port\030\004 \001(\r\022\025\n\rchoked" - "_blocks\030\005 \003(\t\"z\n1CMsgGCCStrike15_v2_Serv" - "erVarValueNotificationInfo\022\021\n\taccountid\030" - "\001 \001(\r\022\022\n\nviewangles\030\002 \003(\r\022\014\n\004type\030\003 \001(\r\022" - "\020\n\010userdata\030\004 \003(\r\",\n*CMsgGCCStrike15_v2_" - "GiftsLeaderboardRequest\"\235\002\n+CMsgGCCStrik" - "e15_v2_GiftsLeaderboardResponse\022\022\n\nserve" - "rtime\030\001 \001(\r\022\033\n\023time_period_seconds\030\002 \001(\r" - "\022\031\n\021total_gifts_given\030\003 \001(\r\022\024\n\014total_giv" - "ers\030\004 \001(\r\022R\n\007entries\030\005 \003(\0132A.CMsgGCCStri" - "ke15_v2_GiftsLeaderboardResponse.GiftLea" - "derboardEntry\0328\n\024GiftLeaderboardEntry\022\021\n" - "\taccountid\030\001 \001(\r\022\r\n\005gifts\030\002 \001(\r\"L\n)CMsgG" - "CCStrike15_v2_ClientSubmitSurveyVote\022\021\n\t" - "survey_id\030\001 \001(\r\022\014\n\004vote\030\002 \001(\r\"\?\n*CMsgGCC" - "Strike15_v2_Server2GCClientValidate\022\021\n\ta" - "ccountid\030\001 \001(\r\"r\n*CMsgGCCStrike15_v2_GC2" - "ClientTournamentInfo\022\017\n\007eventid\030\001 \001(\r\022\017\n" - "\007stageid\030\002 \001(\r\022\021\n\tgame_type\030\003 \001(\r\022\017\n\007tea" - "mids\030\004 \003(\r\"O\n\rCSOEconCoupon\022\025\n\007entryid\030\001" - " \001(\rB\004\200\246\035\001\022\016\n\006defidx\030\002 \001(\r\022\027\n\017expiration" - "_date\030\003 \001(\007\"a\n\033CSOAccountItemPersonalSto" - "re\022\027\n\017generation_time\030\001 \001(\r\022\032\n\022redeemabl" - "e_balance\030\002 \001(\r\022\r\n\005items\030\003 \003(\004\"Z\n\020CSOAcc" - "ountXpShop\022\027\n\017generation_time\030\001 \001(\r\022\032\n\022r" - "edeemable_balance\030\002 \001(\r\022\021\n\txp_tracks\030\003 \003" - "(\r\"z\n\024CSOAccountXpShopBids\022\031\n\013campaign_i" - "d\030\001 \001(\rB\004\200\246\035\001\022\027\n\tredeem_id\030\002 \001(\rB\004\200\246\035\001\022\025" - "\n\rexpected_cost\030\003 \001(\r\022\027\n\017generation_time" - "\030\004 \001(\r\"Z\n\024CSOVolatileItemOffer\022\024\n\006defidx" - "\030\001 \001(\rB\004\200\246\035\001\022\023\n\013faux_itemid\030\002 \003(\004\022\027\n\017gen" - "eration_time\030\003 \003(\r\"^\n\035CSOVolatileItemCla" - "imedRewards\022\024\n\006defidx\030\001 \001(\rB\004\200\246\035\001\022\016\n\006rew" - "ard\030\002 \003(\r\022\027\n\017generation_time\030\003 \003(\r\"6\n#CS" - "OAccountKeychainRemoveToolCharges\022\017\n\007cha" - "rges\030\001 \001(\r\"Y\n\020CSOQuestProgress\022\025\n\007questi" - "d\030\001 \001(\rB\004\200\246\035\001\022\030\n\020points_remaining\030\002 \001(\r\022" - "\024\n\014bonus_points\030\003 \001(\r\"\315\001\n\033CSOAccountSeas" - "onalOperation\022\032\n\014season_value\030\001 \001(\rB\004\200\246\035" - "\001\022\025\n\rtier_unlocked\030\002 \001(\r\022\025\n\rpremium_tier" - "s\030\003 \001(\r\022\022\n\nmission_id\030\004 \001(\r\022\032\n\022missions_" - "completed\030\005 \001(\r\022\032\n\022redeemable_balance\030\006 " - "\001(\r\022\030\n\020season_pass_time\030\007 \001(\r\"R\n\037CSOAcco" - "untRecurringSubscription\022\027\n\017time_next_cy" - "cle\030\001 \001(\r\022\026\n\016time_initiated\030\002 \001(\r\"c\n\030CSO" - "GameAccountSteamChina\022\030\n\020time_last_updat" - "e\030\001 \001(\r\022\026\n\016time_comms_ban\030\002 \001(\r\022\025\n\rtime_" - "play_ban\030\003 \001(\r\"\257\001\n\024CSOPersonaDataPublic\022" - "\024\n\014player_level\030\001 \001(\005\022-\n\014commendation\030\002 " - "\001(\0132\027.PlayerCommendationInfo\022\026\n\016elevated" - "_state\030\003 \001(\010\022\"\n\032xp_trail_timestamp_refre" - "sh\030\004 \001(\r\022\026\n\016xp_trail_level\030\005 \001(\r\"f\n\032CSOA" - "ccountRecurringMission\022\022\n\naccount_id\030\001 \001" - "(\r\022\022\n\nmission_id\030\002 \001(\r\022\016\n\006period\030\003 \001(\r\022\020" - "\n\010progress\030\004 \001(\r\"\240\001\n(CMsgGCCStrike15_v2_" - "GC2ClientNotifyXPShop\022#\n\010prematch\030\001 \001(\0132" - "\021.CSOAccountXpShop\022$\n\tpostmatch\030\002 \001(\0132\021." - "CSOAccountXpShop\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\r" - "current_level\030\004 \001(\r\"-\n+CMsgGCCStrike15_v" - "2_Client2GcAckXPShopTracks\"\251\001\n2CMsgGCCSt" - "rike15_v2_MatchmakingGC2ClientSearchStat" - "s\022\026\n\016gs_location_id\030\001 \001(\r\022\026\n\016data_center" - "_id\030\002 \001(\r\022\025\n\rnum_locked_in\030\003 \001(\r\022\030\n\020num_" - "found_nearby\030\004 \001(\r\022\022\n\nnote_level\030\005 \001(\r\"-" - "\n\033CMsgGC_GlobalGame_Subscribe\022\016\n\006ticket\030" - "\001 \001(\004\"1\n\035CMsgGC_GlobalGame_Unsubscribe\022\020" - "\n\010timeleft\030\001 \001(\005\"P\n\026CMsgGC_GlobalGame_Pl" - "ay\022\016\n\006ticket\030\001 \001(\004\022\022\n\ngametimems\030\002 \001(\r\022\022" - "\n\nmsperpoint\030\003 \001(\r\"=\n%CMsgGCCStrike15_v2" - "_AcknowledgePenalty\022\024\n\014acknowledged\030\001 \001(" - "\005\"{\n/CMsgGCCStrike15_v2_Client2GCRequest" - "PrestigeCoin\022\020\n\010defindex\030\001 \001(\r\022\021\n\tupgrad" - "eid\030\002 \001(\004\022\r\n\005hours\030\003 \001(\r\022\024\n\014prestigetime" - "\030\004 \001(\r\"F\n(CMsgGCCStrike15_v2_Client2GCSt" - "reamUnlock\022\016\n\006ticket\030\001 \001(\004\022\n\n\002os\030\002 \001(\005\"<" - "\n+CMsgGCCStrike15_v2_ClientToGCRequestEl" - "evate\022\r\n\005stage\030\001 \001(\r\"C\n!CMsgGCCStrike15_" - "v2_ClientToGCChat\022\020\n\010match_id\030\001 \001(\004\022\014\n\004t" - "ext\030\002 \001(\t\"E\n!CMsgGCCStrike15_v2_GCToClie" - "ntChat\022\022\n\naccount_id\030\001 \001(\r\022\014\n\004text\030\002 \001(\t" - "\"E\n$CMsgGCCStrike15_v2_ClientAuthKeyCode" - "\022\017\n\007eventid\030\001 \001(\r\022\014\n\004code\030\002 \001(\t\"F\n\036CMsgG" - "CCStrike15_GotvSyncPacket\022$\n\004data\030\001 \001(\0132" - "\026.CEngineGotvSyncPacket\"\223\002\n\033PlayerDecalD" - "igitalSignature\022\021\n\tsignature\030\001 \001(\014\022\021\n\tac" - "countid\030\002 \001(\r\022\r\n\005rtime\030\003 \001(\r\022\016\n\006endpos\030\004" - " \003(\002\022\020\n\010startpos\030\005 \003(\002\022\014\n\004left\030\006 \003(\002\022\021\n\t" - "tx_defidx\030\007 \001(\r\022\020\n\010entindex\030\010 \001(\005\022\016\n\006hit" - "box\030\t \001(\r\022\024\n\014creationtime\030\n \001(\002\022\021\n\tequip" - "slot\030\013 \001(\r\022\020\n\010trace_id\030\014 \001(\r\022\016\n\006normal\030\r" - " \003(\002\022\017\n\007tint_id\030\016 \001(\r\"f\n(CMsgGCCStrike15" - "_v2_ClientPlayerDecalSign\022*\n\004data\030\001 \001(\0132" - "\034.PlayerDecalDigitalSignature\022\016\n\006itemid\030" - "\002 \001(\004\"4\n!CMsgGCCStrike15_v2_BetaEnrollme" - "nt\022\017\n\007eresult\030\001 \001(\r\"_\n(CMsgGCCStrike15_v" - "2_ClientLogonFatalError\022\021\n\terrorcode\030\001 \001" - "(\r\022\017\n\007message\030\002 \001(\t\022\017\n\007country\030\003 \001(\t\"S\n\"" - "CMsgGCCStrike15_v2_ClientPollState\022\016\n\006po" - "llid\030\001 \001(\r\022\r\n\005names\030\002 \003(\t\022\016\n\006values\030\003 \003(" - "\005\"\244\001\n!CMsgGCCStrike15_v2_Party_Register\022" - "\n\n\002id\030\001 \001(\r\022\013\n\003ver\030\002 \001(\r\022\013\n\003apr\030\003 \001(\r\022\013\n" - "\003ark\030\004 \001(\r\022\013\n\003nby\030\005 \001(\r\022\013\n\003grp\030\006 \001(\r\022\r\n\005" - "slots\030\007 \001(\r\022\020\n\010launcher\030\010 \001(\r\022\021\n\tgame_ty" - "pe\030\t \001(\r\"{\n\037CMsgGCCStrike15_v2_Party_Sea" - "rch\022\013\n\003ver\030\001 \001(\r\022\013\n\003apr\030\002 \001(\r\022\013\n\003ark\030\003 \001" - "(\r\022\014\n\004grps\030\004 \003(\r\022\020\n\010launcher\030\005 \001(\r\022\021\n\tga" - "me_type\030\006 \001(\r\"\327\001\n&CMsgGCCStrike15_v2_Par" - "ty_SearchResults\022>\n\007entries\030\001 \003(\0132-.CMsg" - "GCCStrike15_v2_Party_SearchResults.Entry" - "\032m\n\005Entry\022\n\n\002id\030\001 \001(\r\022\013\n\003grp\030\002 \001(\r\022\021\n\tga" - "me_type\030\003 \001(\r\022\013\n\003apr\030\004 \001(\r\022\013\n\003ark\030\005 \001(\r\022" - "\013\n\003loc\030\006 \001(\r\022\021\n\taccountid\030\007 \001(\r\"E\n\037CMsgG" - "CCStrike15_v2_Party_Invite\022\021\n\taccountid\030" - "\001 \001(\r\022\017\n\007lobbyid\030\002 \001(\r\"\302\001\n)CMsgGCCStrike" - "15_v2_Account_RequestCoPlays\022B\n\007players\030" - "\001 \003(\01321.CMsgGCCStrike15_v2_Account_Reque" - "stCoPlays.Player\022\022\n\nservertime\030\002 \001(\r\032=\n\006" - "Player\022\021\n\taccountid\030\001 \001(\r\022\020\n\010rtcoplay\030\002 " - "\001(\r\022\016\n\006online\030\003 \001(\010\"\244\001\n*CMsgGCCStrike15_" - "v2_ClientToGCRequestTicket\022\033\n\023authorized" - "_steam_id\030\001 \001(\006\022\034\n\024authorized_public_ip\030" - "\002 \001(\007\022\033\n\023gameserver_steam_id\030\003 \001(\006\022\036\n\026ga" - "meserver_sdr_routing\030\005 \001(\t\">\n!CMsgGCToCl" - "ientSteamDatagramTicket\022\031\n\021serialized_ti" - "cket\030\020 \001(\014\"(\n&CMsgGCCStrike15_v2_ClientR" - "equestOffers\"\\\n(CMsgGCCStrike15_v2_Clien" - "tRequestSouvenir\022\016\n\006itemid\030\001 \001(\004\022\017\n\007matc" - "hid\030\002 \001(\004\022\017\n\007eventid\030\003 \001(\005\"F\n\'CMsgGCCStr" - "ike15_v2_ClientAccountBalance\022\016\n\006amount\030" - "\001 \001(\004\022\013\n\003url\030\002 \001(\t\"M\n\'CMsgGCCStrike15_v2" - "_ClientPartyJoinRelay\022\021\n\taccountid\030\001 \001(\r" - "\022\017\n\007lobbyid\030\002 \001(\004\"\224\001\n%CMsgGCCStrike15_v2" - "_ClientPartyWarning\022=\n\007entries\030\001 \003(\0132,.C" - "MsgGCCStrike15_v2_ClientPartyWarning.Ent" - "ry\032,\n\005Entry\022\021\n\taccountid\030\001 \001(\r\022\020\n\010warnty" - "pe\030\002 \001(\r\"K\n#CMsgGCCStrike15_v2_SetEventF" - "avorite\022\017\n\007eventid\030\001 \001(\004\022\023\n\013is_favorite\030" - "\002 \001(\010\"B\n,CMsgGCCStrike15_v2_GetEventFavo" - "rites_Request\022\022\n\nall_events\030\001 \001(\010\"r\n-CMs" - "gGCCStrike15_v2_GetEventFavorites_Respon" - "se\022\022\n\nall_events\030\001 \001(\010\022\026\n\016json_favorites" - "\030\002 \001(\t\022\025\n\rjson_featured\030\003 \001(\t\"\325\001\n#CMsgGC" - "CStrike15_v2_ClientPerfReport\022;\n\007entries" - "\030\001 \003(\0132*.CMsgGCCStrike15_v2_ClientPerfRe" - "port.Entry\032q\n\005Entry\022\023\n\013perfcounter\030\001 \001(\r" - "\022\016\n\006length\030\002 \001(\r\022\021\n\treference\030\003 \001(\014\022\016\n\006a" - "ctual\030\004 \001(\014\022\020\n\010sourceid\030\005 \001(\r\022\016\n\006status\030" - "\006 \001(\r\"Q\n\014CVDiagnostic\022\n\n\002id\030\001 \001(\r\022\020\n\010ext" - "ended\030\002 \001(\r\022\r\n\005value\030\003 \001(\004\022\024\n\014string_val" - "ue\030\004 \001(\t\"\360\003\n)CMsgGCCStrike15_v2_ClientRe" - "portValidation\022\023\n\013file_report\030\001 \001(\t\022\024\n\014c" - "ommand_line\030\002 \001(\t\022\023\n\013total_files\030\003 \001(\r\022\026" - "\n\016internal_error\030\004 \001(\r\022\022\n\ntrust_time\030\005 \001" - "(\r\022\025\n\rcount_pending\030\006 \001(\r\022\027\n\017count_compl" - "eted\030\007 \001(\r\022\022\n\nprocess_id\030\010 \001(\r\022\021\n\tosvers" - "ion\030\t \001(\005\022\033\n\023clientreportversion\030\n \001(\r\022\021" - "\n\tstatus_id\030\013 \001(\r\022\023\n\013diagnostic1\030\014 \001(\r\022\023" - "\n\013diagnostic2\030\r \001(\004\022\023\n\013diagnostic3\030\016 \001(\004" - "\022\030\n\020last_launch_data\030\017 \001(\t\022\024\n\014report_cou" - "nt\030\020 \001(\r\022\023\n\013client_time\030\021 \001(\004\022\023\n\013diagnos" - "tic4\030\022 \001(\004\022\023\n\013diagnostic5\030\023 \001(\004\022\"\n\013diagn" - "ostics\030\024 \003(\0132\r.CVDiagnostic\"\250\002\n,CMsgGCCS" - "trike15_v2_GC2ClientRefuseSecureMode\022\023\n\013" - "file_report\030\001 \001(\t\022\033\n\023offer_insecure_mode" - "\030\002 \001(\010\022\031\n\021offer_secure_mode\030\003 \001(\010\022\030\n\020sho" - "w_unsigned_ui\030\004 \001(\010\022\021\n\tkick_user\030\005 \001(\010\022\027" - "\n\017show_trusted_ui\030\006 \001(\010\022 \n\030show_warning_" - "not_trusted\030\007 \001(\010\022\"\n\032show_warning_not_tr" - "usted_2\030\010 \001(\010\022\037\n\027files_prevented_trusted" - "\030\t \001(\t\"T\n-CMsgGCCStrike15_v2_GC2ClientRe" - "questValidation\022\023\n\013full_report\030\001 \001(\010\022\016\n\006" - "module\030\002 \001(\t\"\313\001\n&CMsgGCCStrike15_v2_GC2C" - "lientInitSystem\022\014\n\004load\030\001 \001(\010\022\014\n\004name\030\002 " - "\001(\t\022\022\n\noutputname\030\003 \001(\t\022\020\n\010key_data\030\004 \001(" - "\014\022\020\n\010sha_hash\030\005 \001(\014\022\016\n\006cookie\030\006 \001(\005\022\020\n\010m" - "anifest\030\007 \001(\t\022\026\n\016system_package\030\010 \001(\014\022\023\n" - "\013load_system\030\t \001(\010\"\245\002\n/CMsgGCCStrike15_v" - "2_GC2ClientInitSystem_Response\022\017\n\007succes" - "s\030\001 \001(\010\022\022\n\ndiagnostic\030\002 \001(\t\022\020\n\010sha_hash\030" - "\003 \001(\014\022\020\n\010response\030\004 \001(\005\022\023\n\013error_code1\030\005" - " \001(\005\022\023\n\013error_code2\030\006 \001(\005\022\016\n\006handle\030\007 \001(" - "\003\022E\n\014einit_result\030\010 \001(\0162\022.EInitSystemRes" - "ult:\033k_EInitSystemResult_Invalid\022\023\n\013aux_" - "system1\030\t \001(\005\022\023\n\013aux_system2\030\n \001(\005\"P\n/CM" - "sgGCCStrike15_v2_SetPlayerLeaderboardSaf" - "eName\022\035\n\025leaderboard_safe_name\030\001 \001(\t\"%\n#" - "CMsgRequestRecurringMissionSchedule\"\241\001\n\032" - "CMsgRecurringMissionSchema\022A\n\010missions\030\001" - " \003(\0132/.CMsgRecurringMissionSchema.Missio" - "nTemplateList\032@\n\023MissionTemplateList\022\016\n\006" - "period\030\001 \001(\r\022\031\n\021mission_templates\030\002 \003(\014*" - "\311*\n\nECsgoGCMsg\022\036\n\031k_EMsgGCCStrike15_v2_B" - "ase\020\214G\022*\n%k_EMsgGCCStrike15_v2_Matchmaki" - "ngStart\020\215G\022)\n$k_EMsgGCCStrike15_v2_Match" - "makingStop\020\216G\0226\n1k_EMsgGCCStrike15_v2_Ma" - "tchmakingClient2ServerPing\020\217G\0224\n/k_EMsgG" - "CCStrike15_v2_MatchmakingGC2ClientUpdate" - "\020\220G\022>\n9k_EMsgGCCStrike15_v2_MatchmakingS" - "erverReservationResponse\020\222G\0225\n0k_EMsgGCC" - "Strike15_v2_MatchmakingGC2ClientReserve\020" - "\223G\0223\n.k_EMsgGCCStrike15_v2_MatchmakingCl" - "ient2GCHello\020\225G\0223\n.k_EMsgGCCStrike15_v2_" - "MatchmakingGC2ClientHello\020\226G\0225\n0k_EMsgGC" - "CStrike15_v2_MatchmakingGC2ClientAbandon" - "\020\230G\022:\n5k_EMsgGCCStrike15_v2_MatchmakingO" - "perator2GCBlogUpdate\020\235G\022:\n5k_EMsgGCCStri" - "ke15_v2_ServerNotificationForUserPenalty" - "\020\236G\022,\n\'k_EMsgGCCStrike15_v2_ClientReport" - "Player\020\237G\022,\n\'k_EMsgGCCStrike15_v2_Client" - "ReportServer\020\240G\022-\n(k_EMsgGCCStrike15_v2_" - "ClientCommendPlayer\020\241G\022.\n)k_EMsgGCCStrik" - "e15_v2_ClientReportResponse\020\242G\0222\n-k_EMsg" - "GCCStrike15_v2_ClientCommendPlayerQuery\020" - "\243G\022:\n5k_EMsgGCCStrike15_v2_ClientCommend" - "PlayerQueryResponse\020\244G\022(\n#k_EMsgGCCStrik" - "e15_v2_WatchInfoUsers\020\246G\0225\n0k_EMsgGCCStr" - "ike15_v2_ClientRequestPlayersProfile\020\247G\022" - "(\n#k_EMsgGCCStrike15_v2_PlayersProfile\020\250" - "G\0223\n.k_EMsgGCCStrike15_v2_PlayerOverwatc" - "hCaseUpdate\020\253G\0227\n2k_EMsgGCCStrike15_v2_P" - "layerOverwatchCaseAssignment\020\254G\0223\n.k_EMs" - "gGCCStrike15_v2_PlayerOverwatchCaseStatu" - "s\020\255G\022*\n%k_EMsgGCCStrike15_v2_GC2ClientTe" - "xtMsg\020\256G\022*\n%k_EMsgGCCStrike15_v2_Client2" - "GCTextMsg\020\257G\0220\n+k_EMsgGCCStrike15_v2_Mat" - "chEndRunRewardDrops\020\260G\0229\n4k_EMsgGCCStrik" - "e15_v2_MatchEndRewardDropsNotification\020\261" - "G\0228\n3k_EMsgGCCStrike15_v2_ClientRequestW" - "atchInfoFriends2\020\262G\022#\n\036k_EMsgGCCStrike15" - "_v2_MatchList\020\263G\022:\n5k_EMsgGCCStrike15_v2" - "_MatchListRequestCurrentLiveGames\020\264G\0229\n4" - "k_EMsgGCCStrike15_v2_MatchListRequestRec" - "entUserGames\020\265G\0224\n/k_EMsgGCCStrike15_v2_" - "GC2ServerReservationUpdate\020\266G\0228\n3k_EMsgG" - "CCStrike15_v2_ClientVarValueNotification" - "Info\020\270G\0229\n4k_EMsgGCCStrike15_v2_MatchLis" - "tRequestTournamentGames\020\272G\0226\n1k_EMsgGCCS" - "trike15_v2_MatchListRequestFullGameInfo\020" - "\273G\0221\n,k_EMsgGCCStrike15_v2_GiftsLeaderbo" - "ardRequest\020\274G\0222\n-k_EMsgGCCStrike15_v2_Gi" - "ftsLeaderboardResponse\020\275G\0228\n3k_EMsgGCCSt" - "rike15_v2_ServerVarValueNotificationInfo" - "\020\276G\0220\n+k_EMsgGCCStrike15_v2_ClientSubmit" - "SurveyVote\020\300G\0221\n,k_EMsgGCCStrike15_v2_Se" - "rver2GCClientValidate\020\301G\0229\n4k_EMsgGCCStr" - "ike15_v2_MatchListRequestLiveGameForUser" - "\020\302G\022>\n9k_EMsgGCCStrike15_v2_Client2GCEco" - "nPreviewDataBlockRequest\020\304G\022\?\n:k_EMsgGCC" - "Strike15_v2_Client2GCEconPreviewDataBloc" - "kResponse\020\305G\0220\n+k_EMsgGCCStrike15_v2_Acc" - "ountPrivacySettings\020\306G\022+\n&k_EMsgGCCStrik" - "e15_v2_SetMyActivityInfo\020\307G\022\?\n:k_EMsgGCC" - "Strike15_v2_MatchListRequestTournamentPr" - "edictions\020\310G\022>\n9k_EMsgGCCStrike15_v2_Mat" - "chListUploadTournamentPredictions\020\311G\022&\n!" - "k_EMsgGCCStrike15_v2_DraftSummary\020\312G\0225\n0" - "k_EMsgGCCStrike15_v2_ClientRequestJoinFr" - "iendData\020\313G\0225\n0k_EMsgGCCStrike15_v2_Clie" - "ntRequestJoinServerData\020\314G\0221\n,k_EMsgGCCS" - "trike15_v2_GC2ClientTournamentInfo\020\317G\022\"\n" - "\035k_EMsgGC_GlobalGame_Subscribe\020\320G\022$\n\037k_E" - "MsgGC_GlobalGame_Unsubscribe\020\321G\022\035\n\030k_EMs" - "gGC_GlobalGame_Play\020\322G\022,\n\'k_EMsgGCCStrik" - "e15_v2_AcknowledgePenalty\020\323G\0226\n1k_EMsgGC" - "CStrike15_v2_Client2GCRequestPrestigeCoi" - "n\020\324G\022.\n)k_EMsgGCCStrike15_v2_GC2ClientGl" - "obalStats\020\325G\022/\n*k_EMsgGCCStrike15_v2_Cli" - "ent2GCStreamUnlock\020\326G\0222\n-k_EMsgGCCStrike" - "15_v2_FantasyRequestClientData\020\327G\0221\n,k_E" - "MsgGCCStrike15_v2_FantasyUpdateClientDat" - "a\020\330G\0227\n2k_EMsgGCCStrike15_v2_GCToClientS" - "teamdatagramTicket\020\331G\0221\n,k_EMsgGCCStrike" - "15_v2_ClientToGCRequestTicket\020\332G\0222\n-k_EM" - "sgGCCStrike15_v2_ClientToGCRequestElevat" - "e\020\333G\022$\n\037k_EMsgGCCStrike15_v2_GlobalChat\020" - "\334G\022.\n)k_EMsgGCCStrike15_v2_GlobalChat_Su" - "bscribe\020\335G\0220\n+k_EMsgGCCStrike15_v2_Globa" - "lChat_Unsubscribe\020\336G\022+\n&k_EMsgGCCStrike1" - "5_v2_ClientAuthKeyCode\020\337G\022(\n#k_EMsgGCCSt" - "rike15_v2_GotvSyncPacket\020\340G\022/\n*k_EMsgGCC" - "Strike15_v2_ClientPlayerDecalSign\020\341G\022/\n*" - "k_EMsgGCCStrike15_v2_ClientLogonFatalErr" - "or\020\343G\022)\n$k_EMsgGCCStrike15_v2_ClientPoll" - "State\020\344G\022(\n#k_EMsgGCCStrike15_v2_Party_R" - "egister\020\345G\022*\n%k_EMsgGCCStrike15_v2_Party" - "_Unregister\020\346G\022&\n!k_EMsgGCCStrike15_v2_P" - "arty_Search\020\347G\022&\n!k_EMsgGCCStrike15_v2_P" - "arty_Invite\020\350G\0220\n+k_EMsgGCCStrike15_v2_A" - "ccount_RequestCoPlays\020\351G\022,\n\'k_EMsgGCCStr" - "ike15_v2_ClientGCRankUpdate\020\352G\022-\n(k_EMsg" - "GCCStrike15_v2_ClientRequestOffers\020\353G\022.\n" - ")k_EMsgGCCStrike15_v2_ClientAccountBalan" - "ce\020\354G\022.\n)k_EMsgGCCStrike15_v2_ClientPart" - "yJoinRelay\020\355G\022,\n\'k_EMsgGCCStrike15_v2_Cl" - "ientPartyWarning\020\356G\022*\n%k_EMsgGCCStrike15" - "_v2_SetEventFavorite\020\360G\0223\n.k_EMsgGCCStri" - "ke15_v2_GetEventFavorites_Request\020\361G\022*\n%" - "k_EMsgGCCStrike15_v2_ClientPerfReport\020\362G" - "\0224\n/k_EMsgGCCStrike15_v2_GetEventFavorit" - "es_Response\020\363G\022/\n*k_EMsgGCCStrike15_v2_C" - "lientRequestSouvenir\020\364G\0220\n+k_EMsgGCCStri" - "ke15_v2_ClientReportValidation\020\365G\0223\n.k_E" - "MsgGCCStrike15_v2_GC2ClientRefuseSecureM" - "ode\020\366G\0224\n/k_EMsgGCCStrike15_v2_GC2Client" - "RequestValidation\020\367G\0223\n.k_EMsgGCCStrike1" - "5_v2_ClientRedeemMissionReward\020\371G\022&\n!k_E" - "MsgGCCStrike15_ClientDeepStats\020\372G\0222\n-k_E" - "MsgGCCStrike15_StartAgreementSessionInGa" - "me\020\373G\022-\n(k_EMsgGCCStrike15_v2_GC2ClientI" - "nitSystem\020\374G\0226\n1k_EMsgGCCStrike15_v2_GC2" - "ClientInitSystem_Response\020\375G\022\'\n\"k_EMsgGC" - "CStrike15_v2_PrivateQueues\020\376G\0229\n4k_EMsgG" - "CCStrike15_v2_MatchListTournamentOperato" - "rMgmt\020\377G\022(\n#k_EMsgGCCStrike15_v2_BetaEnr" - "ollment\020\201H\0226\n1k_EMsgGCCStrike15_v2_SetPl" - "ayerLeaderboardSafeName\020\202H\0220\n+k_EMsgGCCS" - "trike15_v2_ClientRedeemFreeReward\020\203H\022-\n(" - "k_EMsgGCCStrike15_v2_ClientNetworkConfig" - "\020\204H\022/\n*k_EMsgGCCStrike15_v2_GC2ClientNot" - "ifyXPShop\020\205H\0222\n-k_EMsgGCCStrike15_v2_Cli" - "ent2GcAckXPShopTracks\020\206H\0229\n4k_EMsgGCCStr" - "ike15_v2_MatchmakingGC2ClientSearchStats" - "\020\207H\022.\n)k_EMsgGCCStrike15_v2_PremierSeaso" - "nSummary\020\210H\0229\n4k_EMsgGCCStrike15_v2_Requ" - "estRecurringMissionSchedule\020\211H\0220\n+k_EMsg" - "GCCStrike15_v2_RecurringMissionSchema\020\212H" - "\0221\n,k_EMsgGCCStrike15_v2_VolatileItemCla" - "imReward\020\213H*\230\001\n\022ECsgoSteamUserStat\022&\n\"k_" - "ECsgoSteamUserStat_XpEarnedGames\020\001\022-\n)k_" - "ECsgoSteamUserStat_MatchWinsCompetitive\020" - "\002\022+\n\'k_ECsgoSteamUserStat_SurvivedDanger" - "Zone\020\003*J\n\tQuestType\022\032\n\026k_EQuestType_Oper" - "ation\020\001\022!\n\035k_EQuestType_RecurringMission" - "\020\002*\241\001\n\027EClientReportingVersion\022(\n$k_ECli" - "entReportingVersion_OldVersion\020\000\022)\n%k_EC" - "lientReportingVersion_BetaVersion\020\001\0221\n-k" - "_EClientReportingVersion_SupportsTrusted" - "Mode\020\002*\276\002\n\021EInitSystemResult\022\037\n\033k_EInitS" - "ystemResult_Invalid\020\000\022\037\n\033k_EInitSystemRe" - "sult_Success\020\001\022\034\n\030k_EInitSystemResult_No" - "ne\020\002\022 \n\034k_EInitSystemResult_NotFound\020\003\022 " - "\n\034k_EInitSystemResult_Existing\020\004\022\"\n\036k_EI" - "nitSystemResult_FailedOpen\020\005\022 \n\034k_EInitS" - "ystemResult_Mismatch\020\006\022\"\n\036k_EInitSystemR" - "esult_FailedInit\020\007\022\033\n\027k_EInitSystemResul" - "t_Max\020\010" + "(\r\022\026\n\016highlight_reel\030\013 \001(\r\022\027\n\017wrapped_st" + "icker\030\014 \001(\r\"b\n2CMsgGCCStrike15_v2_MatchE" + "ndRewardDropsNotification\022,\n\010iteminfo\030\006 " + "\001(\0132\032.CEconItemPreviewDataBlock\"D\n\024CMsgI" + "temAcknowledged\022,\n\010iteminfo\030\001 \001(\0132\032.CEco" + "nItemPreviewDataBlock\"}\n7CMsgGCCStrike15" + "_v2_Client2GCEconPreviewDataBlockRequest" + "\022\017\n\007param_s\030\001 \001(\004\022\017\n\007param_a\030\002 \001(\004\022\017\n\007pa" + "ram_d\030\003 \001(\004\022\017\n\007param_m\030\004 \001(\004\"h\n8CMsgGCCS" + "trike15_v2_Client2GCEconPreviewDataBlock" + "Response\022,\n\010iteminfo\030\001 \001(\0132\032.CEconItemPr" + "eviewDataBlock\"5\n3CMsgGCCStrike15_v2_Mat" + "chListRequestCurrentLiveGames\"G\n2CMsgGCC" + "Strike15_v2_MatchListRequestLiveGameForU" + "ser\022\021\n\taccountid\030\001 \001(\r\"G\n2CMsgGCCStrike1" + "5_v2_MatchListRequestRecentUserGames\022\021\n\t" + "accountid\030\001 \001(\r\"E\n2CMsgGCCStrike15_v2_Ma" + "tchListRequestTournamentGames\022\017\n\007eventid" + "\030\001 \001(\005\"d\n/CMsgGCCStrike15_v2_MatchListRe" + "questFullGameInfo\022\017\n\007matchid\030\001 \001(\004\022\021\n\tou" + "tcomeid\030\002 \001(\004\022\r\n\005token\030\003 \001(\r\"\210\002\n\035CDataGC" + "CStrike15_v2_MatchInfo\022\017\n\007matchid\030\001 \001(\004\022" + "\021\n\tmatchtime\030\002 \001(\r\022/\n\022watchablematchinfo" + "\030\003 \001(\0132\023.WatchableMatchInfo\022J\n\021roundstat" + "s_legacy\030\004 \001(\0132/.CMsgGCCStrike15_v2_Matc" + "hmakingServerRoundStats\022F\n\rroundstatsall" + "\030\005 \003(\0132/.CMsgGCCStrike15_v2_MatchmakingS" + "erverRoundStats\"^\n\'CDataGCCStrike15_v2_T" + "ournamentGroupTeam\022\017\n\007team_id\030\001 \001(\005\022\r\n\005s" + "core\030\002 \001(\005\022\023\n\013correctpick\030\003 \001(\010\"\331\002\n#CDat" + "aGCCStrike15_v2_TournamentGroup\022\017\n\007group" + "id\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n\004desc\030\003 \001(\t\022\031\n\021" + "picks__deprecated\030\004 \001(\r\0227\n\005teams\030\005 \003(\0132(" + ".CDataGCCStrike15_v2_TournamentGroupTeam" + "\022\021\n\tstage_ids\030\006 \003(\005\022\031\n\021picklockuntiltime" + "\030\007 \001(\r\022\025\n\rpickableteams\030\010 \001(\r\022\027\n\017points_" + "per_pick\030\t \001(\r\0229\n\005picks\030\n \003(\0132*.CDataGCC" + "Strike15_v2_TournamentGroup.Picks\032\030\n\005Pic" + "ks\022\017\n\007pickids\030\001 \003(\005\"\214\001\n%CDataGCCStrike15" + "_v2_TournamentSection\022\021\n\tsectionid\030\001 \001(\r" + "\022\014\n\004name\030\002 \001(\t\022\014\n\004desc\030\003 \001(\t\0224\n\006groups\030\004" + " \003(\0132$.CDataGCCStrike15_v2_TournamentGro" + "up\"\265\001\n\"CDataGCCStrike15_v2_TournamentInf" + "o\0228\n\010sections\030\001 \003(\0132&.CDataGCCStrike15_v" + "2_TournamentSection\022*\n\020tournament_event\030" + "\002 \001(\0132\020.TournamentEvent\022)\n\020tournament_te" + "ams\030\003 \003(\0132\017.TournamentTeam\"\353\001\n\034CMsgGCCSt" + "rike15_v2_MatchList\022\024\n\014msgrequestid\030\001 \001(" + "\r\022\021\n\taccountid\030\002 \001(\r\022\022\n\nservertime\030\003 \001(\r" + "\022/\n\007matches\030\004 \003(\0132\036.CDataGCCStrike15_v2_" + "MatchInfo\022 \n\007streams\030\005 \003(\0132\017.TournamentT" + "eam\022;\n\016tournamentinfo\030\006 \001(\0132#.CDataGCCSt" + "rike15_v2_TournamentInfo\"\211\001\n2CMsgGCCStri" + "ke15_v2_MatchListTournamentOperatorMgmt\022" + "\017\n\007eventid\030\001 \001(\005\022/\n\007matches\030\002 \003(\0132\036.CDat" + "aGCCStrike15_v2_MatchInfo\022\021\n\taccountid\030\003" + " \001(\r\"\357\001\n\036CMsgGCCStrike15_v2_Predictions\022" + "\020\n\010event_id\030\001 \001(\r\022R\n\026group_match_team_pi" + "cks\030\002 \003(\01322.CMsgGCCStrike15_v2_Predictio" + "ns.GroupMatchTeamPick\032g\n\022GroupMatchTeamP" + "ick\022\021\n\tsectionid\030\001 \001(\005\022\017\n\007groupid\030\002 \001(\005\022" + "\r\n\005index\030\003 \001(\005\022\016\n\006teamid\030\004 \001(\005\022\016\n\006itemid" + "\030\005 \001(\004\"\373\001\n\032CMsgGCCStrike15_v2_Fantasy\022\020\n" + "\010event_id\030\001 \001(\r\0226\n\005teams\030\002 \003(\0132\'.CMsgGCC" + "Strike15_v2_Fantasy.FantasyTeam\0329\n\013Fanta" + "sySlot\022\014\n\004type\030\001 \001(\005\022\014\n\004pick\030\002 \001(\005\022\016\n\006it" + "emid\030\003 \001(\004\032X\n\013FantasyTeam\022\021\n\tsectionid\030\001" + " \001(\005\0226\n\005slots\030\002 \003(\0132\'.CMsgGCCStrike15_v2" + "_Fantasy.FantasySlot\"\"\n\021CAttribute_Strin" + "g\022\r\n\005value\030\001 \001(\t\"\316\003\n\036CMsgLegacySource1Cl" + "ientWelcome\022\017\n\007version\030\001 \001(\r\022\021\n\tgame_dat" + "a\030\002 \001(\014\022;\n\033outofdate_subscribed_caches\030\003" + " \003(\0132\026.CMsgSOCacheSubscribed\022A\n\032uptodate" + "_subscribed_caches\030\004 \003(\0132\035.CMsgSOCacheSu" + "bscriptionCheck\022:\n\010location\030\005 \001(\0132(.CMsg" + "LegacySource1ClientWelcome.Location\022\022\n\ng" + "ame_data2\030\006 \001(\014\022$\n\034rtime32_gc_welcome_ti" + "mestamp\030\007 \001(\r\022\020\n\010currency\030\010 \001(\r\022\017\n\007balan" + "ce\030\t \001(\r\022\023\n\013balance_url\030\n \001(\t\022\030\n\020txn_cou" + "ntry_code\030\013 \001(\t\032@\n\010Location\022\020\n\010latitude\030" + "\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\022\017\n\007country\030\003 \001(" + "\t\"\304\001\n\024CMsgCStrike15Welcome\022\027\n\017store_item" + "_hash\030\005 \001(\r\022\037\n\027timeplayedconsecutively\030\006" + " \001(\r\022\031\n\021time_first_played\030\n \001(\r\022\030\n\020last_" + "time_played\030\014 \001(\r\022\027\n\017last_ip_address\030\r \001" + "(\r\022\022\n\ngscookieid\030\022 \001(\004\022\020\n\010uniqueid\030\023 \001(\004" + "\"\233\001\n1CMsgGCCStrike15_v2_ClientVarValueNo" + "tificationInfo\022\022\n\nvalue_name\030\001 \001(\t\022\021\n\tva" + "lue_int\030\002 \001(\005\022\023\n\013server_addr\030\003 \001(\r\022\023\n\013se" + "rver_port\030\004 \001(\r\022\025\n\rchoked_blocks\030\005 \003(\t\"z" + "\n1CMsgGCCStrike15_v2_ServerVarValueNotif" + "icationInfo\022\021\n\taccountid\030\001 \001(\r\022\022\n\nviewan" + "gles\030\002 \003(\r\022\014\n\004type\030\003 \001(\r\022\020\n\010userdata\030\004 \003" + "(\r\",\n*CMsgGCCStrike15_v2_GiftsLeaderboar" + "dRequest\"\235\002\n+CMsgGCCStrike15_v2_GiftsLea" + "derboardResponse\022\022\n\nservertime\030\001 \001(\r\022\033\n\023" + "time_period_seconds\030\002 \001(\r\022\031\n\021total_gifts" + "_given\030\003 \001(\r\022\024\n\014total_givers\030\004 \001(\r\022R\n\007en" + "tries\030\005 \003(\0132A.CMsgGCCStrike15_v2_GiftsLe" + "aderboardResponse.GiftLeaderboardEntry\0328" + "\n\024GiftLeaderboardEntry\022\021\n\taccountid\030\001 \001(" + "\r\022\r\n\005gifts\030\002 \001(\r\"L\n)CMsgGCCStrike15_v2_C" + "lientSubmitSurveyVote\022\021\n\tsurvey_id\030\001 \001(\r" + "\022\014\n\004vote\030\002 \001(\r\"\?\n*CMsgGCCStrike15_v2_Ser" + "ver2GCClientValidate\022\021\n\taccountid\030\001 \001(\r\"" + "r\n*CMsgGCCStrike15_v2_GC2ClientTournamen" + "tInfo\022\017\n\007eventid\030\001 \001(\r\022\017\n\007stageid\030\002 \001(\r\022" + "\021\n\tgame_type\030\003 \001(\r\022\017\n\007teamids\030\004 \003(\r\"O\n\rC" + "SOEconCoupon\022\025\n\007entryid\030\001 \001(\rB\004\200\246\035\001\022\016\n\006d" + "efidx\030\002 \001(\r\022\027\n\017expiration_date\030\003 \001(\007\"a\n\033" + "CSOAccountItemPersonalStore\022\027\n\017generatio" + "n_time\030\001 \001(\r\022\032\n\022redeemable_balance\030\002 \001(\r" + "\022\r\n\005items\030\003 \003(\004\"Z\n\020CSOAccountXpShop\022\027\n\017g" + "eneration_time\030\001 \001(\r\022\032\n\022redeemable_balan" + "ce\030\002 \001(\r\022\021\n\txp_tracks\030\003 \003(\r\"z\n\024CSOAccoun" + "tXpShopBids\022\031\n\013campaign_id\030\001 \001(\rB\004\200\246\035\001\022\027" + "\n\tredeem_id\030\002 \001(\rB\004\200\246\035\001\022\025\n\rexpected_cost" + "\030\003 \001(\r\022\027\n\017generation_time\030\004 \001(\r\"Z\n\024CSOVo" + "latileItemOffer\022\024\n\006defidx\030\001 \001(\rB\004\200\246\035\001\022\023\n" + "\013faux_itemid\030\002 \003(\004\022\027\n\017generation_time\030\003 " + "\003(\r\"^\n\035CSOVolatileItemClaimedRewards\022\024\n\006" + "defidx\030\001 \001(\rB\004\200\246\035\001\022\016\n\006reward\030\002 \003(\r\022\027\n\017ge" + "neration_time\030\003 \003(\r\"6\n#CSOAccountKeychai" + "nRemoveToolCharges\022\017\n\007charges\030\001 \001(\r\"Y\n\020C" + "SOQuestProgress\022\025\n\007questid\030\001 \001(\rB\004\200\246\035\001\022\030" + "\n\020points_remaining\030\002 \001(\r\022\024\n\014bonus_points" + "\030\003 \001(\r\"\315\001\n\033CSOAccountSeasonalOperation\022\032" + "\n\014season_value\030\001 \001(\rB\004\200\246\035\001\022\025\n\rtier_unloc" + "ked\030\002 \001(\r\022\025\n\rpremium_tiers\030\003 \001(\r\022\022\n\nmiss" + "ion_id\030\004 \001(\r\022\032\n\022missions_completed\030\005 \001(\r" + "\022\032\n\022redeemable_balance\030\006 \001(\r\022\030\n\020season_p" + "ass_time\030\007 \001(\r\"R\n\037CSOAccountRecurringSub" + "scription\022\027\n\017time_next_cycle\030\001 \001(\r\022\026\n\016ti" + "me_initiated\030\002 \001(\r\"c\n\030CSOGameAccountStea" + "mChina\022\030\n\020time_last_update\030\001 \001(\r\022\026\n\016time" + "_comms_ban\030\002 \001(\r\022\025\n\rtime_play_ban\030\003 \001(\r\"" + "\257\001\n\024CSOPersonaDataPublic\022\024\n\014player_level" + "\030\001 \001(\005\022-\n\014commendation\030\002 \001(\0132\027.PlayerCom" + "mendationInfo\022\026\n\016elevated_state\030\003 \001(\010\022\"\n" + "\032xp_trail_timestamp_refresh\030\004 \001(\r\022\026\n\016xp_" + "trail_level\030\005 \001(\r\"f\n\032CSOAccountRecurring" + "Mission\022\022\n\naccount_id\030\001 \001(\r\022\022\n\nmission_i" + "d\030\002 \001(\r\022\016\n\006period\030\003 \001(\r\022\020\n\010progress\030\004 \001(" + "\r\"\240\001\n(CMsgGCCStrike15_v2_GC2ClientNotify" + "XPShop\022#\n\010prematch\030\001 \001(\0132\021.CSOAccountXpS" + "hop\022$\n\tpostmatch\030\002 \001(\0132\021.CSOAccountXpSho" + "p\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\rcurrent_level\030\004" + " \001(\r\"-\n+CMsgGCCStrike15_v2_Client2GcAckX" + "PShopTracks\"\251\001\n2CMsgGCCStrike15_v2_Match" + "makingGC2ClientSearchStats\022\026\n\016gs_locatio" + "n_id\030\001 \001(\r\022\026\n\016data_center_id\030\002 \001(\r\022\025\n\rnu" + "m_locked_in\030\003 \001(\r\022\030\n\020num_found_nearby\030\004 " + "\001(\r\022\022\n\nnote_level\030\005 \001(\r\"-\n\033CMsgGC_Global" + "Game_Subscribe\022\016\n\006ticket\030\001 \001(\004\"1\n\035CMsgGC" + "_GlobalGame_Unsubscribe\022\020\n\010timeleft\030\001 \001(" + "\005\"P\n\026CMsgGC_GlobalGame_Play\022\016\n\006ticket\030\001 " + "\001(\004\022\022\n\ngametimems\030\002 \001(\r\022\022\n\nmsperpoint\030\003 " + "\001(\r\"=\n%CMsgGCCStrike15_v2_AcknowledgePen" + "alty\022\024\n\014acknowledged\030\001 \001(\005\"{\n/CMsgGCCStr" + "ike15_v2_Client2GCRequestPrestigeCoin\022\020\n" + "\010defindex\030\001 \001(\r\022\021\n\tupgradeid\030\002 \001(\004\022\r\n\005ho" + "urs\030\003 \001(\r\022\024\n\014prestigetime\030\004 \001(\r\"F\n(CMsgG" + "CCStrike15_v2_Client2GCStreamUnlock\022\016\n\006t" + "icket\030\001 \001(\004\022\n\n\002os\030\002 \001(\005\"<\n+CMsgGCCStrike" + "15_v2_ClientToGCRequestElevate\022\r\n\005stage\030" + "\001 \001(\r\"C\n!CMsgGCCStrike15_v2_ClientToGCCh" + "at\022\020\n\010match_id\030\001 \001(\004\022\014\n\004text\030\002 \001(\t\"E\n!CM" + "sgGCCStrike15_v2_GCToClientChat\022\022\n\naccou" + "nt_id\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\"E\n$CMsgGCCStri" + "ke15_v2_ClientAuthKeyCode\022\017\n\007eventid\030\001 \001" + "(\r\022\014\n\004code\030\002 \001(\t\"F\n\036CMsgGCCStrike15_Gotv" + "SyncPacket\022$\n\004data\030\001 \001(\0132\026.CEngineGotvSy" + "ncPacket\"\223\002\n\033PlayerDecalDigitalSignature" + "\022\021\n\tsignature\030\001 \001(\014\022\021\n\taccountid\030\002 \001(\r\022\r" + "\n\005rtime\030\003 \001(\r\022\016\n\006endpos\030\004 \003(\002\022\020\n\010startpo" + "s\030\005 \003(\002\022\014\n\004left\030\006 \003(\002\022\021\n\ttx_defidx\030\007 \001(\r" + "\022\020\n\010entindex\030\010 \001(\005\022\016\n\006hitbox\030\t \001(\r\022\024\n\014cr" + "eationtime\030\n \001(\002\022\021\n\tequipslot\030\013 \001(\r\022\020\n\010t" + "race_id\030\014 \001(\r\022\016\n\006normal\030\r \003(\002\022\017\n\007tint_id" + "\030\016 \001(\r\"f\n(CMsgGCCStrike15_v2_ClientPlaye" + "rDecalSign\022*\n\004data\030\001 \001(\0132\034.PlayerDecalDi" + "gitalSignature\022\016\n\006itemid\030\002 \001(\004\"4\n!CMsgGC" + "CStrike15_v2_BetaEnrollment\022\017\n\007eresult\030\001" + " \001(\r\"_\n(CMsgGCCStrike15_v2_ClientLogonFa" + "talError\022\021\n\terrorcode\030\001 \001(\r\022\017\n\007message\030\002" + " \001(\t\022\017\n\007country\030\003 \001(\t\"S\n\"CMsgGCCStrike15" + "_v2_ClientPollState\022\016\n\006pollid\030\001 \001(\r\022\r\n\005n" + "ames\030\002 \003(\t\022\016\n\006values\030\003 \003(\005\"\244\001\n!CMsgGCCSt" + "rike15_v2_Party_Register\022\n\n\002id\030\001 \001(\r\022\013\n\003" + "ver\030\002 \001(\r\022\013\n\003apr\030\003 \001(\r\022\013\n\003ark\030\004 \001(\r\022\013\n\003n" + "by\030\005 \001(\r\022\013\n\003grp\030\006 \001(\r\022\r\n\005slots\030\007 \001(\r\022\020\n\010" + "launcher\030\010 \001(\r\022\021\n\tgame_type\030\t \001(\r\"{\n\037CMs" + "gGCCStrike15_v2_Party_Search\022\013\n\003ver\030\001 \001(" + "\r\022\013\n\003apr\030\002 \001(\r\022\013\n\003ark\030\003 \001(\r\022\014\n\004grps\030\004 \003(" + "\r\022\020\n\010launcher\030\005 \001(\r\022\021\n\tgame_type\030\006 \001(\r\"\327" + "\001\n&CMsgGCCStrike15_v2_Party_SearchResult" + "s\022>\n\007entries\030\001 \003(\0132-.CMsgGCCStrike15_v2_" + "Party_SearchResults.Entry\032m\n\005Entry\022\n\n\002id" + "\030\001 \001(\r\022\013\n\003grp\030\002 \001(\r\022\021\n\tgame_type\030\003 \001(\r\022\013" + "\n\003apr\030\004 \001(\r\022\013\n\003ark\030\005 \001(\r\022\013\n\003loc\030\006 \001(\r\022\021\n" + "\taccountid\030\007 \001(\r\"E\n\037CMsgGCCStrike15_v2_P" + "arty_Invite\022\021\n\taccountid\030\001 \001(\r\022\017\n\007lobbyi" + "d\030\002 \001(\r\"\302\001\n)CMsgGCCStrike15_v2_Account_R" + "equestCoPlays\022B\n\007players\030\001 \003(\01321.CMsgGCC" + "Strike15_v2_Account_RequestCoPlays.Playe" + "r\022\022\n\nservertime\030\002 \001(\r\032=\n\006Player\022\021\n\taccou" + "ntid\030\001 \001(\r\022\020\n\010rtcoplay\030\002 \001(\r\022\016\n\006online\030\003" + " \001(\010\"\244\001\n*CMsgGCCStrike15_v2_ClientToGCRe" + "questTicket\022\033\n\023authorized_steam_id\030\001 \001(\006" + "\022\034\n\024authorized_public_ip\030\002 \001(\007\022\033\n\023gamese" + "rver_steam_id\030\003 \001(\006\022\036\n\026gameserver_sdr_ro" + "uting\030\005 \001(\t\">\n!CMsgGCToClientSteamDatagr" + "amTicket\022\031\n\021serialized_ticket\030\020 \001(\014\"(\n&C" + "MsgGCCStrike15_v2_ClientRequestOffers\"\\\n" + "(CMsgGCCStrike15_v2_ClientRequestSouveni" + "r\022\016\n\006itemid\030\001 \001(\004\022\017\n\007matchid\030\002 \001(\004\022\017\n\007ev" + "entid\030\003 \001(\005\"F\n\'CMsgGCCStrike15_v2_Client" + "AccountBalance\022\016\n\006amount\030\001 \001(\004\022\013\n\003url\030\002 " + "\001(\t\"M\n\'CMsgGCCStrike15_v2_ClientPartyJoi" + "nRelay\022\021\n\taccountid\030\001 \001(\r\022\017\n\007lobbyid\030\002 \001" + "(\004\"\224\001\n%CMsgGCCStrike15_v2_ClientPartyWar" + "ning\022=\n\007entries\030\001 \003(\0132,.CMsgGCCStrike15_" + "v2_ClientPartyWarning.Entry\032,\n\005Entry\022\021\n\t" + "accountid\030\001 \001(\r\022\020\n\010warntype\030\002 \001(\r\"K\n#CMs" + "gGCCStrike15_v2_SetEventFavorite\022\017\n\007even" + "tid\030\001 \001(\004\022\023\n\013is_favorite\030\002 \001(\010\"B\n,CMsgGC" + "CStrike15_v2_GetEventFavorites_Request\022\022" + "\n\nall_events\030\001 \001(\010\"r\n-CMsgGCCStrike15_v2" + "_GetEventFavorites_Response\022\022\n\nall_event" + "s\030\001 \001(\010\022\026\n\016json_favorites\030\002 \001(\t\022\025\n\rjson_" + "featured\030\003 \001(\t\"\325\001\n#CMsgGCCStrike15_v2_Cl" + "ientPerfReport\022;\n\007entries\030\001 \003(\0132*.CMsgGC" + "CStrike15_v2_ClientPerfReport.Entry\032q\n\005E" + "ntry\022\023\n\013perfcounter\030\001 \001(\r\022\016\n\006length\030\002 \001(" + "\r\022\021\n\treference\030\003 \001(\014\022\016\n\006actual\030\004 \001(\014\022\020\n\010" + "sourceid\030\005 \001(\r\022\016\n\006status\030\006 \001(\r\"Q\n\014CVDiag" + "nostic\022\n\n\002id\030\001 \001(\r\022\020\n\010extended\030\002 \001(\r\022\r\n\005" + "value\030\003 \001(\004\022\024\n\014string_value\030\004 \001(\t\"\360\003\n)CM" + "sgGCCStrike15_v2_ClientReportValidation\022" + "\023\n\013file_report\030\001 \001(\t\022\024\n\014command_line\030\002 \001" + "(\t\022\023\n\013total_files\030\003 \001(\r\022\026\n\016internal_erro" + "r\030\004 \001(\r\022\022\n\ntrust_time\030\005 \001(\r\022\025\n\rcount_pen" + "ding\030\006 \001(\r\022\027\n\017count_completed\030\007 \001(\r\022\022\n\np" + "rocess_id\030\010 \001(\r\022\021\n\tosversion\030\t \001(\005\022\033\n\023cl" + "ientreportversion\030\n \001(\r\022\021\n\tstatus_id\030\013 \001" + "(\r\022\023\n\013diagnostic1\030\014 \001(\r\022\023\n\013diagnostic2\030\r" + " \001(\004\022\023\n\013diagnostic3\030\016 \001(\004\022\030\n\020last_launch" + "_data\030\017 \001(\t\022\024\n\014report_count\030\020 \001(\r\022\023\n\013cli" + "ent_time\030\021 \001(\004\022\023\n\013diagnostic4\030\022 \001(\004\022\023\n\013d" + "iagnostic5\030\023 \001(\004\022\"\n\013diagnostics\030\024 \003(\0132\r." + "CVDiagnostic\"\250\002\n,CMsgGCCStrike15_v2_GC2C" + "lientRefuseSecureMode\022\023\n\013file_report\030\001 \001" + "(\t\022\033\n\023offer_insecure_mode\030\002 \001(\010\022\031\n\021offer" + "_secure_mode\030\003 \001(\010\022\030\n\020show_unsigned_ui\030\004" + " \001(\010\022\021\n\tkick_user\030\005 \001(\010\022\027\n\017show_trusted_" + "ui\030\006 \001(\010\022 \n\030show_warning_not_trusted\030\007 \001" + "(\010\022\"\n\032show_warning_not_trusted_2\030\010 \001(\010\022\037" + "\n\027files_prevented_trusted\030\t \001(\t\"T\n-CMsgG" + "CCStrike15_v2_GC2ClientRequestValidation" + "\022\023\n\013full_report\030\001 \001(\010\022\016\n\006module\030\002 \001(\t\"\313\001" + "\n&CMsgGCCStrike15_v2_GC2ClientInitSystem" + "\022\014\n\004load\030\001 \001(\010\022\014\n\004name\030\002 \001(\t\022\022\n\noutputna" + "me\030\003 \001(\t\022\020\n\010key_data\030\004 \001(\014\022\020\n\010sha_hash\030\005" + " \001(\014\022\016\n\006cookie\030\006 \001(\005\022\020\n\010manifest\030\007 \001(\t\022\026" + "\n\016system_package\030\010 \001(\014\022\023\n\013load_system\030\t " + "\001(\010\"\245\002\n/CMsgGCCStrike15_v2_GC2ClientInit" + "System_Response\022\017\n\007success\030\001 \001(\010\022\022\n\ndiag" + "nostic\030\002 \001(\t\022\020\n\010sha_hash\030\003 \001(\014\022\020\n\010respon" + "se\030\004 \001(\005\022\023\n\013error_code1\030\005 \001(\005\022\023\n\013error_c" + "ode2\030\006 \001(\005\022\016\n\006handle\030\007 \001(\003\022E\n\014einit_resu" + "lt\030\010 \001(\0162\022.EInitSystemResult:\033k_EInitSys" + "temResult_Invalid\022\023\n\013aux_system1\030\t \001(\005\022\023" + "\n\013aux_system2\030\n \001(\005\"P\n/CMsgGCCStrike15_v" + "2_SetPlayerLeaderboardSafeName\022\035\n\025leader" + "board_safe_name\030\001 \001(\t\"%\n#CMsgRequestRecu" + "rringMissionSchedule\"\241\001\n\032CMsgRecurringMi" + "ssionSchema\022A\n\010missions\030\001 \003(\0132/.CMsgRecu" + "rringMissionSchema.MissionTemplateList\032@" + "\n\023MissionTemplateList\022\016\n\006period\030\001 \001(\r\022\031\n" + "\021mission_templates\030\002 \003(\014*\311*\n\nECsgoGCMsg\022" + "\036\n\031k_EMsgGCCStrike15_v2_Base\020\214G\022*\n%k_EMs" + "gGCCStrike15_v2_MatchmakingStart\020\215G\022)\n$k" + "_EMsgGCCStrike15_v2_MatchmakingStop\020\216G\0226" + "\n1k_EMsgGCCStrike15_v2_MatchmakingClient" + "2ServerPing\020\217G\0224\n/k_EMsgGCCStrike15_v2_M" + "atchmakingGC2ClientUpdate\020\220G\022>\n9k_EMsgGC" + "CStrike15_v2_MatchmakingServerReservatio" + "nResponse\020\222G\0225\n0k_EMsgGCCStrike15_v2_Mat" + "chmakingGC2ClientReserve\020\223G\0223\n.k_EMsgGCC" + "Strike15_v2_MatchmakingClient2GCHello\020\225G" + "\0223\n.k_EMsgGCCStrike15_v2_MatchmakingGC2C" + "lientHello\020\226G\0225\n0k_EMsgGCCStrike15_v2_Ma" + "tchmakingGC2ClientAbandon\020\230G\022:\n5k_EMsgGC" + "CStrike15_v2_MatchmakingOperator2GCBlogU" + "pdate\020\235G\022:\n5k_EMsgGCCStrike15_v2_ServerN" + "otificationForUserPenalty\020\236G\022,\n\'k_EMsgGC" + "CStrike15_v2_ClientReportPlayer\020\237G\022,\n\'k_" + "EMsgGCCStrike15_v2_ClientReportServer\020\240G" + "\022-\n(k_EMsgGCCStrike15_v2_ClientCommendPl" + "ayer\020\241G\022.\n)k_EMsgGCCStrike15_v2_ClientRe" + "portResponse\020\242G\0222\n-k_EMsgGCCStrike15_v2_" + "ClientCommendPlayerQuery\020\243G\022:\n5k_EMsgGCC" + "Strike15_v2_ClientCommendPlayerQueryResp" + "onse\020\244G\022(\n#k_EMsgGCCStrike15_v2_WatchInf" + "oUsers\020\246G\0225\n0k_EMsgGCCStrike15_v2_Client" + "RequestPlayersProfile\020\247G\022(\n#k_EMsgGCCStr" + "ike15_v2_PlayersProfile\020\250G\0223\n.k_EMsgGCCS" + "trike15_v2_PlayerOverwatchCaseUpdate\020\253G\022" + "7\n2k_EMsgGCCStrike15_v2_PlayerOverwatchC" + "aseAssignment\020\254G\0223\n.k_EMsgGCCStrike15_v2" + "_PlayerOverwatchCaseStatus\020\255G\022*\n%k_EMsgG" + "CCStrike15_v2_GC2ClientTextMsg\020\256G\022*\n%k_E" + "MsgGCCStrike15_v2_Client2GCTextMsg\020\257G\0220\n" + "+k_EMsgGCCStrike15_v2_MatchEndRunRewardD" + "rops\020\260G\0229\n4k_EMsgGCCStrike15_v2_MatchEnd" + "RewardDropsNotification\020\261G\0228\n3k_EMsgGCCS" + "trike15_v2_ClientRequestWatchInfoFriends" + "2\020\262G\022#\n\036k_EMsgGCCStrike15_v2_MatchList\020\263" + "G\022:\n5k_EMsgGCCStrike15_v2_MatchListReque" + "stCurrentLiveGames\020\264G\0229\n4k_EMsgGCCStrike" + "15_v2_MatchListRequestRecentUserGames\020\265G" + "\0224\n/k_EMsgGCCStrike15_v2_GC2ServerReserv" + "ationUpdate\020\266G\0228\n3k_EMsgGCCStrike15_v2_C" + "lientVarValueNotificationInfo\020\270G\0229\n4k_EM" + "sgGCCStrike15_v2_MatchListRequestTournam" + "entGames\020\272G\0226\n1k_EMsgGCCStrike15_v2_Matc" + "hListRequestFullGameInfo\020\273G\0221\n,k_EMsgGCC" + "Strike15_v2_GiftsLeaderboardRequest\020\274G\0222" + "\n-k_EMsgGCCStrike15_v2_GiftsLeaderboardR" + "esponse\020\275G\0228\n3k_EMsgGCCStrike15_v2_Serve" + "rVarValueNotificationInfo\020\276G\0220\n+k_EMsgGC" + "CStrike15_v2_ClientSubmitSurveyVote\020\300G\0221" + "\n,k_EMsgGCCStrike15_v2_Server2GCClientVa" + "lidate\020\301G\0229\n4k_EMsgGCCStrike15_v2_MatchL" + "istRequestLiveGameForUser\020\302G\022>\n9k_EMsgGC" + "CStrike15_v2_Client2GCEconPreviewDataBlo" + "ckRequest\020\304G\022\?\n:k_EMsgGCCStrike15_v2_Cli" + "ent2GCEconPreviewDataBlockResponse\020\305G\0220\n" + "+k_EMsgGCCStrike15_v2_AccountPrivacySett" + "ings\020\306G\022+\n&k_EMsgGCCStrike15_v2_SetMyAct" + "ivityInfo\020\307G\022\?\n:k_EMsgGCCStrike15_v2_Mat" + "chListRequestTournamentPredictions\020\310G\022>\n" + "9k_EMsgGCCStrike15_v2_MatchListUploadTou" + "rnamentPredictions\020\311G\022&\n!k_EMsgGCCStrike" + "15_v2_DraftSummary\020\312G\0225\n0k_EMsgGCCStrike" + "15_v2_ClientRequestJoinFriendData\020\313G\0225\n0" + "k_EMsgGCCStrike15_v2_ClientRequestJoinSe" + "rverData\020\314G\0221\n,k_EMsgGCCStrike15_v2_GC2C" + "lientTournamentInfo\020\317G\022\"\n\035k_EMsgGC_Globa" + "lGame_Subscribe\020\320G\022$\n\037k_EMsgGC_GlobalGam" + "e_Unsubscribe\020\321G\022\035\n\030k_EMsgGC_GlobalGame_" + "Play\020\322G\022,\n\'k_EMsgGCCStrike15_v2_Acknowle" + "dgePenalty\020\323G\0226\n1k_EMsgGCCStrike15_v2_Cl" + "ient2GCRequestPrestigeCoin\020\324G\022.\n)k_EMsgG" + "CCStrike15_v2_GC2ClientGlobalStats\020\325G\022/\n" + "*k_EMsgGCCStrike15_v2_Client2GCStreamUnl" + "ock\020\326G\0222\n-k_EMsgGCCStrike15_v2_FantasyRe" + "questClientData\020\327G\0221\n,k_EMsgGCCStrike15_" + "v2_FantasyUpdateClientData\020\330G\0227\n2k_EMsgG" + "CCStrike15_v2_GCToClientSteamdatagramTic" + "ket\020\331G\0221\n,k_EMsgGCCStrike15_v2_ClientToG" + "CRequestTicket\020\332G\0222\n-k_EMsgGCCStrike15_v" + "2_ClientToGCRequestElevate\020\333G\022$\n\037k_EMsgG" + "CCStrike15_v2_GlobalChat\020\334G\022.\n)k_EMsgGCC" + "Strike15_v2_GlobalChat_Subscribe\020\335G\0220\n+k" + "_EMsgGCCStrike15_v2_GlobalChat_Unsubscri" + "be\020\336G\022+\n&k_EMsgGCCStrike15_v2_ClientAuth" + "KeyCode\020\337G\022(\n#k_EMsgGCCStrike15_v2_GotvS" + "yncPacket\020\340G\022/\n*k_EMsgGCCStrike15_v2_Cli" + "entPlayerDecalSign\020\341G\022/\n*k_EMsgGCCStrike" + "15_v2_ClientLogonFatalError\020\343G\022)\n$k_EMsg" + "GCCStrike15_v2_ClientPollState\020\344G\022(\n#k_E" + "MsgGCCStrike15_v2_Party_Register\020\345G\022*\n%k" + "_EMsgGCCStrike15_v2_Party_Unregister\020\346G\022" + "&\n!k_EMsgGCCStrike15_v2_Party_Search\020\347G\022" + "&\n!k_EMsgGCCStrike15_v2_Party_Invite\020\350G\022" + "0\n+k_EMsgGCCStrike15_v2_Account_RequestC" + "oPlays\020\351G\022,\n\'k_EMsgGCCStrike15_v2_Client" + "GCRankUpdate\020\352G\022-\n(k_EMsgGCCStrike15_v2_" + "ClientRequestOffers\020\353G\022.\n)k_EMsgGCCStrik" + "e15_v2_ClientAccountBalance\020\354G\022.\n)k_EMsg" + "GCCStrike15_v2_ClientPartyJoinRelay\020\355G\022," + "\n\'k_EMsgGCCStrike15_v2_ClientPartyWarnin" + "g\020\356G\022*\n%k_EMsgGCCStrike15_v2_SetEventFav" + "orite\020\360G\0223\n.k_EMsgGCCStrike15_v2_GetEven" + "tFavorites_Request\020\361G\022*\n%k_EMsgGCCStrike" + "15_v2_ClientPerfReport\020\362G\0224\n/k_EMsgGCCSt" + "rike15_v2_GetEventFavorites_Response\020\363G\022" + "/\n*k_EMsgGCCStrike15_v2_ClientRequestSou" + "venir\020\364G\0220\n+k_EMsgGCCStrike15_v2_ClientR" + "eportValidation\020\365G\0223\n.k_EMsgGCCStrike15_" + "v2_GC2ClientRefuseSecureMode\020\366G\0224\n/k_EMs" + "gGCCStrike15_v2_GC2ClientRequestValidati" + "on\020\367G\0223\n.k_EMsgGCCStrike15_v2_ClientRede" + "emMissionReward\020\371G\022&\n!k_EMsgGCCStrike15_" + "ClientDeepStats\020\372G\0222\n-k_EMsgGCCStrike15_" + "StartAgreementSessionInGame\020\373G\022-\n(k_EMsg" + "GCCStrike15_v2_GC2ClientInitSystem\020\374G\0226\n" + "1k_EMsgGCCStrike15_v2_GC2ClientInitSyste" + "m_Response\020\375G\022\'\n\"k_EMsgGCCStrike15_v2_Pr" + "ivateQueues\020\376G\0229\n4k_EMsgGCCStrike15_v2_M" + "atchListTournamentOperatorMgmt\020\377G\022(\n#k_E" + "MsgGCCStrike15_v2_BetaEnrollment\020\201H\0226\n1k" + "_EMsgGCCStrike15_v2_SetPlayerLeaderboard" + "SafeName\020\202H\0220\n+k_EMsgGCCStrike15_v2_Clie" + "ntRedeemFreeReward\020\203H\022-\n(k_EMsgGCCStrike" + "15_v2_ClientNetworkConfig\020\204H\022/\n*k_EMsgGC" + "CStrike15_v2_GC2ClientNotifyXPShop\020\205H\0222\n" + "-k_EMsgGCCStrike15_v2_Client2GcAckXPShop" + "Tracks\020\206H\0229\n4k_EMsgGCCStrike15_v2_Matchm" + "akingGC2ClientSearchStats\020\207H\022.\n)k_EMsgGC" + "CStrike15_v2_PremierSeasonSummary\020\210H\0229\n4" + "k_EMsgGCCStrike15_v2_RequestRecurringMis" + "sionSchedule\020\211H\0220\n+k_EMsgGCCStrike15_v2_" + "RecurringMissionSchema\020\212H\0221\n,k_EMsgGCCSt" + "rike15_v2_VolatileItemClaimReward\020\213H*\230\001\n" + "\022ECsgoSteamUserStat\022&\n\"k_ECsgoSteamUserS" + "tat_XpEarnedGames\020\001\022-\n)k_ECsgoSteamUserS" + "tat_MatchWinsCompetitive\020\002\022+\n\'k_ECsgoSte" + "amUserStat_SurvivedDangerZone\020\003*J\n\tQuest" + "Type\022\032\n\026k_EQuestType_Operation\020\001\022!\n\035k_EQ" + "uestType_RecurringMission\020\002*\241\001\n\027EClientR" + "eportingVersion\022(\n$k_EClientReportingVer" + "sion_OldVersion\020\000\022)\n%k_EClientReportingV" + "ersion_BetaVersion\020\001\0221\n-k_EClientReporti" + "ngVersion_SupportsTrustedMode\020\002*\276\002\n\021EIni" + "tSystemResult\022\037\n\033k_EInitSystemResult_Inv" + "alid\020\000\022\037\n\033k_EInitSystemResult_Success\020\001\022" + "\034\n\030k_EInitSystemResult_None\020\002\022 \n\034k_EInit" + "SystemResult_NotFound\020\003\022 \n\034k_EInitSystem" + "Result_Existing\020\004\022\"\n\036k_EInitSystemResult" + "_FailedOpen\020\005\022 \n\034k_EInitSystemResult_Mis" + "match\020\006\022\"\n\036k_EInitSystemResult_FailedIni" + "t\020\007\022\033\n\027k_EInitSystemResult_Max\020\010" ; static const ::_pbi::DescriptorTable* const descriptor_table_cstrike15_5fgcmessages_2eproto_deps[3] = { &::descriptor_table_engine_5fgcmessages_2eproto, @@ -7283,7 +7286,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_cstrike15_5fgcmessa }; static ::_pbi::once_flag descriptor_table_cstrike15_5fgcmessages_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_cstrike15_5fgcmessages_2eproto = { - false, false, 34367, descriptor_table_protodef_cstrike15_5fgcmessages_2eproto, + false, false, 34392, descriptor_table_protodef_cstrike15_5fgcmessages_2eproto, "cstrike15_gcmessages.proto", &descriptor_table_cstrike15_5fgcmessages_2eproto_once, descriptor_table_cstrike15_5fgcmessages_2eproto_deps, 3, 180, schemas, file_default_instances, TableStruct_cstrike15_5fgcmessages_2eproto::offsets, @@ -39149,6 +39152,9 @@ class CEconItemPreviewDataBlock_Sticker::_Internal { static void set_has_highlight_reel(HasBits* has_bits) { (*has_bits)[0] |= 1024u; } + static void set_has_wrapped_sticker(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } }; CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -39173,12 +39179,13 @@ CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker(const CEcon , decltype(_impl_.offset_y_){} , decltype(_impl_.offset_z_){} , decltype(_impl_.pattern_){} - , decltype(_impl_.highlight_reel_){}}; + , decltype(_impl_.highlight_reel_){} + , decltype(_impl_.wrapped_sticker_){}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&_impl_.slot_, &from._impl_.slot_, - static_cast(reinterpret_cast(&_impl_.highlight_reel_) - - reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.highlight_reel_)); + static_cast(reinterpret_cast(&_impl_.wrapped_sticker_) - + reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.wrapped_sticker_)); // @@protoc_insertion_point(copy_constructor:CEconItemPreviewDataBlock.Sticker) } @@ -39200,6 +39207,7 @@ inline void CEconItemPreviewDataBlock_Sticker::SharedCtor( , decltype(_impl_.offset_z_){0} , decltype(_impl_.pattern_){0u} , decltype(_impl_.highlight_reel_){0u} + , decltype(_impl_.wrapped_sticker_){0u} }; } @@ -39232,10 +39240,10 @@ void CEconItemPreviewDataBlock_Sticker::Clear() { reinterpret_cast(&_impl_.offset_y_) - reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.offset_y_)); } - if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000f00u) { ::memset(&_impl_.offset_z_, 0, static_cast( - reinterpret_cast(&_impl_.highlight_reel_) - - reinterpret_cast(&_impl_.offset_z_)) + sizeof(_impl_.highlight_reel_)); + reinterpret_cast(&_impl_.wrapped_sticker_) - + reinterpret_cast(&_impl_.offset_z_)) + sizeof(_impl_.wrapped_sticker_)); } _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); @@ -39347,6 +39355,15 @@ const char* CEconItemPreviewDataBlock_Sticker::_InternalParse(const char* ptr, : } else goto handle_unusual; continue; + // optional uint32 wrapped_sticker = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_wrapped_sticker(&has_bits); + _impl_.wrapped_sticker_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -39444,6 +39461,12 @@ uint8_t* CEconItemPreviewDataBlock_Sticker::_InternalSerialize( target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_highlight_reel(), target); } + // optional uint32 wrapped_sticker = 12; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_wrapped_sticker(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -39503,7 +39526,7 @@ size_t CEconItemPreviewDataBlock_Sticker::ByteSizeLong() const { } } - if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000f00u) { // optional float offset_z = 9; if (cached_has_bits & 0x00000100u) { total_size += 1 + 4; @@ -39519,6 +39542,11 @@ size_t CEconItemPreviewDataBlock_Sticker::ByteSizeLong() const { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_highlight_reel()); } + // optional uint32 wrapped_sticker = 12; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wrapped_sticker()); + } + } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -39566,7 +39594,7 @@ void CEconItemPreviewDataBlock_Sticker::MergeImpl(::PROTOBUF_NAMESPACE_ID::Messa } _this->_impl_._has_bits_[0] |= cached_has_bits; } - if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000f00u) { if (cached_has_bits & 0x00000100u) { _this->_impl_.offset_z_ = from._impl_.offset_z_; } @@ -39576,6 +39604,9 @@ void CEconItemPreviewDataBlock_Sticker::MergeImpl(::PROTOBUF_NAMESPACE_ID::Messa if (cached_has_bits & 0x00000400u) { _this->_impl_.highlight_reel_ = from._impl_.highlight_reel_; } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.wrapped_sticker_ = from._impl_.wrapped_sticker_; + } _this->_impl_._has_bits_[0] |= cached_has_bits; } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -39597,8 +39628,8 @@ void CEconItemPreviewDataBlock_Sticker::InternalSwap(CEconItemPreviewDataBlock_S _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.highlight_reel_) - + sizeof(CEconItemPreviewDataBlock_Sticker::_impl_.highlight_reel_) + PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.wrapped_sticker_) + + sizeof(CEconItemPreviewDataBlock_Sticker::_impl_.wrapped_sticker_) - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.slot_)>( reinterpret_cast(&_impl_.slot_), reinterpret_cast(&other->_impl_.slot_)); diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h index d961505..8aeed95 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h @@ -21878,6 +21878,7 @@ class CEconItemPreviewDataBlock_Sticker final : kOffsetZFieldNumber = 9, kPatternFieldNumber = 10, kHighlightReelFieldNumber = 11, + kWrappedStickerFieldNumber = 12, }; // optional uint32 slot = 1; bool has_slot() const; @@ -22022,6 +22023,19 @@ class CEconItemPreviewDataBlock_Sticker final : void _internal_set_highlight_reel(uint32_t value); public: + // optional uint32 wrapped_sticker = 12; + bool has_wrapped_sticker() const; + private: + bool _internal_has_wrapped_sticker() const; + public: + void clear_wrapped_sticker(); + uint32_t wrapped_sticker() const; + void set_wrapped_sticker(uint32_t value); + private: + uint32_t _internal_wrapped_sticker() const; + void _internal_set_wrapped_sticker(uint32_t value); + public: + // @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock.Sticker) private: class _Internal; @@ -22043,6 +22057,7 @@ class CEconItemPreviewDataBlock_Sticker final : float offset_z_; uint32_t pattern_; uint32_t highlight_reel_; + uint32_t wrapped_sticker_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; @@ -61931,6 +61946,34 @@ inline void CEconItemPreviewDataBlock_Sticker::set_highlight_reel(uint32_t value // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.highlight_reel) } +// optional uint32 wrapped_sticker = 12; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_wrapped_sticker() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_wrapped_sticker() const { + return _internal_has_wrapped_sticker(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_wrapped_sticker() { + _impl_.wrapped_sticker_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_wrapped_sticker() const { + return _impl_.wrapped_sticker_; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::wrapped_sticker() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.wrapped_sticker) + return _internal_wrapped_sticker(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_wrapped_sticker(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.wrapped_sticker_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_wrapped_sticker(uint32_t value) { + _internal_set_wrapped_sticker(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.wrapped_sticker) +} + // ------------------------------------------------------------------- // CEconItemPreviewDataBlock diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc index 24eef8f..47412c9 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc @@ -33,7 +33,7 @@ PROTOBUF_CONSTEXPR CDemoFileHeader::CDemoFileHeader( , /*decltype(_impl_.demo_version_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.demo_version_guid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.game_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.network_protocol_)*/0 + , /*decltype(_impl_.patch_version_)*/0 , /*decltype(_impl_.fullpackets_version_)*/0 , /*decltype(_impl_.allow_clientside_entities_)*/false , /*decltype(_impl_.allow_clientside_particles_)*/false @@ -411,6 +411,20 @@ struct CDemoSpawnGroupsDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSpawnGroupsDefaultTypeInternal _CDemoSpawnGroups_default_instance_; +PROTOBUF_CONSTEXPR CDemoSpawnGroupsHLTVBroadcast::CDemoSpawnGroupsHLTVBroadcast( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CDemoSpawnGroupsHLTVBroadcastDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoSpawnGroupsHLTVBroadcastDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoSpawnGroupsHLTVBroadcastDefaultTypeInternal() {} + union { + CDemoSpawnGroupsHLTVBroadcast _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSpawnGroupsHLTVBroadcastDefaultTypeInternal _CDemoSpawnGroupsHLTVBroadcast_default_instance_; PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} @@ -441,7 +455,7 @@ struct CDemoRecoveryDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoRecoveryDefaultTypeInternal _CDemoRecovery_default_instance_; -static ::_pb::Metadata file_level_metadata_demo_2eproto[27]; +static ::_pb::Metadata file_level_metadata_demo_2eproto[28]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_demo_2eproto[1]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_demo_2eproto = nullptr; @@ -453,7 +467,7 @@ const uint32_t TableStruct_demo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(pro ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_file_stamp_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.network_protocol_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.patch_version_), PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.server_name_), PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.client_name_), PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.map_name_), @@ -741,6 +755,14 @@ const uint32_t TableStruct_demo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(pro ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroups, _impl_.msgs_), + PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroupsHLTVBroadcast, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroupsHLTVBroadcast, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroupsHLTVBroadcast, _impl_.data_), + 0, PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _internal_metadata_), ~0u, // no _extensions_ @@ -788,8 +810,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 272, -1, -1, sizeof(::CDemoStop)}, { 278, 286, -1, sizeof(::CDemoUserCmd)}, { 288, -1, -1, sizeof(::CDemoSpawnGroups)}, - { 295, 303, -1, sizeof(::CDemoRecovery_DemoInitialSpawnGroupEntry)}, - { 305, 313, -1, sizeof(::CDemoRecovery)}, + { 295, 302, -1, sizeof(::CDemoSpawnGroupsHLTVBroadcast)}, + { 303, 311, -1, sizeof(::CDemoRecovery_DemoInitialSpawnGroupEntry)}, + { 313, 321, -1, sizeof(::CDemoRecovery)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -818,89 +841,92 @@ static const ::_pb::Message* const file_default_instances[] = { &::_CDemoStop_default_instance_._instance, &::_CDemoUserCmd_default_instance_._instance, &::_CDemoSpawnGroups_default_instance_._instance, + &::_CDemoSpawnGroupsHLTVBroadcast_default_instance_._instance, &::_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_._instance, &::_CDemoRecovery_default_instance_._instance, }; const char descriptor_table_protodef_demo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\ndemo.proto\"\376\002\n\017CDemoFileHeader\022\027\n\017demo" - "_file_stamp\030\001 \002(\t\022\030\n\020network_protocol\030\002 " - "\001(\005\022\023\n\013server_name\030\003 \001(\t\022\023\n\013client_name\030" - "\004 \001(\t\022\020\n\010map_name\030\005 \001(\t\022\026\n\016game_director" - "y\030\006 \001(\t\022\033\n\023fullpackets_version\030\007 \001(\005\022!\n\031" - "allow_clientside_entities\030\010 \001(\010\022\"\n\032allow" - "_clientside_particles\030\t \001(\010\022\016\n\006addons\030\n " - "\001(\t\022\031\n\021demo_version_name\030\013 \001(\t\022\031\n\021demo_v" - "ersion_guid\030\014 \001(\t\022\021\n\tbuild_num\030\r \001(\005\022\014\n\004" - "game\030\016 \001(\t\022\031\n\021server_start_tick\030\017 \001(\005\"\202\005" - "\n\tCGameInfo\022&\n\004dota\030\004 \001(\0132\030.CGameInfo.CD" - "otaGameInfo\022\"\n\002cs\030\005 \001(\0132\026.CGameInfo.CCSG" - "ameInfo\032\376\003\n\rCDotaGameInfo\022\020\n\010match_id\030\001 " - "\001(\004\022\021\n\tgame_mode\030\002 \001(\005\022\023\n\013game_winner\030\003 " - "\001(\005\0229\n\013player_info\030\004 \003(\0132$.CGameInfo.CDo" - "taGameInfo.CPlayerInfo\022\020\n\010leagueid\030\005 \001(\r" - "\022=\n\npicks_bans\030\006 \003(\0132).CGameInfo.CDotaGa" - "meInfo.CHeroSelectEvent\022\027\n\017radiant_team_" - "id\030\007 \001(\r\022\024\n\014dire_team_id\030\010 \001(\r\022\030\n\020radian" - "t_team_tag\030\t \001(\t\022\025\n\rdire_team_tag\030\n \001(\t\022" - "\020\n\010end_time\030\013 \001(\r\032q\n\013CPlayerInfo\022\021\n\thero" - "_name\030\001 \001(\t\022\023\n\013player_name\030\002 \001(\t\022\026\n\016is_f" - "ake_client\030\003 \001(\010\022\017\n\007steamid\030\004 \001(\004\022\021\n\tgam" - "e_team\030\005 \001(\005\032B\n\020CHeroSelectEvent\022\017\n\007is_p" - "ick\030\001 \001(\010\022\014\n\004team\030\002 \001(\r\022\017\n\007hero_id\030\003 \001(\005" - "\032(\n\013CCSGameInfo\022\031\n\021round_start_ticks\030\001 \003" - "(\005\"v\n\rCDemoFileInfo\022\025\n\rplayback_time\030\001 \001" - "(\002\022\026\n\016playback_ticks\030\002 \001(\005\022\027\n\017playback_f" - "rames\030\003 \001(\005\022\035\n\tgame_info\030\004 \001(\0132\n.CGameIn" - "fo\"\033\n\013CDemoPacket\022\014\n\004data\030\003 \001(\014\"Y\n\017CDemo" - "FullPacket\022(\n\014string_table\030\001 \001(\0132\022.CDemo" - "StringTables\022\034\n\006packet\030\002 \001(\0132\014.CDemoPack" - "et\"S\n\rCDemoSaveGame\022\014\n\004data\030\001 \001(\014\022\020\n\010ste" - "am_id\030\002 \001(\006\022\021\n\tsignature\030\003 \001(\006\022\017\n\007versio" - "n\030\004 \001(\005\"\017\n\rCDemoSyncTick\"$\n\017CDemoConsole" - "Cmd\022\021\n\tcmdstring\030\001 \001(\t\"\037\n\017CDemoSendTable" - "s\022\014\n\004data\030\001 \001(\014\"\201\001\n\016CDemoClassInfo\022(\n\007cl" - "asses\030\001 \003(\0132\027.CDemoClassInfo.class_t\032E\n\007" - "class_t\022\020\n\010class_id\030\001 \001(\005\022\024\n\014network_nam" - "e\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\"7\n\017CDemoCust" - "omData\022\026\n\016callback_index\030\001 \001(\005\022\014\n\004data\030\002" - " \001(\014\"+\n\030CDemoCustomDataCallbacks\022\017\n\007save" - "_id\030\001 \003(\t\"E\n\024CDemoAnimationHeader\022\021\n\tent" - "ity_id\030\001 \001(\021\022\014\n\004tick\030\002 \001(\005\022\014\n\004data\030\003 \001(\014" - "\"r\n\022CDemoAnimationData\022\021\n\tentity_id\030\001 \001(" - "\021\022\022\n\nstart_tick\030\002 \001(\005\022\020\n\010end_tick\030\003 \001(\005\022" - "\014\n\004data\030\004 \001(\014\022\025\n\rdata_checksum\030\005 \001(\003\"\373\001\n" - "\021CDemoStringTables\022*\n\006tables\030\001 \003(\0132\032.CDe" - "moStringTables.table_t\032$\n\007items_t\022\013\n\003str" - "\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\032\223\001\n\007table_t\022\022\n\ntabl" - "e_name\030\001 \001(\t\022)\n\005items\030\002 \003(\0132\032.CDemoStrin" - "gTables.items_t\0224\n\020items_clientside\030\003 \003(" - "\0132\032.CDemoStringTables.items_t\022\023\n\013table_f" - "lags\030\004 \001(\005\"\013\n\tCDemoStop\"0\n\014CDemoUserCmd\022" - "\022\n\ncmd_number\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\" \n\020CDe" - "moSpawnGroups\022\014\n\004msgs\030\003 \003(\014\"\301\001\n\rCDemoRec" - "overy\022F\n\023initial_spawn_group\030\001 \001(\0132).CDe" - "moRecovery.DemoInitialSpawnGroupEntry\022\033\n" - "\023spawn_group_message\030\002 \001(\014\032K\n\032DemoInitia" - "lSpawnGroupEntry\022\030\n\020spawngrouphandle\030\001 \001" - "(\r\022\023\n\013was_created\030\002 \001(\010*\306\003\n\rEDemoCommand" - "s\022\026\n\tDEM_Error\020\377\377\377\377\377\377\377\377\377\001\022\014\n\010DEM_Stop\020\000\022" - "\022\n\016DEM_FileHeader\020\001\022\020\n\014DEM_FileInfo\020\002\022\020\n" - "\014DEM_SyncTick\020\003\022\022\n\016DEM_SendTables\020\004\022\021\n\rD" - "EM_ClassInfo\020\005\022\024\n\020DEM_StringTables\020\006\022\016\n\n" - "DEM_Packet\020\007\022\024\n\020DEM_SignonPacket\020\010\022\022\n\016DE" - "M_ConsoleCmd\020\t\022\022\n\016DEM_CustomData\020\n\022\033\n\027DE" - "M_CustomDataCallbacks\020\013\022\017\n\013DEM_UserCmd\020\014" - "\022\022\n\016DEM_FullPacket\020\r\022\020\n\014DEM_SaveGame\020\016\022\023" - "\n\017DEM_SpawnGroups\020\017\022\025\n\021DEM_AnimationData" - "\020\020\022\027\n\023DEM_AnimationHeader\020\021\022\020\n\014DEM_Recov" - "ery\020\022\022\013\n\007DEM_Max\020\023\022\024\n\020DEM_IsCompressed\020@" + "\n\ndemo.proto\"\373\002\n\017CDemoFileHeader\022\027\n\017demo" + "_file_stamp\030\001 \002(\t\022\025\n\rpatch_version\030\002 \001(\005" + "\022\023\n\013server_name\030\003 \001(\t\022\023\n\013client_name\030\004 \001" + "(\t\022\020\n\010map_name\030\005 \001(\t\022\026\n\016game_directory\030\006" + " \001(\t\022\033\n\023fullpackets_version\030\007 \001(\005\022!\n\031all" + "ow_clientside_entities\030\010 \001(\010\022\"\n\032allow_cl" + "ientside_particles\030\t \001(\010\022\016\n\006addons\030\n \001(\t" + "\022\031\n\021demo_version_name\030\013 \001(\t\022\031\n\021demo_vers" + "ion_guid\030\014 \001(\t\022\021\n\tbuild_num\030\r \001(\005\022\014\n\004gam" + "e\030\016 \001(\t\022\031\n\021server_start_tick\030\017 \001(\005\"\202\005\n\tC" + "GameInfo\022&\n\004dota\030\004 \001(\0132\030.CGameInfo.CDota" + "GameInfo\022\"\n\002cs\030\005 \001(\0132\026.CGameInfo.CCSGame" + "Info\032\376\003\n\rCDotaGameInfo\022\020\n\010match_id\030\001 \001(\004" + "\022\021\n\tgame_mode\030\002 \001(\005\022\023\n\013game_winner\030\003 \001(\005" + "\0229\n\013player_info\030\004 \003(\0132$.CGameInfo.CDotaG" + "ameInfo.CPlayerInfo\022\020\n\010leagueid\030\005 \001(\r\022=\n" + "\npicks_bans\030\006 \003(\0132).CGameInfo.CDotaGameI" + "nfo.CHeroSelectEvent\022\027\n\017radiant_team_id\030" + "\007 \001(\r\022\024\n\014dire_team_id\030\010 \001(\r\022\030\n\020radiant_t" + "eam_tag\030\t \001(\t\022\025\n\rdire_team_tag\030\n \001(\t\022\020\n\010" + "end_time\030\013 \001(\r\032q\n\013CPlayerInfo\022\021\n\thero_na" + "me\030\001 \001(\t\022\023\n\013player_name\030\002 \001(\t\022\026\n\016is_fake" + "_client\030\003 \001(\010\022\017\n\007steamid\030\004 \001(\004\022\021\n\tgame_t" + "eam\030\005 \001(\005\032B\n\020CHeroSelectEvent\022\017\n\007is_pick" + "\030\001 \001(\010\022\014\n\004team\030\002 \001(\r\022\017\n\007hero_id\030\003 \001(\005\032(\n" + "\013CCSGameInfo\022\031\n\021round_start_ticks\030\001 \003(\005\"" + "v\n\rCDemoFileInfo\022\025\n\rplayback_time\030\001 \001(\002\022" + "\026\n\016playback_ticks\030\002 \001(\005\022\027\n\017playback_fram" + "es\030\003 \001(\005\022\035\n\tgame_info\030\004 \001(\0132\n.CGameInfo\"" + "\033\n\013CDemoPacket\022\014\n\004data\030\003 \001(\014\"Y\n\017CDemoFul" + "lPacket\022(\n\014string_table\030\001 \001(\0132\022.CDemoStr" + "ingTables\022\034\n\006packet\030\002 \001(\0132\014.CDemoPacket\"" + "S\n\rCDemoSaveGame\022\014\n\004data\030\001 \001(\014\022\020\n\010steam_" + "id\030\002 \001(\006\022\021\n\tsignature\030\003 \001(\006\022\017\n\007version\030\004" + " \001(\005\"\017\n\rCDemoSyncTick\"$\n\017CDemoConsoleCmd" + "\022\021\n\tcmdstring\030\001 \001(\t\"\037\n\017CDemoSendTables\022\014" + "\n\004data\030\001 \001(\014\"\201\001\n\016CDemoClassInfo\022(\n\007class" + "es\030\001 \003(\0132\027.CDemoClassInfo.class_t\032E\n\007cla" + "ss_t\022\020\n\010class_id\030\001 \001(\005\022\024\n\014network_name\030\002" + " \001(\t\022\022\n\ntable_name\030\003 \001(\t\"7\n\017CDemoCustomD" + "ata\022\026\n\016callback_index\030\001 \001(\005\022\014\n\004data\030\002 \001(" + "\014\"+\n\030CDemoCustomDataCallbacks\022\017\n\007save_id" + "\030\001 \003(\t\"E\n\024CDemoAnimationHeader\022\021\n\tentity" + "_id\030\001 \001(\021\022\014\n\004tick\030\002 \001(\005\022\014\n\004data\030\003 \001(\014\"r\n" + "\022CDemoAnimationData\022\021\n\tentity_id\030\001 \001(\021\022\022" + "\n\nstart_tick\030\002 \001(\005\022\020\n\010end_tick\030\003 \001(\005\022\014\n\004" + "data\030\004 \001(\014\022\025\n\rdata_checksum\030\005 \001(\003\"\373\001\n\021CD" + "emoStringTables\022*\n\006tables\030\001 \003(\0132\032.CDemoS" + "tringTables.table_t\032$\n\007items_t\022\013\n\003str\030\001 " + "\001(\t\022\014\n\004data\030\002 \001(\014\032\223\001\n\007table_t\022\022\n\ntable_n" + "ame\030\001 \001(\t\022)\n\005items\030\002 \003(\0132\032.CDemoStringTa" + "bles.items_t\0224\n\020items_clientside\030\003 \003(\0132\032" + ".CDemoStringTables.items_t\022\023\n\013table_flag" + "s\030\004 \001(\005\"\013\n\tCDemoStop\"0\n\014CDemoUserCmd\022\022\n\n" + "cmd_number\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\" \n\020CDemoS" + "pawnGroups\022\014\n\004msgs\030\003 \003(\014\"-\n\035CDemoSpawnGr" + "oupsHLTVBroadcast\022\014\n\004data\030\001 \001(\014\"\301\001\n\rCDem" + "oRecovery\022F\n\023initial_spawn_group\030\001 \001(\0132)" + ".CDemoRecovery.DemoInitialSpawnGroupEntr" + "y\022\033\n\023spawn_group_message\030\002 \001(\014\032K\n\032DemoIn" + "itialSpawnGroupEntry\022\030\n\020spawngrouphandle" + "\030\001 \001(\r\022\023\n\013was_created\030\002 \001(\010*\306\003\n\rEDemoCom" + "mands\022\026\n\tDEM_Error\020\377\377\377\377\377\377\377\377\377\001\022\014\n\010DEM_Sto" + "p\020\000\022\022\n\016DEM_FileHeader\020\001\022\020\n\014DEM_FileInfo\020" + "\002\022\020\n\014DEM_SyncTick\020\003\022\022\n\016DEM_SendTables\020\004\022" + "\021\n\rDEM_ClassInfo\020\005\022\024\n\020DEM_StringTables\020\006" + "\022\016\n\nDEM_Packet\020\007\022\024\n\020DEM_SignonPacket\020\010\022\022" + "\n\016DEM_ConsoleCmd\020\t\022\022\n\016DEM_CustomData\020\n\022\033" + "\n\027DEM_CustomDataCallbacks\020\013\022\017\n\013DEM_UserC" + "md\020\014\022\022\n\016DEM_FullPacket\020\r\022\020\n\014DEM_SaveGame" + "\020\016\022\023\n\017DEM_SpawnGroups\020\017\022\025\n\021DEM_Animation" + "Data\020\020\022\027\n\023DEM_AnimationHeader\020\021\022\020\n\014DEM_R" + "ecovery\020\022\022\013\n\007DEM_Max\020\023\022\024\n\020DEM_IsCompress" + "ed\020@" ; static ::_pbi::once_flag descriptor_table_demo_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_demo_2eproto = { - false, false, 2880, descriptor_table_protodef_demo_2eproto, + false, false, 2924, descriptor_table_protodef_demo_2eproto, "demo.proto", - &descriptor_table_demo_2eproto_once, nullptr, 0, 27, + &descriptor_table_demo_2eproto_once, nullptr, 0, 28, schemas, file_default_instances, TableStruct_demo_2eproto::offsets, file_level_metadata_demo_2eproto, file_level_enum_descriptors_demo_2eproto, file_level_service_descriptors_demo_2eproto, @@ -954,7 +980,7 @@ class CDemoFileHeader::_Internal { static void set_has_demo_file_stamp(HasBits* has_bits) { (*has_bits)[0] |= 1u; } - static void set_has_network_protocol(HasBits* has_bits) { + static void set_has_patch_version(HasBits* has_bits) { (*has_bits)[0] |= 512u; } static void set_has_server_name(HasBits* has_bits) { @@ -1022,7 +1048,7 @@ CDemoFileHeader::CDemoFileHeader(const CDemoFileHeader& from) , decltype(_impl_.demo_version_name_){} , decltype(_impl_.demo_version_guid_){} , decltype(_impl_.game_){} - , decltype(_impl_.network_protocol_){} + , decltype(_impl_.patch_version_){} , decltype(_impl_.fullpackets_version_){} , decltype(_impl_.allow_clientside_entities_){} , decltype(_impl_.allow_clientside_particles_){} @@ -1102,9 +1128,9 @@ CDemoFileHeader::CDemoFileHeader(const CDemoFileHeader& from) _this->_impl_.game_.Set(from._internal_game(), _this->GetArenaForAllocation()); } - ::memcpy(&_impl_.network_protocol_, &from._impl_.network_protocol_, + ::memcpy(&_impl_.patch_version_, &from._impl_.patch_version_, static_cast(reinterpret_cast(&_impl_.server_start_tick_) - - reinterpret_cast(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_)); + reinterpret_cast(&_impl_.patch_version_)) + sizeof(_impl_.server_start_tick_)); // @@protoc_insertion_point(copy_constructor:CDemoFileHeader) } @@ -1124,7 +1150,7 @@ inline void CDemoFileHeader::SharedCtor( , decltype(_impl_.demo_version_name_){} , decltype(_impl_.demo_version_guid_){} , decltype(_impl_.game_){} - , decltype(_impl_.network_protocol_){0} + , decltype(_impl_.patch_version_){0} , decltype(_impl_.fullpackets_version_){0} , decltype(_impl_.allow_clientside_entities_){false} , decltype(_impl_.allow_clientside_particles_){false} @@ -1232,9 +1258,9 @@ void CDemoFileHeader::Clear() { _impl_.game_.ClearNonDefaultToEmpty(); } if (cached_has_bits & 0x00007e00u) { - ::memset(&_impl_.network_protocol_, 0, static_cast( + ::memset(&_impl_.patch_version_, 0, static_cast( reinterpret_cast(&_impl_.server_start_tick_) - - reinterpret_cast(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_)); + reinterpret_cast(&_impl_.patch_version_)) + sizeof(_impl_.server_start_tick_)); } _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); @@ -1259,11 +1285,11 @@ const char* CDemoFileHeader::_InternalParse(const char* ptr, ::_pbi::ParseContex } else goto handle_unusual; continue; - // optional int32 network_protocol = 2; + // optional int32 patch_version = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_network_protocol(&has_bits); - _impl_.network_protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + _Internal::set_has_patch_version(&has_bits); + _impl_.patch_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; @@ -1450,10 +1476,10 @@ uint8_t* CDemoFileHeader::_InternalSerialize( 1, this->_internal_demo_file_stamp(), target); } - // optional int32 network_protocol = 2; + // optional int32 patch_version = 2; if (cached_has_bits & 0x00000200u) { target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_network_protocol(), target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_patch_version(), target); } // optional string server_name = 3; @@ -1648,9 +1674,9 @@ size_t CDemoFileHeader::ByteSizeLong() const { this->_internal_game()); } - // optional int32 network_protocol = 2; + // optional int32 patch_version = 2; if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_network_protocol()); + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_patch_version()); } // optional int32 fullpackets_version = 7; @@ -1729,7 +1755,7 @@ void CDemoFileHeader::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const _this->_internal_set_game(from._internal_game()); } if (cached_has_bits & 0x00000200u) { - _this->_impl_.network_protocol_ = from._impl_.network_protocol_; + _this->_impl_.patch_version_ = from._impl_.patch_version_; } if (cached_has_bits & 0x00000400u) { _this->_impl_.fullpackets_version_ = from._impl_.fullpackets_version_; @@ -1808,9 +1834,9 @@ void CDemoFileHeader::InternalSwap(CDemoFileHeader* other) { ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.server_start_tick_) + sizeof(CDemoFileHeader::_impl_.server_start_tick_) - - PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.network_protocol_)>( - reinterpret_cast(&_impl_.network_protocol_), - reinterpret_cast(&other->_impl_.network_protocol_)); + - PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.patch_version_)>( + reinterpret_cast(&_impl_.patch_version_), + reinterpret_cast(&other->_impl_.patch_version_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CDemoFileHeader::GetMetadata() const { @@ -7896,6 +7922,219 @@ void CDemoSpawnGroups::InternalSwap(CDemoSpawnGroups* other) { // =================================================================== +class CDemoSpawnGroupsHLTVBroadcast::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoSpawnGroupsHLTVBroadcast::CDemoSpawnGroupsHLTVBroadcast(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CDemoSpawnGroupsHLTVBroadcast) +} +CDemoSpawnGroupsHLTVBroadcast::CDemoSpawnGroupsHLTVBroadcast(const CDemoSpawnGroupsHLTVBroadcast& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoSpawnGroupsHLTVBroadcast* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CDemoSpawnGroupsHLTVBroadcast) +} + +inline void CDemoSpawnGroupsHLTVBroadcast::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoSpawnGroupsHLTVBroadcast::~CDemoSpawnGroupsHLTVBroadcast() { + // @@protoc_insertion_point(destructor:CDemoSpawnGroupsHLTVBroadcast) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoSpawnGroupsHLTVBroadcast::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoSpawnGroupsHLTVBroadcast::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoSpawnGroupsHLTVBroadcast::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoSpawnGroupsHLTVBroadcast) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoSpawnGroupsHLTVBroadcast::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoSpawnGroupsHLTVBroadcast::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoSpawnGroupsHLTVBroadcast) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CDemoSpawnGroupsHLTVBroadcast) + return target; +} + +size_t CDemoSpawnGroupsHLTVBroadcast::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoSpawnGroupsHLTVBroadcast) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSpawnGroupsHLTVBroadcast::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoSpawnGroupsHLTVBroadcast::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSpawnGroupsHLTVBroadcast::GetClassData() const { return &_class_data_; } + + +void CDemoSpawnGroupsHLTVBroadcast::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CDemoSpawnGroupsHLTVBroadcast) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoSpawnGroupsHLTVBroadcast::CopyFrom(const CDemoSpawnGroupsHLTVBroadcast& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSpawnGroupsHLTVBroadcast) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoSpawnGroupsHLTVBroadcast::IsInitialized() const { + return true; +} + +void CDemoSpawnGroupsHLTVBroadcast::InternalSwap(CDemoSpawnGroupsHLTVBroadcast* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoSpawnGroupsHLTVBroadcast::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[25]); +} + +// =================================================================== + class CDemoRecovery_DemoInitialSpawnGroupEntry::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); @@ -8128,7 +8367,7 @@ void CDemoRecovery_DemoInitialSpawnGroupEntry::InternalSwap(CDemoRecovery_DemoIn ::PROTOBUF_NAMESPACE_ID::Metadata CDemoRecovery_DemoInitialSpawnGroupEntry::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[25]); + file_level_metadata_demo_2eproto[26]); } // =================================================================== @@ -8393,7 +8632,7 @@ void CDemoRecovery::InternalSwap(CDemoRecovery* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CDemoRecovery::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[26]); + file_level_metadata_demo_2eproto[27]); } // @@protoc_insertion_point(namespace_scope) @@ -8498,6 +8737,10 @@ template<> PROTOBUF_NOINLINE ::CDemoSpawnGroups* Arena::CreateMaybeMessage< ::CDemoSpawnGroups >(Arena* arena) { return Arena::CreateMessageInternal< ::CDemoSpawnGroups >(arena); } +template<> PROTOBUF_NOINLINE ::CDemoSpawnGroupsHLTVBroadcast* +Arena::CreateMaybeMessage< ::CDemoSpawnGroupsHLTVBroadcast >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoSpawnGroupsHLTVBroadcast >(arena); +} template<> PROTOBUF_NOINLINE ::CDemoRecovery_DemoInitialSpawnGroupEntry* Arena::CreateMaybeMessage< ::CDemoRecovery_DemoInitialSpawnGroupEntry >(Arena* arena) { return Arena::CreateMessageInternal< ::CDemoRecovery_DemoInitialSpawnGroupEntry >(arena); diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h index b65cce7..b70a86d 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h @@ -94,6 +94,9 @@ extern CDemoSendTablesDefaultTypeInternal _CDemoSendTables_default_instance_; class CDemoSpawnGroups; struct CDemoSpawnGroupsDefaultTypeInternal; extern CDemoSpawnGroupsDefaultTypeInternal _CDemoSpawnGroups_default_instance_; +class CDemoSpawnGroupsHLTVBroadcast; +struct CDemoSpawnGroupsHLTVBroadcastDefaultTypeInternal; +extern CDemoSpawnGroupsHLTVBroadcastDefaultTypeInternal _CDemoSpawnGroupsHLTVBroadcast_default_instance_; class CDemoStop; struct CDemoStopDefaultTypeInternal; extern CDemoStopDefaultTypeInternal _CDemoStop_default_instance_; @@ -144,6 +147,7 @@ template<> ::CDemoRecovery_DemoInitialSpawnGroupEntry* Arena::CreateMaybeMessage template<> ::CDemoSaveGame* Arena::CreateMaybeMessage<::CDemoSaveGame>(Arena*); template<> ::CDemoSendTables* Arena::CreateMaybeMessage<::CDemoSendTables>(Arena*); template<> ::CDemoSpawnGroups* Arena::CreateMaybeMessage<::CDemoSpawnGroups>(Arena*); +template<> ::CDemoSpawnGroupsHLTVBroadcast* Arena::CreateMaybeMessage<::CDemoSpawnGroupsHLTVBroadcast>(Arena*); template<> ::CDemoStop* Arena::CreateMaybeMessage<::CDemoStop>(Arena*); template<> ::CDemoStringTables* Arena::CreateMaybeMessage<::CDemoStringTables>(Arena*); template<> ::CDemoStringTables_items_t* Arena::CreateMaybeMessage<::CDemoStringTables_items_t>(Arena*); @@ -339,7 +343,7 @@ class CDemoFileHeader final : kDemoVersionNameFieldNumber = 11, kDemoVersionGuidFieldNumber = 12, kGameFieldNumber = 14, - kNetworkProtocolFieldNumber = 2, + kPatchVersionFieldNumber = 2, kFullpacketsVersionFieldNumber = 7, kAllowClientsideEntitiesFieldNumber = 8, kAllowClientsideParticlesFieldNumber = 9, @@ -508,17 +512,17 @@ class CDemoFileHeader final : std::string* _internal_mutable_game(); public: - // optional int32 network_protocol = 2; - bool has_network_protocol() const; + // optional int32 patch_version = 2; + bool has_patch_version() const; private: - bool _internal_has_network_protocol() const; + bool _internal_has_patch_version() const; public: - void clear_network_protocol(); - int32_t network_protocol() const; - void set_network_protocol(int32_t value); + void clear_patch_version(); + int32_t patch_version() const; + void set_patch_version(int32_t value); private: - int32_t _internal_network_protocol() const; - void _internal_set_network_protocol(int32_t value); + int32_t _internal_patch_version() const; + void _internal_set_patch_version(int32_t value); public: // optional int32 fullpackets_version = 7; @@ -605,7 +609,7 @@ class CDemoFileHeader final : ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_version_name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_version_guid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_; - int32_t network_protocol_; + int32_t patch_version_; int32_t fullpackets_version_; bool allow_clientside_entities_; bool allow_clientside_particles_; @@ -5134,6 +5138,171 @@ class CDemoSpawnGroups final : }; // ------------------------------------------------------------------- +class CDemoSpawnGroupsHLTVBroadcast final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSpawnGroupsHLTVBroadcast) */ { + public: + inline CDemoSpawnGroupsHLTVBroadcast() : CDemoSpawnGroupsHLTVBroadcast(nullptr) {} + ~CDemoSpawnGroupsHLTVBroadcast() override; + explicit PROTOBUF_CONSTEXPR CDemoSpawnGroupsHLTVBroadcast(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoSpawnGroupsHLTVBroadcast(const CDemoSpawnGroupsHLTVBroadcast& from); + CDemoSpawnGroupsHLTVBroadcast(CDemoSpawnGroupsHLTVBroadcast&& from) noexcept + : CDemoSpawnGroupsHLTVBroadcast() { + *this = ::std::move(from); + } + + inline CDemoSpawnGroupsHLTVBroadcast& operator=(const CDemoSpawnGroupsHLTVBroadcast& from) { + CopyFrom(from); + return *this; + } + inline CDemoSpawnGroupsHLTVBroadcast& operator=(CDemoSpawnGroupsHLTVBroadcast&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CDemoSpawnGroupsHLTVBroadcast& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoSpawnGroupsHLTVBroadcast* internal_default_instance() { + return reinterpret_cast( + &_CDemoSpawnGroupsHLTVBroadcast_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CDemoSpawnGroupsHLTVBroadcast& a, CDemoSpawnGroupsHLTVBroadcast& b) { + a.Swap(&b); + } + inline void Swap(CDemoSpawnGroupsHLTVBroadcast* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CDemoSpawnGroupsHLTVBroadcast* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoSpawnGroupsHLTVBroadcast* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoSpawnGroupsHLTVBroadcast& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoSpawnGroupsHLTVBroadcast& from) { + CDemoSpawnGroupsHLTVBroadcast::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CDemoSpawnGroupsHLTVBroadcast* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoSpawnGroupsHLTVBroadcast"; + } + protected: + explicit CDemoSpawnGroupsHLTVBroadcast(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kDataFieldNumber = 1, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CDemoSpawnGroupsHLTVBroadcast) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + class CDemoRecovery_DemoInitialSpawnGroupEntry final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoRecovery.DemoInitialSpawnGroupEntry) */ { public: @@ -5189,7 +5358,7 @@ class CDemoRecovery_DemoInitialSpawnGroupEntry final : &_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 26; friend void swap(CDemoRecovery_DemoInitialSpawnGroupEntry& a, CDemoRecovery_DemoInitialSpawnGroupEntry& b) { a.Swap(&b); @@ -5364,7 +5533,7 @@ class CDemoRecovery final : &_CDemoRecovery_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 27; friend void swap(CDemoRecovery& a, CDemoRecovery& b) { a.Swap(&b); @@ -5573,32 +5742,32 @@ inline void CDemoFileHeader::set_allocated_demo_file_stamp(std::string* demo_fil // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_file_stamp) } -// optional int32 network_protocol = 2; -inline bool CDemoFileHeader::_internal_has_network_protocol() const { +// optional int32 patch_version = 2; +inline bool CDemoFileHeader::_internal_has_patch_version() const { bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; return value; } -inline bool CDemoFileHeader::has_network_protocol() const { - return _internal_has_network_protocol(); +inline bool CDemoFileHeader::has_patch_version() const { + return _internal_has_patch_version(); } -inline void CDemoFileHeader::clear_network_protocol() { - _impl_.network_protocol_ = 0; +inline void CDemoFileHeader::clear_patch_version() { + _impl_.patch_version_ = 0; _impl_._has_bits_[0] &= ~0x00000200u; } -inline int32_t CDemoFileHeader::_internal_network_protocol() const { - return _impl_.network_protocol_; +inline int32_t CDemoFileHeader::_internal_patch_version() const { + return _impl_.patch_version_; } -inline int32_t CDemoFileHeader::network_protocol() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.network_protocol) - return _internal_network_protocol(); +inline int32_t CDemoFileHeader::patch_version() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.patch_version) + return _internal_patch_version(); } -inline void CDemoFileHeader::_internal_set_network_protocol(int32_t value) { +inline void CDemoFileHeader::_internal_set_patch_version(int32_t value) { _impl_._has_bits_[0] |= 0x00000200u; - _impl_.network_protocol_ = value; + _impl_.patch_version_ = value; } -inline void CDemoFileHeader::set_network_protocol(int32_t value) { - _internal_set_network_protocol(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.network_protocol) +inline void CDemoFileHeader::set_patch_version(int32_t value) { + _internal_set_patch_version(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.patch_version) } // optional string server_name = 3; @@ -9238,6 +9407,78 @@ CDemoSpawnGroups::mutable_msgs() { // ------------------------------------------------------------------- +// CDemoSpawnGroupsHLTVBroadcast + +// optional bytes data = 1; +inline bool CDemoSpawnGroupsHLTVBroadcast::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoSpawnGroupsHLTVBroadcast::has_data() const { + return _internal_has_data(); +} +inline void CDemoSpawnGroupsHLTVBroadcast::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoSpawnGroupsHLTVBroadcast::data() const { + // @@protoc_insertion_point(field_get:CDemoSpawnGroupsHLTVBroadcast.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoSpawnGroupsHLTVBroadcast::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoSpawnGroupsHLTVBroadcast.data) +} +inline std::string* CDemoSpawnGroupsHLTVBroadcast::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoSpawnGroupsHLTVBroadcast.data) + return _s; +} +inline const std::string& CDemoSpawnGroupsHLTVBroadcast::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoSpawnGroupsHLTVBroadcast::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoSpawnGroupsHLTVBroadcast::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoSpawnGroupsHLTVBroadcast::release_data() { + // @@protoc_insertion_point(field_release:CDemoSpawnGroupsHLTVBroadcast.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoSpawnGroupsHLTVBroadcast::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoSpawnGroupsHLTVBroadcast.data) +} + +// ------------------------------------------------------------------- + // CDemoRecovery_DemoInitialSpawnGroupEntry // optional uint32 spawngrouphandle = 1; @@ -9513,6 +9754,8 @@ inline void CDemoRecovery::set_allocated_spawn_group_message(std::string* spawn_ // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc index 8fb41e6..3cfcfff 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc @@ -342,7 +342,7 @@ const char descriptor_table_protodef_econ_5fgcmessages_2eproto[] PROTOBUF_SECTIO "\020\002\022#\n\037k_UnlockStyle_Failed_CantCommit\020\003\022" "&\n\"k_UnlockStyle_Failed_CantLockCache\020\004\022" ")\n%k_UnlockStyle_Failed_CantAffordAttrib" - "\020\005*\323\013\n EGCItemCustomizationNotification\022" + "\020\005*\307\014\n EGCItemCustomizationNotification\022" "0\n+k_EGCItemCustomizationNotification_Na" "meItem\020\356\007\0223\n.k_EGCItemCustomizationNotif" "ication_UnlockCrate\020\357\007\0226\n1k_EGCItemCusto" @@ -359,34 +359,37 @@ const char descriptor_table_protodef_econ_5fgcmessages_2eproto[] PROTOBUF_SECTIO "ation_NameBaseItem\020\373\007\0226\n1k_EGCItemCustom" "izationNotification_RemoveItemName\020\206\010\0225\n" "0k_EGCItemCustomizationNotification_Remo" - "veSticker\020\235\010\0224\n/k_EGCItemCustomizationNo" - "tification_ApplySticker\020\276\010\0224\n/k_EGCItemC" - "ustomizationNotification_StatTrakSwap\020\300\010" - "\0223\n.k_EGCItemCustomizationNotification_R" - "emovePatch\020\301\010\0222\n-k_EGCItemCustomizationN" - "otification_ApplyPatch\020\302\010\0225\n0k_EGCItemCu" - "stomizationNotification_ApplyKeychain\020\303\010" - "\0226\n1k_EGCItemCustomizationNotification_R" - "emoveKeychain\020\304\010\0228\n3k_EGCItemCustomizati" - "onNotification_ActivateFanToken\020\332G\022=\n8k_" - "EGCItemCustomizationNotification_Activat" - "eOperationCoin\020\333G\0226\n1k_EGCItemCustomizat" - "ionNotification_GraffitiUnseal\020\341G\0228\n3k_E" - "GCItemCustomizationNotification_Generate" - "Souvenir\020\364G\022A\n" - "\n9k_EGCItemCustomizationNotification_Cli" - "entRedeemFreeReward\020\203H\0227\n2k_EGCItemCusto" - "mizationNotification_XpShopUseTicket\020\205H\022" - "7\n2k_EGCItemCustomizationNotification_Xp" - "ShopAckTracks\020\206H" + "veSticker\020\235\010\0226\n1k_EGCItemCustomizationNo" + "tification_ExtractSticker\020\236\010\022:\n5k_EGCIte" + "mCustomizationNotification_EncapsulateSt" + "icker\020\237\010\0224\n/k_EGCItemCustomizationNotifi" + "cation_ApplySticker\020\276\010\0224\n/k_EGCItemCusto" + "mizationNotification_StatTrakSwap\020\300\010\0223\n." + "k_EGCItemCustomizationNotification_Remov" + "ePatch\020\301\010\0222\n-k_EGCItemCustomizationNotif" + "ication_ApplyPatch\020\302\010\0225\n0k_EGCItemCustom" + "izationNotification_ApplyKeychain\020\303\010\0226\n1" + "k_EGCItemCustomizationNotification_Remov" + "eKeychain\020\304\010\0228\n3k_EGCItemCustomizationNo" + "tification_ActivateFanToken\020\332G\022=\n8k_EGCI" + "temCustomizationNotification_ActivateOpe" + "rationCoin\020\333G\0226\n1k_EGCItemCustomizationN" + "otification_GraffitiUnseal\020\341G\0228\n3k_EGCIt" + "emCustomizationNotification_GenerateSouv" + "enir\020\364G\022A\n\n9k_" + "EGCItemCustomizationNotification_ClientR" + "edeemFreeReward\020\203H\0227\n2k_EGCItemCustomiza" + "tionNotification_XpShopUseTicket\020\205H\0227\n2k" + "_EGCItemCustomizationNotification_XpShop" + "AckTracks\020\206H" ; static const ::_pbi::DescriptorTable* const descriptor_table_econ_5fgcmessages_2eproto_deps[1] = { &::descriptor_table_steammessages_2eproto, }; static ::_pbi::once_flag descriptor_table_econ_5fgcmessages_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_econ_5fgcmessages_2eproto = { - false, false, 7856, descriptor_table_protodef_econ_5fgcmessages_2eproto, + false, false, 7972, descriptor_table_protodef_econ_5fgcmessages_2eproto, "econ_gcmessages.proto", &descriptor_table_econ_5fgcmessages_2eproto_once, descriptor_table_econ_5fgcmessages_2eproto_deps, 1, 5, schemas, file_default_instances, TableStruct_econ_5fgcmessages_2eproto::offsets, @@ -617,6 +620,8 @@ bool EGCItemCustomizationNotification_IsValid(int value) { case 1019: case 1030: case 1053: + case 1054: + case 1055: case 1086: case 1088: case 1089: diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h index 3e3f539..8e952c3 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h @@ -309,6 +309,8 @@ enum EGCItemCustomizationNotification : int { k_EGCItemCustomizationNotification_NameBaseItem = 1019, k_EGCItemCustomizationNotification_RemoveItemName = 1030, k_EGCItemCustomizationNotification_RemoveSticker = 1053, + k_EGCItemCustomizationNotification_ExtractSticker = 1054, + k_EGCItemCustomizationNotification_EncapsulateSticker = 1055, k_EGCItemCustomizationNotification_ApplySticker = 1086, k_EGCItemCustomizationNotification_StatTrakSwap = 1088, k_EGCItemCustomizationNotification_RemovePatch = 1089, diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc index 90e55cb..2251d6e 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc @@ -236,171 +236,6 @@ struct CCLCMsg_RconServerDetailsDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RconServerDetailsDefaultTypeInternal _CCLCMsg_RconServerDetails_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs::CMsgSource2SystemSpecs( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cpu_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cpu_brand_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gpu_rendersystem_dll_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gpu_driver_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cpu_model_)*/0u - , /*decltype(_impl_.cpu_num_physical_)*/0u - , /*decltype(_impl_.ram_physical_total_mb_)*/0u - , /*decltype(_impl_.gpu_vendor_id_)*/0u - , /*decltype(_impl_.gpu_driver_version_high_)*/0u - , /*decltype(_impl_.gpu_driver_version_low_)*/0u - , /*decltype(_impl_.gpu_dx_support_level_)*/0u - , /*decltype(_impl_.gpu_texture_memory_size_mb_)*/0u - , /*decltype(_impl_.backbuffer_width_)*/0u - , /*decltype(_impl_.backbuffer_height_)*/0u} {} -struct CMsgSource2SystemSpecsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2SystemSpecsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2SystemSpecsDefaultTypeInternal() {} - union { - CMsgSource2SystemSpecs _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.active_samples_)*/0u - , /*decltype(_impl_.usec_max_)*/0u - , /*decltype(_impl_.active_samples_1secmax_)*/0u - , /*decltype(_impl_.usec_avg_active_)*/0u - , /*decltype(_impl_.usec_p50_active_)*/0u - , /*decltype(_impl_.usec_p99_active_)*/0u - , /*decltype(_impl_.usec_avg_all_)*/0u - , /*decltype(_impl_.usec_p50_all_)*/0u - , /*decltype(_impl_.usec_p99_all_)*/0u - , /*decltype(_impl_.usec_1secmax_avg_active_)*/0u - , /*decltype(_impl_.usec_1secmax_p50_active_)*/0u - , /*decltype(_impl_.usec_1secmax_p95_active_)*/0u - , /*decltype(_impl_.usec_1secmax_p99_active_)*/0u - , /*decltype(_impl_.usec_1secmax_avg_all_)*/0u - , /*decltype(_impl_.usec_1secmax_p50_all_)*/0u - , /*decltype(_impl_.usec_1secmax_p95_all_)*/0u - , /*decltype(_impl_.usec_1secmax_p99_all_)*/0u} {} -struct CMsgSource2VProfLiteReportItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2VProfLiteReportItemDefaultTypeInternal() {} - union { - CMsgSource2VProfLiteReportItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_)*/{} - , /*decltype(_impl_.total_)*/nullptr - , /*decltype(_impl_.discarded_frames_)*/0u} {} -struct CMsgSource2VProfLiteReportDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2VProfLiteReportDefaultTypeInternal() {} - union { - CMsgSource2VProfLiteReport _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.bytes_total_)*/uint64_t{0u} - , /*decltype(_impl_.duration_)*/0u - , /*decltype(_impl_.bytes_sec_p95_)*/0u - , /*decltype(_impl_.bytes_total_reliable_)*/uint64_t{0u} - , /*decltype(_impl_.bytes_total_voice_)*/uint64_t{0u} - , /*decltype(_impl_.bytes_sec_p99_)*/0u - , /*decltype(_impl_.enginemsgs_total_)*/0u - , /*decltype(_impl_.enginemsgs_sec_p95_)*/0u - , /*decltype(_impl_.enginemsgs_sec_p99_)*/0u - , /*decltype(_impl_.netframes_total_)*/0u - , /*decltype(_impl_.netframes_dropped_)*/0u - , /*decltype(_impl_.netframes_outoforder_)*/0u - , /*decltype(_impl_.netframes_size_exceeds_mtu_)*/0u - , /*decltype(_impl_.netframes_size_p95_)*/0u - , /*decltype(_impl_.netframes_size_p99_)*/0u - , /*decltype(_impl_.ticks_total_)*/0u - , /*decltype(_impl_.ticks_good_)*/0u - , /*decltype(_impl_.ticks_good_almost_late_)*/0u - , /*decltype(_impl_.ticks_fixed_dropped_)*/0u - , /*decltype(_impl_.ticks_fixed_late_)*/0u - , /*decltype(_impl_.ticks_bad_dropped_)*/0u - , /*decltype(_impl_.ticks_bad_late_)*/0u - , /*decltype(_impl_.ticks_bad_other_)*/0u - , /*decltype(_impl_.tick_missrate_samples_total_)*/0u - , /*decltype(_impl_.tick_missrate_samples_perfect_)*/0u - , /*decltype(_impl_.tick_missrate_samples_perfectnet_)*/0u - , /*decltype(_impl_.tick_missratenet_p75_x10_)*/0u - , /*decltype(_impl_.tick_missratenet_p95_x10_)*/0u - , /*decltype(_impl_.tick_missratenet_p99_x10_)*/0u - , /*decltype(_impl_.recvmargin_p1_)*/0 - , /*decltype(_impl_.recvmargin_p5_)*/0 - , /*decltype(_impl_.recvmargin_p25_)*/0 - , /*decltype(_impl_.recvmargin_p50_)*/0 - , /*decltype(_impl_.recvmargin_p75_)*/0 - , /*decltype(_impl_.recvmargin_p95_)*/0 - , /*decltype(_impl_.netframe_jitter_p50_)*/0u - , /*decltype(_impl_.netframe_jitter_p99_)*/0u - , /*decltype(_impl_.interval_peakjitter_p50_)*/0u - , /*decltype(_impl_.interval_peakjitter_p95_)*/0u - , /*decltype(_impl_.packet_misdelivery_rate_p50_x4_)*/0u - , /*decltype(_impl_.packet_misdelivery_rate_p95_x4_)*/0u - , /*decltype(_impl_.net_ping_p5_)*/0u - , /*decltype(_impl_.net_ping_p50_)*/0u - , /*decltype(_impl_.net_ping_p95_)*/0u} {} -struct CMsgSource2NetworkFlowQualityDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQualityDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2NetworkFlowQualityDefaultTypeInternal() {} - union { - CMsgSource2NetworkFlowQuality _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.max_value_)*/0u} {} -struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() {} - union { - CMsgSource2PerfIntervalSample_Tag _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tags_)*/{} - , /*decltype(_impl_.frame_time_max_ms_)*/0 - , /*decltype(_impl_.frame_time_avg_ms_)*/0 - , /*decltype(_impl_.frame_time_min_ms_)*/0 - , /*decltype(_impl_.frame_count_)*/0 - , /*decltype(_impl_.frame_time_total_ms_)*/0} {} -struct CMsgSource2PerfIntervalSampleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSampleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2PerfIntervalSampleDefaultTypeInternal() {} - union { - CMsgSource2PerfIntervalSample _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; PROTOBUF_CONSTEXPR CCLCMsg_Diagnostic::CCLCMsg_Diagnostic( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} @@ -419,46 +254,6 @@ struct CCLCMsg_DiagnosticDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_DiagnosticDefaultTypeInternal _CCLCMsg_Diagnostic_default_instance_; -PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.perf_samples_)*/{} - , /*decltype(_impl_.system_specs_)*/nullptr - , /*decltype(_impl_.profile_)*/nullptr - , /*decltype(_impl_.downstream_flow_)*/nullptr - , /*decltype(_impl_.upstream_flow_)*/nullptr - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.build_id_)*/0u} {} -struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() {} - union { - CSource2Metrics_MatchPerfSummary_Notification_Client _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; -PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.clients_)*/{} - , /*decltype(_impl_.game_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_profile_)*/nullptr - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.server_build_id_)*/0u - , /*decltype(_impl_.server_popid_)*/0u} {} -struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() {} - union { - CSource2Metrics_MatchPerfSummary_Notification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; PROTOBUF_CONSTEXPR CSVCMsg_ServerInfo::CSVCMsg_ServerInfo( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} @@ -1469,7 +1264,22 @@ struct CSVCMsg_UserCommandsDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UserCommandsDefaultTypeInternal _CSVCMsg_UserCommands_default_instance_; -static ::_pb::Metadata file_level_metadata_netmessages_2eproto[81]; +PROTOBUF_CONSTEXPR CSVCMsg_NextMsgPredicted::CSVCMsg_NextMsgPredicted( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_type_id_)*/0u + , /*decltype(_impl_.predicted_by_player_slot_)*/-1} {} +struct CSVCMsg_NextMsgPredictedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_NextMsgPredictedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_NextMsgPredictedDefaultTypeInternal() {} + union { + CSVCMsg_NextMsgPredicted _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_NextMsgPredictedDefaultTypeInternal _CSVCMsg_NextMsgPredicted_default_instance_; +static ::_pb::Metadata file_level_metadata_netmessages_2eproto[74]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_netmessages_2eproto[13]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_netmessages_2eproto = nullptr; @@ -1625,216 +1435,6 @@ const uint32_t TableStruct_netmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIA ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _impl_.token_), 0, - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_brand_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_model_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_num_physical_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.ram_physical_total_mb_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_rendersystem_dll_name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_vendor_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_high_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_low_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_dx_support_level_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_texture_memory_size_mb_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_width_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_height_), - 0, - 1, - 4, - 5, - 6, - 2, - 7, - 3, - 8, - 9, - 10, - 11, - 12, - 13, - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_1secmax_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_max_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_), - 0, - 1, - 3, - 2, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.items_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.discarded_frames_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_reliable_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_voice_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p99_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p99_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_dropped_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_outoforder_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_size_exceeds_mtu_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_size_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_size_p99_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_almost_late_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_dropped_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_late_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_dropped_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_late_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_other_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfect_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfectnet_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p75_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p95_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p99_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p1_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p5_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p25_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p50_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p75_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframe_jitter_p50_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframe_jitter_p99_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.interval_peakjitter_p50_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.interval_peakjitter_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.packet_misdelivery_rate_p50_x4_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.packet_misdelivery_rate_p95_x4_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.net_ping_p5_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.net_ping_p50_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.net_ping_p95_), - 1, - 0, - 3, - 4, - 2, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.tag_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.max_value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_avg_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_min_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_count_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.tags_), - 0, - 1, - 2, - 3, - 4, - ~0u, PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _internal_metadata_), ~0u, // no _extensions_ @@ -1851,46 +1451,6 @@ const uint32_t TableStruct_netmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIA 2, 3, ~0u, - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.profile_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.downstream_flow_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.upstream_flow_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.perf_samples_), - 0, - 1, - 5, - 2, - 3, - 4, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.game_mode_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_build_id_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.clients_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.map_), - 3, - 0, - 4, - 5, - 2, - ~0u, - 1, PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _internal_metadata_), ~0u, // no _extensions_ @@ -2751,6 +2311,16 @@ const uint32_t TableStruct_netmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserCommands, _impl_.commands_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_NextMsgPredicted, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_NextMsgPredicted, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_NextMsgPredicted, _impl_.predicted_by_player_slot_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_NextMsgPredicted, _impl_.message_type_id_), + 1, + 0, }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 11, -1, sizeof(::CCLCMsg_ClientInfo)}, @@ -2767,73 +2337,66 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 125, 133, -1, sizeof(::CCLCMsg_RequestPause)}, { 135, 142, -1, sizeof(::CCLCMsg_CmdKeyValues)}, { 143, 150, -1, sizeof(::CCLCMsg_RconServerDetails)}, - { 151, 171, -1, sizeof(::CMsgSource2SystemSpecs)}, - { 185, 209, -1, sizeof(::CMsgSource2VProfLiteReportItem)}, - { 227, 236, -1, sizeof(::CMsgSource2VProfLiteReport)}, - { 239, 289, -1, sizeof(::CMsgSource2NetworkFlowQuality)}, - { 333, 341, -1, sizeof(::CMsgSource2PerfIntervalSample_Tag)}, - { 343, 355, -1, sizeof(::CMsgSource2PerfIntervalSample)}, - { 361, 372, -1, sizeof(::CCLCMsg_Diagnostic)}, - { 377, 390, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification_Client)}, - { 397, 410, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification)}, - { 417, 439, -1, sizeof(::CSVCMsg_ServerInfo)}, - { 455, 463, -1, sizeof(::CSVCMsg_ClassInfo_class_t)}, - { 465, 473, -1, sizeof(::CSVCMsg_ClassInfo)}, - { 475, 482, -1, sizeof(::CSVCMsg_SetPause)}, - { 483, 492, -1, sizeof(::CSVCMsg_VoiceInit)}, - { 495, 502, -1, sizeof(::CSVCMsg_Print)}, - { 503, 528, -1, sizeof(::CSVCMsg_Sounds_sounddata_t)}, - { 547, 555, -1, sizeof(::CSVCMsg_Sounds)}, - { 557, 565, -1, sizeof(::CSVCMsg_Prefetch)}, - { 567, 575, -1, sizeof(::CSVCMsg_SetView)}, - { 577, 585, -1, sizeof(::CSVCMsg_FixAngle)}, - { 587, 594, -1, sizeof(::CSVCMsg_CrosshairAngle)}, - { 595, 606, -1, sizeof(::CSVCMsg_BSPDecal)}, - { 611, 620, -1, sizeof(::CSVCMsg_SplitScreen)}, - { 623, 631, -1, sizeof(::CSVCMsg_GetCvarValue)}, - { 633, 641, -1, sizeof(::CSVCMsg_Menu)}, - { 643, 652, -1, sizeof(::CSVCMsg_UserMessage)}, - { 655, 670, -1, sizeof(::CSVCMsg_SendTable_sendprop_t)}, - { 679, 689, -1, sizeof(::CSVCMsg_SendTable)}, - { 693, 701, -1, sizeof(::CSVCMsg_GameEventList_key_t)}, - { 703, 712, -1, sizeof(::CSVCMsg_GameEventList_descriptor_t)}, - { 715, -1, -1, sizeof(::CSVCMsg_GameEventList)}, - { 722, 730, -1, sizeof(::CSVCMsg_PacketEntities_alternate_baseline_t)}, - { 732, 740, -1, sizeof(::CSVCMsg_PacketEntities_non_transmitted_entities_t)}, - { 742, 750, -1, sizeof(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t)}, - { 752, 780, -1, sizeof(::CSVCMsg_PacketEntities)}, - { 802, 811, -1, sizeof(::CSVCMsg_TempEntities)}, - { 814, 830, -1, sizeof(::CSVCMsg_CreateStringTable)}, - { 840, 849, -1, sizeof(::CSVCMsg_UpdateStringTable)}, - { 852, 865, -1, sizeof(::CSVCMsg_VoiceData)}, - { 872, 881, -1, sizeof(::CSVCMsg_PacketReliable)}, - { 884, 894, -1, sizeof(::CSVCMsg_FullFrameSplit)}, - { 898, 908, -1, sizeof(::CSVCMsg_HLTVStatus)}, - { 912, 919, -1, sizeof(::CSVCMsg_ServerSteamID)}, - { 920, 927, -1, sizeof(::CSVCMsg_CmdKeyValues)}, - { 928, 936, -1, sizeof(::CSVCMsg_RconServerDetails)}, - { 938, 946, -1, sizeof(::CMsgIPCAddress)}, - { 948, 960, -1, sizeof(::CMsgServerPeer)}, - { 966, -1, -1, sizeof(::CSVCMsg_PeerList)}, - { 973, 981, -1, sizeof(::CSVCMsg_ClearAllStringTables)}, - { 983, 991, -1, sizeof(::ProtoFlattenedSerializerField_t_polymorphic_field_t)}, - { 993, 1011, -1, sizeof(::ProtoFlattenedSerializerField_t)}, - { 1023, 1032, -1, sizeof(::ProtoFlattenedSerializer_t)}, - { 1035, -1, -1, sizeof(::CSVCMsg_FlattenedSerializer)}, - { 1044, 1051, -1, sizeof(::CSVCMsg_StopSound)}, - { 1052, 1062, -1, sizeof(::CBidirMsg_RebroadcastGameEvent)}, - { 1066, 1073, -1, sizeof(::CBidirMsg_RebroadcastSource)}, - { 1074, 1084, -1, sizeof(::CBidirMsg_PredictionEvent)}, - { 1088, 1096, -1, sizeof(::CMsgServerNetworkStats_Port)}, - { 1098, 1112, -1, sizeof(::CMsgServerNetworkStats_Player)}, - { 1120, 1151, -1, sizeof(::CMsgServerNetworkStats)}, - { 1176, 1190, -1, sizeof(::CSVCMsg_HltvReplay)}, - { 1198, 1209, -1, sizeof(::CCLCMsg_HltvReplay)}, - { 1214, 1221, -1, sizeof(::CSVCMsg_Broadcast_Command)}, - { 1222, 1236, -1, sizeof(::CCLCMsg_HltvFixupOperatorTick)}, - { 1244, 1252, -1, sizeof(::CSVCMsg_HltvFixupOperatorStatus)}, - { 1254, 1265, -1, sizeof(::CMsgServerUserCmd)}, - { 1270, -1, -1, sizeof(::CSVCMsg_UserCommands)}, + { 151, 162, -1, sizeof(::CCLCMsg_Diagnostic)}, + { 167, 189, -1, sizeof(::CSVCMsg_ServerInfo)}, + { 205, 213, -1, sizeof(::CSVCMsg_ClassInfo_class_t)}, + { 215, 223, -1, sizeof(::CSVCMsg_ClassInfo)}, + { 225, 232, -1, sizeof(::CSVCMsg_SetPause)}, + { 233, 242, -1, sizeof(::CSVCMsg_VoiceInit)}, + { 245, 252, -1, sizeof(::CSVCMsg_Print)}, + { 253, 278, -1, sizeof(::CSVCMsg_Sounds_sounddata_t)}, + { 297, 305, -1, sizeof(::CSVCMsg_Sounds)}, + { 307, 315, -1, sizeof(::CSVCMsg_Prefetch)}, + { 317, 325, -1, sizeof(::CSVCMsg_SetView)}, + { 327, 335, -1, sizeof(::CSVCMsg_FixAngle)}, + { 337, 344, -1, sizeof(::CSVCMsg_CrosshairAngle)}, + { 345, 356, -1, sizeof(::CSVCMsg_BSPDecal)}, + { 361, 370, -1, sizeof(::CSVCMsg_SplitScreen)}, + { 373, 381, -1, sizeof(::CSVCMsg_GetCvarValue)}, + { 383, 391, -1, sizeof(::CSVCMsg_Menu)}, + { 393, 402, -1, sizeof(::CSVCMsg_UserMessage)}, + { 405, 420, -1, sizeof(::CSVCMsg_SendTable_sendprop_t)}, + { 429, 439, -1, sizeof(::CSVCMsg_SendTable)}, + { 443, 451, -1, sizeof(::CSVCMsg_GameEventList_key_t)}, + { 453, 462, -1, sizeof(::CSVCMsg_GameEventList_descriptor_t)}, + { 465, -1, -1, sizeof(::CSVCMsg_GameEventList)}, + { 472, 480, -1, sizeof(::CSVCMsg_PacketEntities_alternate_baseline_t)}, + { 482, 490, -1, sizeof(::CSVCMsg_PacketEntities_non_transmitted_entities_t)}, + { 492, 500, -1, sizeof(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t)}, + { 502, 530, -1, sizeof(::CSVCMsg_PacketEntities)}, + { 552, 561, -1, sizeof(::CSVCMsg_TempEntities)}, + { 564, 580, -1, sizeof(::CSVCMsg_CreateStringTable)}, + { 590, 599, -1, sizeof(::CSVCMsg_UpdateStringTable)}, + { 602, 615, -1, sizeof(::CSVCMsg_VoiceData)}, + { 622, 631, -1, sizeof(::CSVCMsg_PacketReliable)}, + { 634, 644, -1, sizeof(::CSVCMsg_FullFrameSplit)}, + { 648, 658, -1, sizeof(::CSVCMsg_HLTVStatus)}, + { 662, 669, -1, sizeof(::CSVCMsg_ServerSteamID)}, + { 670, 677, -1, sizeof(::CSVCMsg_CmdKeyValues)}, + { 678, 686, -1, sizeof(::CSVCMsg_RconServerDetails)}, + { 688, 696, -1, sizeof(::CMsgIPCAddress)}, + { 698, 710, -1, sizeof(::CMsgServerPeer)}, + { 716, -1, -1, sizeof(::CSVCMsg_PeerList)}, + { 723, 731, -1, sizeof(::CSVCMsg_ClearAllStringTables)}, + { 733, 741, -1, sizeof(::ProtoFlattenedSerializerField_t_polymorphic_field_t)}, + { 743, 761, -1, sizeof(::ProtoFlattenedSerializerField_t)}, + { 773, 782, -1, sizeof(::ProtoFlattenedSerializer_t)}, + { 785, -1, -1, sizeof(::CSVCMsg_FlattenedSerializer)}, + { 794, 801, -1, sizeof(::CSVCMsg_StopSound)}, + { 802, 812, -1, sizeof(::CBidirMsg_RebroadcastGameEvent)}, + { 816, 823, -1, sizeof(::CBidirMsg_RebroadcastSource)}, + { 824, 834, -1, sizeof(::CBidirMsg_PredictionEvent)}, + { 838, 846, -1, sizeof(::CMsgServerNetworkStats_Port)}, + { 848, 862, -1, sizeof(::CMsgServerNetworkStats_Player)}, + { 870, 901, -1, sizeof(::CMsgServerNetworkStats)}, + { 926, 940, -1, sizeof(::CSVCMsg_HltvReplay)}, + { 948, 959, -1, sizeof(::CCLCMsg_HltvReplay)}, + { 964, 971, -1, sizeof(::CSVCMsg_Broadcast_Command)}, + { 972, 986, -1, sizeof(::CCLCMsg_HltvFixupOperatorTick)}, + { 994, 1002, -1, sizeof(::CSVCMsg_HltvFixupOperatorStatus)}, + { 1004, 1015, -1, sizeof(::CMsgServerUserCmd)}, + { 1020, -1, -1, sizeof(::CSVCMsg_UserCommands)}, + { 1027, 1035, -1, sizeof(::CSVCMsg_NextMsgPredicted)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -2851,15 +2414,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::_CCLCMsg_RequestPause_default_instance_._instance, &::_CCLCMsg_CmdKeyValues_default_instance_._instance, &::_CCLCMsg_RconServerDetails_default_instance_._instance, - &::_CMsgSource2SystemSpecs_default_instance_._instance, - &::_CMsgSource2VProfLiteReportItem_default_instance_._instance, - &::_CMsgSource2VProfLiteReport_default_instance_._instance, - &::_CMsgSource2NetworkFlowQuality_default_instance_._instance, - &::_CMsgSource2PerfIntervalSample_Tag_default_instance_._instance, - &::_CMsgSource2PerfIntervalSample_default_instance_._instance, &::_CCLCMsg_Diagnostic_default_instance_._instance, - &::_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_._instance, - &::_CSource2Metrics_MatchPerfSummary_Notification_default_instance_._instance, &::_CSVCMsg_ServerInfo_default_instance_._instance, &::_CSVCMsg_ClassInfo_class_t_default_instance_._instance, &::_CSVCMsg_ClassInfo_default_instance_._instance, @@ -2918,377 +2473,303 @@ static const ::_pb::Message* const file_default_instances[] = { &::_CSVCMsg_HltvFixupOperatorStatus_default_instance_._instance, &::_CMsgServerUserCmd_default_instance_._instance, &::_CSVCMsg_UserCommands_default_instance_._instance, + &::_CSVCMsg_NextMsgPredicted_default_instance_._instance, }; const char descriptor_table_protodef_netmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\021netmessages.proto\032\026networkbasetypes.pr" - "oto\"}\n\022CCLCMsg_ClientInfo\022\026\n\016send_table_" - "crc\030\001 \001(\007\022\024\n\014server_count\030\002 \001(\r\022\017\n\007is_hl" - "tv\030\003 \001(\010\022\022\n\nfriends_id\030\005 \001(\r\022\024\n\014friends_" - "name\030\006 \001(\t\"9\n\014CCLCMsg_Move\022\014\n\004data\030\003 \001(\014" - "\022\033\n\023last_command_number\030\004 \001(\r\"\217\002\n\016CMsgVo" - "iceAudio\022:\n\006format\030\001 \001(\0162\022.VoiceDataForm" - "at_t:\026VOICEDATA_FORMAT_STEAM\022\022\n\nvoice_da" - "ta\030\002 \001(\014\022\026\n\016sequence_bytes\030\003 \001(\005\022\026\n\016sect" - "ion_number\030\004 \001(\r\022\023\n\013sample_rate\030\005 \001(\r\022\"\n" - "\032uncompressed_sample_offset\030\006 \001(\r\022\023\n\013num" - "_packets\030\007 \001(\r\022\032\n\016packet_offsets\030\010 \003(\rB\002" - "\020\001\022\023\n\013voice_level\030\t \001(\002\"O\n\021CCLCMsg_Voice" - "Data\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022\014\n\004" - "xuid\030\002 \001(\006\022\014\n\004tick\030\003 \001(\r\"A\n\023CCLCMsg_Base" - "lineAck\022\025\n\rbaseline_tick\030\001 \001(\005\022\023\n\013baseli" - "ne_nr\030\002 \001(\005\"*\n\024CCLCMsg_ListenEvents\022\022\n\ne" - "vent_mask\030\001 \003(\007\"\\\n\030CCLCMsg_RespondCvarVa" - "lue\022\016\n\006cookie\030\001 \001(\005\022\023\n\013status_code\030\002 \001(\005" - "\022\014\n\004name\030\003 \001(\t\022\r\n\005value\030\004 \001(\t\"+\n\027CCLCMsg" - "_LoadingProgress\022\020\n\010progress\030\001 \001(\005\"0\n\032CC" - "LCMsg_SplitPlayerConnect\022\022\n\nplayername\030\001" - " \001(\t\"-\n\035CCLCMsg_SplitPlayerDisconnect\022\014\n" - "\004slot\030\001 \001(\005\"*\n\024CCLCMsg_ServerStatus\022\022\n\ns" - "implified\030\001 \001(\010\"Z\n\024CCLCMsg_RequestPause\022" - "-\n\npause_type\030\001 \001(\0162\017.RequestPause_t:\010RP" - "_PAUSE\022\023\n\013pause_group\030\002 \001(\005\"+\n\024CCLCMsg_C" - "mdKeyValues\022\014\n\004data\030\001 \001(\014:\005\200\265\030\334\013\"*\n\031CCLC" - "Msg_RconServerDetails\022\r\n\005token\030\001 \001(\014\"\222\003\n" - "\026CMsgSource2SystemSpecs\022\016\n\006cpu_id\030\001 \001(\t\022" - "\021\n\tcpu_brand\030\002 \001(\t\022\021\n\tcpu_model\030\003 \001(\r\022\030\n" - "\020cpu_num_physical\030\004 \001(\r\022\035\n\025ram_physical_" - "total_mb\030\025 \001(\r\022!\n\031gpu_rendersystem_dll_n" - "ame\030) \001(\t\022\025\n\rgpu_vendor_id\030* \001(\r\022\027\n\017gpu_" - "driver_name\030+ \001(\t\022\037\n\027gpu_driver_version_" - "high\030, \001(\r\022\036\n\026gpu_driver_version_low\030- \001" - "(\r\022\034\n\024gpu_dx_support_level\030. \001(\r\022\"\n\032gpu_" - "texture_memory_size_mb\030/ \001(\r\022\030\n\020backbuff" - "er_width\0303 \001(\r\022\031\n\021backbuffer_height\0304 \001(" - "\r\"\201\004\n\036CMsgSource2VProfLiteReportItem\022\014\n\004" - "name\030\001 \001(\t\022\026\n\016active_samples\030\002 \001(\r\022\036\n\026ac" - "tive_samples_1secmax\030\004 \001(\r\022\020\n\010usec_max\030\003" - " \001(\r\022\027\n\017usec_avg_active\030\013 \001(\r\022\027\n\017usec_p5" - "0_active\030\014 \001(\r\022\027\n\017usec_p99_active\030\r \001(\r\022" - "\024\n\014usec_avg_all\030\025 \001(\r\022\024\n\014usec_p50_all\030\026 " - "\001(\r\022\024\n\014usec_p99_all\030\027 \001(\r\022\037\n\027usec_1secma" - "x_avg_active\030\037 \001(\r\022\037\n\027usec_1secmax_p50_a" - "ctive\030 \001(\r\022\037\n\027usec_1secmax_p95_active\030!" - " \001(\r\022\037\n\027usec_1secmax_p99_active\030\" \001(\r\022\034\n" - "\024usec_1secmax_avg_all\030) \001(\r\022\034\n\024usec_1sec" - "max_p50_all\030* \001(\r\022\034\n\024usec_1secmax_p95_al" - "l\030+ \001(\r\022\034\n\024usec_1secmax_p99_all\030, \001(\r\"\226\001" - "\n\032CMsgSource2VProfLiteReport\022.\n\005total\030\001 " - "\001(\0132\037.CMsgSource2VProfLiteReportItem\022.\n\005" - "items\030\002 \003(\0132\037.CMsgSource2VProfLiteReport" - "Item\022\030\n\020discarded_frames\030\003 \001(\r\"\360\t\n\035CMsgS" - "ource2NetworkFlowQuality\022\020\n\010duration\030\001 \001" - "(\r\022\023\n\013bytes_total\030\005 \001(\004\022\034\n\024bytes_total_r" - "eliable\030\006 \001(\004\022\031\n\021bytes_total_voice\030\007 \001(\004" - "\022\025\n\rbytes_sec_p95\030\n \001(\r\022\025\n\rbytes_sec_p99" - "\030\013 \001(\r\022\030\n\020enginemsgs_total\030\024 \001(\r\022\032\n\022engi" - "nemsgs_sec_p95\030\025 \001(\r\022\032\n\022enginemsgs_sec_p" - "99\030\026 \001(\r\022\027\n\017netframes_total\030\036 \001(\r\022\031\n\021net" - "frames_dropped\030\037 \001(\r\022\034\n\024netframes_outofo" - "rder\030 \001(\r\022\"\n\032netframes_size_exceeds_mtu" - "\030\" \001(\r\022\032\n\022netframes_size_p95\030# \001(\r\022\032\n\022ne" - "tframes_size_p99\030$ \001(\r\022\023\n\013ticks_total\030( " - "\001(\r\022\022\n\nticks_good\030) \001(\r\022\036\n\026ticks_good_al" - "most_late\030* \001(\r\022\033\n\023ticks_fixed_dropped\030+" - " \001(\r\022\030\n\020ticks_fixed_late\030, \001(\r\022\031\n\021ticks_" - "bad_dropped\030- \001(\r\022\026\n\016ticks_bad_late\030. \001(" - "\r\022\027\n\017ticks_bad_other\030/ \001(\r\022#\n\033tick_missr" - "ate_samples_total\0302 \001(\r\022%\n\035tick_missrate" - "_samples_perfect\0303 \001(\r\022(\n tick_missrate_" - "samples_perfectnet\0304 \001(\r\022 \n\030tick_missrat" - "enet_p75_x10\0305 \001(\r\022 \n\030tick_missratenet_p" - "95_x10\0306 \001(\r\022 \n\030tick_missratenet_p99_x10" - "\0307 \001(\r\022\025\n\rrecvmargin_p1\030= \001(\021\022\025\n\rrecvmar" - "gin_p5\030> \001(\021\022\026\n\016recvmargin_p25\030\? \001(\021\022\026\n\016" - "recvmargin_p50\030@ \001(\021\022\026\n\016recvmargin_p75\030A" - " \001(\021\022\026\n\016recvmargin_p95\030B \001(\021\022\033\n\023netframe" - "_jitter_p50\030F \001(\r\022\033\n\023netframe_jitter_p99" - "\030G \001(\r\022\037\n\027interval_peakjitter_p50\030H \001(\r\022" - "\037\n\027interval_peakjitter_p95\030I \001(\r\022&\n\036pack" - "et_misdelivery_rate_p50_x4\030J \001(\r\022&\n\036pack" - "et_misdelivery_rate_p95_x4\030K \001(\r\022\023\n\013net_" - "ping_p5\030P \001(\r\022\024\n\014net_ping_p50\030Q \001(\r\022\024\n\014n" - "et_ping_p95\030R \001(\r\"\373\001\n\035CMsgSource2PerfInt" - "ervalSample\022\031\n\021frame_time_max_ms\030\001 \001(\002\022\031" - "\n\021frame_time_avg_ms\030\002 \001(\002\022\031\n\021frame_time_" - "min_ms\030\003 \001(\002\022\023\n\013frame_count\030\004 \001(\005\022\033\n\023fra" - "me_time_total_ms\030\005 \001(\002\0220\n\004tags\030\006 \003(\0132\".C" - "MsgSource2PerfIntervalSample.Tag\032%\n\003Tag\022" - "\013\n\003tag\030\001 \001(\t\022\021\n\tmax_value\030\002 \001(\r\"\244\002\n\022CCLC" - "Msg_Diagnostic\022-\n\014system_specs\030\001 \001(\0132\027.C" - "MsgSource2SystemSpecs\0221\n\014vprof_report\030\002 " - "\001(\0132\033.CMsgSource2VProfLiteReport\0227\n\017down" - "stream_flow\030\003 \001(\0132\036.CMsgSource2NetworkFl" - "owQuality\0225\n\rupstream_flow\030\004 \001(\0132\036.CMsgS" - "ource2NetworkFlowQuality\0224\n\014perf_samples" - "\030\005 \003(\0132\036.CMsgSource2PerfIntervalSample:\006" - "\200\265\030\200\200\001\"\273\004\n-CSource2Metrics_MatchPerfSumm" - "ary_Notification\022\r\n\005appid\030\001 \001(\r\022\021\n\tgame_" - "mode\030\002 \001(\t\022\027\n\017server_build_id\030\003 \001(\r\022\024\n\014s" - "erver_popid\030\004 \001(\007\0223\n\016server_profile\030\n \001(" - "\0132\033.CMsgSource2VProfLiteReport\022F\n\007client" - "s\030\013 \003(\01325.CSource2Metrics_MatchPerfSumma" - "ry_Notification.Client\022\013\n\003map\030\024 \001(\t\032\256\002\n\006" - "Client\022-\n\014system_specs\030\001 \001(\0132\027.CMsgSourc" - "e2SystemSpecs\022,\n\007profile\030\002 \001(\0132\033.CMsgSou" - "rce2VProfLiteReport\022\020\n\010build_id\030\003 \001(\r\0227\n" - "\017downstream_flow\030\004 \001(\0132\036.CMsgSource2Netw" - "orkFlowQuality\0225\n\rupstream_flow\030\005 \001(\0132\036." - "CMsgSource2NetworkFlowQuality\022\017\n\007steamid" - "\030\n \001(\006\0224\n\014perf_samples\030\013 \003(\0132\036.CMsgSourc" - "e2PerfIntervalSample\"\217\003\n\022CSVCMsg_ServerI" - "nfo\022\020\n\010protocol\030\001 \001(\005\022\024\n\014server_count\030\002 " - "\001(\005\022\024\n\014is_dedicated\030\003 \001(\010\022\017\n\007is_hltv\030\004 \001" - "(\010\022\014\n\004c_os\030\006 \001(\005\022\023\n\013max_clients\030\n \001(\005\022\023\n" - "\013max_classes\030\013 \001(\005\022\027\n\013player_slot\030\014 \001(\005:" - "\002-1\022\025\n\rtick_interval\030\r \001(\002\022\020\n\010game_dir\030\016" - " \001(\t\022\020\n\010map_name\030\017 \001(\t\022\020\n\010sky_name\030\020 \001(\t" - "\022\021\n\thost_name\030\021 \001(\t\022\022\n\naddon_name\030\022 \001(\t\022" - ">\n\023game_session_config\030\023 \001(\0132!.CSVCMsg_G" - "ameSessionConfiguration\022\035\n\025game_session_" - "manifest\030\024 \001(\014:\006\200\265\030\200\240\006\"\213\001\n\021CSVCMsg_Class" - "Info\022\030\n\020create_on_client\030\001 \001(\010\022+\n\007classe" - "s\030\002 \003(\0132\032.CSVCMsg_ClassInfo.class_t\032/\n\007c" - "lass_t\022\020\n\010class_id\030\001 \001(\005\022\022\n\nclass_name\030\003" - " \001(\t\"\"\n\020CSVCMsg_SetPause\022\016\n\006paused\030\001 \001(\010" - "\"G\n\021CSVCMsg_VoiceInit\022\017\n\007quality\030\001 \001(\005\022\r" - "\n\005codec\030\002 \001(\t\022\022\n\007version\030\003 \001(\005:\0010\"\035\n\rCSV" - "CMsg_Print\022\014\n\004text\030\001 \001(\t\"\343\003\n\016CSVCMsg_Sou" - "nds\022\026\n\016reliable_sound\030\001 \001(\010\022+\n\006sounds\030\002 " - "\003(\0132\033.CSVCMsg_Sounds.sounddata_t\032\213\003\n\013sou" - "nddata_t\022\020\n\010origin_x\030\001 \001(\021\022\020\n\010origin_y\030\002" - " \001(\021\022\020\n\010origin_z\030\003 \001(\021\022\016\n\006volume\030\004 \001(\r\022\023" - "\n\013delay_value\030\005 \001(\002\022\027\n\017sequence_number\030\006" - " \001(\005\022\030\n\014entity_index\030\007 \001(\005:\002-1\022\017\n\007channe" - "l\030\010 \001(\005\022\r\n\005pitch\030\t \001(\005\022\r\n\005flags\030\n \001(\005\022\021\n" - "\tsound_num\030\013 \001(\r\022\030\n\020sound_num_handle\030\014 \001" - "(\007\022\026\n\016speaker_entity\030\r \001(\005\022\023\n\013random_see" - "d\030\016 \001(\005\022\023\n\013sound_level\030\017 \001(\005\022\023\n\013is_sente" - "nce\030\020 \001(\010\022\022\n\nis_ambient\030\021 \001(\010\022\014\n\004guid\030\022 " - "\001(\r\022\031\n\021sound_resource_id\030\023 \001(\006\"X\n\020CSVCMs" - "g_Prefetch\022\023\n\013sound_index\030\001 \001(\005\022/\n\rresou" - "rce_type\030\002 \001(\0162\r.PrefetchType:\tPFT_SOUND" - "\"=\n\017CSVCMsg_SetView\022\030\n\014entity_index\030\001 \001(" - "\005:\002-1\022\020\n\004slot\030\002 \001(\005:\002-1\"@\n\020CSVCMsg_FixAn" - "gle\022\020\n\010relative\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.C" - "MsgQAngle\"4\n\026CSVCMsg_CrosshairAngle\022\032\n\005a" - "ngle\030\001 \001(\0132\013.CMsgQAngle\"\216\001\n\020CSVCMsg_BSPD" - "ecal\022\030\n\003pos\030\001 \001(\0132\013.CMsgVector\022\033\n\023decal_" - "texture_index\030\002 \001(\005\022\030\n\014entity_index\030\003 \001(" - "\005:\002-1\022\023\n\013model_index\030\004 \001(\005\022\024\n\014low_priori" - "ty\030\005 \001(\010\"~\n\023CSVCMsg_SplitScreen\022\?\n\004type\030" - "\001 \001(\0162\030.ESplitScreenMessageType:\027MSG_SPL" - "ITSCREEN_ADDUSER\022\014\n\004slot\030\002 \001(\005\022\030\n\014player" - "_index\030\003 \001(\005:\002-1\"9\n\024CSVCMsg_GetCvarValue" - "\022\016\n\006cookie\030\001 \001(\005\022\021\n\tcvar_name\030\002 \001(\t\"<\n\014C" - "SVCMsg_Menu\022\023\n\013dialog_type\030\001 \001(\005\022\027\n\017menu" - "_key_values\030\002 \001(\014\"N\n\023CSVCMsg_UserMessage" - "\022\020\n\010msg_type\030\001 \001(\005\022\020\n\010msg_data\030\002 \001(\014\022\023\n\013" - "passthrough\030\003 \001(\005\"\260\002\n\021CSVCMsg_SendTable\022" - "\016\n\006is_end\030\001 \001(\010\022\026\n\016net_table_name\030\002 \001(\t\022" - "\025\n\rneeds_decoder\030\003 \001(\010\022,\n\005props\030\004 \003(\0132\035." - "CSVCMsg_SendTable.sendprop_t\032\255\001\n\nsendpro" - "p_t\022\014\n\004type\030\001 \001(\005\022\020\n\010var_name\030\002 \001(\t\022\r\n\005f" - "lags\030\003 \001(\005\022\020\n\010priority\030\004 \001(\005\022\017\n\007dt_name\030" - "\005 \001(\t\022\024\n\014num_elements\030\006 \001(\005\022\021\n\tlow_value" - "\030\007 \001(\002\022\022\n\nhigh_value\030\010 \001(\002\022\020\n\010num_bits\030\t" - " \001(\005\"\321\001\n\025CSVCMsg_GameEventList\0228\n\013descri" - "ptors\030\001 \003(\0132#.CSVCMsg_GameEventList.desc" - "riptor_t\032#\n\005key_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030" - "\002 \001(\t\032Y\n\014descriptor_t\022\017\n\007eventid\030\001 \001(\005\022\014" - "\n\004name\030\002 \001(\t\022*\n\004keys\030\003 \003(\0132\034.CSVCMsg_Gam" - "eEventList.key_t\"\355\007\n\026CSVCMsg_PacketEntit" - "ies\022\023\n\013max_entries\030\001 \001(\005\022\027\n\017updated_entr" - "ies\030\002 \001(\005\022\027\n\017legacy_is_delta\030\003 \001(\010\022\027\n\017up" - "date_baseline\030\004 \001(\010\022\020\n\010baseline\030\005 \001(\005\022\022\n" - "\ndelta_from\030\006 \001(\005\022\023\n\013entity_data\030\007 \001(\014\022\032" - "\n\022pending_full_frame\030\010 \001(\010\022 \n\030active_spa" - "wngroup_handle\030\t \001(\r\022\'\n\037max_spawngroup_c" - "reationsequence\030\n \001(\r\022 \n\030last_cmd_number" - "_executed\030\013 \001(\r\022\"\n\032last_cmd_number_recv_" - "delta\030\021 \001(\021\022\023\n\013server_tick\030\014 \001(\r\022\033\n\023seri" - "alized_entities\030\r \001(\014\022I\n\023alternate_basel" - "ines\030\017 \003(\0132,.CSVCMsg_PacketEntities.alte" - "rnate_baseline_t\022#\n\033has_pvs_vis_bits_dep" - "recated\030\020 \001(\r\022\033\n\017cmd_recv_status\030\026 \003(\021B\002" - "\020\001\022T\n\030non_transmitted_entities\030\023 \001(\01322.C" - "SVCMsg_PacketEntities.non_transmitted_en" - "tities_t\022 \n\030cq_starved_command_ticks\030\024 \001" - "(\r\022\"\n\032cq_discarded_command_ticks\030\025 \001(\r\022R" - "\n\027outofpvs_entity_updates\030\027 \001(\01321.CSVCMs" - "g_PacketEntities.outofpvs_entity_updates" - "_t\022\024\n\013dev_padding\030\347\007 \001(\014\032D\n\024alternate_ba" - "seline_t\022\024\n\014entity_index\030\001 \001(\005\022\026\n\016baseli" - "ne_index\030\002 \001(\005\032@\n\032non_transmitted_entiti" - "es_t\022\024\n\014header_count\030\001 \001(\005\022\014\n\004data\030\002 \001(\014" - "\0328\n\031outofpvs_entity_updates_t\022\r\n\005count\030\001" - " \001(\005\022\014\n\004data\030\002 \001(\014:\004\200\265\030\000\"R\n\024CSVCMsg_Temp" - "Entities\022\020\n\010reliable\030\001 \001(\010\022\023\n\013num_entrie" - "s\030\002 \001(\005\022\023\n\013entity_data\030\003 \001(\014\"\221\002\n\031CSVCMsg" - "_CreateStringTable\022\014\n\004name\030\001 \001(\t\022\023\n\013num_" - "entries\030\002 \001(\005\022\034\n\024user_data_fixed_size\030\003 " - "\001(\010\022\026\n\016user_data_size\030\004 \001(\005\022\033\n\023user_data" - "_size_bits\030\005 \001(\005\022\r\n\005flags\030\006 \001(\005\022\023\n\013strin" - "g_data\030\007 \001(\014\022\031\n\021uncompressed_size\030\010 \001(\005\022" - "\027\n\017data_compressed\030\t \001(\010\022\036\n\026using_varint" - "_bitcounts\030\n \001(\010:\006\200\265\030\200\200\003\"g\n\031CSVCMsg_Upda" - "teStringTable\022\020\n\010table_id\030\001 \001(\005\022\033\n\023num_c" - "hanged_entries\030\002 \001(\005\022\023\n\013string_data\030\003 \001(" - "\014:\006\200\265\030\200\200\020\"\241\001\n\021CSVCMsg_VoiceData\022\036\n\005audio" - "\030\001 \001(\0132\017.CMsgVoiceAudio\022\022\n\006client\030\002 \001(\005:" - "\002-1\022\021\n\tproximity\030\003 \001(\010\022\014\n\004xuid\030\004 \001(\006\022\024\n\014" - "audible_mask\030\005 \001(\005\022\014\n\004tick\030\006 \001(\r\022\023\n\013pass" - "through\030\007 \001(\005\"K\n\026CSVCMsg_PacketReliable\022" - "\014\n\004tick\030\001 \001(\005\022\024\n\014messagessize\030\002 \001(\005\022\r\n\005s" - "tate\030\003 \001(\010\"T\n\026CSVCMsg_FullFrameSplit\022\014\n\004" - "tick\030\001 \001(\005\022\017\n\007section\030\002 \001(\005\022\r\n\005total\030\003 \001" - "(\005\022\014\n\004data\030\004 \001(\014\"U\n\022CSVCMsg_HLTVStatus\022\016" - "\n\006master\030\001 \001(\t\022\017\n\007clients\030\002 \001(\005\022\r\n\005slots" - "\030\003 \001(\005\022\017\n\007proxies\030\004 \001(\005\")\n\025CSVCMsg_Serve" - "rSteamID\022\020\n\010steam_id\030\001 \001(\004\"$\n\024CSVCMsg_Cm" - "dKeyValues\022\014\n\004data\030\001 \001(\014\";\n\031CSVCMsg_Rcon" - "ServerDetails\022\r\n\005token\030\001 \001(\014\022\017\n\007details\030" - "\002 \001(\t\";\n\016CMsgIPCAddress\022\025\n\rcomputer_guid" - "\030\001 \001(\006\022\022\n\nprocess_id\030\002 \001(\r\"\244\001\n\016CMsgServe" - "rPeer\022\027\n\013player_slot\030\001 \001(\005:\002-1\022\017\n\007steami" - "d\030\002 \001(\006\022\034\n\003ipc\030\003 \001(\0132\017.CMsgIPCAddress\022\025\n" - "\rthey_hear_you\030\004 \001(\010\022\025\n\ryou_hear_them\030\005 " - "\001(\010\022\034\n\024is_listenserver_host\030\006 \001(\010\"1\n\020CSV" - "CMsg_PeerList\022\035\n\004peer\030\001 \003(\0132\017.CMsgServer" - "Peer\"N\n\034CSVCMsg_ClearAllStringTables\022\017\n\007" - "mapname\030\001 \001(\t\022\035\n\025create_tables_skipped\030\003" - " \001(\010\"\363\003\n\037ProtoFlattenedSerializerField_t" - "\022\024\n\014var_type_sym\030\001 \001(\005\022\024\n\014var_name_sym\030\002" - " \001(\005\022\021\n\tbit_count\030\003 \001(\005\022\021\n\tlow_value\030\004 \001" - "(\002\022\022\n\nhigh_value\030\005 \001(\002\022\024\n\014encode_flags\030\006" - " \001(\005\022!\n\031field_serializer_name_sym\030\007 \001(\005\022" - " \n\030field_serializer_version\030\010 \001(\005\022\025\n\rsen" - "d_node_sym\030\t \001(\005\022\027\n\017var_encoder_sym\030\n \001(" - "\005\022O\n\021polymorphic_types\030\013 \003(\01324.ProtoFlat" - "tenedSerializerField_t.polymorphic_field" - "_t\022\032\n\022var_serializer_sym\030\014 \001(\005\032r\n\023polymo" - "rphic_field_t\022-\n%polymorphic_field_seria" - "lizer_name_sym\030\001 \001(\005\022,\n$polymorphic_fiel" - "d_serializer_version\030\002 \001(\005\"k\n\032ProtoFlatt" - "enedSerializer_t\022\033\n\023serializer_name_sym\030" - "\001 \001(\005\022\032\n\022serializer_version\030\002 \001(\005\022\024\n\014fie" - "lds_index\030\003 \003(\005\"\230\001\n\033CSVCMsg_FlattenedSer" - "ializer\0220\n\013serializers\030\001 \003(\0132\033.ProtoFlat" - "tenedSerializer_t\022\017\n\007symbols\030\002 \003(\t\0220\n\006fi" - "elds\030\003 \003(\0132 .ProtoFlattenedSerializerFie" - "ld_t:\004\200\265\030\000\"!\n\021CSVCMsg_StopSound\022\014\n\004guid\030" - "\001 \001(\007\"y\n\036CBidirMsg_RebroadcastGameEvent\022" - "\024\n\014posttoserver\030\001 \001(\010\022\017\n\007buftype\030\002 \001(\005\022\026" - "\n\016clientbitcount\030\003 \001(\r\022\030\n\020receivingclien" - "ts\030\004 \001(\004\"2\n\033CBidirMsg_RebroadcastSource\022" - "\023\n\013eventsource\030\001 \001(\005\"\232\001\n\031CBidirMsg_Predi" - "ctionEvent\022\020\n\010event_id\030\001 \002(\r\022\022\n\nevent_da" - "ta\030\002 \002(\014\022\021\n\tsync_type\030\003 \001(\r\022\027\n\017sync_val_" - "uint32\030\004 \001(\r\"+\n\tESyncType\022\013\n\007ST_Tick\020\000\022\021" - "\n\rST_UserCmdNum\020\001\"\305\006\n\026CMsgServerNetworkS" - "tats\022\021\n\tdedicated\030\001 \001(\010\022\021\n\tcpu_usage\030\002 \001" - "(\005\022\026\n\016memory_used_mb\030\003 \001(\005\022\026\n\016memory_fre" - "e_mb\030\004 \001(\005\022\016\n\006uptime\030\005 \001(\005\022\023\n\013spawn_coun" - "t\030\006 \001(\005\022\023\n\013num_clients\030\010 \001(\005\022\020\n\010num_bots" - "\030\t \001(\005\022\026\n\016num_spectators\030\n \001(\005\022\025\n\rnum_tv" - "_relays\030\013 \001(\005\022\013\n\003fps\030\014 \001(\002\022+\n\005ports\030\021 \003(" - "\0132\034.CMsgServerNetworkStats.Port\022\023\n\013avg_p" - "ing_ms\030\022 \001(\002\022\036\n\026avg_engine_latency_out\030\023" - " \001(\002\022\027\n\017avg_packets_out\030\024 \001(\002\022\026\n\016avg_pac" - "kets_in\030\025 \001(\002\022\024\n\014avg_loss_out\030\026 \001(\002\022\023\n\013a" - "vg_loss_in\030\027 \001(\002\022\024\n\014avg_data_out\030\030 \001(\002\022\023" - "\n\013avg_data_in\030\031 \001(\002\022\025\n\rtotal_data_in\030\032 \001" - "(\004\022\030\n\020total_packets_in\030\033 \001(\004\022\026\n\016total_da" - "ta_out\030\034 \001(\004\022\031\n\021total_packets_out\030\035 \001(\004\022" - "/\n\007players\030\036 \003(\0132\036.CMsgServerNetworkStat" - "s.Player\032\"\n\004Port\022\014\n\004port\030\001 \001(\005\022\014\n\004name\030\002" - " \001(\t\032\252\001\n\006Player\022\017\n\007steamid\030\001 \001(\004\022\023\n\013remo" - "te_addr\030\002 \001(\t\022\023\n\013ping_avg_ms\030\004 \001(\005\022\027\n\017pa" - "cket_loss_pct\030\005 \001(\002\022\016\n\006is_bot\030\006 \001(\010\022\017\n\007l" - "oss_in\030\007 \001(\002\022\020\n\010loss_out\030\010 \001(\002\022\031\n\021engine" - "_latency_ms\030\t \001(\005\"\332\001\n\022CSVCMsg_HltvReplay" - "\022\r\n\005delay\030\001 \001(\005\022\032\n\016primary_target\030\002 \001(\005:" - "\002-1\022\026\n\016replay_stop_at\030\003 \001(\005\022\027\n\017replay_st" - "art_at\030\004 \001(\005\022\035\n\025replay_slowdown_begin\030\005 " - "\001(\005\022\033\n\023replay_slowdown_end\030\006 \001(\005\022\034\n\024repl" - "ay_slowdown_rate\030\007 \001(\002\022\016\n\006reason\030\010 \001(\005\"\205" - "\001\n\022CCLCMsg_HltvReplay\022\017\n\007request\030\001 \001(\005\022\027" - "\n\017slowdown_length\030\002 \001(\002\022\025\n\rslowdown_rate" - "\030\003 \001(\002\022\032\n\016primary_target\030\004 \001(\005:\002-1\022\022\n\nev" - "ent_time\030\005 \001(\002\"(\n\031CSVCMsg_Broadcast_Comm" - "and\022\013\n\003cmd\030\001 \001(\t\"\357\001\n\035CCLCMsg_HltvFixupOp" - "eratorTick\022\014\n\004tick\030\001 \001(\005\022\022\n\nprops_data\030\002" - " \001(\014\022\033\n\006origin\030\003 \001(\0132\013.CMsgVector\022\037\n\neye" - "_angles\030\004 \001(\0132\013.CMsgQAngle\022\025\n\robserver_m" - "ode\030\005 \001(\005\022\034\n\024cameraman_scoreboard\030\006 \001(\010\022" - "\027\n\017observer_target\030\007 \001(\005\022 \n\013view_offset\030" - "\010 \001(\0132\013.CMsgVector\"O\n\037CSVCMsg_HltvFixupO" - "peratorStatus\022\014\n\004mode\030\001 \001(\r\022\036\n\026override_" - "operator_name\030\002 \001(\t\"\201\001\n\021CMsgServerUserCm" - "d\022\014\n\004data\030\001 \001(\014\022\022\n\ncmd_number\030\002 \001(\005\022\027\n\013p" - "layer_slot\030\003 \001(\005:\002-1\022\034\n\024server_tick_exec" - "uted\030\004 \001(\005\022\023\n\013client_tick\030\005 \001(\005\"<\n\024CSVCM" - "sg_UserCommands\022$\n\010commands\030\001 \003(\0132\022.CMsg" - "ServerUserCmd*\313\002\n\014CLC_Messages\022\022\n\016clc_Cl" - "ientInfo\020\024\022\014\n\010clc_Move\020\025\022\021\n\rclc_VoiceDat" - "a\020\026\022\023\n\017clc_BaselineAck\020\027\022\030\n\024clc_RespondC" - "varValue\020\031\022\027\n\023clc_LoadingProgress\020\033\022\032\n\026c" - "lc_SplitPlayerConnect\020\034\022\035\n\031clc_SplitPlay" - "erDisconnect\020\036\022\024\n\020clc_ServerStatus\020\037\022\024\n\020" - "clc_RequestPause\020!\022\024\n\020clc_CmdKeyValues\020\"" - "\022\031\n\025clc_RconServerDetails\020#\022\022\n\016clc_HltvR" - "eplay\020$\022\022\n\016clc_Diagnostic\020%*\227\005\n\014SVC_Mess" - "ages\022\022\n\016svc_ServerInfo\020(\022\033\n\027svc_Flattene" - "dSerializer\020)\022\021\n\rsvc_ClassInfo\020*\022\020\n\014svc_" - "SetPause\020+\022\031\n\025svc_CreateStringTable\020,\022\031\n" - "\025svc_UpdateStringTable\020-\022\021\n\rsvc_VoiceIni" - "t\020.\022\021\n\rsvc_VoiceData\020/\022\r\n\tsvc_Print\0200\022\016\n" - "\nsvc_Sounds\0201\022\017\n\013svc_SetView\0202\022\034\n\030svc_Cl" - "earAllStringTables\0203\022\024\n\020svc_CmdKeyValues" - "\0204\022\020\n\014svc_BSPDecal\0205\022\023\n\017svc_SplitScreen\020" - "6\022\026\n\022svc_PacketEntities\0207\022\020\n\014svc_Prefetc" - "h\0208\022\014\n\010svc_Menu\0209\022\024\n\020svc_GetCvarValue\020:\022" - "\021\n\rsvc_StopSound\020;\022\020\n\014svc_PeerList\020<\022\026\n\022" - "svc_PacketReliable\020=\022\022\n\016svc_HLTVStatus\020>" - "\022\025\n\021svc_ServerSteamID\020\?\022\026\n\022svc_FullFrame" - "Split\020F\022\031\n\025svc_RconServerDetails\020G\022\023\n\017sv" - "c_UserMessage\020H\022\031\n\025svc_Broadcast_Command" - "\020J\022\037\n\033svc_HltvFixupOperatorStatus\020K\022\020\n\014s" - "vc_UserCmds\020L*g\n\021VoiceDataFormat_t\022\032\n\026VO" - "ICEDATA_FORMAT_STEAM\020\000\022\033\n\027VOICEDATA_FORM" - "AT_ENGINE\020\001\022\031\n\025VOICEDATA_FORMAT_OPUS\020\002*B" - "\n\016RequestPause_t\022\014\n\010RP_PAUSE\020\000\022\016\n\nRP_UNP" - "AUSE\020\001\022\022\n\016RP_TOGGLEPAUSE\020\002*\035\n\014PrefetchTy" - "pe\022\r\n\tPFT_SOUND\020\000*V\n\027ESplitScreenMessage" - "Type\022\033\n\027MSG_SPLITSCREEN_ADDUSER\020\000\022\036\n\032MSG" - "_SPLITSCREEN_REMOVEUSER\020\001*\263\001\n\025EQueryCvar" - "ValueStatus\022%\n!eQueryCvarValueStatus_Val" - "ueIntact\020\000\022&\n\"eQueryCvarValueStatus_Cvar" - "NotFound\020\001\022\"\n\036eQueryCvarValueStatus_NotA" - "Cvar\020\002\022\'\n#eQueryCvarValueStatus_CvarProt" - "ected\020\003*h\n\013DIALOG_TYPE\022\016\n\nDIALOG_MSG\020\000\022\017" - "\n\013DIALOG_MENU\020\001\022\017\n\013DIALOG_TEXT\020\002\022\020\n\014DIAL" - "OG_ENTRY\020\003\022\025\n\021DIALOG_ASKCONNECT\020\004*+\n\031SVC" - "_Messages_LowFrequency\022\016\n\tsvc_dummy\020\330\004*y" - "\n\026Bidirectional_Messages\022\033\n\027bi_Rebroadca" - "stGameEvent\020\020\022\030\n\024bi_RebroadcastSource\020\021\022" - "\020\n\014bi_GameEvent\020\022\022\026\n\022bi_PredictionEvent\020" - "\023*M\n#Bidirectional_Messages_LowFrequency" - "\022\021\n\014bi_RelayInfo\020\274\005\022\023\n\016bi_RelayPacket\020\275\005" - "*\241\001\n\021ReplayEventType_t\022\027\n\023REPLAY_EVENT_C" - "ANCEL\020\000\022\026\n\022REPLAY_EVENT_DEATH\020\001\022\030\n\024REPLA" - "Y_EVENT_GENERIC\020\002\022\'\n#REPLAY_EVENT_STUCK_" - "NEED_FULL_UPDATE\020\003\022\030\n\024REPLAY_EVENT_VICTO" - "RY\020\004" + "oto\032\031source2_steam_stats.proto\"}\n\022CCLCMs" + "g_ClientInfo\022\026\n\016send_table_crc\030\001 \001(\007\022\024\n\014" + "server_count\030\002 \001(\r\022\017\n\007is_hltv\030\003 \001(\010\022\022\n\nf" + "riends_id\030\005 \001(\r\022\024\n\014friends_name\030\006 \001(\t\"9\n" + "\014CCLCMsg_Move\022\014\n\004data\030\003 \001(\014\022\033\n\023last_comm" + "and_number\030\004 \001(\r\"\217\002\n\016CMsgVoiceAudio\022:\n\006f" + "ormat\030\001 \001(\0162\022.VoiceDataFormat_t:\026VOICEDA" + "TA_FORMAT_STEAM\022\022\n\nvoice_data\030\002 \001(\014\022\026\n\016s" + "equence_bytes\030\003 \001(\005\022\026\n\016section_number\030\004 " + "\001(\r\022\023\n\013sample_rate\030\005 \001(\r\022\"\n\032uncompressed" + "_sample_offset\030\006 \001(\r\022\023\n\013num_packets\030\007 \001(" + "\r\022\032\n\016packet_offsets\030\010 \003(\rB\002\020\001\022\023\n\013voice_l" + "evel\030\t \001(\002\"O\n\021CCLCMsg_VoiceData\022\036\n\005audio" + "\030\001 \001(\0132\017.CMsgVoiceAudio\022\014\n\004xuid\030\002 \001(\006\022\014\n" + "\004tick\030\003 \001(\r\"A\n\023CCLCMsg_BaselineAck\022\025\n\rba" + "seline_tick\030\001 \001(\005\022\023\n\013baseline_nr\030\002 \001(\005\"*" + "\n\024CCLCMsg_ListenEvents\022\022\n\nevent_mask\030\001 \003" + "(\007\"\\\n\030CCLCMsg_RespondCvarValue\022\016\n\006cookie" + "\030\001 \001(\005\022\023\n\013status_code\030\002 \001(\005\022\014\n\004name\030\003 \001(" + "\t\022\r\n\005value\030\004 \001(\t\"+\n\027CCLCMsg_LoadingProgr" + "ess\022\020\n\010progress\030\001 \001(\005\"0\n\032CCLCMsg_SplitPl" + "ayerConnect\022\022\n\nplayername\030\001 \001(\t\"-\n\035CCLCM" + "sg_SplitPlayerDisconnect\022\014\n\004slot\030\001 \001(\005\"*" + "\n\024CCLCMsg_ServerStatus\022\022\n\nsimplified\030\001 \001" + "(\010\"Z\n\024CCLCMsg_RequestPause\022-\n\npause_type" + "\030\001 \001(\0162\017.RequestPause_t:\010RP_PAUSE\022\023\n\013pau" + "se_group\030\002 \001(\005\"+\n\024CCLCMsg_CmdKeyValues\022\014" + "\n\004data\030\001 \001(\014:\005\200\265\030\334\013\"*\n\031CCLCMsg_RconServe" + "rDetails\022\r\n\005token\030\001 \001(\014\"\244\002\n\022CCLCMsg_Diag" + "nostic\022-\n\014system_specs\030\001 \001(\0132\027.CMsgSourc" + "e2SystemSpecs\0221\n\014vprof_report\030\002 \001(\0132\033.CM" + "sgSource2VProfLiteReport\0227\n\017downstream_f" + "low\030\003 \001(\0132\036.CMsgSource2NetworkFlowQualit" + "y\0225\n\rupstream_flow\030\004 \001(\0132\036.CMsgSource2Ne" + "tworkFlowQuality\0224\n\014perf_samples\030\005 \003(\0132\036" + ".CMsgSource2PerfIntervalSample:\006\200\265\030\200\200\001\"\217" + "\003\n\022CSVCMsg_ServerInfo\022\020\n\010protocol\030\001 \001(\005\022" + "\024\n\014server_count\030\002 \001(\005\022\024\n\014is_dedicated\030\003 " + "\001(\010\022\017\n\007is_hltv\030\004 \001(\010\022\014\n\004c_os\030\006 \001(\005\022\023\n\013ma" + "x_clients\030\n \001(\005\022\023\n\013max_classes\030\013 \001(\005\022\027\n\013" + "player_slot\030\014 \001(\005:\002-1\022\025\n\rtick_interval\030\r" + " \001(\002\022\020\n\010game_dir\030\016 \001(\t\022\020\n\010map_name\030\017 \001(\t" + "\022\020\n\010sky_name\030\020 \001(\t\022\021\n\thost_name\030\021 \001(\t\022\022\n" + "\naddon_name\030\022 \001(\t\022>\n\023game_session_config" + "\030\023 \001(\0132!.CSVCMsg_GameSessionConfiguratio" + "n\022\035\n\025game_session_manifest\030\024 \001(\014:\006\200\265\030\200\240\006" + "\"\213\001\n\021CSVCMsg_ClassInfo\022\030\n\020create_on_clie" + "nt\030\001 \001(\010\022+\n\007classes\030\002 \003(\0132\032.CSVCMsg_Clas" + "sInfo.class_t\032/\n\007class_t\022\020\n\010class_id\030\001 \001" + "(\005\022\022\n\nclass_name\030\003 \001(\t\"\"\n\020CSVCMsg_SetPau" + "se\022\016\n\006paused\030\001 \001(\010\"G\n\021CSVCMsg_VoiceInit\022" + "\017\n\007quality\030\001 \001(\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007versi" + "on\030\003 \001(\005:\0010\"\035\n\rCSVCMsg_Print\022\014\n\004text\030\001 \001" + "(\t\"\343\003\n\016CSVCMsg_Sounds\022\026\n\016reliable_sound\030" + "\001 \001(\010\022+\n\006sounds\030\002 \003(\0132\033.CSVCMsg_Sounds.s" + "ounddata_t\032\213\003\n\013sounddata_t\022\020\n\010origin_x\030\001" + " \001(\021\022\020\n\010origin_y\030\002 \001(\021\022\020\n\010origin_z\030\003 \001(\021" + "\022\016\n\006volume\030\004 \001(\r\022\023\n\013delay_value\030\005 \001(\002\022\027\n" + "\017sequence_number\030\006 \001(\005\022\030\n\014entity_index\030\007" + " \001(\005:\002-1\022\017\n\007channel\030\010 \001(\005\022\r\n\005pitch\030\t \001(\005" + "\022\r\n\005flags\030\n \001(\005\022\021\n\tsound_num\030\013 \001(\r\022\030\n\020so" + "und_num_handle\030\014 \001(\007\022\026\n\016speaker_entity\030\r" + " \001(\005\022\023\n\013random_seed\030\016 \001(\005\022\023\n\013sound_level" + "\030\017 \001(\005\022\023\n\013is_sentence\030\020 \001(\010\022\022\n\nis_ambien" + "t\030\021 \001(\010\022\014\n\004guid\030\022 \001(\r\022\031\n\021sound_resource_" + "id\030\023 \001(\006\"X\n\020CSVCMsg_Prefetch\022\023\n\013sound_in" + "dex\030\001 \001(\005\022/\n\rresource_type\030\002 \001(\0162\r.Prefe" + "tchType:\tPFT_SOUND\"=\n\017CSVCMsg_SetView\022\030\n" + "\014entity_index\030\001 \001(\005:\002-1\022\020\n\004slot\030\002 \001(\005:\002-" + "1\"@\n\020CSVCMsg_FixAngle\022\020\n\010relative\030\001 \001(\010\022" + "\032\n\005angle\030\002 \001(\0132\013.CMsgQAngle\"4\n\026CSVCMsg_C" + "rosshairAngle\022\032\n\005angle\030\001 \001(\0132\013.CMsgQAngl" + "e\"\216\001\n\020CSVCMsg_BSPDecal\022\030\n\003pos\030\001 \001(\0132\013.CM" + "sgVector\022\033\n\023decal_texture_index\030\002 \001(\005\022\030\n" + "\014entity_index\030\003 \001(\005:\002-1\022\023\n\013model_index\030\004" + " \001(\005\022\024\n\014low_priority\030\005 \001(\010\"~\n\023CSVCMsg_Sp" + "litScreen\022\?\n\004type\030\001 \001(\0162\030.ESplitScreenMe" + "ssageType:\027MSG_SPLITSCREEN_ADDUSER\022\014\n\004sl" + "ot\030\002 \001(\005\022\030\n\014player_index\030\003 \001(\005:\002-1\"9\n\024CS" + "VCMsg_GetCvarValue\022\016\n\006cookie\030\001 \001(\005\022\021\n\tcv" + "ar_name\030\002 \001(\t\"<\n\014CSVCMsg_Menu\022\023\n\013dialog_" + "type\030\001 \001(\005\022\027\n\017menu_key_values\030\002 \001(\014\"N\n\023C" + "SVCMsg_UserMessage\022\020\n\010msg_type\030\001 \001(\005\022\020\n\010" + "msg_data\030\002 \001(\014\022\023\n\013passthrough\030\003 \001(\005\"\260\002\n\021" + "CSVCMsg_SendTable\022\016\n\006is_end\030\001 \001(\010\022\026\n\016net" + "_table_name\030\002 \001(\t\022\025\n\rneeds_decoder\030\003 \001(\010" + "\022,\n\005props\030\004 \003(\0132\035.CSVCMsg_SendTable.send" + "prop_t\032\255\001\n\nsendprop_t\022\014\n\004type\030\001 \001(\005\022\020\n\010v" + "ar_name\030\002 \001(\t\022\r\n\005flags\030\003 \001(\005\022\020\n\010priority" + "\030\004 \001(\005\022\017\n\007dt_name\030\005 \001(\t\022\024\n\014num_elements\030" + "\006 \001(\005\022\021\n\tlow_value\030\007 \001(\002\022\022\n\nhigh_value\030\010" + " \001(\002\022\020\n\010num_bits\030\t \001(\005\"\321\001\n\025CSVCMsg_GameE" + "ventList\0228\n\013descriptors\030\001 \003(\0132#.CSVCMsg_" + "GameEventList.descriptor_t\032#\n\005key_t\022\014\n\004t" + "ype\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032Y\n\014descriptor_t\022" + "\017\n\007eventid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022*\n\004keys\030\003" + " \003(\0132\034.CSVCMsg_GameEventList.key_t\"\355\007\n\026C" + "SVCMsg_PacketEntities\022\023\n\013max_entries\030\001 \001" + "(\005\022\027\n\017updated_entries\030\002 \001(\005\022\027\n\017legacy_is" + "_delta\030\003 \001(\010\022\027\n\017update_baseline\030\004 \001(\010\022\020\n" + "\010baseline\030\005 \001(\005\022\022\n\ndelta_from\030\006 \001(\005\022\023\n\013e" + "ntity_data\030\007 \001(\014\022\032\n\022pending_full_frame\030\010" + " \001(\010\022 \n\030active_spawngroup_handle\030\t \001(\r\022\'" + "\n\037max_spawngroup_creationsequence\030\n \001(\r\022" + " \n\030last_cmd_number_executed\030\013 \001(\r\022\"\n\032las" + "t_cmd_number_recv_delta\030\021 \001(\021\022\023\n\013server_" + "tick\030\014 \001(\r\022\033\n\023serialized_entities\030\r \001(\014\022" + "I\n\023alternate_baselines\030\017 \003(\0132,.CSVCMsg_P" + "acketEntities.alternate_baseline_t\022#\n\033ha" + "s_pvs_vis_bits_deprecated\030\020 \001(\r\022\033\n\017cmd_r" + "ecv_status\030\026 \003(\021B\002\020\001\022T\n\030non_transmitted_" + "entities\030\023 \001(\01322.CSVCMsg_PacketEntities." + "non_transmitted_entities_t\022 \n\030cq_starved" + "_command_ticks\030\024 \001(\r\022\"\n\032cq_discarded_com" + "mand_ticks\030\025 \001(\r\022R\n\027outofpvs_entity_upda" + "tes\030\027 \001(\01321.CSVCMsg_PacketEntities.outof" + "pvs_entity_updates_t\022\024\n\013dev_padding\030\347\007 \001" + "(\014\032D\n\024alternate_baseline_t\022\024\n\014entity_ind" + "ex\030\001 \001(\005\022\026\n\016baseline_index\030\002 \001(\005\032@\n\032non_" + "transmitted_entities_t\022\024\n\014header_count\030\001" + " \001(\005\022\014\n\004data\030\002 \001(\014\0328\n\031outofpvs_entity_up" + "dates_t\022\r\n\005count\030\001 \001(\005\022\014\n\004data\030\002 \001(\014:\004\200\265" + "\030\000\"R\n\024CSVCMsg_TempEntities\022\020\n\010reliable\030\001" + " \001(\010\022\023\n\013num_entries\030\002 \001(\005\022\023\n\013entity_data" + "\030\003 \001(\014\"\221\002\n\031CSVCMsg_CreateStringTable\022\014\n\004" + "name\030\001 \001(\t\022\023\n\013num_entries\030\002 \001(\005\022\034\n\024user_" + "data_fixed_size\030\003 \001(\010\022\026\n\016user_data_size\030" + "\004 \001(\005\022\033\n\023user_data_size_bits\030\005 \001(\005\022\r\n\005fl" + "ags\030\006 \001(\005\022\023\n\013string_data\030\007 \001(\014\022\031\n\021uncomp" + "ressed_size\030\010 \001(\005\022\027\n\017data_compressed\030\t \001" + "(\010\022\036\n\026using_varint_bitcounts\030\n \001(\010:\006\200\265\030\200" + "\200\003\"g\n\031CSVCMsg_UpdateStringTable\022\020\n\010table" + "_id\030\001 \001(\005\022\033\n\023num_changed_entries\030\002 \001(\005\022\023" + "\n\013string_data\030\003 \001(\014:\006\200\265\030\200\200\020\"\241\001\n\021CSVCMsg_" + "VoiceData\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudi" + "o\022\022\n\006client\030\002 \001(\005:\002-1\022\021\n\tproximity\030\003 \001(\010" + "\022\014\n\004xuid\030\004 \001(\006\022\024\n\014audible_mask\030\005 \001(\005\022\014\n\004" + "tick\030\006 \001(\r\022\023\n\013passthrough\030\007 \001(\005\"K\n\026CSVCM" + "sg_PacketReliable\022\014\n\004tick\030\001 \001(\005\022\024\n\014messa" + "gessize\030\002 \001(\005\022\r\n\005state\030\003 \001(\010\"T\n\026CSVCMsg_" + "FullFrameSplit\022\014\n\004tick\030\001 \001(\005\022\017\n\007section\030" + "\002 \001(\005\022\r\n\005total\030\003 \001(\005\022\014\n\004data\030\004 \001(\014\"U\n\022CS" + "VCMsg_HLTVStatus\022\016\n\006master\030\001 \001(\t\022\017\n\007clie" + "nts\030\002 \001(\005\022\r\n\005slots\030\003 \001(\005\022\017\n\007proxies\030\004 \001(" + "\005\")\n\025CSVCMsg_ServerSteamID\022\020\n\010steam_id\030\001" + " \001(\004\"$\n\024CSVCMsg_CmdKeyValues\022\014\n\004data\030\001 \001" + "(\014\";\n\031CSVCMsg_RconServerDetails\022\r\n\005token" + "\030\001 \001(\014\022\017\n\007details\030\002 \001(\t\";\n\016CMsgIPCAddres" + "s\022\025\n\rcomputer_guid\030\001 \001(\006\022\022\n\nprocess_id\030\002" + " \001(\r\"\244\001\n\016CMsgServerPeer\022\027\n\013player_slot\030\001" + " \001(\005:\002-1\022\017\n\007steamid\030\002 \001(\006\022\034\n\003ipc\030\003 \001(\0132\017" + ".CMsgIPCAddress\022\025\n\rthey_hear_you\030\004 \001(\010\022\025" + "\n\ryou_hear_them\030\005 \001(\010\022\034\n\024is_listenserver" + "_host\030\006 \001(\010\"1\n\020CSVCMsg_PeerList\022\035\n\004peer\030" + "\001 \003(\0132\017.CMsgServerPeer\"N\n\034CSVCMsg_ClearA" + "llStringTables\022\017\n\007mapname\030\001 \001(\t\022\035\n\025creat" + "e_tables_skipped\030\003 \001(\010\"\363\003\n\037ProtoFlattene" + "dSerializerField_t\022\024\n\014var_type_sym\030\001 \001(\005" + "\022\024\n\014var_name_sym\030\002 \001(\005\022\021\n\tbit_count\030\003 \001(" + "\005\022\021\n\tlow_value\030\004 \001(\002\022\022\n\nhigh_value\030\005 \001(\002" + "\022\024\n\014encode_flags\030\006 \001(\005\022!\n\031field_serializ" + "er_name_sym\030\007 \001(\005\022 \n\030field_serializer_ve" + "rsion\030\010 \001(\005\022\025\n\rsend_node_sym\030\t \001(\005\022\027\n\017va" + "r_encoder_sym\030\n \001(\005\022O\n\021polymorphic_types" + "\030\013 \003(\01324.ProtoFlattenedSerializerField_t" + ".polymorphic_field_t\022\032\n\022var_serializer_s" + "ym\030\014 \001(\005\032r\n\023polymorphic_field_t\022-\n%polym" + "orphic_field_serializer_name_sym\030\001 \001(\005\022," + "\n$polymorphic_field_serializer_version\030\002" + " \001(\005\"k\n\032ProtoFlattenedSerializer_t\022\033\n\023se" + "rializer_name_sym\030\001 \001(\005\022\032\n\022serializer_ve" + "rsion\030\002 \001(\005\022\024\n\014fields_index\030\003 \003(\005\"\230\001\n\033CS" + "VCMsg_FlattenedSerializer\0220\n\013serializers" + "\030\001 \003(\0132\033.ProtoFlattenedSerializer_t\022\017\n\007s" + "ymbols\030\002 \003(\t\0220\n\006fields\030\003 \003(\0132 .ProtoFlat" + "tenedSerializerField_t:\004\200\265\030\000\"!\n\021CSVCMsg_" + "StopSound\022\014\n\004guid\030\001 \001(\007\"y\n\036CBidirMsg_Reb" + "roadcastGameEvent\022\024\n\014posttoserver\030\001 \001(\010\022" + "\017\n\007buftype\030\002 \001(\005\022\026\n\016clientbitcount\030\003 \001(\r" + "\022\030\n\020receivingclients\030\004 \001(\004\"2\n\033CBidirMsg_" + "RebroadcastSource\022\023\n\013eventsource\030\001 \001(\005\"\232" + "\001\n\031CBidirMsg_PredictionEvent\022\020\n\010event_id" + "\030\001 \001(\r\022\022\n\nevent_data\030\002 \001(\014\022\021\n\tsync_type\030" + "\003 \001(\r\022\027\n\017sync_val_uint32\030\004 \001(\r\"+\n\tESyncT" + "ype\022\013\n\007ST_Tick\020\000\022\021\n\rST_UserCmdNum\020\001\"\305\006\n\026" + "CMsgServerNetworkStats\022\021\n\tdedicated\030\001 \001(" + "\010\022\021\n\tcpu_usage\030\002 \001(\005\022\026\n\016memory_used_mb\030\003" + " \001(\005\022\026\n\016memory_free_mb\030\004 \001(\005\022\016\n\006uptime\030\005" + " \001(\005\022\023\n\013spawn_count\030\006 \001(\005\022\023\n\013num_clients" + "\030\010 \001(\005\022\020\n\010num_bots\030\t \001(\005\022\026\n\016num_spectato" + "rs\030\n \001(\005\022\025\n\rnum_tv_relays\030\013 \001(\005\022\013\n\003fps\030\014" + " \001(\002\022+\n\005ports\030\021 \003(\0132\034.CMsgServerNetworkS" + "tats.Port\022\023\n\013avg_ping_ms\030\022 \001(\002\022\036\n\026avg_en" + "gine_latency_out\030\023 \001(\002\022\027\n\017avg_packets_ou" + "t\030\024 \001(\002\022\026\n\016avg_packets_in\030\025 \001(\002\022\024\n\014avg_l" + "oss_out\030\026 \001(\002\022\023\n\013avg_loss_in\030\027 \001(\002\022\024\n\014av" + "g_data_out\030\030 \001(\002\022\023\n\013avg_data_in\030\031 \001(\002\022\025\n" + "\rtotal_data_in\030\032 \001(\004\022\030\n\020total_packets_in" + "\030\033 \001(\004\022\026\n\016total_data_out\030\034 \001(\004\022\031\n\021total_" + "packets_out\030\035 \001(\004\022/\n\007players\030\036 \003(\0132\036.CMs" + "gServerNetworkStats.Player\032\"\n\004Port\022\014\n\004po" + "rt\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032\252\001\n\006Player\022\017\n\007ste" + "amid\030\001 \001(\004\022\023\n\013remote_addr\030\002 \001(\t\022\023\n\013ping_" + "avg_ms\030\004 \001(\005\022\027\n\017packet_loss_pct\030\005 \001(\002\022\016\n" + "\006is_bot\030\006 \001(\010\022\017\n\007loss_in\030\007 \001(\002\022\020\n\010loss_o" + "ut\030\010 \001(\002\022\031\n\021engine_latency_ms\030\t \001(\005\"\332\001\n\022" + "CSVCMsg_HltvReplay\022\r\n\005delay\030\001 \001(\005\022\032\n\016pri" + "mary_target\030\002 \001(\005:\002-1\022\026\n\016replay_stop_at\030" + "\003 \001(\005\022\027\n\017replay_start_at\030\004 \001(\005\022\035\n\025replay" + "_slowdown_begin\030\005 \001(\005\022\033\n\023replay_slowdown" + "_end\030\006 \001(\005\022\034\n\024replay_slowdown_rate\030\007 \001(\002" + "\022\016\n\006reason\030\010 \001(\005\"\205\001\n\022CCLCMsg_HltvReplay\022" + "\017\n\007request\030\001 \001(\005\022\027\n\017slowdown_length\030\002 \001(" + "\002\022\025\n\rslowdown_rate\030\003 \001(\002\022\032\n\016primary_targ" + "et\030\004 \001(\005:\002-1\022\022\n\nevent_time\030\005 \001(\002\"(\n\031CSVC" + "Msg_Broadcast_Command\022\013\n\003cmd\030\001 \001(\t\"\357\001\n\035C" + "CLCMsg_HltvFixupOperatorTick\022\014\n\004tick\030\001 \001" + "(\005\022\022\n\nprops_data\030\002 \001(\014\022\033\n\006origin\030\003 \001(\0132\013" + ".CMsgVector\022\037\n\neye_angles\030\004 \001(\0132\013.CMsgQA" + "ngle\022\025\n\robserver_mode\030\005 \001(\005\022\034\n\024cameraman" + "_scoreboard\030\006 \001(\010\022\027\n\017observer_target\030\007 \001" + "(\005\022 \n\013view_offset\030\010 \001(\0132\013.CMsgVector\"O\n\037" + "CSVCMsg_HltvFixupOperatorStatus\022\014\n\004mode\030" + "\001 \001(\r\022\036\n\026override_operator_name\030\002 \001(\t\"\201\001" + "\n\021CMsgServerUserCmd\022\014\n\004data\030\001 \001(\014\022\022\n\ncmd" + "_number\030\002 \001(\005\022\027\n\013player_slot\030\003 \001(\005:\002-1\022\034" + "\n\024server_tick_executed\030\004 \001(\005\022\023\n\013client_t" + "ick\030\005 \001(\005\"<\n\024CSVCMsg_UserCommands\022$\n\010com" + "mands\030\001 \003(\0132\022.CMsgServerUserCmd\"Y\n\030CSVCM" + "sg_NextMsgPredicted\022$\n\030predicted_by_play" + "er_slot\030\001 \001(\005:\002-1\022\027\n\017message_type_id\030\002 \001" + "(\r*\313\002\n\014CLC_Messages\022\022\n\016clc_ClientInfo\020\024\022" + "\014\n\010clc_Move\020\025\022\021\n\rclc_VoiceData\020\026\022\023\n\017clc_" + "BaselineAck\020\027\022\030\n\024clc_RespondCvarValue\020\031\022" + "\027\n\023clc_LoadingProgress\020\033\022\032\n\026clc_SplitPla" + "yerConnect\020\034\022\035\n\031clc_SplitPlayerDisconnec" + "t\020\036\022\024\n\020clc_ServerStatus\020\037\022\024\n\020clc_Request" + "Pause\020!\022\024\n\020clc_CmdKeyValues\020\"\022\031\n\025clc_Rco" + "nServerDetails\020#\022\022\n\016clc_HltvReplay\020$\022\022\n\016" + "clc_Diagnostic\020%*\261\005\n\014SVC_Messages\022\022\n\016svc" + "_ServerInfo\020(\022\033\n\027svc_FlattenedSerializer" + "\020)\022\021\n\rsvc_ClassInfo\020*\022\020\n\014svc_SetPause\020+\022" + "\031\n\025svc_CreateStringTable\020,\022\031\n\025svc_Update" + "StringTable\020-\022\021\n\rsvc_VoiceInit\020.\022\021\n\rsvc_" + "VoiceData\020/\022\r\n\tsvc_Print\0200\022\016\n\nsvc_Sounds" + "\0201\022\017\n\013svc_SetView\0202\022\034\n\030svc_ClearAllStrin" + "gTables\0203\022\024\n\020svc_CmdKeyValues\0204\022\020\n\014svc_B" + "SPDecal\0205\022\023\n\017svc_SplitScreen\0206\022\026\n\022svc_Pa" + "cketEntities\0207\022\020\n\014svc_Prefetch\0208\022\014\n\010svc_" + "Menu\0209\022\024\n\020svc_GetCvarValue\020:\022\021\n\rsvc_Stop" + "Sound\020;\022\020\n\014svc_PeerList\020<\022\026\n\022svc_PacketR" + "eliable\020=\022\022\n\016svc_HLTVStatus\020>\022\025\n\021svc_Ser" + "verSteamID\020\?\022\026\n\022svc_FullFrameSplit\020F\022\031\n\025" + "svc_RconServerDetails\020G\022\023\n\017svc_UserMessa" + "ge\020H\022\031\n\025svc_Broadcast_Command\020J\022\037\n\033svc_H" + "ltvFixupOperatorStatus\020K\022\020\n\014svc_UserCmds" + "\020L\022\030\n\024svc_NextMsgPredicted\020M*g\n\021VoiceDat" + "aFormat_t\022\032\n\026VOICEDATA_FORMAT_STEAM\020\000\022\033\n" + "\027VOICEDATA_FORMAT_ENGINE\020\001\022\031\n\025VOICEDATA_" + "FORMAT_OPUS\020\002*B\n\016RequestPause_t\022\014\n\010RP_PA" + "USE\020\000\022\016\n\nRP_UNPAUSE\020\001\022\022\n\016RP_TOGGLEPAUSE\020" + "\002*\035\n\014PrefetchType\022\r\n\tPFT_SOUND\020\000*V\n\027ESpl" + "itScreenMessageType\022\033\n\027MSG_SPLITSCREEN_A" + "DDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_REMOVEUSER\020\001" + "*\263\001\n\025EQueryCvarValueStatus\022%\n!eQueryCvar" + "ValueStatus_ValueIntact\020\000\022&\n\"eQueryCvarV" + "alueStatus_CvarNotFound\020\001\022\"\n\036eQueryCvarV" + "alueStatus_NotACvar\020\002\022\'\n#eQueryCvarValue" + "Status_CvarProtected\020\003*h\n\013DIALOG_TYPE\022\016\n" + "\nDIALOG_MSG\020\000\022\017\n\013DIALOG_MENU\020\001\022\017\n\013DIALOG" + "_TEXT\020\002\022\020\n\014DIALOG_ENTRY\020\003\022\025\n\021DIALOG_ASKC" + "ONNECT\020\004*+\n\031SVC_Messages_LowFrequency\022\016\n" + "\tsvc_dummy\020\330\004*y\n\026Bidirectional_Messages\022" + "\033\n\027bi_RebroadcastGameEvent\020\020\022\030\n\024bi_Rebro" + "adcastSource\020\021\022\020\n\014bi_GameEvent\020\022\022\026\n\022bi_P" + "redictionEvent\020\023*M\n#Bidirectional_Messag" + "es_LowFrequency\022\021\n\014bi_RelayInfo\020\274\005\022\023\n\016bi" + "_RelayPacket\020\275\005*\241\001\n\021ReplayEventType_t\022\027\n" + "\023REPLAY_EVENT_CANCEL\020\000\022\026\n\022REPLAY_EVENT_D" + "EATH\020\001\022\030\n\024REPLAY_EVENT_GENERIC\020\002\022\'\n#REPL" + "AY_EVENT_STUCK_NEED_FULL_UPDATE\020\003\022\030\n\024REP" + "LAY_EVENT_VICTORY\020\004" ; -static const ::_pbi::DescriptorTable* const descriptor_table_netmessages_2eproto_deps[1] = { +static const ::_pbi::DescriptorTable* const descriptor_table_netmessages_2eproto_deps[2] = { &::descriptor_table_networkbasetypes_2eproto, + &::descriptor_table_source2_5fsteam_5fstats_2eproto, }; static ::_pbi::once_flag descriptor_table_netmessages_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_netmessages_2eproto = { - false, false, 14324, descriptor_table_protodef_netmessages_2eproto, + false, false, 11299, descriptor_table_protodef_netmessages_2eproto, "netmessages.proto", - &descriptor_table_netmessages_2eproto_once, descriptor_table_netmessages_2eproto_deps, 1, 81, + &descriptor_table_netmessages_2eproto_once, descriptor_table_netmessages_2eproto_deps, 2, 74, schemas, file_default_instances, TableStruct_netmessages_2eproto::offsets, file_level_metadata_netmessages_2eproto, file_level_enum_descriptors_netmessages_2eproto, file_level_service_descriptors_netmessages_2eproto, @@ -3382,6 +2863,7 @@ bool SVC_Messages_IsValid(int value) { case 74: case 75: case 76: + case 77: return true; default: return false; @@ -7143,3918 +6625,6 @@ void CCLCMsg_RconServerDetails::InternalSwap(CCLCMsg_RconServerDetails* other) { // =================================================================== -class CMsgSource2SystemSpecs::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cpu_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cpu_brand(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_cpu_model(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_cpu_num_physical(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_ram_physical_total_mb(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_gpu_rendersystem_dll_name(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_gpu_vendor_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_gpu_driver_name(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_gpu_driver_version_high(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_gpu_driver_version_low(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_gpu_dx_support_level(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_gpu_texture_memory_size_mb(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_backbuffer_width(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_backbuffer_height(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } -}; - -CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2SystemSpecs) -} -CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2SystemSpecs* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cpu_id_){} - , decltype(_impl_.cpu_brand_){} - , decltype(_impl_.gpu_rendersystem_dll_name_){} - , decltype(_impl_.gpu_driver_name_){} - , decltype(_impl_.cpu_model_){} - , decltype(_impl_.cpu_num_physical_){} - , decltype(_impl_.ram_physical_total_mb_){} - , decltype(_impl_.gpu_vendor_id_){} - , decltype(_impl_.gpu_driver_version_high_){} - , decltype(_impl_.gpu_driver_version_low_){} - , decltype(_impl_.gpu_dx_support_level_){} - , decltype(_impl_.gpu_texture_memory_size_mb_){} - , decltype(_impl_.backbuffer_width_){} - , decltype(_impl_.backbuffer_height_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cpu_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cpu_id()) { - _this->_impl_.cpu_id_.Set(from._internal_cpu_id(), - _this->GetArenaForAllocation()); - } - _impl_.cpu_brand_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cpu_brand()) { - _this->_impl_.cpu_brand_.Set(from._internal_cpu_brand(), - _this->GetArenaForAllocation()); - } - _impl_.gpu_rendersystem_dll_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gpu_rendersystem_dll_name()) { - _this->_impl_.gpu_rendersystem_dll_name_.Set(from._internal_gpu_rendersystem_dll_name(), - _this->GetArenaForAllocation()); - } - _impl_.gpu_driver_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gpu_driver_name()) { - _this->_impl_.gpu_driver_name_.Set(from._internal_gpu_driver_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.cpu_model_, &from._impl_.cpu_model_, - static_cast(reinterpret_cast(&_impl_.backbuffer_height_) - - reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.backbuffer_height_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2SystemSpecs) -} - -inline void CMsgSource2SystemSpecs::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cpu_id_){} - , decltype(_impl_.cpu_brand_){} - , decltype(_impl_.gpu_rendersystem_dll_name_){} - , decltype(_impl_.gpu_driver_name_){} - , decltype(_impl_.cpu_model_){0u} - , decltype(_impl_.cpu_num_physical_){0u} - , decltype(_impl_.ram_physical_total_mb_){0u} - , decltype(_impl_.gpu_vendor_id_){0u} - , decltype(_impl_.gpu_driver_version_high_){0u} - , decltype(_impl_.gpu_driver_version_low_){0u} - , decltype(_impl_.gpu_dx_support_level_){0u} - , decltype(_impl_.gpu_texture_memory_size_mb_){0u} - , decltype(_impl_.backbuffer_width_){0u} - , decltype(_impl_.backbuffer_height_){0u} - }; - _impl_.cpu_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_brand_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_rendersystem_dll_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_driver_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource2SystemSpecs::~CMsgSource2SystemSpecs() { - // @@protoc_insertion_point(destructor:CMsgSource2SystemSpecs) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2SystemSpecs::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cpu_id_.Destroy(); - _impl_.cpu_brand_.Destroy(); - _impl_.gpu_rendersystem_dll_name_.Destroy(); - _impl_.gpu_driver_name_.Destroy(); -} - -void CMsgSource2SystemSpecs::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2SystemSpecs::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2SystemSpecs) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.cpu_id_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.cpu_brand_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.gpu_rendersystem_dll_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.gpu_driver_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.cpu_model_, 0, static_cast( - reinterpret_cast(&_impl_.gpu_vendor_id_) - - reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.gpu_vendor_id_)); - } - if (cached_has_bits & 0x00003f00u) { - ::memset(&_impl_.gpu_driver_version_high_, 0, static_cast( - reinterpret_cast(&_impl_.backbuffer_height_) - - reinterpret_cast(&_impl_.gpu_driver_version_high_)) + sizeof(_impl_.backbuffer_height_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2SystemSpecs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string cpu_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_cpu_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_id"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string cpu_brand = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_cpu_brand(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_brand"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 cpu_model = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_cpu_model(&has_bits); - _impl_.cpu_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cpu_num_physical = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_cpu_num_physical(&has_bits); - _impl_.cpu_num_physical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ram_physical_total_mb = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_ram_physical_total_mb(&has_bits); - _impl_.ram_physical_total_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string gpu_rendersystem_dll_name = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_gpu_rendersystem_dll_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 gpu_vendor_id = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_gpu_vendor_id(&has_bits); - _impl_.gpu_vendor_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string gpu_driver_name = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_gpu_driver_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_driver_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 gpu_driver_version_high = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_gpu_driver_version_high(&has_bits); - _impl_.gpu_driver_version_high_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gpu_driver_version_low = 45; - case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_gpu_driver_version_low(&has_bits); - _impl_.gpu_driver_version_low_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gpu_dx_support_level = 46; - case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_gpu_dx_support_level(&has_bits); - _impl_.gpu_dx_support_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gpu_texture_memory_size_mb = 47; - case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_gpu_texture_memory_size_mb(&has_bits); - _impl_.gpu_texture_memory_size_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 backbuffer_width = 51; - case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_backbuffer_width(&has_bits); - _impl_.backbuffer_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 backbuffer_height = 52; - case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_backbuffer_height(&has_bits); - _impl_.backbuffer_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2SystemSpecs::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2SystemSpecs) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string cpu_id = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cpu_id().data(), static_cast(this->_internal_cpu_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.cpu_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_cpu_id(), target); - } - - // optional string cpu_brand = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cpu_brand().data(), static_cast(this->_internal_cpu_brand().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.cpu_brand"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_cpu_brand(), target); - } - - // optional uint32 cpu_model = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cpu_model(), target); - } - - // optional uint32 cpu_num_physical = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cpu_num_physical(), target); - } - - // optional uint32 ram_physical_total_mb = 21; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_ram_physical_total_mb(), target); - } - - // optional string gpu_rendersystem_dll_name = 41; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gpu_rendersystem_dll_name().data(), static_cast(this->_internal_gpu_rendersystem_dll_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); - target = stream->WriteStringMaybeAliased( - 41, this->_internal_gpu_rendersystem_dll_name(), target); - } - - // optional uint32 gpu_vendor_id = 42; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_gpu_vendor_id(), target); - } - - // optional string gpu_driver_name = 43; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gpu_driver_name().data(), static_cast(this->_internal_gpu_driver_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.gpu_driver_name"); - target = stream->WriteStringMaybeAliased( - 43, this->_internal_gpu_driver_name(), target); - } - - // optional uint32 gpu_driver_version_high = 44; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_gpu_driver_version_high(), target); - } - - // optional uint32 gpu_driver_version_low = 45; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_gpu_driver_version_low(), target); - } - - // optional uint32 gpu_dx_support_level = 46; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_gpu_dx_support_level(), target); - } - - // optional uint32 gpu_texture_memory_size_mb = 47; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_gpu_texture_memory_size_mb(), target); - } - - // optional uint32 backbuffer_width = 51; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_backbuffer_width(), target); - } - - // optional uint32 backbuffer_height = 52; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_backbuffer_height(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2SystemSpecs) - return target; -} - -size_t CMsgSource2SystemSpecs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2SystemSpecs) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string cpu_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cpu_id()); - } - - // optional string cpu_brand = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cpu_brand()); - } - - // optional string gpu_rendersystem_dll_name = 41; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gpu_rendersystem_dll_name()); - } - - // optional string gpu_driver_name = 43; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gpu_driver_name()); - } - - // optional uint32 cpu_model = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_model()); - } - - // optional uint32 cpu_num_physical = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_num_physical()); - } - - // optional uint32 ram_physical_total_mb = 21; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ram_physical_total_mb()); - } - - // optional uint32 gpu_vendor_id = 42; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_vendor_id()); - } - - } - if (cached_has_bits & 0x00003f00u) { - // optional uint32 gpu_driver_version_high = 44; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_driver_version_high()); - } - - // optional uint32 gpu_driver_version_low = 45; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_driver_version_low()); - } - - // optional uint32 gpu_dx_support_level = 46; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_dx_support_level()); - } - - // optional uint32 gpu_texture_memory_size_mb = 47; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_texture_memory_size_mb()); - } - - // optional uint32 backbuffer_width = 51; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_backbuffer_width()); - } - - // optional uint32 backbuffer_height = 52; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_backbuffer_height()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2SystemSpecs::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2SystemSpecs::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2SystemSpecs::GetClassData() const { return &_class_data_; } - - -void CMsgSource2SystemSpecs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2SystemSpecs) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_cpu_id(from._internal_cpu_id()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_cpu_brand(from._internal_cpu_brand()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_gpu_rendersystem_dll_name(from._internal_gpu_rendersystem_dll_name()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_gpu_driver_name(from._internal_gpu_driver_name()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.cpu_model_ = from._impl_.cpu_model_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.cpu_num_physical_ = from._impl_.cpu_num_physical_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ram_physical_total_mb_ = from._impl_.ram_physical_total_mb_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.gpu_vendor_id_ = from._impl_.gpu_vendor_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00003f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.gpu_driver_version_high_ = from._impl_.gpu_driver_version_high_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.gpu_driver_version_low_ = from._impl_.gpu_driver_version_low_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.gpu_dx_support_level_ = from._impl_.gpu_dx_support_level_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.gpu_texture_memory_size_mb_ = from._impl_.gpu_texture_memory_size_mb_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.backbuffer_width_ = from._impl_.backbuffer_width_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.backbuffer_height_ = from._impl_.backbuffer_height_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2SystemSpecs::CopyFrom(const CMsgSource2SystemSpecs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2SystemSpecs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2SystemSpecs::IsInitialized() const { - return true; -} - -void CMsgSource2SystemSpecs::InternalSwap(CMsgSource2SystemSpecs* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cpu_id_, lhs_arena, - &other->_impl_.cpu_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cpu_brand_, lhs_arena, - &other->_impl_.cpu_brand_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gpu_rendersystem_dll_name_, lhs_arena, - &other->_impl_.gpu_rendersystem_dll_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gpu_driver_name_, lhs_arena, - &other->_impl_.gpu_driver_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.backbuffer_height_) - + sizeof(CMsgSource2SystemSpecs::_impl_.backbuffer_height_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.cpu_model_)>( - reinterpret_cast(&_impl_.cpu_model_), - reinterpret_cast(&other->_impl_.cpu_model_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2SystemSpecs::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[14]); -} - -// =================================================================== - -class CMsgSource2VProfLiteReportItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_active_samples(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_active_samples_1secmax(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_usec_max(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_usec_avg_active(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_usec_p50_active(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_usec_p99_active(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_usec_avg_all(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_usec_p50_all(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_usec_p99_all(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_usec_1secmax_avg_active(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_usec_1secmax_p50_active(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_usec_1secmax_p95_active(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_usec_1secmax_p99_active(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_usec_1secmax_avg_all(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_usec_1secmax_p50_all(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_usec_1secmax_p95_all(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_usec_1secmax_p99_all(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2VProfLiteReportItem) -} -CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2VProfLiteReportItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.active_samples_){} - , decltype(_impl_.usec_max_){} - , decltype(_impl_.active_samples_1secmax_){} - , decltype(_impl_.usec_avg_active_){} - , decltype(_impl_.usec_p50_active_){} - , decltype(_impl_.usec_p99_active_){} - , decltype(_impl_.usec_avg_all_){} - , decltype(_impl_.usec_p50_all_){} - , decltype(_impl_.usec_p99_all_){} - , decltype(_impl_.usec_1secmax_avg_active_){} - , decltype(_impl_.usec_1secmax_p50_active_){} - , decltype(_impl_.usec_1secmax_p95_active_){} - , decltype(_impl_.usec_1secmax_p99_active_){} - , decltype(_impl_.usec_1secmax_avg_all_){} - , decltype(_impl_.usec_1secmax_p50_all_){} - , decltype(_impl_.usec_1secmax_p95_all_){} - , decltype(_impl_.usec_1secmax_p99_all_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.active_samples_, &from._impl_.active_samples_, - static_cast(reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - - reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_1secmax_p99_all_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReportItem) -} - -inline void CMsgSource2VProfLiteReportItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.active_samples_){0u} - , decltype(_impl_.usec_max_){0u} - , decltype(_impl_.active_samples_1secmax_){0u} - , decltype(_impl_.usec_avg_active_){0u} - , decltype(_impl_.usec_p50_active_){0u} - , decltype(_impl_.usec_p99_active_){0u} - , decltype(_impl_.usec_avg_all_){0u} - , decltype(_impl_.usec_p50_all_){0u} - , decltype(_impl_.usec_p99_all_){0u} - , decltype(_impl_.usec_1secmax_avg_active_){0u} - , decltype(_impl_.usec_1secmax_p50_active_){0u} - , decltype(_impl_.usec_1secmax_p95_active_){0u} - , decltype(_impl_.usec_1secmax_p99_active_){0u} - , decltype(_impl_.usec_1secmax_avg_all_){0u} - , decltype(_impl_.usec_1secmax_p50_all_){0u} - , decltype(_impl_.usec_1secmax_p95_all_){0u} - , decltype(_impl_.usec_1secmax_p99_all_){0u} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource2VProfLiteReportItem::~CMsgSource2VProfLiteReportItem() { - // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReportItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2VProfLiteReportItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CMsgSource2VProfLiteReportItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2VProfLiteReportItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReportItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.active_samples_, 0, static_cast( - reinterpret_cast(&_impl_.usec_avg_all_) - - reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_avg_all_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.usec_p50_all_, 0, static_cast( - reinterpret_cast(&_impl_.usec_1secmax_p50_all_) - - reinterpret_cast(&_impl_.usec_p50_all_)) + sizeof(_impl_.usec_1secmax_p50_all_)); - } - if (cached_has_bits & 0x00030000u) { - ::memset(&_impl_.usec_1secmax_p95_all_, 0, static_cast( - reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - - reinterpret_cast(&_impl_.usec_1secmax_p95_all_)) + sizeof(_impl_.usec_1secmax_p99_all_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2VProfLiteReportItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2VProfLiteReportItem.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 active_samples = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_active_samples(&has_bits); - _impl_.active_samples_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_max = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_usec_max(&has_bits); - _impl_.usec_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 active_samples_1secmax = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_active_samples_1secmax(&has_bits); - _impl_.active_samples_1secmax_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_avg_active = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_usec_avg_active(&has_bits); - _impl_.usec_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p50_active = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_usec_p50_active(&has_bits); - _impl_.usec_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p99_active = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_usec_p99_active(&has_bits); - _impl_.usec_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_avg_all = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_usec_avg_all(&has_bits); - _impl_.usec_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p50_all = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_usec_p50_all(&has_bits); - _impl_.usec_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p99_all = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_usec_p99_all(&has_bits); - _impl_.usec_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_avg_active = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_usec_1secmax_avg_active(&has_bits); - _impl_.usec_1secmax_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p50_active = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_usec_1secmax_p50_active(&has_bits); - _impl_.usec_1secmax_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p95_active = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_usec_1secmax_p95_active(&has_bits); - _impl_.usec_1secmax_p95_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p99_active = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_usec_1secmax_p99_active(&has_bits); - _impl_.usec_1secmax_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_avg_all = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_usec_1secmax_avg_all(&has_bits); - _impl_.usec_1secmax_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p50_all = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_usec_1secmax_p50_all(&has_bits); - _impl_.usec_1secmax_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p95_all = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_usec_1secmax_p95_all(&has_bits); - _impl_.usec_1secmax_p95_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p99_all = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_usec_1secmax_p99_all(&has_bits); - _impl_.usec_1secmax_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2VProfLiteReportItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReportItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2VProfLiteReportItem.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional uint32 active_samples = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_active_samples(), target); - } - - // optional uint32 usec_max = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_usec_max(), target); - } - - // optional uint32 active_samples_1secmax = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_active_samples_1secmax(), target); - } - - // optional uint32 usec_avg_active = 11; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_usec_avg_active(), target); - } - - // optional uint32 usec_p50_active = 12; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_usec_p50_active(), target); - } - - // optional uint32 usec_p99_active = 13; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_usec_p99_active(), target); - } - - // optional uint32 usec_avg_all = 21; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_usec_avg_all(), target); - } - - // optional uint32 usec_p50_all = 22; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_usec_p50_all(), target); - } - - // optional uint32 usec_p99_all = 23; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_usec_p99_all(), target); - } - - // optional uint32 usec_1secmax_avg_active = 31; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_usec_1secmax_avg_active(), target); - } - - // optional uint32 usec_1secmax_p50_active = 32; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_usec_1secmax_p50_active(), target); - } - - // optional uint32 usec_1secmax_p95_active = 33; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_usec_1secmax_p95_active(), target); - } - - // optional uint32 usec_1secmax_p99_active = 34; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_usec_1secmax_p99_active(), target); - } - - // optional uint32 usec_1secmax_avg_all = 41; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_usec_1secmax_avg_all(), target); - } - - // optional uint32 usec_1secmax_p50_all = 42; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_usec_1secmax_p50_all(), target); - } - - // optional uint32 usec_1secmax_p95_all = 43; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_usec_1secmax_p95_all(), target); - } - - // optional uint32 usec_1secmax_p99_all = 44; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_usec_1secmax_p99_all(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2VProfLiteReportItem) - return target; -} - -size_t CMsgSource2VProfLiteReportItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReportItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional uint32 active_samples = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples()); - } - - // optional uint32 usec_max = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_max()); - } - - // optional uint32 active_samples_1secmax = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples_1secmax()); - } - - // optional uint32 usec_avg_active = 11; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_avg_active()); - } - - // optional uint32 usec_p50_active = 12; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p50_active()); - } - - // optional uint32 usec_p99_active = 13; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p99_active()); - } - - // optional uint32 usec_avg_all = 21; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_avg_all()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 usec_p50_all = 22; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_p50_all()); - } - - // optional uint32 usec_p99_all = 23; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_p99_all()); - } - - // optional uint32 usec_1secmax_avg_active = 31; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_avg_active()); - } - - // optional uint32 usec_1secmax_p50_active = 32; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p50_active()); - } - - // optional uint32 usec_1secmax_p95_active = 33; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p95_active()); - } - - // optional uint32 usec_1secmax_p99_active = 34; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p99_active()); - } - - // optional uint32 usec_1secmax_avg_all = 41; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_avg_all()); - } - - // optional uint32 usec_1secmax_p50_all = 42; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p50_all()); - } - - } - if (cached_has_bits & 0x00030000u) { - // optional uint32 usec_1secmax_p95_all = 43; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p95_all()); - } - - // optional uint32 usec_1secmax_p99_all = 44; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p99_all()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReportItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2VProfLiteReportItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReportItem::GetClassData() const { return &_class_data_; } - - -void CMsgSource2VProfLiteReportItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2VProfLiteReportItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.active_samples_ = from._impl_.active_samples_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.usec_max_ = from._impl_.usec_max_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.active_samples_1secmax_ = from._impl_.active_samples_1secmax_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.usec_avg_active_ = from._impl_.usec_avg_active_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.usec_p50_active_ = from._impl_.usec_p50_active_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.usec_p99_active_ = from._impl_.usec_p99_active_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.usec_avg_all_ = from._impl_.usec_avg_all_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.usec_p50_all_ = from._impl_.usec_p50_all_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.usec_p99_all_ = from._impl_.usec_p99_all_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.usec_1secmax_avg_active_ = from._impl_.usec_1secmax_avg_active_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.usec_1secmax_p50_active_ = from._impl_.usec_1secmax_p50_active_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.usec_1secmax_p95_active_ = from._impl_.usec_1secmax_p95_active_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.usec_1secmax_p99_active_ = from._impl_.usec_1secmax_p99_active_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.usec_1secmax_avg_all_ = from._impl_.usec_1secmax_avg_all_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.usec_1secmax_p50_all_ = from._impl_.usec_1secmax_p50_all_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00030000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.usec_1secmax_p95_all_ = from._impl_.usec_1secmax_p95_all_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.usec_1secmax_p99_all_ = from._impl_.usec_1secmax_p99_all_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2VProfLiteReportItem::CopyFrom(const CMsgSource2VProfLiteReportItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReportItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2VProfLiteReportItem::IsInitialized() const { - return true; -} - -void CMsgSource2VProfLiteReportItem::InternalSwap(CMsgSource2VProfLiteReportItem* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_) - + sizeof(CMsgSource2VProfLiteReportItem::_impl_.usec_1secmax_p99_all_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.active_samples_)>( - reinterpret_cast(&_impl_.active_samples_), - reinterpret_cast(&other->_impl_.active_samples_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReportItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[15]); -} - -// =================================================================== - -class CMsgSource2VProfLiteReport::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSource2VProfLiteReportItem& total(const CMsgSource2VProfLiteReport* msg); - static void set_has_total(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_discarded_frames(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSource2VProfLiteReportItem& -CMsgSource2VProfLiteReport::_Internal::total(const CMsgSource2VProfLiteReport* msg) { - return *msg->_impl_.total_; -} -CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2VProfLiteReport) -} -CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2VProfLiteReport* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){from._impl_.items_} - , decltype(_impl_.total_){nullptr} - , decltype(_impl_.discarded_frames_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_total()) { - _this->_impl_.total_ = new ::CMsgSource2VProfLiteReportItem(*from._impl_.total_); - } - _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; - // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReport) -} - -inline void CMsgSource2VProfLiteReport::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){arena} - , decltype(_impl_.total_){nullptr} - , decltype(_impl_.discarded_frames_){0u} - }; -} - -CMsgSource2VProfLiteReport::~CMsgSource2VProfLiteReport() { - // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReport) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2VProfLiteReport::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.total_; -} - -void CMsgSource2VProfLiteReport::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2VProfLiteReport::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReport) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.items_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.total_ != nullptr); - _impl_.total_->Clear(); - } - _impl_.discarded_frames_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2VProfLiteReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSource2VProfLiteReportItem total = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_total(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2VProfLiteReportItem items = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_items(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 discarded_frames = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_discarded_frames(&has_bits); - _impl_.discarded_frames_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2VProfLiteReport::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReport) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSource2VProfLiteReportItem total = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::total(this), - _Internal::total(this).GetCachedSize(), target, stream); - } - - // repeated .CMsgSource2VProfLiteReportItem items = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_items_size()); i < n; i++) { - const auto& repfield = this->_internal_items(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 discarded_frames = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_discarded_frames(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2VProfLiteReport) - return target; -} - -size_t CMsgSource2VProfLiteReport::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReport) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2VProfLiteReportItem items = 2; - total_size += 1UL * this->_internal_items_size(); - for (const auto& msg : this->_impl_.items_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSource2VProfLiteReportItem total = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.total_); - } - - // optional uint32 discarded_frames = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_discarded_frames()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReport::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2VProfLiteReport::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReport::GetClassData() const { return &_class_data_; } - - -void CMsgSource2VProfLiteReport::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2VProfLiteReport) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.items_.MergeFrom(from._impl_.items_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_total()->::CMsgSource2VProfLiteReportItem::MergeFrom( - from._internal_total()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2VProfLiteReport::CopyFrom(const CMsgSource2VProfLiteReport& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReport) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2VProfLiteReport::IsInitialized() const { - return true; -} - -void CMsgSource2VProfLiteReport::InternalSwap(CMsgSource2VProfLiteReport* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.items_.InternalSwap(&other->_impl_.items_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.discarded_frames_) - + sizeof(CMsgSource2VProfLiteReport::_impl_.discarded_frames_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.total_)>( - reinterpret_cast(&_impl_.total_), - reinterpret_cast(&other->_impl_.total_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReport::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[16]); -} - -// =================================================================== - -class CMsgSource2NetworkFlowQuality::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bytes_total(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_bytes_total_reliable(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_bytes_total_voice(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_bytes_sec_p95(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_bytes_sec_p99(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_enginemsgs_total(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_enginemsgs_sec_p95(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_enginemsgs_sec_p99(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_netframes_total(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_netframes_dropped(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_netframes_outoforder(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_netframes_size_exceeds_mtu(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_netframes_size_p95(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_netframes_size_p99(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_ticks_total(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_ticks_good(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_ticks_good_almost_late(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_ticks_fixed_dropped(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_ticks_fixed_late(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_ticks_bad_dropped(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_ticks_bad_late(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static void set_has_ticks_bad_other(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static void set_has_tick_missrate_samples_total(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static void set_has_tick_missrate_samples_perfect(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static void set_has_tick_missrate_samples_perfectnet(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static void set_has_tick_missratenet_p75_x10(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } - static void set_has_tick_missratenet_p95_x10(HasBits* has_bits) { - (*has_bits)[0] |= 134217728u; - } - static void set_has_tick_missratenet_p99_x10(HasBits* has_bits) { - (*has_bits)[0] |= 268435456u; - } - static void set_has_recvmargin_p1(HasBits* has_bits) { - (*has_bits)[0] |= 536870912u; - } - static void set_has_recvmargin_p5(HasBits* has_bits) { - (*has_bits)[0] |= 1073741824u; - } - static void set_has_recvmargin_p25(HasBits* has_bits) { - (*has_bits)[0] |= 2147483648u; - } - static void set_has_recvmargin_p50(HasBits* has_bits) { - (*has_bits)[1] |= 1u; - } - static void set_has_recvmargin_p75(HasBits* has_bits) { - (*has_bits)[1] |= 2u; - } - static void set_has_recvmargin_p95(HasBits* has_bits) { - (*has_bits)[1] |= 4u; - } - static void set_has_netframe_jitter_p50(HasBits* has_bits) { - (*has_bits)[1] |= 8u; - } - static void set_has_netframe_jitter_p99(HasBits* has_bits) { - (*has_bits)[1] |= 16u; - } - static void set_has_interval_peakjitter_p50(HasBits* has_bits) { - (*has_bits)[1] |= 32u; - } - static void set_has_interval_peakjitter_p95(HasBits* has_bits) { - (*has_bits)[1] |= 64u; - } - static void set_has_packet_misdelivery_rate_p50_x4(HasBits* has_bits) { - (*has_bits)[1] |= 128u; - } - static void set_has_packet_misdelivery_rate_p95_x4(HasBits* has_bits) { - (*has_bits)[1] |= 256u; - } - static void set_has_net_ping_p5(HasBits* has_bits) { - (*has_bits)[1] |= 512u; - } - static void set_has_net_ping_p50(HasBits* has_bits) { - (*has_bits)[1] |= 1024u; - } - static void set_has_net_ping_p95(HasBits* has_bits) { - (*has_bits)[1] |= 2048u; - } -}; - -CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2NetworkFlowQuality) -} -CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2NetworkFlowQuality* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bytes_total_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.bytes_sec_p95_){} - , decltype(_impl_.bytes_total_reliable_){} - , decltype(_impl_.bytes_total_voice_){} - , decltype(_impl_.bytes_sec_p99_){} - , decltype(_impl_.enginemsgs_total_){} - , decltype(_impl_.enginemsgs_sec_p95_){} - , decltype(_impl_.enginemsgs_sec_p99_){} - , decltype(_impl_.netframes_total_){} - , decltype(_impl_.netframes_dropped_){} - , decltype(_impl_.netframes_outoforder_){} - , decltype(_impl_.netframes_size_exceeds_mtu_){} - , decltype(_impl_.netframes_size_p95_){} - , decltype(_impl_.netframes_size_p99_){} - , decltype(_impl_.ticks_total_){} - , decltype(_impl_.ticks_good_){} - , decltype(_impl_.ticks_good_almost_late_){} - , decltype(_impl_.ticks_fixed_dropped_){} - , decltype(_impl_.ticks_fixed_late_){} - , decltype(_impl_.ticks_bad_dropped_){} - , decltype(_impl_.ticks_bad_late_){} - , decltype(_impl_.ticks_bad_other_){} - , decltype(_impl_.tick_missrate_samples_total_){} - , decltype(_impl_.tick_missrate_samples_perfect_){} - , decltype(_impl_.tick_missrate_samples_perfectnet_){} - , decltype(_impl_.tick_missratenet_p75_x10_){} - , decltype(_impl_.tick_missratenet_p95_x10_){} - , decltype(_impl_.tick_missratenet_p99_x10_){} - , decltype(_impl_.recvmargin_p1_){} - , decltype(_impl_.recvmargin_p5_){} - , decltype(_impl_.recvmargin_p25_){} - , decltype(_impl_.recvmargin_p50_){} - , decltype(_impl_.recvmargin_p75_){} - , decltype(_impl_.recvmargin_p95_){} - , decltype(_impl_.netframe_jitter_p50_){} - , decltype(_impl_.netframe_jitter_p99_){} - , decltype(_impl_.interval_peakjitter_p50_){} - , decltype(_impl_.interval_peakjitter_p95_){} - , decltype(_impl_.packet_misdelivery_rate_p50_x4_){} - , decltype(_impl_.packet_misdelivery_rate_p95_x4_){} - , decltype(_impl_.net_ping_p5_){} - , decltype(_impl_.net_ping_p50_){} - , decltype(_impl_.net_ping_p95_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.bytes_total_, &from._impl_.bytes_total_, - static_cast(reinterpret_cast(&_impl_.net_ping_p95_) - - reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.net_ping_p95_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2NetworkFlowQuality) -} - -inline void CMsgSource2NetworkFlowQuality::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bytes_total_){uint64_t{0u}} - , decltype(_impl_.duration_){0u} - , decltype(_impl_.bytes_sec_p95_){0u} - , decltype(_impl_.bytes_total_reliable_){uint64_t{0u}} - , decltype(_impl_.bytes_total_voice_){uint64_t{0u}} - , decltype(_impl_.bytes_sec_p99_){0u} - , decltype(_impl_.enginemsgs_total_){0u} - , decltype(_impl_.enginemsgs_sec_p95_){0u} - , decltype(_impl_.enginemsgs_sec_p99_){0u} - , decltype(_impl_.netframes_total_){0u} - , decltype(_impl_.netframes_dropped_){0u} - , decltype(_impl_.netframes_outoforder_){0u} - , decltype(_impl_.netframes_size_exceeds_mtu_){0u} - , decltype(_impl_.netframes_size_p95_){0u} - , decltype(_impl_.netframes_size_p99_){0u} - , decltype(_impl_.ticks_total_){0u} - , decltype(_impl_.ticks_good_){0u} - , decltype(_impl_.ticks_good_almost_late_){0u} - , decltype(_impl_.ticks_fixed_dropped_){0u} - , decltype(_impl_.ticks_fixed_late_){0u} - , decltype(_impl_.ticks_bad_dropped_){0u} - , decltype(_impl_.ticks_bad_late_){0u} - , decltype(_impl_.ticks_bad_other_){0u} - , decltype(_impl_.tick_missrate_samples_total_){0u} - , decltype(_impl_.tick_missrate_samples_perfect_){0u} - , decltype(_impl_.tick_missrate_samples_perfectnet_){0u} - , decltype(_impl_.tick_missratenet_p75_x10_){0u} - , decltype(_impl_.tick_missratenet_p95_x10_){0u} - , decltype(_impl_.tick_missratenet_p99_x10_){0u} - , decltype(_impl_.recvmargin_p1_){0} - , decltype(_impl_.recvmargin_p5_){0} - , decltype(_impl_.recvmargin_p25_){0} - , decltype(_impl_.recvmargin_p50_){0} - , decltype(_impl_.recvmargin_p75_){0} - , decltype(_impl_.recvmargin_p95_){0} - , decltype(_impl_.netframe_jitter_p50_){0u} - , decltype(_impl_.netframe_jitter_p99_){0u} - , decltype(_impl_.interval_peakjitter_p50_){0u} - , decltype(_impl_.interval_peakjitter_p95_){0u} - , decltype(_impl_.packet_misdelivery_rate_p50_x4_){0u} - , decltype(_impl_.packet_misdelivery_rate_p95_x4_){0u} - , decltype(_impl_.net_ping_p5_){0u} - , decltype(_impl_.net_ping_p50_){0u} - , decltype(_impl_.net_ping_p95_){0u} - }; -} - -CMsgSource2NetworkFlowQuality::~CMsgSource2NetworkFlowQuality() { - // @@protoc_insertion_point(destructor:CMsgSource2NetworkFlowQuality) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2NetworkFlowQuality::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSource2NetworkFlowQuality::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2NetworkFlowQuality::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2NetworkFlowQuality) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.bytes_total_, 0, static_cast( - reinterpret_cast(&_impl_.enginemsgs_sec_p95_) - - reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.enginemsgs_sec_p95_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.enginemsgs_sec_p99_, 0, static_cast( - reinterpret_cast(&_impl_.ticks_total_) - - reinterpret_cast(&_impl_.enginemsgs_sec_p99_)) + sizeof(_impl_.ticks_total_)); - } - if (cached_has_bits & 0x00ff0000u) { - ::memset(&_impl_.ticks_good_, 0, static_cast( - reinterpret_cast(&_impl_.tick_missrate_samples_total_) - - reinterpret_cast(&_impl_.ticks_good_)) + sizeof(_impl_.tick_missrate_samples_total_)); - } - if (cached_has_bits & 0xff000000u) { - ::memset(&_impl_.tick_missrate_samples_perfect_, 0, static_cast( - reinterpret_cast(&_impl_.recvmargin_p25_) - - reinterpret_cast(&_impl_.tick_missrate_samples_perfect_)) + sizeof(_impl_.recvmargin_p25_)); - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.recvmargin_p50_, 0, static_cast( - reinterpret_cast(&_impl_.packet_misdelivery_rate_p50_x4_) - - reinterpret_cast(&_impl_.recvmargin_p50_)) + sizeof(_impl_.packet_misdelivery_rate_p50_x4_)); - } - if (cached_has_bits & 0x00000f00u) { - ::memset(&_impl_.packet_misdelivery_rate_p95_x4_, 0, static_cast( - reinterpret_cast(&_impl_.net_ping_p95_) - - reinterpret_cast(&_impl_.packet_misdelivery_rate_p95_x4_)) + sizeof(_impl_.net_ping_p95_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2NetworkFlowQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 duration = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_duration(&_impl_._has_bits_); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 bytes_total = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_bytes_total(&_impl_._has_bits_); - _impl_.bytes_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 bytes_total_reliable = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_bytes_total_reliable(&_impl_._has_bits_); - _impl_.bytes_total_reliable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 bytes_total_voice = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_bytes_total_voice(&_impl_._has_bits_); - _impl_.bytes_total_voice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bytes_sec_p95 = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_bytes_sec_p95(&_impl_._has_bits_); - _impl_.bytes_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bytes_sec_p99 = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_bytes_sec_p99(&_impl_._has_bits_); - _impl_.bytes_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enginemsgs_total = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_enginemsgs_total(&_impl_._has_bits_); - _impl_.enginemsgs_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enginemsgs_sec_p95 = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_enginemsgs_sec_p95(&_impl_._has_bits_); - _impl_.enginemsgs_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enginemsgs_sec_p99 = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_enginemsgs_sec_p99(&_impl_._has_bits_); - _impl_.enginemsgs_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframes_total = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - _Internal::set_has_netframes_total(&_impl_._has_bits_); - _impl_.netframes_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframes_dropped = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_netframes_dropped(&_impl_._has_bits_); - _impl_.netframes_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframes_outoforder = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_netframes_outoforder(&_impl_._has_bits_); - _impl_.netframes_outoforder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframes_size_exceeds_mtu = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_netframes_size_exceeds_mtu(&_impl_._has_bits_); - _impl_.netframes_size_exceeds_mtu_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframes_size_p95 = 35; - case 35: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_netframes_size_p95(&_impl_._has_bits_); - _impl_.netframes_size_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframes_size_p99 = 36; - case 36: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_netframes_size_p99(&_impl_._has_bits_); - _impl_.netframes_size_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_total = 40; - case 40: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_ticks_total(&_impl_._has_bits_); - _impl_.ticks_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_good = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_ticks_good(&_impl_._has_bits_); - _impl_.ticks_good_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_good_almost_late = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_ticks_good_almost_late(&_impl_._has_bits_); - _impl_.ticks_good_almost_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_fixed_dropped = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_ticks_fixed_dropped(&_impl_._has_bits_); - _impl_.ticks_fixed_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_fixed_late = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_ticks_fixed_late(&_impl_._has_bits_); - _impl_.ticks_fixed_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_bad_dropped = 45; - case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_ticks_bad_dropped(&_impl_._has_bits_); - _impl_.ticks_bad_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_bad_late = 46; - case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_ticks_bad_late(&_impl_._has_bits_); - _impl_.ticks_bad_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_bad_other = 47; - case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_ticks_bad_other(&_impl_._has_bits_); - _impl_.ticks_bad_other_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missrate_samples_total = 50; - case 50: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_tick_missrate_samples_total(&_impl_._has_bits_); - _impl_.tick_missrate_samples_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missrate_samples_perfect = 51; - case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_tick_missrate_samples_perfect(&_impl_._has_bits_); - _impl_.tick_missrate_samples_perfect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missrate_samples_perfectnet = 52; - case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_tick_missrate_samples_perfectnet(&_impl_._has_bits_); - _impl_.tick_missrate_samples_perfectnet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missratenet_p75_x10 = 53; - case 53: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_tick_missratenet_p75_x10(&_impl_._has_bits_); - _impl_.tick_missratenet_p75_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missratenet_p95_x10 = 54; - case 54: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_tick_missratenet_p95_x10(&_impl_._has_bits_); - _impl_.tick_missratenet_p95_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missratenet_p99_x10 = 55; - case 55: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_tick_missratenet_p99_x10(&_impl_._has_bits_); - _impl_.tick_missratenet_p99_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p1 = 61; - case 61: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - _Internal::set_has_recvmargin_p1(&_impl_._has_bits_); - _impl_.recvmargin_p1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p5 = 62; - case 62: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - _Internal::set_has_recvmargin_p5(&_impl_._has_bits_); - _impl_.recvmargin_p5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p25 = 63; - case 63: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_recvmargin_p25(&_impl_._has_bits_); - _impl_.recvmargin_p25_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p50 = 64; - case 64: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_recvmargin_p50(&_impl_._has_bits_); - _impl_.recvmargin_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p75 = 65; - case 65: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_recvmargin_p75(&_impl_._has_bits_); - _impl_.recvmargin_p75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p95 = 66; - case 66: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_recvmargin_p95(&_impl_._has_bits_); - _impl_.recvmargin_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframe_jitter_p50 = 70; - case 70: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_netframe_jitter_p50(&_impl_._has_bits_); - _impl_.netframe_jitter_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 netframe_jitter_p99 = 71; - case 71: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_netframe_jitter_p99(&_impl_._has_bits_); - _impl_.netframe_jitter_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 interval_peakjitter_p50 = 72; - case 72: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_interval_peakjitter_p50(&_impl_._has_bits_); - _impl_.interval_peakjitter_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 interval_peakjitter_p95 = 73; - case 73: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_interval_peakjitter_p95(&_impl_._has_bits_); - _impl_.interval_peakjitter_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 packet_misdelivery_rate_p50_x4 = 74; - case 74: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_packet_misdelivery_rate_p50_x4(&_impl_._has_bits_); - _impl_.packet_misdelivery_rate_p50_x4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 packet_misdelivery_rate_p95_x4 = 75; - case 75: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_packet_misdelivery_rate_p95_x4(&_impl_._has_bits_); - _impl_.packet_misdelivery_rate_p95_x4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 net_ping_p5 = 80; - case 80: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_net_ping_p5(&_impl_._has_bits_); - _impl_.net_ping_p5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 net_ping_p50 = 81; - case 81: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_net_ping_p50(&_impl_._has_bits_); - _impl_.net_ping_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 net_ping_p95 = 82; - case 82: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_net_ping_p95(&_impl_._has_bits_); - _impl_.net_ping_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2NetworkFlowQuality::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2NetworkFlowQuality) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 duration = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_duration(), target); - } - - // optional uint64 bytes_total = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_bytes_total(), target); - } - - // optional uint64 bytes_total_reliable = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_bytes_total_reliable(), target); - } - - // optional uint64 bytes_total_voice = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_bytes_total_voice(), target); - } - - // optional uint32 bytes_sec_p95 = 10; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_bytes_sec_p95(), target); - } - - // optional uint32 bytes_sec_p99 = 11; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_bytes_sec_p99(), target); - } - - // optional uint32 enginemsgs_total = 20; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_enginemsgs_total(), target); - } - - // optional uint32 enginemsgs_sec_p95 = 21; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_enginemsgs_sec_p95(), target); - } - - // optional uint32 enginemsgs_sec_p99 = 22; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_enginemsgs_sec_p99(), target); - } - - // optional uint32 netframes_total = 30; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(30, this->_internal_netframes_total(), target); - } - - // optional uint32 netframes_dropped = 31; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_netframes_dropped(), target); - } - - // optional uint32 netframes_outoforder = 32; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_netframes_outoforder(), target); - } - - // optional uint32 netframes_size_exceeds_mtu = 34; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_netframes_size_exceeds_mtu(), target); - } - - // optional uint32 netframes_size_p95 = 35; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(35, this->_internal_netframes_size_p95(), target); - } - - // optional uint32 netframes_size_p99 = 36; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(36, this->_internal_netframes_size_p99(), target); - } - - // optional uint32 ticks_total = 40; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(40, this->_internal_ticks_total(), target); - } - - // optional uint32 ticks_good = 41; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_ticks_good(), target); - } - - // optional uint32 ticks_good_almost_late = 42; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_ticks_good_almost_late(), target); - } - - // optional uint32 ticks_fixed_dropped = 43; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_ticks_fixed_dropped(), target); - } - - // optional uint32 ticks_fixed_late = 44; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_ticks_fixed_late(), target); - } - - // optional uint32 ticks_bad_dropped = 45; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_ticks_bad_dropped(), target); - } - - // optional uint32 ticks_bad_late = 46; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_ticks_bad_late(), target); - } - - // optional uint32 ticks_bad_other = 47; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_ticks_bad_other(), target); - } - - // optional uint32 tick_missrate_samples_total = 50; - if (cached_has_bits & 0x00800000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_tick_missrate_samples_total(), target); - } - - // optional uint32 tick_missrate_samples_perfect = 51; - if (cached_has_bits & 0x01000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_tick_missrate_samples_perfect(), target); - } - - // optional uint32 tick_missrate_samples_perfectnet = 52; - if (cached_has_bits & 0x02000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_tick_missrate_samples_perfectnet(), target); - } - - // optional uint32 tick_missratenet_p75_x10 = 53; - if (cached_has_bits & 0x04000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(53, this->_internal_tick_missratenet_p75_x10(), target); - } - - // optional uint32 tick_missratenet_p95_x10 = 54; - if (cached_has_bits & 0x08000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(54, this->_internal_tick_missratenet_p95_x10(), target); - } - - // optional uint32 tick_missratenet_p99_x10 = 55; - if (cached_has_bits & 0x10000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(55, this->_internal_tick_missratenet_p99_x10(), target); - } - - // optional sint32 recvmargin_p1 = 61; - if (cached_has_bits & 0x20000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(61, this->_internal_recvmargin_p1(), target); - } - - // optional sint32 recvmargin_p5 = 62; - if (cached_has_bits & 0x40000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(62, this->_internal_recvmargin_p5(), target); - } - - // optional sint32 recvmargin_p25 = 63; - if (cached_has_bits & 0x80000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(63, this->_internal_recvmargin_p25(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional sint32 recvmargin_p50 = 64; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(64, this->_internal_recvmargin_p50(), target); - } - - // optional sint32 recvmargin_p75 = 65; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(65, this->_internal_recvmargin_p75(), target); - } - - // optional sint32 recvmargin_p95 = 66; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(66, this->_internal_recvmargin_p95(), target); - } - - // optional uint32 netframe_jitter_p50 = 70; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(70, this->_internal_netframe_jitter_p50(), target); - } - - // optional uint32 netframe_jitter_p99 = 71; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(71, this->_internal_netframe_jitter_p99(), target); - } - - // optional uint32 interval_peakjitter_p50 = 72; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(72, this->_internal_interval_peakjitter_p50(), target); - } - - // optional uint32 interval_peakjitter_p95 = 73; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(73, this->_internal_interval_peakjitter_p95(), target); - } - - // optional uint32 packet_misdelivery_rate_p50_x4 = 74; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(74, this->_internal_packet_misdelivery_rate_p50_x4(), target); - } - - // optional uint32 packet_misdelivery_rate_p95_x4 = 75; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(75, this->_internal_packet_misdelivery_rate_p95_x4(), target); - } - - // optional uint32 net_ping_p5 = 80; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(80, this->_internal_net_ping_p5(), target); - } - - // optional uint32 net_ping_p50 = 81; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(81, this->_internal_net_ping_p50(), target); - } - - // optional uint32 net_ping_p95 = 82; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(82, this->_internal_net_ping_p95(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2NetworkFlowQuality) - return target; -} - -size_t CMsgSource2NetworkFlowQuality::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2NetworkFlowQuality) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 bytes_total = 5; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total()); - } - - // optional uint32 duration = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duration()); - } - - // optional uint32 bytes_sec_p95 = 10; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p95()); - } - - // optional uint64 bytes_total_reliable = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_reliable()); - } - - // optional uint64 bytes_total_voice = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_voice()); - } - - // optional uint32 bytes_sec_p99 = 11; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p99()); - } - - // optional uint32 enginemsgs_total = 20; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enginemsgs_total()); - } - - // optional uint32 enginemsgs_sec_p95 = 21; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enginemsgs_sec_p95()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 enginemsgs_sec_p99 = 22; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enginemsgs_sec_p99()); - } - - // optional uint32 netframes_total = 30; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframes_total()); - } - - // optional uint32 netframes_dropped = 31; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframes_dropped()); - } - - // optional uint32 netframes_outoforder = 32; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframes_outoforder()); - } - - // optional uint32 netframes_size_exceeds_mtu = 34; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframes_size_exceeds_mtu()); - } - - // optional uint32 netframes_size_p95 = 35; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframes_size_p95()); - } - - // optional uint32 netframes_size_p99 = 36; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframes_size_p99()); - } - - // optional uint32 ticks_total = 40; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_total()); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional uint32 ticks_good = 41; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_good()); - } - - // optional uint32 ticks_good_almost_late = 42; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_good_almost_late()); - } - - // optional uint32 ticks_fixed_dropped = 43; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_fixed_dropped()); - } - - // optional uint32 ticks_fixed_late = 44; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_fixed_late()); - } - - // optional uint32 ticks_bad_dropped = 45; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_bad_dropped()); - } - - // optional uint32 ticks_bad_late = 46; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_bad_late()); - } - - // optional uint32 ticks_bad_other = 47; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_bad_other()); - } - - // optional uint32 tick_missrate_samples_total = 50; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missrate_samples_total()); - } - - } - if (cached_has_bits & 0xff000000u) { - // optional uint32 tick_missrate_samples_perfect = 51; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missrate_samples_perfect()); - } - - // optional uint32 tick_missrate_samples_perfectnet = 52; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missrate_samples_perfectnet()); - } - - // optional uint32 tick_missratenet_p75_x10 = 53; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missratenet_p75_x10()); - } - - // optional uint32 tick_missratenet_p95_x10 = 54; - if (cached_has_bits & 0x08000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missratenet_p95_x10()); - } - - // optional uint32 tick_missratenet_p99_x10 = 55; - if (cached_has_bits & 0x10000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missratenet_p99_x10()); - } - - // optional sint32 recvmargin_p1 = 61; - if (cached_has_bits & 0x20000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p1()); - } - - // optional sint32 recvmargin_p5 = 62; - if (cached_has_bits & 0x40000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p5()); - } - - // optional sint32 recvmargin_p25 = 63; - if (cached_has_bits & 0x80000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p25()); - } - - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - // optional sint32 recvmargin_p50 = 64; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p50()); - } - - // optional sint32 recvmargin_p75 = 65; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p75()); - } - - // optional sint32 recvmargin_p95 = 66; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p95()); - } - - // optional uint32 netframe_jitter_p50 = 70; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframe_jitter_p50()); - } - - // optional uint32 netframe_jitter_p99 = 71; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_netframe_jitter_p99()); - } - - // optional uint32 interval_peakjitter_p50 = 72; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_interval_peakjitter_p50()); - } - - // optional uint32 interval_peakjitter_p95 = 73; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_interval_peakjitter_p95()); - } - - // optional uint32 packet_misdelivery_rate_p50_x4 = 74; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_packet_misdelivery_rate_p50_x4()); - } - - } - if (cached_has_bits & 0x00000f00u) { - // optional uint32 packet_misdelivery_rate_p95_x4 = 75; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_packet_misdelivery_rate_p95_x4()); - } - - // optional uint32 net_ping_p5 = 80; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_net_ping_p5()); - } - - // optional uint32 net_ping_p50 = 81; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_net_ping_p50()); - } - - // optional uint32 net_ping_p95 = 82; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_net_ping_p95()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2NetworkFlowQuality::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2NetworkFlowQuality::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2NetworkFlowQuality::GetClassData() const { return &_class_data_; } - - -void CMsgSource2NetworkFlowQuality::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2NetworkFlowQuality) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.bytes_total_ = from._impl_.bytes_total_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bytes_sec_p95_ = from._impl_.bytes_sec_p95_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.bytes_total_reliable_ = from._impl_.bytes_total_reliable_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.bytes_total_voice_ = from._impl_.bytes_total_voice_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.bytes_sec_p99_ = from._impl_.bytes_sec_p99_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.enginemsgs_total_ = from._impl_.enginemsgs_total_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.enginemsgs_sec_p95_ = from._impl_.enginemsgs_sec_p95_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.enginemsgs_sec_p99_ = from._impl_.enginemsgs_sec_p99_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.netframes_total_ = from._impl_.netframes_total_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.netframes_dropped_ = from._impl_.netframes_dropped_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.netframes_outoforder_ = from._impl_.netframes_outoforder_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.netframes_size_exceeds_mtu_ = from._impl_.netframes_size_exceeds_mtu_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.netframes_size_p95_ = from._impl_.netframes_size_p95_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.netframes_size_p99_ = from._impl_.netframes_size_p99_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.ticks_total_ = from._impl_.ticks_total_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.ticks_good_ = from._impl_.ticks_good_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.ticks_good_almost_late_ = from._impl_.ticks_good_almost_late_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.ticks_fixed_dropped_ = from._impl_.ticks_fixed_dropped_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.ticks_fixed_late_ = from._impl_.ticks_fixed_late_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.ticks_bad_dropped_ = from._impl_.ticks_bad_dropped_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.ticks_bad_late_ = from._impl_.ticks_bad_late_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.ticks_bad_other_ = from._impl_.ticks_bad_other_; - } - if (cached_has_bits & 0x00800000u) { - _this->_impl_.tick_missrate_samples_total_ = from._impl_.tick_missrate_samples_total_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0xff000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_impl_.tick_missrate_samples_perfect_ = from._impl_.tick_missrate_samples_perfect_; - } - if (cached_has_bits & 0x02000000u) { - _this->_impl_.tick_missrate_samples_perfectnet_ = from._impl_.tick_missrate_samples_perfectnet_; - } - if (cached_has_bits & 0x04000000u) { - _this->_impl_.tick_missratenet_p75_x10_ = from._impl_.tick_missratenet_p75_x10_; - } - if (cached_has_bits & 0x08000000u) { - _this->_impl_.tick_missratenet_p95_x10_ = from._impl_.tick_missratenet_p95_x10_; - } - if (cached_has_bits & 0x10000000u) { - _this->_impl_.tick_missratenet_p99_x10_ = from._impl_.tick_missratenet_p99_x10_; - } - if (cached_has_bits & 0x20000000u) { - _this->_impl_.recvmargin_p1_ = from._impl_.recvmargin_p1_; - } - if (cached_has_bits & 0x40000000u) { - _this->_impl_.recvmargin_p5_ = from._impl_.recvmargin_p5_; - } - if (cached_has_bits & 0x80000000u) { - _this->_impl_.recvmargin_p25_ = from._impl_.recvmargin_p25_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - cached_has_bits = from._impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.recvmargin_p50_ = from._impl_.recvmargin_p50_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.recvmargin_p75_ = from._impl_.recvmargin_p75_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.recvmargin_p95_ = from._impl_.recvmargin_p95_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.netframe_jitter_p50_ = from._impl_.netframe_jitter_p50_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.netframe_jitter_p99_ = from._impl_.netframe_jitter_p99_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.interval_peakjitter_p50_ = from._impl_.interval_peakjitter_p50_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.interval_peakjitter_p95_ = from._impl_.interval_peakjitter_p95_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.packet_misdelivery_rate_p50_x4_ = from._impl_.packet_misdelivery_rate_p50_x4_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - if (cached_has_bits & 0x00000f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.packet_misdelivery_rate_p95_x4_ = from._impl_.packet_misdelivery_rate_p95_x4_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.net_ping_p5_ = from._impl_.net_ping_p5_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.net_ping_p50_ = from._impl_.net_ping_p50_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.net_ping_p95_ = from._impl_.net_ping_p95_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2NetworkFlowQuality::CopyFrom(const CMsgSource2NetworkFlowQuality& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2NetworkFlowQuality) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2NetworkFlowQuality::IsInitialized() const { - return true; -} - -void CMsgSource2NetworkFlowQuality::InternalSwap(CMsgSource2NetworkFlowQuality* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.net_ping_p95_) - + sizeof(CMsgSource2NetworkFlowQuality::_impl_.net_ping_p95_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.bytes_total_)>( - reinterpret_cast(&_impl_.bytes_total_), - reinterpret_cast(&other->_impl_.bytes_total_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2NetworkFlowQuality::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[17]); -} - -// =================================================================== - -class CMsgSource2PerfIntervalSample_Tag::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_max_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2PerfIntervalSample.Tag) -} -CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2PerfIntervalSample_Tag* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.max_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_tag()) { - _this->_impl_.tag_.Set(from._internal_tag(), - _this->GetArenaForAllocation()); - } - _this->_impl_.max_value_ = from._impl_.max_value_; - // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample.Tag) -} - -inline void CMsgSource2PerfIntervalSample_Tag::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.max_value_){0u} - }; - _impl_.tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource2PerfIntervalSample_Tag::~CMsgSource2PerfIntervalSample_Tag() { - // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample.Tag) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2PerfIntervalSample_Tag::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tag_.Destroy(); -} - -void CMsgSource2PerfIntervalSample_Tag::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2PerfIntervalSample_Tag::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample.Tag) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.tag_.ClearNonDefaultToEmpty(); - } - _impl_.max_value_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2PerfIntervalSample_Tag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string tag = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2PerfIntervalSample.Tag.tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 max_value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_max_value(&has_bits); - _impl_.max_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2PerfIntervalSample_Tag::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample.Tag) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string tag = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_tag().data(), static_cast(this->_internal_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2PerfIntervalSample.Tag.tag"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_tag(), target); - } - - // optional uint32 max_value = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_max_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2PerfIntervalSample.Tag) - return target; -} - -size_t CMsgSource2PerfIntervalSample_Tag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample.Tag) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string tag = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tag()); - } - - // optional uint32 max_value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample_Tag::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2PerfIntervalSample_Tag::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample_Tag::GetClassData() const { return &_class_data_; } - - -void CMsgSource2PerfIntervalSample_Tag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2PerfIntervalSample.Tag) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_tag(from._internal_tag()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.max_value_ = from._impl_.max_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2PerfIntervalSample_Tag::CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample.Tag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2PerfIntervalSample_Tag::IsInitialized() const { - return true; -} - -void CMsgSource2PerfIntervalSample_Tag::InternalSwap(CMsgSource2PerfIntervalSample_Tag* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.tag_, lhs_arena, - &other->_impl_.tag_, rhs_arena - ); - swap(_impl_.max_value_, other->_impl_.max_value_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample_Tag::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[18]); -} - -// =================================================================== - -class CMsgSource2PerfIntervalSample::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_frame_time_max_ms(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_frame_time_avg_ms(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_frame_time_min_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_frame_count(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_frame_time_total_ms(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2PerfIntervalSample) -} -CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2PerfIntervalSample* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){from._impl_.tags_} - , decltype(_impl_.frame_time_max_ms_){} - , decltype(_impl_.frame_time_avg_ms_){} - , decltype(_impl_.frame_time_min_ms_){} - , decltype(_impl_.frame_count_){} - , decltype(_impl_.frame_time_total_ms_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.frame_time_max_ms_, &from._impl_.frame_time_max_ms_, - static_cast(reinterpret_cast(&_impl_.frame_time_total_ms_) - - reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample) -} - -inline void CMsgSource2PerfIntervalSample::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){arena} - , decltype(_impl_.frame_time_max_ms_){0} - , decltype(_impl_.frame_time_avg_ms_){0} - , decltype(_impl_.frame_time_min_ms_){0} - , decltype(_impl_.frame_count_){0} - , decltype(_impl_.frame_time_total_ms_){0} - }; -} - -CMsgSource2PerfIntervalSample::~CMsgSource2PerfIntervalSample() { - // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2PerfIntervalSample::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tags_.~RepeatedPtrField(); -} - -void CMsgSource2PerfIntervalSample::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2PerfIntervalSample::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.frame_time_max_ms_, 0, static_cast( - reinterpret_cast(&_impl_.frame_time_total_ms_) - - reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2PerfIntervalSample::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float frame_time_max_ms = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_frame_time_max_ms(&has_bits); - _impl_.frame_time_max_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frame_time_avg_ms = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_frame_time_avg_ms(&has_bits); - _impl_.frame_time_avg_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frame_time_min_ms = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frame_time_min_ms(&has_bits); - _impl_.frame_time_min_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 frame_count = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_frame_count(&has_bits); - _impl_.frame_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float frame_time_total_ms = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_frame_time_total_ms(&has_bits); - _impl_.frame_time_total_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tags(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2PerfIntervalSample::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float frame_time_max_ms = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_frame_time_max_ms(), target); - } - - // optional float frame_time_avg_ms = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_frame_time_avg_ms(), target); - } - - // optional float frame_time_min_ms = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frame_time_min_ms(), target); - } - - // optional int32 frame_count = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_frame_count(), target); - } - - // optional float frame_time_total_ms = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_frame_time_total_ms(), target); - } - - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_tags_size()); i < n; i++) { - const auto& repfield = this->_internal_tags(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2PerfIntervalSample) - return target; -} - -size_t CMsgSource2PerfIntervalSample::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - total_size += 1UL * this->_internal_tags_size(); - for (const auto& msg : this->_impl_.tags_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional float frame_time_max_ms = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float frame_time_avg_ms = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float frame_time_min_ms = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 frame_count = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_frame_count()); - } - - // optional float frame_time_total_ms = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2PerfIntervalSample::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample::GetClassData() const { return &_class_data_; } - - -void CMsgSource2PerfIntervalSample::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2PerfIntervalSample) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tags_.MergeFrom(from._impl_.tags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.frame_time_max_ms_ = from._impl_.frame_time_max_ms_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.frame_time_avg_ms_ = from._impl_.frame_time_avg_ms_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frame_time_min_ms_ = from._impl_.frame_time_min_ms_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.frame_count_ = from._impl_.frame_count_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.frame_time_total_ms_ = from._impl_.frame_time_total_ms_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2PerfIntervalSample::CopyFrom(const CMsgSource2PerfIntervalSample& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2PerfIntervalSample::IsInitialized() const { - return true; -} - -void CMsgSource2PerfIntervalSample::InternalSwap(CMsgSource2PerfIntervalSample* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.tags_.InternalSwap(&other->_impl_.tags_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_) - + sizeof(CMsgSource2PerfIntervalSample::_impl_.frame_time_total_ms_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_)>( - reinterpret_cast(&_impl_.frame_time_max_ms_), - reinterpret_cast(&other->_impl_.frame_time_max_ms_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[19]); -} - -// =================================================================== - class CCLCMsg_Diagnostic::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); @@ -11092,6 +6662,25 @@ const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_Internal::upstream_flow(const CCLCMsg_Diagnostic* msg) { return *msg->_impl_.upstream_flow_; } +void CCLCMsg_Diagnostic::clear_system_specs() { + if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CCLCMsg_Diagnostic::clear_vprof_report() { + if (_impl_.vprof_report_ != nullptr) _impl_.vprof_report_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CCLCMsg_Diagnostic::clear_downstream_flow() { + if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CCLCMsg_Diagnostic::clear_upstream_flow() { + if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void CCLCMsg_Diagnostic::clear_perf_samples() { + _impl_.perf_samples_.Clear(); +} CCLCMsg_Diagnostic::CCLCMsg_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -11434,917 +7023,7 @@ void CCLCMsg_Diagnostic::InternalSwap(CCLCMsg_Diagnostic* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_Diagnostic::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[20]); -} - -// =================================================================== - -class CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSource2SystemSpecs& system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_system_specs(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSource2VProfLiteReport& profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_profile(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_build_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSource2NetworkFlowQuality& downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_downstream_flow(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSource2NetworkFlowQuality& upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_upstream_flow(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgSource2SystemSpecs& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.system_specs_; -} -const ::CMsgSource2VProfLiteReport& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.profile_; -} -const ::CMsgSource2NetworkFlowQuality& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.downstream_flow_; -} -const ::CMsgSource2NetworkFlowQuality& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.upstream_flow_; -} -CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) -} -CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSource2Metrics_MatchPerfSummary_Notification_Client* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.perf_samples_){from._impl_.perf_samples_} - , decltype(_impl_.system_specs_){nullptr} - , decltype(_impl_.profile_){nullptr} - , decltype(_impl_.downstream_flow_){nullptr} - , decltype(_impl_.upstream_flow_){nullptr} - , decltype(_impl_.steamid_){} - , decltype(_impl_.build_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_system_specs()) { - _this->_impl_.system_specs_ = new ::CMsgSource2SystemSpecs(*from._impl_.system_specs_); - } - if (from._internal_has_profile()) { - _this->_impl_.profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.profile_); - } - if (from._internal_has_downstream_flow()) { - _this->_impl_.downstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.downstream_flow_); - } - if (from._internal_has_upstream_flow()) { - _this->_impl_.upstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.upstream_flow_); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.build_id_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); - // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) -} - -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.perf_samples_){arena} - , decltype(_impl_.system_specs_){nullptr} - , decltype(_impl_.profile_){nullptr} - , decltype(_impl_.downstream_flow_){nullptr} - , decltype(_impl_.upstream_flow_){nullptr} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.build_id_){0u} - }; -} - -CSource2Metrics_MatchPerfSummary_Notification_Client::~CSource2Metrics_MatchPerfSummary_Notification_Client() { - // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification.Client) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.perf_samples_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.system_specs_; - if (this != internal_default_instance()) delete _impl_.profile_; - if (this != internal_default_instance()) delete _impl_.downstream_flow_; - if (this != internal_default_instance()) delete _impl_.upstream_flow_; -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::Clear() { -// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.perf_samples_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.system_specs_ != nullptr); - _impl_.system_specs_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.profile_ != nullptr); - _impl_.profile_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.downstream_flow_ != nullptr); - _impl_.downstream_flow_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.upstream_flow_ != nullptr); - _impl_.upstream_flow_->Clear(); - } - } - if (cached_has_bits & 0x00000030u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.build_id_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSource2SystemSpecs system_specs = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_system_specs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2VProfLiteReport profile = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_profile(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 build_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_build_id(&has_bits); - _impl_.build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_downstream_flow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_upstream_flow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_perf_samples(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSource2SystemSpecs system_specs = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::system_specs(this), - _Internal::system_specs(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2VProfLiteReport profile = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::profile(this), - _Internal::profile(this).GetCachedSize(), target, stream); - } - - // optional uint32 build_id = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_build_id(), target); - } - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::downstream_flow(this), - _Internal::downstream_flow(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::upstream_flow(this), - _Internal::upstream_flow(this).GetCachedSize(), target, stream); - } - - // optional fixed64 steamid = 10; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_steamid(), target); - } - - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_perf_samples_size()); i < n; i++) { - const auto& repfield = this->_internal_perf_samples(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSource2Metrics_MatchPerfSummary_Notification.Client) - return target; -} - -size_t CSource2Metrics_MatchPerfSummary_Notification_Client::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - total_size += 1UL * this->_internal_perf_samples_size(); - for (const auto& msg : this->_impl_.perf_samples_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .CMsgSource2SystemSpecs system_specs = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.system_specs_); - } - - // optional .CMsgSource2VProfLiteReport profile = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.profile_); - } - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.downstream_flow_); - } - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.upstream_flow_); - } - - // optional fixed64 steamid = 10; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional uint32 build_id = 3; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_build_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification_Client::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification_Client::GetClassData() const { return &_class_data_; } - - -void CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.perf_samples_.MergeFrom(from._impl_.perf_samples_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_system_specs()->::CMsgSource2SystemSpecs::MergeFrom( - from._internal_system_specs()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_profile()->::CMsgSource2VProfLiteReport::MergeFrom( - from._internal_profile()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_downstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( - from._internal_downstream_flow()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_upstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( - from._internal_upstream_flow()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.build_id_ = from._impl_.build_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSource2Metrics_MatchPerfSummary_Notification_Client::IsInitialized() const { - return true; -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.perf_samples_.InternalSwap(&other->_impl_.perf_samples_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_) - + sizeof(CSource2Metrics_MatchPerfSummary_Notification_Client::_impl_.build_id_) - - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_)>( - reinterpret_cast(&_impl_.system_specs_), - reinterpret_cast(&other->_impl_.system_specs_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification_Client::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[21]); -} - -// =================================================================== - -class CSource2Metrics_MatchPerfSummary_Notification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_server_build_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_server_popid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSource2VProfLiteReport& server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg); - static void set_has_server_profile(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_map(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSource2VProfLiteReport& -CSource2Metrics_MatchPerfSummary_Notification::_Internal::server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg) { - return *msg->_impl_.server_profile_; -} -CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSource2Metrics_MatchPerfSummary_Notification) -} -CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSource2Metrics_MatchPerfSummary_Notification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clients_){from._impl_.clients_} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.map_){} - , decltype(_impl_.server_profile_){nullptr} - , decltype(_impl_.appid_){} - , decltype(_impl_.server_build_id_){} - , decltype(_impl_.server_popid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_mode()) { - _this->_impl_.game_mode_.Set(from._internal_game_mode(), - _this->GetArenaForAllocation()); - } - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map()) { - _this->_impl_.map_.Set(from._internal_map(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_server_profile()) { - _this->_impl_.server_profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.server_profile_); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.server_popid_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); - // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification) -} - -inline void CSource2Metrics_MatchPerfSummary_Notification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clients_){arena} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.map_){} - , decltype(_impl_.server_profile_){nullptr} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.server_build_id_){0u} - , decltype(_impl_.server_popid_){0u} - }; - _impl_.game_mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSource2Metrics_MatchPerfSummary_Notification::~CSource2Metrics_MatchPerfSummary_Notification() { - // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSource2Metrics_MatchPerfSummary_Notification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.clients_.~RepeatedPtrField(); - _impl_.game_mode_.Destroy(); - _impl_.map_.Destroy(); - if (this != internal_default_instance()) delete _impl_.server_profile_; -} - -void CSource2Metrics_MatchPerfSummary_Notification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSource2Metrics_MatchPerfSummary_Notification::Clear() { -// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.clients_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_mode_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.map_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.server_profile_ != nullptr); - _impl_.server_profile_->Clear(); - } - } - if (cached_has_bits & 0x00000038u) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.server_popid_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSource2Metrics_MatchPerfSummary_Notification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string game_mode = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_game_mode(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 server_build_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_server_build_id(&has_bits); - _impl_.server_build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_popid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_server_popid(&has_bits); - _impl_.server_popid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2VProfLiteReport server_profile = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_server_profile(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_clients(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - // optional string map = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - auto str = _internal_mutable_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSource2Metrics_MatchPerfSummary_Notification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional string game_mode = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_mode().data(), static_cast(this->_internal_game_mode().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_game_mode(), target); - } - - // optional uint32 server_build_id = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_build_id(), target); - } - - // optional fixed32 server_popid = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_server_popid(), target); - } - - // optional .CMsgSource2VProfLiteReport server_profile = 10; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::server_profile(this), - _Internal::server_profile(this).GetCachedSize(), target, stream); - } - - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_clients_size()); i < n; i++) { - const auto& repfield = this->_internal_clients(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional string map = 20; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map().data(), static_cast(this->_internal_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSource2Metrics_MatchPerfSummary_Notification.map"); - target = stream->WriteStringMaybeAliased( - 20, this->_internal_map(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSource2Metrics_MatchPerfSummary_Notification) - return target; -} - -size_t CSource2Metrics_MatchPerfSummary_Notification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - total_size += 1UL * this->_internal_clients_size(); - for (const auto& msg : this->_impl_.clients_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string game_mode = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_mode()); - } - - // optional string map = 20; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map()); - } - - // optional .CMsgSource2VProfLiteReport server_profile = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.server_profile_); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 server_build_id = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_build_id()); - } - - // optional fixed32 server_popid = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSource2Metrics_MatchPerfSummary_Notification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification::GetClassData() const { return &_class_data_; } - - -void CSource2Metrics_MatchPerfSummary_Notification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSource2Metrics_MatchPerfSummary_Notification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.clients_.MergeFrom(from._impl_.clients_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_mode(from._internal_game_mode()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_map(from._internal_map()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_server_profile()->::CMsgSource2VProfLiteReport::MergeFrom( - from._internal_server_profile()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.server_build_id_ = from._impl_.server_build_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.server_popid_ = from._impl_.server_popid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSource2Metrics_MatchPerfSummary_Notification::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSource2Metrics_MatchPerfSummary_Notification::IsInitialized() const { - return true; -} - -void CSource2Metrics_MatchPerfSummary_Notification::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.clients_.InternalSwap(&other->_impl_.clients_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_mode_, lhs_arena, - &other->_impl_.game_mode_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_, lhs_arena, - &other->_impl_.map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_) - + sizeof(CSource2Metrics_MatchPerfSummary_Notification::_impl_.server_popid_) - - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_)>( - reinterpret_cast(&_impl_.server_profile_), - reinterpret_cast(&other->_impl_.server_profile_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[22]); + file_level_metadata_netmessages_2eproto[14]); } // =================================================================== @@ -13172,7 +7851,7 @@ void CSVCMsg_ServerInfo::InternalSwap(CSVCMsg_ServerInfo* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ServerInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[23]); + file_level_metadata_netmessages_2eproto[15]); } // =================================================================== @@ -13429,7 +8108,7 @@ void CSVCMsg_ClassInfo_class_t::InternalSwap(CSVCMsg_ClassInfo_class_t* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClassInfo_class_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[24]); + file_level_metadata_netmessages_2eproto[16]); } // =================================================================== @@ -13654,7 +8333,7 @@ void CSVCMsg_ClassInfo::InternalSwap(CSVCMsg_ClassInfo* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClassInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[25]); + file_level_metadata_netmessages_2eproto[17]); } // =================================================================== @@ -13845,7 +8524,7 @@ void CSVCMsg_SetPause::InternalSwap(CSVCMsg_SetPause* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SetPause::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[26]); + file_level_metadata_netmessages_2eproto[18]); } // =================================================================== @@ -14141,7 +8820,7 @@ void CSVCMsg_VoiceInit::InternalSwap(CSVCMsg_VoiceInit* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_VoiceInit::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[27]); + file_level_metadata_netmessages_2eproto[19]); } // =================================================================== @@ -14361,7 +9040,7 @@ void CSVCMsg_Print::InternalSwap(CSVCMsg_Print* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Print::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[28]); + file_level_metadata_netmessages_2eproto[20]); } // =================================================================== @@ -15098,7 +9777,7 @@ void CSVCMsg_Sounds_sounddata_t::InternalSwap(CSVCMsg_Sounds_sounddata_t* other) ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Sounds_sounddata_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[29]); + file_level_metadata_netmessages_2eproto[21]); } // =================================================================== @@ -15323,7 +10002,7 @@ void CSVCMsg_Sounds::InternalSwap(CSVCMsg_Sounds* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Sounds::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[30]); + file_level_metadata_netmessages_2eproto[22]); } // =================================================================== @@ -15566,7 +10245,7 @@ void CSVCMsg_Prefetch::InternalSwap(CSVCMsg_Prefetch* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Prefetch::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[31]); + file_level_metadata_netmessages_2eproto[23]); } // =================================================================== @@ -15798,7 +10477,7 @@ void CSVCMsg_SetView::InternalSwap(CSVCMsg_SetView* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SetView::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[32]); + file_level_metadata_netmessages_2eproto[24]); } // =================================================================== @@ -16049,7 +10728,7 @@ void CSVCMsg_FixAngle::InternalSwap(CSVCMsg_FixAngle* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FixAngle::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[33]); + file_level_metadata_netmessages_2eproto[25]); } // =================================================================== @@ -16259,7 +10938,7 @@ void CSVCMsg_CrosshairAngle::InternalSwap(CSVCMsg_CrosshairAngle* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CrosshairAngle::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[34]); + file_level_metadata_netmessages_2eproto[26]); } // =================================================================== @@ -16602,7 +11281,7 @@ void CSVCMsg_BSPDecal::InternalSwap(CSVCMsg_BSPDecal* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_BSPDecal::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[35]); + file_level_metadata_netmessages_2eproto[27]); } // =================================================================== @@ -16875,7 +11554,7 @@ void CSVCMsg_SplitScreen::InternalSwap(CSVCMsg_SplitScreen* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SplitScreen::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[36]); + file_level_metadata_netmessages_2eproto[28]); } // =================================================================== @@ -17132,7 +11811,7 @@ void CSVCMsg_GetCvarValue::InternalSwap(CSVCMsg_GetCvarValue* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GetCvarValue::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[37]); + file_level_metadata_netmessages_2eproto[29]); } // =================================================================== @@ -17382,7 +12061,7 @@ void CSVCMsg_Menu::InternalSwap(CSVCMsg_Menu* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Menu::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[38]); + file_level_metadata_netmessages_2eproto[30]); } // =================================================================== @@ -17671,7 +12350,7 @@ void CSVCMsg_UserMessage::InternalSwap(CSVCMsg_UserMessage* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UserMessage::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[39]); + file_level_metadata_netmessages_2eproto[31]); } // =================================================================== @@ -18167,7 +12846,7 @@ void CSVCMsg_SendTable_sendprop_t::InternalSwap(CSVCMsg_SendTable_sendprop_t* ot ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SendTable_sendprop_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[40]); + file_level_metadata_netmessages_2eproto[32]); } // =================================================================== @@ -18495,7 +13174,7 @@ void CSVCMsg_SendTable::InternalSwap(CSVCMsg_SendTable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SendTable::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[41]); + file_level_metadata_netmessages_2eproto[33]); } // =================================================================== @@ -18752,7 +13431,7 @@ void CSVCMsg_GameEventList_key_t::InternalSwap(CSVCMsg_GameEventList_key_t* othe ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList_key_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[42]); + file_level_metadata_netmessages_2eproto[34]); } // =================================================================== @@ -19043,7 +13722,7 @@ void CSVCMsg_GameEventList_descriptor_t::InternalSwap(CSVCMsg_GameEventList_desc ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList_descriptor_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[43]); + file_level_metadata_netmessages_2eproto[35]); } // =================================================================== @@ -19228,7 +13907,7 @@ void CSVCMsg_GameEventList::InternalSwap(CSVCMsg_GameEventList* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[44]); + file_level_metadata_netmessages_2eproto[36]); } // =================================================================== @@ -19465,7 +14144,7 @@ void CSVCMsg_PacketEntities_alternate_baseline_t::InternalSwap(CSVCMsg_PacketEnt ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_alternate_baseline_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[45]); + file_level_metadata_netmessages_2eproto[37]); } // =================================================================== @@ -19715,7 +14394,7 @@ void CSVCMsg_PacketEntities_non_transmitted_entities_t::InternalSwap(CSVCMsg_Pac ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_non_transmitted_entities_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[46]); + file_level_metadata_netmessages_2eproto[38]); } // =================================================================== @@ -19965,7 +14644,7 @@ void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::InternalSwap(CSVCMsg_Pack ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_outofpvs_entity_updates_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[47]); + file_level_metadata_netmessages_2eproto[39]); } // =================================================================== @@ -20912,7 +15591,7 @@ void CSVCMsg_PacketEntities::InternalSwap(CSVCMsg_PacketEntities* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[48]); + file_level_metadata_netmessages_2eproto[40]); } // =================================================================== @@ -21201,7 +15880,7 @@ void CSVCMsg_TempEntities::InternalSwap(CSVCMsg_TempEntities* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_TempEntities::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[49]); + file_level_metadata_netmessages_2eproto[41]); } // =================================================================== @@ -21727,7 +16406,7 @@ void CSVCMsg_CreateStringTable::InternalSwap(CSVCMsg_CreateStringTable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CreateStringTable::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[50]); + file_level_metadata_netmessages_2eproto[42]); } // =================================================================== @@ -22016,7 +16695,7 @@ void CSVCMsg_UpdateStringTable::InternalSwap(CSVCMsg_UpdateStringTable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UpdateStringTable::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[51]); + file_level_metadata_netmessages_2eproto[43]); } // =================================================================== @@ -22411,7 +17090,7 @@ void CSVCMsg_VoiceData::InternalSwap(CSVCMsg_VoiceData* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_VoiceData::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[52]); + file_level_metadata_netmessages_2eproto[44]); } // =================================================================== @@ -22676,7 +17355,7 @@ void CSVCMsg_PacketReliable::InternalSwap(CSVCMsg_PacketReliable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketReliable::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[53]); + file_level_metadata_netmessages_2eproto[45]); } // =================================================================== @@ -22993,7 +17672,7 @@ void CSVCMsg_FullFrameSplit::InternalSwap(CSVCMsg_FullFrameSplit* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FullFrameSplit::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[54]); + file_level_metadata_netmessages_2eproto[46]); } // =================================================================== @@ -23317,7 +17996,7 @@ void CSVCMsg_HLTVStatus::InternalSwap(CSVCMsg_HLTVStatus* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HLTVStatus::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[55]); + file_level_metadata_netmessages_2eproto[47]); } // =================================================================== @@ -23508,7 +18187,7 @@ void CSVCMsg_ServerSteamID::InternalSwap(CSVCMsg_ServerSteamID* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ServerSteamID::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[56]); + file_level_metadata_netmessages_2eproto[48]); } // =================================================================== @@ -23721,7 +18400,7 @@ void CSVCMsg_CmdKeyValues::InternalSwap(CSVCMsg_CmdKeyValues* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CmdKeyValues::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[57]); + file_level_metadata_netmessages_2eproto[49]); } // =================================================================== @@ -23998,7 +18677,7 @@ void CSVCMsg_RconServerDetails::InternalSwap(CSVCMsg_RconServerDetails* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_RconServerDetails::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[58]); + file_level_metadata_netmessages_2eproto[50]); } // =================================================================== @@ -24235,7 +18914,7 @@ void CMsgIPCAddress::InternalSwap(CMsgIPCAddress* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CMsgIPCAddress::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[59]); + file_level_metadata_netmessages_2eproto[51]); } // =================================================================== @@ -24602,7 +19281,7 @@ void CMsgServerPeer::InternalSwap(CMsgServerPeer* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerPeer::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[60]); + file_level_metadata_netmessages_2eproto[52]); } // =================================================================== @@ -24787,7 +19466,7 @@ void CSVCMsg_PeerList::InternalSwap(CSVCMsg_PeerList* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PeerList::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[61]); + file_level_metadata_netmessages_2eproto[53]); } // =================================================================== @@ -25044,7 +19723,7 @@ void CSVCMsg_ClearAllStringTables::InternalSwap(CSVCMsg_ClearAllStringTables* ot ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClearAllStringTables::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[62]); + file_level_metadata_netmessages_2eproto[54]); } // =================================================================== @@ -25281,7 +19960,7 @@ void ProtoFlattenedSerializerField_t_polymorphic_field_t::InternalSwap(ProtoFlat ::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializerField_t_polymorphic_field_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[63]); + file_level_metadata_netmessages_2eproto[55]); } // =================================================================== @@ -25814,7 +20493,7 @@ void ProtoFlattenedSerializerField_t::InternalSwap(ProtoFlattenedSerializerField ::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializerField_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[64]); + file_level_metadata_netmessages_2eproto[56]); } // =================================================================== @@ -26088,7 +20767,7 @@ void ProtoFlattenedSerializer_t::InternalSwap(ProtoFlattenedSerializer_t* other) ::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializer_t::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[65]); + file_level_metadata_netmessages_2eproto[57]); } // =================================================================== @@ -26348,7 +21027,7 @@ void CSVCMsg_FlattenedSerializer::InternalSwap(CSVCMsg_FlattenedSerializer* othe ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FlattenedSerializer::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[66]); + file_level_metadata_netmessages_2eproto[58]); } // =================================================================== @@ -26539,7 +21218,7 @@ void CSVCMsg_StopSound::InternalSwap(CSVCMsg_StopSound* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_StopSound::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[67]); + file_level_metadata_netmessages_2eproto[59]); } // =================================================================== @@ -26832,7 +21511,7 @@ void CBidirMsg_RebroadcastGameEvent::InternalSwap(CBidirMsg_RebroadcastGameEvent ::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_RebroadcastGameEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[68]); + file_level_metadata_netmessages_2eproto[60]); } // =================================================================== @@ -27023,7 +21702,7 @@ void CBidirMsg_RebroadcastSource::InternalSwap(CBidirMsg_RebroadcastSource* othe ::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_RebroadcastSource::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[69]); + file_level_metadata_netmessages_2eproto[61]); } // =================================================================== @@ -27043,9 +21722,6 @@ class CBidirMsg_PredictionEvent::_Internal { static void set_has_sync_val_uint32(HasBits* has_bits) { (*has_bits)[0] |= 8u; } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } }; CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -27142,7 +21818,7 @@ const char* CBidirMsg_PredictionEvent::_InternalParse(const char* ptr, ::_pbi::P uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // required uint32 event_id = 1; + // optional uint32 event_id = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_event_id(&has_bits); @@ -27151,7 +21827,7 @@ const char* CBidirMsg_PredictionEvent::_InternalParse(const char* ptr, ::_pbi::P } else goto handle_unusual; continue; - // required bytes event_data = 2; + // optional bytes event_data = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_event_data(); @@ -27209,13 +21885,13 @@ uint8_t* CBidirMsg_PredictionEvent::_InternalSerialize( (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - // required uint32 event_id = 1; + // optional uint32 event_id = 1; if (cached_has_bits & 0x00000002u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); } - // required bytes event_data = 2; + // optional bytes event_data = 2; if (cached_has_bits & 0x00000001u) { target = stream->WriteBytesMaybeAliased( 2, this->_internal_event_data(), target); @@ -27241,46 +21917,28 @@ uint8_t* CBidirMsg_PredictionEvent::_InternalSerialize( return target; } -size_t CBidirMsg_PredictionEvent::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CBidirMsg_PredictionEvent) - size_t total_size = 0; - - if (_internal_has_event_data()) { - // required bytes event_data = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_event_data()); - } - - if (_internal_has_event_id()) { - // required uint32 event_id = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - - return total_size; -} size_t CBidirMsg_PredictionEvent::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:CBidirMsg_PredictionEvent) size_t total_size = 0; - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required bytes event_data = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_event_data()); - - // required uint32 event_id = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000cu) { + if (cached_has_bits & 0x0000000fu) { + // optional bytes event_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_event_data()); + } + + // optional uint32 event_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + } + // optional uint32 sync_type = 3; if (cached_has_bits & 0x00000004u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync_type()); @@ -27337,7 +21995,6 @@ void CBidirMsg_PredictionEvent::CopyFrom(const CBidirMsg_PredictionEvent& from) } bool CBidirMsg_PredictionEvent::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; return true; } @@ -27362,7 +22019,7 @@ void CBidirMsg_PredictionEvent::InternalSwap(CBidirMsg_PredictionEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_PredictionEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[70]); + file_level_metadata_netmessages_2eproto[62]); } // =================================================================== @@ -27619,7 +22276,7 @@ void CMsgServerNetworkStats_Port::InternalSwap(CMsgServerNetworkStats_Port* othe ::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats_Port::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[71]); + file_level_metadata_netmessages_2eproto[63]); } // =================================================================== @@ -28055,7 +22712,7 @@ void CMsgServerNetworkStats_Player::InternalSwap(CMsgServerNetworkStats_Player* ::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats_Player::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[72]); + file_level_metadata_netmessages_2eproto[64]); } // =================================================================== @@ -28976,7 +23633,7 @@ void CMsgServerNetworkStats::InternalSwap(CMsgServerNetworkStats* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[73]); + file_level_metadata_netmessages_2eproto[65]); } // =================================================================== @@ -29383,7 +24040,7 @@ void CSVCMsg_HltvReplay::InternalSwap(CSVCMsg_HltvReplay* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HltvReplay::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[74]); + file_level_metadata_netmessages_2eproto[66]); } // =================================================================== @@ -29706,7 +24363,7 @@ void CCLCMsg_HltvReplay::InternalSwap(CCLCMsg_HltvReplay* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_HltvReplay::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[75]); + file_level_metadata_netmessages_2eproto[67]); } // =================================================================== @@ -29926,7 +24583,7 @@ void CSVCMsg_Broadcast_Command::InternalSwap(CSVCMsg_Broadcast_Command* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Broadcast_Command::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[76]); + file_level_metadata_netmessages_2eproto[68]); } // =================================================================== @@ -30417,7 +25074,7 @@ void CCLCMsg_HltvFixupOperatorTick::InternalSwap(CCLCMsg_HltvFixupOperatorTick* ::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_HltvFixupOperatorTick::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[77]); + file_level_metadata_netmessages_2eproto[69]); } // =================================================================== @@ -30674,7 +25331,7 @@ void CSVCMsg_HltvFixupOperatorStatus::InternalSwap(CSVCMsg_HltvFixupOperatorStat ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HltvFixupOperatorStatus::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[78]); + file_level_metadata_netmessages_2eproto[70]); } // =================================================================== @@ -31021,7 +25678,7 @@ void CMsgServerUserCmd::InternalSwap(CMsgServerUserCmd* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerUserCmd::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[79]); + file_level_metadata_netmessages_2eproto[71]); } // =================================================================== @@ -31206,7 +25863,239 @@ void CSVCMsg_UserCommands::InternalSwap(CSVCMsg_UserCommands* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UserCommands::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[80]); + file_level_metadata_netmessages_2eproto[72]); +} + +// =================================================================== + +class CSVCMsg_NextMsgPredicted::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_predicted_by_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_message_type_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_NextMsgPredicted::CSVCMsg_NextMsgPredicted(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CSVCMsg_NextMsgPredicted) +} +CSVCMsg_NextMsgPredicted::CSVCMsg_NextMsgPredicted(const CSVCMsg_NextMsgPredicted& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_NextMsgPredicted* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_type_id_){} + , decltype(_impl_.predicted_by_player_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.message_type_id_, &from._impl_.message_type_id_, + static_cast(reinterpret_cast(&_impl_.predicted_by_player_slot_) - + reinterpret_cast(&_impl_.message_type_id_)) + sizeof(_impl_.predicted_by_player_slot_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_NextMsgPredicted) +} + +inline void CSVCMsg_NextMsgPredicted::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_type_id_){0u} + , decltype(_impl_.predicted_by_player_slot_){-1} + }; +} + +CSVCMsg_NextMsgPredicted::~CSVCMsg_NextMsgPredicted() { + // @@protoc_insertion_point(destructor:CSVCMsg_NextMsgPredicted) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_NextMsgPredicted::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_NextMsgPredicted::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_NextMsgPredicted::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_NextMsgPredicted) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.message_type_id_ = 0u; + _impl_.predicted_by_player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_NextMsgPredicted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 predicted_by_player_slot = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_predicted_by_player_slot(&has_bits); + _impl_.predicted_by_player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 message_type_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_message_type_id(&has_bits); + _impl_.message_type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_NextMsgPredicted::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_NextMsgPredicted) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 predicted_by_player_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_predicted_by_player_slot(), target); + } + + // optional uint32 message_type_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_message_type_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_NextMsgPredicted) + return target; +} + +size_t CSVCMsg_NextMsgPredicted::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_NextMsgPredicted) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 message_type_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_message_type_id()); + } + + // optional int32 predicted_by_player_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_predicted_by_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_NextMsgPredicted::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_NextMsgPredicted::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_NextMsgPredicted::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_NextMsgPredicted::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_NextMsgPredicted) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.message_type_id_ = from._impl_.message_type_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.predicted_by_player_slot_ = from._impl_.predicted_by_player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_NextMsgPredicted::CopyFrom(const CSVCMsg_NextMsgPredicted& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_NextMsgPredicted) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_NextMsgPredicted::IsInitialized() const { + return true; +} + +void CSVCMsg_NextMsgPredicted::InternalSwap(CSVCMsg_NextMsgPredicted* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.message_type_id_, other->_impl_.message_type_id_); + swap(_impl_.predicted_by_player_slot_, other->_impl_.predicted_by_player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_NextMsgPredicted::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[73]); } // @@protoc_insertion_point(namespace_scope) @@ -31267,42 +26156,10 @@ template<> PROTOBUF_NOINLINE ::CCLCMsg_RconServerDetails* Arena::CreateMaybeMessage< ::CCLCMsg_RconServerDetails >(Arena* arena) { return Arena::CreateMessageInternal< ::CCLCMsg_RconServerDetails >(arena); } -template<> PROTOBUF_NOINLINE ::CMsgSource2SystemSpecs* -Arena::CreateMaybeMessage< ::CMsgSource2SystemSpecs >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2SystemSpecs >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReportItem* -Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReportItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReportItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReport* -Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReport >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReport >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2NetworkFlowQuality* -Arena::CreateMaybeMessage< ::CMsgSource2NetworkFlowQuality >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2NetworkFlowQuality >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample_Tag* -Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample_Tag >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample_Tag >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample* -Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample >(arena); -} template<> PROTOBUF_NOINLINE ::CCLCMsg_Diagnostic* Arena::CreateMaybeMessage< ::CCLCMsg_Diagnostic >(Arena* arena) { return Arena::CreateMessageInternal< ::CCLCMsg_Diagnostic >(arena); } -template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification_Client* -Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(arena); -} -template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification* -Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification >(arena); -} template<> PROTOBUF_NOINLINE ::CSVCMsg_ServerInfo* Arena::CreateMaybeMessage< ::CSVCMsg_ServerInfo >(Arena* arena) { return Arena::CreateMessageInternal< ::CSVCMsg_ServerInfo >(arena); @@ -31535,6 +26392,10 @@ template<> PROTOBUF_NOINLINE ::CSVCMsg_UserCommands* Arena::CreateMaybeMessage< ::CSVCMsg_UserCommands >(Arena* arena) { return Arena::CreateMessageInternal< ::CSVCMsg_UserCommands >(arena); } +template<> PROTOBUF_NOINLINE ::CSVCMsg_NextMsgPredicted* +Arena::CreateMaybeMessage< ::CSVCMsg_NextMsgPredicted >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_NextMsgPredicted >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h index a21a425..f3adbaa 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h @@ -32,6 +32,7 @@ #include #include #include "networkbasetypes.pb.h" +#include "source2_steam_stats.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_netmessages_2eproto @@ -121,24 +122,6 @@ extern CMsgServerPeerDefaultTypeInternal _CMsgServerPeer_default_instance_; class CMsgServerUserCmd; struct CMsgServerUserCmdDefaultTypeInternal; extern CMsgServerUserCmdDefaultTypeInternal _CMsgServerUserCmd_default_instance_; -class CMsgSource2NetworkFlowQuality; -struct CMsgSource2NetworkFlowQualityDefaultTypeInternal; -extern CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; -class CMsgSource2PerfIntervalSample; -struct CMsgSource2PerfIntervalSampleDefaultTypeInternal; -extern CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; -class CMsgSource2PerfIntervalSample_Tag; -struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal; -extern CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; -class CMsgSource2SystemSpecs; -struct CMsgSource2SystemSpecsDefaultTypeInternal; -extern CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; -class CMsgSource2VProfLiteReport; -struct CMsgSource2VProfLiteReportDefaultTypeInternal; -extern CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; -class CMsgSource2VProfLiteReportItem; -struct CMsgSource2VProfLiteReportItemDefaultTypeInternal; -extern CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; class CMsgVoiceAudio; struct CMsgVoiceAudioDefaultTypeInternal; extern CMsgVoiceAudioDefaultTypeInternal _CMsgVoiceAudio_default_instance_; @@ -199,6 +182,9 @@ extern CSVCMsg_HltvReplayDefaultTypeInternal _CSVCMsg_HltvReplay_default_instanc class CSVCMsg_Menu; struct CSVCMsg_MenuDefaultTypeInternal; extern CSVCMsg_MenuDefaultTypeInternal _CSVCMsg_Menu_default_instance_; +class CSVCMsg_NextMsgPredicted; +struct CSVCMsg_NextMsgPredictedDefaultTypeInternal; +extern CSVCMsg_NextMsgPredictedDefaultTypeInternal _CSVCMsg_NextMsgPredicted_default_instance_; class CSVCMsg_PacketEntities; struct CSVCMsg_PacketEntitiesDefaultTypeInternal; extern CSVCMsg_PacketEntitiesDefaultTypeInternal _CSVCMsg_PacketEntities_default_instance_; @@ -274,12 +260,6 @@ extern CSVCMsg_VoiceDataDefaultTypeInternal _CSVCMsg_VoiceData_default_instance_ class CSVCMsg_VoiceInit; struct CSVCMsg_VoiceInitDefaultTypeInternal; extern CSVCMsg_VoiceInitDefaultTypeInternal _CSVCMsg_VoiceInit_default_instance_; -class CSource2Metrics_MatchPerfSummary_Notification; -struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal; -extern CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; -class CSource2Metrics_MatchPerfSummary_Notification_Client; -struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal; -extern CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; class ProtoFlattenedSerializerField_t; struct ProtoFlattenedSerializerField_tDefaultTypeInternal; extern ProtoFlattenedSerializerField_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_default_instance_; @@ -315,12 +295,6 @@ template<> ::CMsgServerNetworkStats_Player* Arena::CreateMaybeMessage<::CMsgServ template<> ::CMsgServerNetworkStats_Port* Arena::CreateMaybeMessage<::CMsgServerNetworkStats_Port>(Arena*); template<> ::CMsgServerPeer* Arena::CreateMaybeMessage<::CMsgServerPeer>(Arena*); template<> ::CMsgServerUserCmd* Arena::CreateMaybeMessage<::CMsgServerUserCmd>(Arena*); -template<> ::CMsgSource2NetworkFlowQuality* Arena::CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(Arena*); -template<> ::CMsgSource2PerfIntervalSample* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample>(Arena*); -template<> ::CMsgSource2PerfIntervalSample_Tag* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample_Tag>(Arena*); -template<> ::CMsgSource2SystemSpecs* Arena::CreateMaybeMessage<::CMsgSource2SystemSpecs>(Arena*); -template<> ::CMsgSource2VProfLiteReport* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReport>(Arena*); -template<> ::CMsgSource2VProfLiteReportItem* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(Arena*); template<> ::CMsgVoiceAudio* Arena::CreateMaybeMessage<::CMsgVoiceAudio>(Arena*); template<> ::CSVCMsg_BSPDecal* Arena::CreateMaybeMessage<::CSVCMsg_BSPDecal>(Arena*); template<> ::CSVCMsg_Broadcast_Command* Arena::CreateMaybeMessage<::CSVCMsg_Broadcast_Command>(Arena*); @@ -341,6 +315,7 @@ template<> ::CSVCMsg_HLTVStatus* Arena::CreateMaybeMessage<::CSVCMsg_HLTVStatus> template<> ::CSVCMsg_HltvFixupOperatorStatus* Arena::CreateMaybeMessage<::CSVCMsg_HltvFixupOperatorStatus>(Arena*); template<> ::CSVCMsg_HltvReplay* Arena::CreateMaybeMessage<::CSVCMsg_HltvReplay>(Arena*); template<> ::CSVCMsg_Menu* Arena::CreateMaybeMessage<::CSVCMsg_Menu>(Arena*); +template<> ::CSVCMsg_NextMsgPredicted* Arena::CreateMaybeMessage<::CSVCMsg_NextMsgPredicted>(Arena*); template<> ::CSVCMsg_PacketEntities* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities>(Arena*); template<> ::CSVCMsg_PacketEntities_alternate_baseline_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_alternate_baseline_t>(Arena*); template<> ::CSVCMsg_PacketEntities_non_transmitted_entities_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_non_transmitted_entities_t>(Arena*); @@ -366,8 +341,6 @@ template<> ::CSVCMsg_UserCommands* Arena::CreateMaybeMessage<::CSVCMsg_UserComma template<> ::CSVCMsg_UserMessage* Arena::CreateMaybeMessage<::CSVCMsg_UserMessage>(Arena*); template<> ::CSVCMsg_VoiceData* Arena::CreateMaybeMessage<::CSVCMsg_VoiceData>(Arena*); template<> ::CSVCMsg_VoiceInit* Arena::CreateMaybeMessage<::CSVCMsg_VoiceInit>(Arena*); -template<> ::CSource2Metrics_MatchPerfSummary_Notification* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification>(Arena*); -template<> ::CSource2Metrics_MatchPerfSummary_Notification_Client* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification_Client>(Arena*); template<> ::ProtoFlattenedSerializerField_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializerField_t>(Arena*); template<> ::ProtoFlattenedSerializerField_t_polymorphic_field_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializerField_t_polymorphic_field_t>(Arena*); template<> ::ProtoFlattenedSerializer_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializer_t>(Arena*); @@ -461,11 +434,12 @@ enum SVC_Messages : int { svc_UserMessage = 72, svc_Broadcast_Command = 74, svc_HltvFixupOperatorStatus = 75, - svc_UserCmds = 76 + svc_UserCmds = 76, + svc_NextMsgPredicted = 77 }; bool SVC_Messages_IsValid(int value); constexpr SVC_Messages SVC_Messages_MIN = svc_ServerInfo; -constexpr SVC_Messages SVC_Messages_MAX = svc_UserCmds; +constexpr SVC_Messages SVC_Messages_MAX = svc_NextMsgPredicted; constexpr int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_descriptor(); @@ -3327,2228 +3301,6 @@ class CCLCMsg_RconServerDetails final : }; // ------------------------------------------------------------------- -class CMsgSource2SystemSpecs final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2SystemSpecs) */ { - public: - inline CMsgSource2SystemSpecs() : CMsgSource2SystemSpecs(nullptr) {} - ~CMsgSource2SystemSpecs() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from); - CMsgSource2SystemSpecs(CMsgSource2SystemSpecs&& from) noexcept - : CMsgSource2SystemSpecs() { - *this = ::std::move(from); - } - - inline CMsgSource2SystemSpecs& operator=(const CMsgSource2SystemSpecs& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2SystemSpecs& operator=(CMsgSource2SystemSpecs&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2SystemSpecs& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2SystemSpecs* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2SystemSpecs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CMsgSource2SystemSpecs& a, CMsgSource2SystemSpecs& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2SystemSpecs* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2SystemSpecs* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2SystemSpecs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2SystemSpecs& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2SystemSpecs& from) { - CMsgSource2SystemSpecs::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2SystemSpecs* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2SystemSpecs"; - } - protected: - explicit CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCpuIdFieldNumber = 1, - kCpuBrandFieldNumber = 2, - kGpuRendersystemDllNameFieldNumber = 41, - kGpuDriverNameFieldNumber = 43, - kCpuModelFieldNumber = 3, - kCpuNumPhysicalFieldNumber = 4, - kRamPhysicalTotalMbFieldNumber = 21, - kGpuVendorIdFieldNumber = 42, - kGpuDriverVersionHighFieldNumber = 44, - kGpuDriverVersionLowFieldNumber = 45, - kGpuDxSupportLevelFieldNumber = 46, - kGpuTextureMemorySizeMbFieldNumber = 47, - kBackbufferWidthFieldNumber = 51, - kBackbufferHeightFieldNumber = 52, - }; - // optional string cpu_id = 1; - bool has_cpu_id() const; - private: - bool _internal_has_cpu_id() const; - public: - void clear_cpu_id(); - const std::string& cpu_id() const; - template - void set_cpu_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_cpu_id(); - PROTOBUF_NODISCARD std::string* release_cpu_id(); - void set_allocated_cpu_id(std::string* cpu_id); - private: - const std::string& _internal_cpu_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_id(const std::string& value); - std::string* _internal_mutable_cpu_id(); - public: - - // optional string cpu_brand = 2; - bool has_cpu_brand() const; - private: - bool _internal_has_cpu_brand() const; - public: - void clear_cpu_brand(); - const std::string& cpu_brand() const; - template - void set_cpu_brand(ArgT0&& arg0, ArgT... args); - std::string* mutable_cpu_brand(); - PROTOBUF_NODISCARD std::string* release_cpu_brand(); - void set_allocated_cpu_brand(std::string* cpu_brand); - private: - const std::string& _internal_cpu_brand() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_brand(const std::string& value); - std::string* _internal_mutable_cpu_brand(); - public: - - // optional string gpu_rendersystem_dll_name = 41; - bool has_gpu_rendersystem_dll_name() const; - private: - bool _internal_has_gpu_rendersystem_dll_name() const; - public: - void clear_gpu_rendersystem_dll_name(); - const std::string& gpu_rendersystem_dll_name() const; - template - void set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_gpu_rendersystem_dll_name(); - PROTOBUF_NODISCARD std::string* release_gpu_rendersystem_dll_name(); - void set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name); - private: - const std::string& _internal_gpu_rendersystem_dll_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_rendersystem_dll_name(const std::string& value); - std::string* _internal_mutable_gpu_rendersystem_dll_name(); - public: - - // optional string gpu_driver_name = 43; - bool has_gpu_driver_name() const; - private: - bool _internal_has_gpu_driver_name() const; - public: - void clear_gpu_driver_name(); - const std::string& gpu_driver_name() const; - template - void set_gpu_driver_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_gpu_driver_name(); - PROTOBUF_NODISCARD std::string* release_gpu_driver_name(); - void set_allocated_gpu_driver_name(std::string* gpu_driver_name); - private: - const std::string& _internal_gpu_driver_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_driver_name(const std::string& value); - std::string* _internal_mutable_gpu_driver_name(); - public: - - // optional uint32 cpu_model = 3; - bool has_cpu_model() const; - private: - bool _internal_has_cpu_model() const; - public: - void clear_cpu_model(); - uint32_t cpu_model() const; - void set_cpu_model(uint32_t value); - private: - uint32_t _internal_cpu_model() const; - void _internal_set_cpu_model(uint32_t value); - public: - - // optional uint32 cpu_num_physical = 4; - bool has_cpu_num_physical() const; - private: - bool _internal_has_cpu_num_physical() const; - public: - void clear_cpu_num_physical(); - uint32_t cpu_num_physical() const; - void set_cpu_num_physical(uint32_t value); - private: - uint32_t _internal_cpu_num_physical() const; - void _internal_set_cpu_num_physical(uint32_t value); - public: - - // optional uint32 ram_physical_total_mb = 21; - bool has_ram_physical_total_mb() const; - private: - bool _internal_has_ram_physical_total_mb() const; - public: - void clear_ram_physical_total_mb(); - uint32_t ram_physical_total_mb() const; - void set_ram_physical_total_mb(uint32_t value); - private: - uint32_t _internal_ram_physical_total_mb() const; - void _internal_set_ram_physical_total_mb(uint32_t value); - public: - - // optional uint32 gpu_vendor_id = 42; - bool has_gpu_vendor_id() const; - private: - bool _internal_has_gpu_vendor_id() const; - public: - void clear_gpu_vendor_id(); - uint32_t gpu_vendor_id() const; - void set_gpu_vendor_id(uint32_t value); - private: - uint32_t _internal_gpu_vendor_id() const; - void _internal_set_gpu_vendor_id(uint32_t value); - public: - - // optional uint32 gpu_driver_version_high = 44; - bool has_gpu_driver_version_high() const; - private: - bool _internal_has_gpu_driver_version_high() const; - public: - void clear_gpu_driver_version_high(); - uint32_t gpu_driver_version_high() const; - void set_gpu_driver_version_high(uint32_t value); - private: - uint32_t _internal_gpu_driver_version_high() const; - void _internal_set_gpu_driver_version_high(uint32_t value); - public: - - // optional uint32 gpu_driver_version_low = 45; - bool has_gpu_driver_version_low() const; - private: - bool _internal_has_gpu_driver_version_low() const; - public: - void clear_gpu_driver_version_low(); - uint32_t gpu_driver_version_low() const; - void set_gpu_driver_version_low(uint32_t value); - private: - uint32_t _internal_gpu_driver_version_low() const; - void _internal_set_gpu_driver_version_low(uint32_t value); - public: - - // optional uint32 gpu_dx_support_level = 46; - bool has_gpu_dx_support_level() const; - private: - bool _internal_has_gpu_dx_support_level() const; - public: - void clear_gpu_dx_support_level(); - uint32_t gpu_dx_support_level() const; - void set_gpu_dx_support_level(uint32_t value); - private: - uint32_t _internal_gpu_dx_support_level() const; - void _internal_set_gpu_dx_support_level(uint32_t value); - public: - - // optional uint32 gpu_texture_memory_size_mb = 47; - bool has_gpu_texture_memory_size_mb() const; - private: - bool _internal_has_gpu_texture_memory_size_mb() const; - public: - void clear_gpu_texture_memory_size_mb(); - uint32_t gpu_texture_memory_size_mb() const; - void set_gpu_texture_memory_size_mb(uint32_t value); - private: - uint32_t _internal_gpu_texture_memory_size_mb() const; - void _internal_set_gpu_texture_memory_size_mb(uint32_t value); - public: - - // optional uint32 backbuffer_width = 51; - bool has_backbuffer_width() const; - private: - bool _internal_has_backbuffer_width() const; - public: - void clear_backbuffer_width(); - uint32_t backbuffer_width() const; - void set_backbuffer_width(uint32_t value); - private: - uint32_t _internal_backbuffer_width() const; - void _internal_set_backbuffer_width(uint32_t value); - public: - - // optional uint32 backbuffer_height = 52; - bool has_backbuffer_height() const; - private: - bool _internal_has_backbuffer_height() const; - public: - void clear_backbuffer_height(); - uint32_t backbuffer_height() const; - void set_backbuffer_height(uint32_t value); - private: - uint32_t _internal_backbuffer_height() const; - void _internal_set_backbuffer_height(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2SystemSpecs) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_brand_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_rendersystem_dll_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_driver_name_; - uint32_t cpu_model_; - uint32_t cpu_num_physical_; - uint32_t ram_physical_total_mb_; - uint32_t gpu_vendor_id_; - uint32_t gpu_driver_version_high_; - uint32_t gpu_driver_version_low_; - uint32_t gpu_dx_support_level_; - uint32_t gpu_texture_memory_size_mb_; - uint32_t backbuffer_width_; - uint32_t backbuffer_height_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2VProfLiteReportItem final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReportItem) */ { - public: - inline CMsgSource2VProfLiteReportItem() : CMsgSource2VProfLiteReportItem(nullptr) {} - ~CMsgSource2VProfLiteReportItem() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from); - CMsgSource2VProfLiteReportItem(CMsgSource2VProfLiteReportItem&& from) noexcept - : CMsgSource2VProfLiteReportItem() { - *this = ::std::move(from); - } - - inline CMsgSource2VProfLiteReportItem& operator=(const CMsgSource2VProfLiteReportItem& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2VProfLiteReportItem& operator=(CMsgSource2VProfLiteReportItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2VProfLiteReportItem& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2VProfLiteReportItem* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2VProfLiteReportItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CMsgSource2VProfLiteReportItem& a, CMsgSource2VProfLiteReportItem& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2VProfLiteReportItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2VProfLiteReportItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2VProfLiteReportItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2VProfLiteReportItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2VProfLiteReportItem& from) { - CMsgSource2VProfLiteReportItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2VProfLiteReportItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2VProfLiteReportItem"; - } - protected: - explicit CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kActiveSamplesFieldNumber = 2, - kUsecMaxFieldNumber = 3, - kActiveSamples1SecmaxFieldNumber = 4, - kUsecAvgActiveFieldNumber = 11, - kUsecP50ActiveFieldNumber = 12, - kUsecP99ActiveFieldNumber = 13, - kUsecAvgAllFieldNumber = 21, - kUsecP50AllFieldNumber = 22, - kUsecP99AllFieldNumber = 23, - kUsec1SecmaxAvgActiveFieldNumber = 31, - kUsec1SecmaxP50ActiveFieldNumber = 32, - kUsec1SecmaxP95ActiveFieldNumber = 33, - kUsec1SecmaxP99ActiveFieldNumber = 34, - kUsec1SecmaxAvgAllFieldNumber = 41, - kUsec1SecmaxP50AllFieldNumber = 42, - kUsec1SecmaxP95AllFieldNumber = 43, - kUsec1SecmaxP99AllFieldNumber = 44, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional uint32 active_samples = 2; - bool has_active_samples() const; - private: - bool _internal_has_active_samples() const; - public: - void clear_active_samples(); - uint32_t active_samples() const; - void set_active_samples(uint32_t value); - private: - uint32_t _internal_active_samples() const; - void _internal_set_active_samples(uint32_t value); - public: - - // optional uint32 usec_max = 3; - bool has_usec_max() const; - private: - bool _internal_has_usec_max() const; - public: - void clear_usec_max(); - uint32_t usec_max() const; - void set_usec_max(uint32_t value); - private: - uint32_t _internal_usec_max() const; - void _internal_set_usec_max(uint32_t value); - public: - - // optional uint32 active_samples_1secmax = 4; - bool has_active_samples_1secmax() const; - private: - bool _internal_has_active_samples_1secmax() const; - public: - void clear_active_samples_1secmax(); - uint32_t active_samples_1secmax() const; - void set_active_samples_1secmax(uint32_t value); - private: - uint32_t _internal_active_samples_1secmax() const; - void _internal_set_active_samples_1secmax(uint32_t value); - public: - - // optional uint32 usec_avg_active = 11; - bool has_usec_avg_active() const; - private: - bool _internal_has_usec_avg_active() const; - public: - void clear_usec_avg_active(); - uint32_t usec_avg_active() const; - void set_usec_avg_active(uint32_t value); - private: - uint32_t _internal_usec_avg_active() const; - void _internal_set_usec_avg_active(uint32_t value); - public: - - // optional uint32 usec_p50_active = 12; - bool has_usec_p50_active() const; - private: - bool _internal_has_usec_p50_active() const; - public: - void clear_usec_p50_active(); - uint32_t usec_p50_active() const; - void set_usec_p50_active(uint32_t value); - private: - uint32_t _internal_usec_p50_active() const; - void _internal_set_usec_p50_active(uint32_t value); - public: - - // optional uint32 usec_p99_active = 13; - bool has_usec_p99_active() const; - private: - bool _internal_has_usec_p99_active() const; - public: - void clear_usec_p99_active(); - uint32_t usec_p99_active() const; - void set_usec_p99_active(uint32_t value); - private: - uint32_t _internal_usec_p99_active() const; - void _internal_set_usec_p99_active(uint32_t value); - public: - - // optional uint32 usec_avg_all = 21; - bool has_usec_avg_all() const; - private: - bool _internal_has_usec_avg_all() const; - public: - void clear_usec_avg_all(); - uint32_t usec_avg_all() const; - void set_usec_avg_all(uint32_t value); - private: - uint32_t _internal_usec_avg_all() const; - void _internal_set_usec_avg_all(uint32_t value); - public: - - // optional uint32 usec_p50_all = 22; - bool has_usec_p50_all() const; - private: - bool _internal_has_usec_p50_all() const; - public: - void clear_usec_p50_all(); - uint32_t usec_p50_all() const; - void set_usec_p50_all(uint32_t value); - private: - uint32_t _internal_usec_p50_all() const; - void _internal_set_usec_p50_all(uint32_t value); - public: - - // optional uint32 usec_p99_all = 23; - bool has_usec_p99_all() const; - private: - bool _internal_has_usec_p99_all() const; - public: - void clear_usec_p99_all(); - uint32_t usec_p99_all() const; - void set_usec_p99_all(uint32_t value); - private: - uint32_t _internal_usec_p99_all() const; - void _internal_set_usec_p99_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_avg_active = 31; - bool has_usec_1secmax_avg_active() const; - private: - bool _internal_has_usec_1secmax_avg_active() const; - public: - void clear_usec_1secmax_avg_active(); - uint32_t usec_1secmax_avg_active() const; - void set_usec_1secmax_avg_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_avg_active() const; - void _internal_set_usec_1secmax_avg_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_p50_active = 32; - bool has_usec_1secmax_p50_active() const; - private: - bool _internal_has_usec_1secmax_p50_active() const; - public: - void clear_usec_1secmax_p50_active(); - uint32_t usec_1secmax_p50_active() const; - void set_usec_1secmax_p50_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p50_active() const; - void _internal_set_usec_1secmax_p50_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_p95_active = 33; - bool has_usec_1secmax_p95_active() const; - private: - bool _internal_has_usec_1secmax_p95_active() const; - public: - void clear_usec_1secmax_p95_active(); - uint32_t usec_1secmax_p95_active() const; - void set_usec_1secmax_p95_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p95_active() const; - void _internal_set_usec_1secmax_p95_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_p99_active = 34; - bool has_usec_1secmax_p99_active() const; - private: - bool _internal_has_usec_1secmax_p99_active() const; - public: - void clear_usec_1secmax_p99_active(); - uint32_t usec_1secmax_p99_active() const; - void set_usec_1secmax_p99_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p99_active() const; - void _internal_set_usec_1secmax_p99_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_avg_all = 41; - bool has_usec_1secmax_avg_all() const; - private: - bool _internal_has_usec_1secmax_avg_all() const; - public: - void clear_usec_1secmax_avg_all(); - uint32_t usec_1secmax_avg_all() const; - void set_usec_1secmax_avg_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_avg_all() const; - void _internal_set_usec_1secmax_avg_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_p50_all = 42; - bool has_usec_1secmax_p50_all() const; - private: - bool _internal_has_usec_1secmax_p50_all() const; - public: - void clear_usec_1secmax_p50_all(); - uint32_t usec_1secmax_p50_all() const; - void set_usec_1secmax_p50_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p50_all() const; - void _internal_set_usec_1secmax_p50_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_p95_all = 43; - bool has_usec_1secmax_p95_all() const; - private: - bool _internal_has_usec_1secmax_p95_all() const; - public: - void clear_usec_1secmax_p95_all(); - uint32_t usec_1secmax_p95_all() const; - void set_usec_1secmax_p95_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p95_all() const; - void _internal_set_usec_1secmax_p95_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_p99_all = 44; - bool has_usec_1secmax_p99_all() const; - private: - bool _internal_has_usec_1secmax_p99_all() const; - public: - void clear_usec_1secmax_p99_all(); - uint32_t usec_1secmax_p99_all() const; - void set_usec_1secmax_p99_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p99_all() const; - void _internal_set_usec_1secmax_p99_all(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReportItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - uint32_t active_samples_; - uint32_t usec_max_; - uint32_t active_samples_1secmax_; - uint32_t usec_avg_active_; - uint32_t usec_p50_active_; - uint32_t usec_p99_active_; - uint32_t usec_avg_all_; - uint32_t usec_p50_all_; - uint32_t usec_p99_all_; - uint32_t usec_1secmax_avg_active_; - uint32_t usec_1secmax_p50_active_; - uint32_t usec_1secmax_p95_active_; - uint32_t usec_1secmax_p99_active_; - uint32_t usec_1secmax_avg_all_; - uint32_t usec_1secmax_p50_all_; - uint32_t usec_1secmax_p95_all_; - uint32_t usec_1secmax_p99_all_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2VProfLiteReport final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReport) */ { - public: - inline CMsgSource2VProfLiteReport() : CMsgSource2VProfLiteReport(nullptr) {} - ~CMsgSource2VProfLiteReport() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from); - CMsgSource2VProfLiteReport(CMsgSource2VProfLiteReport&& from) noexcept - : CMsgSource2VProfLiteReport() { - *this = ::std::move(from); - } - - inline CMsgSource2VProfLiteReport& operator=(const CMsgSource2VProfLiteReport& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2VProfLiteReport& operator=(CMsgSource2VProfLiteReport&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2VProfLiteReport& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2VProfLiteReport* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2VProfLiteReport_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CMsgSource2VProfLiteReport& a, CMsgSource2VProfLiteReport& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2VProfLiteReport* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2VProfLiteReport* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2VProfLiteReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2VProfLiteReport& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2VProfLiteReport& from) { - CMsgSource2VProfLiteReport::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2VProfLiteReport* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2VProfLiteReport"; - } - protected: - explicit CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsFieldNumber = 2, - kTotalFieldNumber = 1, - kDiscardedFramesFieldNumber = 3, - }; - // repeated .CMsgSource2VProfLiteReportItem items = 2; - int items_size() const; - private: - int _internal_items_size() const; - public: - void clear_items(); - ::CMsgSource2VProfLiteReportItem* mutable_items(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* - mutable_items(); - private: - const ::CMsgSource2VProfLiteReportItem& _internal_items(int index) const; - ::CMsgSource2VProfLiteReportItem* _internal_add_items(); - public: - const ::CMsgSource2VProfLiteReportItem& items(int index) const; - ::CMsgSource2VProfLiteReportItem* add_items(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& - items() const; - - // optional .CMsgSource2VProfLiteReportItem total = 1; - bool has_total() const; - private: - bool _internal_has_total() const; - public: - void clear_total(); - const ::CMsgSource2VProfLiteReportItem& total() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReportItem* release_total(); - ::CMsgSource2VProfLiteReportItem* mutable_total(); - void set_allocated_total(::CMsgSource2VProfLiteReportItem* total); - private: - const ::CMsgSource2VProfLiteReportItem& _internal_total() const; - ::CMsgSource2VProfLiteReportItem* _internal_mutable_total(); - public: - void unsafe_arena_set_allocated_total( - ::CMsgSource2VProfLiteReportItem* total); - ::CMsgSource2VProfLiteReportItem* unsafe_arena_release_total(); - - // optional uint32 discarded_frames = 3; - bool has_discarded_frames() const; - private: - bool _internal_has_discarded_frames() const; - public: - void clear_discarded_frames(); - uint32_t discarded_frames() const; - void set_discarded_frames(uint32_t value); - private: - uint32_t _internal_discarded_frames() const; - void _internal_set_discarded_frames(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReport) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem > items_; - ::CMsgSource2VProfLiteReportItem* total_; - uint32_t discarded_frames_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2NetworkFlowQuality final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2NetworkFlowQuality) */ { - public: - inline CMsgSource2NetworkFlowQuality() : CMsgSource2NetworkFlowQuality(nullptr) {} - ~CMsgSource2NetworkFlowQuality() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from); - CMsgSource2NetworkFlowQuality(CMsgSource2NetworkFlowQuality&& from) noexcept - : CMsgSource2NetworkFlowQuality() { - *this = ::std::move(from); - } - - inline CMsgSource2NetworkFlowQuality& operator=(const CMsgSource2NetworkFlowQuality& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2NetworkFlowQuality& operator=(CMsgSource2NetworkFlowQuality&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2NetworkFlowQuality& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2NetworkFlowQuality* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2NetworkFlowQuality_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CMsgSource2NetworkFlowQuality& a, CMsgSource2NetworkFlowQuality& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2NetworkFlowQuality* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2NetworkFlowQuality* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2NetworkFlowQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2NetworkFlowQuality& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2NetworkFlowQuality& from) { - CMsgSource2NetworkFlowQuality::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2NetworkFlowQuality* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2NetworkFlowQuality"; - } - protected: - explicit CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBytesTotalFieldNumber = 5, - kDurationFieldNumber = 1, - kBytesSecP95FieldNumber = 10, - kBytesTotalReliableFieldNumber = 6, - kBytesTotalVoiceFieldNumber = 7, - kBytesSecP99FieldNumber = 11, - kEnginemsgsTotalFieldNumber = 20, - kEnginemsgsSecP95FieldNumber = 21, - kEnginemsgsSecP99FieldNumber = 22, - kNetframesTotalFieldNumber = 30, - kNetframesDroppedFieldNumber = 31, - kNetframesOutoforderFieldNumber = 32, - kNetframesSizeExceedsMtuFieldNumber = 34, - kNetframesSizeP95FieldNumber = 35, - kNetframesSizeP99FieldNumber = 36, - kTicksTotalFieldNumber = 40, - kTicksGoodFieldNumber = 41, - kTicksGoodAlmostLateFieldNumber = 42, - kTicksFixedDroppedFieldNumber = 43, - kTicksFixedLateFieldNumber = 44, - kTicksBadDroppedFieldNumber = 45, - kTicksBadLateFieldNumber = 46, - kTicksBadOtherFieldNumber = 47, - kTickMissrateSamplesTotalFieldNumber = 50, - kTickMissrateSamplesPerfectFieldNumber = 51, - kTickMissrateSamplesPerfectnetFieldNumber = 52, - kTickMissratenetP75X10FieldNumber = 53, - kTickMissratenetP95X10FieldNumber = 54, - kTickMissratenetP99X10FieldNumber = 55, - kRecvmarginP1FieldNumber = 61, - kRecvmarginP5FieldNumber = 62, - kRecvmarginP25FieldNumber = 63, - kRecvmarginP50FieldNumber = 64, - kRecvmarginP75FieldNumber = 65, - kRecvmarginP95FieldNumber = 66, - kNetframeJitterP50FieldNumber = 70, - kNetframeJitterP99FieldNumber = 71, - kIntervalPeakjitterP50FieldNumber = 72, - kIntervalPeakjitterP95FieldNumber = 73, - kPacketMisdeliveryRateP50X4FieldNumber = 74, - kPacketMisdeliveryRateP95X4FieldNumber = 75, - kNetPingP5FieldNumber = 80, - kNetPingP50FieldNumber = 81, - kNetPingP95FieldNumber = 82, - }; - // optional uint64 bytes_total = 5; - bool has_bytes_total() const; - private: - bool _internal_has_bytes_total() const; - public: - void clear_bytes_total(); - uint64_t bytes_total() const; - void set_bytes_total(uint64_t value); - private: - uint64_t _internal_bytes_total() const; - void _internal_set_bytes_total(uint64_t value); - public: - - // optional uint32 duration = 1; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - uint32_t duration() const; - void set_duration(uint32_t value); - private: - uint32_t _internal_duration() const; - void _internal_set_duration(uint32_t value); - public: - - // optional uint32 bytes_sec_p95 = 10; - bool has_bytes_sec_p95() const; - private: - bool _internal_has_bytes_sec_p95() const; - public: - void clear_bytes_sec_p95(); - uint32_t bytes_sec_p95() const; - void set_bytes_sec_p95(uint32_t value); - private: - uint32_t _internal_bytes_sec_p95() const; - void _internal_set_bytes_sec_p95(uint32_t value); - public: - - // optional uint64 bytes_total_reliable = 6; - bool has_bytes_total_reliable() const; - private: - bool _internal_has_bytes_total_reliable() const; - public: - void clear_bytes_total_reliable(); - uint64_t bytes_total_reliable() const; - void set_bytes_total_reliable(uint64_t value); - private: - uint64_t _internal_bytes_total_reliable() const; - void _internal_set_bytes_total_reliable(uint64_t value); - public: - - // optional uint64 bytes_total_voice = 7; - bool has_bytes_total_voice() const; - private: - bool _internal_has_bytes_total_voice() const; - public: - void clear_bytes_total_voice(); - uint64_t bytes_total_voice() const; - void set_bytes_total_voice(uint64_t value); - private: - uint64_t _internal_bytes_total_voice() const; - void _internal_set_bytes_total_voice(uint64_t value); - public: - - // optional uint32 bytes_sec_p99 = 11; - bool has_bytes_sec_p99() const; - private: - bool _internal_has_bytes_sec_p99() const; - public: - void clear_bytes_sec_p99(); - uint32_t bytes_sec_p99() const; - void set_bytes_sec_p99(uint32_t value); - private: - uint32_t _internal_bytes_sec_p99() const; - void _internal_set_bytes_sec_p99(uint32_t value); - public: - - // optional uint32 enginemsgs_total = 20; - bool has_enginemsgs_total() const; - private: - bool _internal_has_enginemsgs_total() const; - public: - void clear_enginemsgs_total(); - uint32_t enginemsgs_total() const; - void set_enginemsgs_total(uint32_t value); - private: - uint32_t _internal_enginemsgs_total() const; - void _internal_set_enginemsgs_total(uint32_t value); - public: - - // optional uint32 enginemsgs_sec_p95 = 21; - bool has_enginemsgs_sec_p95() const; - private: - bool _internal_has_enginemsgs_sec_p95() const; - public: - void clear_enginemsgs_sec_p95(); - uint32_t enginemsgs_sec_p95() const; - void set_enginemsgs_sec_p95(uint32_t value); - private: - uint32_t _internal_enginemsgs_sec_p95() const; - void _internal_set_enginemsgs_sec_p95(uint32_t value); - public: - - // optional uint32 enginemsgs_sec_p99 = 22; - bool has_enginemsgs_sec_p99() const; - private: - bool _internal_has_enginemsgs_sec_p99() const; - public: - void clear_enginemsgs_sec_p99(); - uint32_t enginemsgs_sec_p99() const; - void set_enginemsgs_sec_p99(uint32_t value); - private: - uint32_t _internal_enginemsgs_sec_p99() const; - void _internal_set_enginemsgs_sec_p99(uint32_t value); - public: - - // optional uint32 netframes_total = 30; - bool has_netframes_total() const; - private: - bool _internal_has_netframes_total() const; - public: - void clear_netframes_total(); - uint32_t netframes_total() const; - void set_netframes_total(uint32_t value); - private: - uint32_t _internal_netframes_total() const; - void _internal_set_netframes_total(uint32_t value); - public: - - // optional uint32 netframes_dropped = 31; - bool has_netframes_dropped() const; - private: - bool _internal_has_netframes_dropped() const; - public: - void clear_netframes_dropped(); - uint32_t netframes_dropped() const; - void set_netframes_dropped(uint32_t value); - private: - uint32_t _internal_netframes_dropped() const; - void _internal_set_netframes_dropped(uint32_t value); - public: - - // optional uint32 netframes_outoforder = 32; - bool has_netframes_outoforder() const; - private: - bool _internal_has_netframes_outoforder() const; - public: - void clear_netframes_outoforder(); - uint32_t netframes_outoforder() const; - void set_netframes_outoforder(uint32_t value); - private: - uint32_t _internal_netframes_outoforder() const; - void _internal_set_netframes_outoforder(uint32_t value); - public: - - // optional uint32 netframes_size_exceeds_mtu = 34; - bool has_netframes_size_exceeds_mtu() const; - private: - bool _internal_has_netframes_size_exceeds_mtu() const; - public: - void clear_netframes_size_exceeds_mtu(); - uint32_t netframes_size_exceeds_mtu() const; - void set_netframes_size_exceeds_mtu(uint32_t value); - private: - uint32_t _internal_netframes_size_exceeds_mtu() const; - void _internal_set_netframes_size_exceeds_mtu(uint32_t value); - public: - - // optional uint32 netframes_size_p95 = 35; - bool has_netframes_size_p95() const; - private: - bool _internal_has_netframes_size_p95() const; - public: - void clear_netframes_size_p95(); - uint32_t netframes_size_p95() const; - void set_netframes_size_p95(uint32_t value); - private: - uint32_t _internal_netframes_size_p95() const; - void _internal_set_netframes_size_p95(uint32_t value); - public: - - // optional uint32 netframes_size_p99 = 36; - bool has_netframes_size_p99() const; - private: - bool _internal_has_netframes_size_p99() const; - public: - void clear_netframes_size_p99(); - uint32_t netframes_size_p99() const; - void set_netframes_size_p99(uint32_t value); - private: - uint32_t _internal_netframes_size_p99() const; - void _internal_set_netframes_size_p99(uint32_t value); - public: - - // optional uint32 ticks_total = 40; - bool has_ticks_total() const; - private: - bool _internal_has_ticks_total() const; - public: - void clear_ticks_total(); - uint32_t ticks_total() const; - void set_ticks_total(uint32_t value); - private: - uint32_t _internal_ticks_total() const; - void _internal_set_ticks_total(uint32_t value); - public: - - // optional uint32 ticks_good = 41; - bool has_ticks_good() const; - private: - bool _internal_has_ticks_good() const; - public: - void clear_ticks_good(); - uint32_t ticks_good() const; - void set_ticks_good(uint32_t value); - private: - uint32_t _internal_ticks_good() const; - void _internal_set_ticks_good(uint32_t value); - public: - - // optional uint32 ticks_good_almost_late = 42; - bool has_ticks_good_almost_late() const; - private: - bool _internal_has_ticks_good_almost_late() const; - public: - void clear_ticks_good_almost_late(); - uint32_t ticks_good_almost_late() const; - void set_ticks_good_almost_late(uint32_t value); - private: - uint32_t _internal_ticks_good_almost_late() const; - void _internal_set_ticks_good_almost_late(uint32_t value); - public: - - // optional uint32 ticks_fixed_dropped = 43; - bool has_ticks_fixed_dropped() const; - private: - bool _internal_has_ticks_fixed_dropped() const; - public: - void clear_ticks_fixed_dropped(); - uint32_t ticks_fixed_dropped() const; - void set_ticks_fixed_dropped(uint32_t value); - private: - uint32_t _internal_ticks_fixed_dropped() const; - void _internal_set_ticks_fixed_dropped(uint32_t value); - public: - - // optional uint32 ticks_fixed_late = 44; - bool has_ticks_fixed_late() const; - private: - bool _internal_has_ticks_fixed_late() const; - public: - void clear_ticks_fixed_late(); - uint32_t ticks_fixed_late() const; - void set_ticks_fixed_late(uint32_t value); - private: - uint32_t _internal_ticks_fixed_late() const; - void _internal_set_ticks_fixed_late(uint32_t value); - public: - - // optional uint32 ticks_bad_dropped = 45; - bool has_ticks_bad_dropped() const; - private: - bool _internal_has_ticks_bad_dropped() const; - public: - void clear_ticks_bad_dropped(); - uint32_t ticks_bad_dropped() const; - void set_ticks_bad_dropped(uint32_t value); - private: - uint32_t _internal_ticks_bad_dropped() const; - void _internal_set_ticks_bad_dropped(uint32_t value); - public: - - // optional uint32 ticks_bad_late = 46; - bool has_ticks_bad_late() const; - private: - bool _internal_has_ticks_bad_late() const; - public: - void clear_ticks_bad_late(); - uint32_t ticks_bad_late() const; - void set_ticks_bad_late(uint32_t value); - private: - uint32_t _internal_ticks_bad_late() const; - void _internal_set_ticks_bad_late(uint32_t value); - public: - - // optional uint32 ticks_bad_other = 47; - bool has_ticks_bad_other() const; - private: - bool _internal_has_ticks_bad_other() const; - public: - void clear_ticks_bad_other(); - uint32_t ticks_bad_other() const; - void set_ticks_bad_other(uint32_t value); - private: - uint32_t _internal_ticks_bad_other() const; - void _internal_set_ticks_bad_other(uint32_t value); - public: - - // optional uint32 tick_missrate_samples_total = 50; - bool has_tick_missrate_samples_total() const; - private: - bool _internal_has_tick_missrate_samples_total() const; - public: - void clear_tick_missrate_samples_total(); - uint32_t tick_missrate_samples_total() const; - void set_tick_missrate_samples_total(uint32_t value); - private: - uint32_t _internal_tick_missrate_samples_total() const; - void _internal_set_tick_missrate_samples_total(uint32_t value); - public: - - // optional uint32 tick_missrate_samples_perfect = 51; - bool has_tick_missrate_samples_perfect() const; - private: - bool _internal_has_tick_missrate_samples_perfect() const; - public: - void clear_tick_missrate_samples_perfect(); - uint32_t tick_missrate_samples_perfect() const; - void set_tick_missrate_samples_perfect(uint32_t value); - private: - uint32_t _internal_tick_missrate_samples_perfect() const; - void _internal_set_tick_missrate_samples_perfect(uint32_t value); - public: - - // optional uint32 tick_missrate_samples_perfectnet = 52; - bool has_tick_missrate_samples_perfectnet() const; - private: - bool _internal_has_tick_missrate_samples_perfectnet() const; - public: - void clear_tick_missrate_samples_perfectnet(); - uint32_t tick_missrate_samples_perfectnet() const; - void set_tick_missrate_samples_perfectnet(uint32_t value); - private: - uint32_t _internal_tick_missrate_samples_perfectnet() const; - void _internal_set_tick_missrate_samples_perfectnet(uint32_t value); - public: - - // optional uint32 tick_missratenet_p75_x10 = 53; - bool has_tick_missratenet_p75_x10() const; - private: - bool _internal_has_tick_missratenet_p75_x10() const; - public: - void clear_tick_missratenet_p75_x10(); - uint32_t tick_missratenet_p75_x10() const; - void set_tick_missratenet_p75_x10(uint32_t value); - private: - uint32_t _internal_tick_missratenet_p75_x10() const; - void _internal_set_tick_missratenet_p75_x10(uint32_t value); - public: - - // optional uint32 tick_missratenet_p95_x10 = 54; - bool has_tick_missratenet_p95_x10() const; - private: - bool _internal_has_tick_missratenet_p95_x10() const; - public: - void clear_tick_missratenet_p95_x10(); - uint32_t tick_missratenet_p95_x10() const; - void set_tick_missratenet_p95_x10(uint32_t value); - private: - uint32_t _internal_tick_missratenet_p95_x10() const; - void _internal_set_tick_missratenet_p95_x10(uint32_t value); - public: - - // optional uint32 tick_missratenet_p99_x10 = 55; - bool has_tick_missratenet_p99_x10() const; - private: - bool _internal_has_tick_missratenet_p99_x10() const; - public: - void clear_tick_missratenet_p99_x10(); - uint32_t tick_missratenet_p99_x10() const; - void set_tick_missratenet_p99_x10(uint32_t value); - private: - uint32_t _internal_tick_missratenet_p99_x10() const; - void _internal_set_tick_missratenet_p99_x10(uint32_t value); - public: - - // optional sint32 recvmargin_p1 = 61; - bool has_recvmargin_p1() const; - private: - bool _internal_has_recvmargin_p1() const; - public: - void clear_recvmargin_p1(); - int32_t recvmargin_p1() const; - void set_recvmargin_p1(int32_t value); - private: - int32_t _internal_recvmargin_p1() const; - void _internal_set_recvmargin_p1(int32_t value); - public: - - // optional sint32 recvmargin_p5 = 62; - bool has_recvmargin_p5() const; - private: - bool _internal_has_recvmargin_p5() const; - public: - void clear_recvmargin_p5(); - int32_t recvmargin_p5() const; - void set_recvmargin_p5(int32_t value); - private: - int32_t _internal_recvmargin_p5() const; - void _internal_set_recvmargin_p5(int32_t value); - public: - - // optional sint32 recvmargin_p25 = 63; - bool has_recvmargin_p25() const; - private: - bool _internal_has_recvmargin_p25() const; - public: - void clear_recvmargin_p25(); - int32_t recvmargin_p25() const; - void set_recvmargin_p25(int32_t value); - private: - int32_t _internal_recvmargin_p25() const; - void _internal_set_recvmargin_p25(int32_t value); - public: - - // optional sint32 recvmargin_p50 = 64; - bool has_recvmargin_p50() const; - private: - bool _internal_has_recvmargin_p50() const; - public: - void clear_recvmargin_p50(); - int32_t recvmargin_p50() const; - void set_recvmargin_p50(int32_t value); - private: - int32_t _internal_recvmargin_p50() const; - void _internal_set_recvmargin_p50(int32_t value); - public: - - // optional sint32 recvmargin_p75 = 65; - bool has_recvmargin_p75() const; - private: - bool _internal_has_recvmargin_p75() const; - public: - void clear_recvmargin_p75(); - int32_t recvmargin_p75() const; - void set_recvmargin_p75(int32_t value); - private: - int32_t _internal_recvmargin_p75() const; - void _internal_set_recvmargin_p75(int32_t value); - public: - - // optional sint32 recvmargin_p95 = 66; - bool has_recvmargin_p95() const; - private: - bool _internal_has_recvmargin_p95() const; - public: - void clear_recvmargin_p95(); - int32_t recvmargin_p95() const; - void set_recvmargin_p95(int32_t value); - private: - int32_t _internal_recvmargin_p95() const; - void _internal_set_recvmargin_p95(int32_t value); - public: - - // optional uint32 netframe_jitter_p50 = 70; - bool has_netframe_jitter_p50() const; - private: - bool _internal_has_netframe_jitter_p50() const; - public: - void clear_netframe_jitter_p50(); - uint32_t netframe_jitter_p50() const; - void set_netframe_jitter_p50(uint32_t value); - private: - uint32_t _internal_netframe_jitter_p50() const; - void _internal_set_netframe_jitter_p50(uint32_t value); - public: - - // optional uint32 netframe_jitter_p99 = 71; - bool has_netframe_jitter_p99() const; - private: - bool _internal_has_netframe_jitter_p99() const; - public: - void clear_netframe_jitter_p99(); - uint32_t netframe_jitter_p99() const; - void set_netframe_jitter_p99(uint32_t value); - private: - uint32_t _internal_netframe_jitter_p99() const; - void _internal_set_netframe_jitter_p99(uint32_t value); - public: - - // optional uint32 interval_peakjitter_p50 = 72; - bool has_interval_peakjitter_p50() const; - private: - bool _internal_has_interval_peakjitter_p50() const; - public: - void clear_interval_peakjitter_p50(); - uint32_t interval_peakjitter_p50() const; - void set_interval_peakjitter_p50(uint32_t value); - private: - uint32_t _internal_interval_peakjitter_p50() const; - void _internal_set_interval_peakjitter_p50(uint32_t value); - public: - - // optional uint32 interval_peakjitter_p95 = 73; - bool has_interval_peakjitter_p95() const; - private: - bool _internal_has_interval_peakjitter_p95() const; - public: - void clear_interval_peakjitter_p95(); - uint32_t interval_peakjitter_p95() const; - void set_interval_peakjitter_p95(uint32_t value); - private: - uint32_t _internal_interval_peakjitter_p95() const; - void _internal_set_interval_peakjitter_p95(uint32_t value); - public: - - // optional uint32 packet_misdelivery_rate_p50_x4 = 74; - bool has_packet_misdelivery_rate_p50_x4() const; - private: - bool _internal_has_packet_misdelivery_rate_p50_x4() const; - public: - void clear_packet_misdelivery_rate_p50_x4(); - uint32_t packet_misdelivery_rate_p50_x4() const; - void set_packet_misdelivery_rate_p50_x4(uint32_t value); - private: - uint32_t _internal_packet_misdelivery_rate_p50_x4() const; - void _internal_set_packet_misdelivery_rate_p50_x4(uint32_t value); - public: - - // optional uint32 packet_misdelivery_rate_p95_x4 = 75; - bool has_packet_misdelivery_rate_p95_x4() const; - private: - bool _internal_has_packet_misdelivery_rate_p95_x4() const; - public: - void clear_packet_misdelivery_rate_p95_x4(); - uint32_t packet_misdelivery_rate_p95_x4() const; - void set_packet_misdelivery_rate_p95_x4(uint32_t value); - private: - uint32_t _internal_packet_misdelivery_rate_p95_x4() const; - void _internal_set_packet_misdelivery_rate_p95_x4(uint32_t value); - public: - - // optional uint32 net_ping_p5 = 80; - bool has_net_ping_p5() const; - private: - bool _internal_has_net_ping_p5() const; - public: - void clear_net_ping_p5(); - uint32_t net_ping_p5() const; - void set_net_ping_p5(uint32_t value); - private: - uint32_t _internal_net_ping_p5() const; - void _internal_set_net_ping_p5(uint32_t value); - public: - - // optional uint32 net_ping_p50 = 81; - bool has_net_ping_p50() const; - private: - bool _internal_has_net_ping_p50() const; - public: - void clear_net_ping_p50(); - uint32_t net_ping_p50() const; - void set_net_ping_p50(uint32_t value); - private: - uint32_t _internal_net_ping_p50() const; - void _internal_set_net_ping_p50(uint32_t value); - public: - - // optional uint32 net_ping_p95 = 82; - bool has_net_ping_p95() const; - private: - bool _internal_has_net_ping_p95() const; - public: - void clear_net_ping_p95(); - uint32_t net_ping_p95() const; - void set_net_ping_p95(uint32_t value); - private: - uint32_t _internal_net_ping_p95() const; - void _internal_set_net_ping_p95(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2NetworkFlowQuality) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t bytes_total_; - uint32_t duration_; - uint32_t bytes_sec_p95_; - uint64_t bytes_total_reliable_; - uint64_t bytes_total_voice_; - uint32_t bytes_sec_p99_; - uint32_t enginemsgs_total_; - uint32_t enginemsgs_sec_p95_; - uint32_t enginemsgs_sec_p99_; - uint32_t netframes_total_; - uint32_t netframes_dropped_; - uint32_t netframes_outoforder_; - uint32_t netframes_size_exceeds_mtu_; - uint32_t netframes_size_p95_; - uint32_t netframes_size_p99_; - uint32_t ticks_total_; - uint32_t ticks_good_; - uint32_t ticks_good_almost_late_; - uint32_t ticks_fixed_dropped_; - uint32_t ticks_fixed_late_; - uint32_t ticks_bad_dropped_; - uint32_t ticks_bad_late_; - uint32_t ticks_bad_other_; - uint32_t tick_missrate_samples_total_; - uint32_t tick_missrate_samples_perfect_; - uint32_t tick_missrate_samples_perfectnet_; - uint32_t tick_missratenet_p75_x10_; - uint32_t tick_missratenet_p95_x10_; - uint32_t tick_missratenet_p99_x10_; - int32_t recvmargin_p1_; - int32_t recvmargin_p5_; - int32_t recvmargin_p25_; - int32_t recvmargin_p50_; - int32_t recvmargin_p75_; - int32_t recvmargin_p95_; - uint32_t netframe_jitter_p50_; - uint32_t netframe_jitter_p99_; - uint32_t interval_peakjitter_p50_; - uint32_t interval_peakjitter_p95_; - uint32_t packet_misdelivery_rate_p50_x4_; - uint32_t packet_misdelivery_rate_p95_x4_; - uint32_t net_ping_p5_; - uint32_t net_ping_p50_; - uint32_t net_ping_p95_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2PerfIntervalSample_Tag final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample.Tag) */ { - public: - inline CMsgSource2PerfIntervalSample_Tag() : CMsgSource2PerfIntervalSample_Tag(nullptr) {} - ~CMsgSource2PerfIntervalSample_Tag() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from); - CMsgSource2PerfIntervalSample_Tag(CMsgSource2PerfIntervalSample_Tag&& from) noexcept - : CMsgSource2PerfIntervalSample_Tag() { - *this = ::std::move(from); - } - - inline CMsgSource2PerfIntervalSample_Tag& operator=(const CMsgSource2PerfIntervalSample_Tag& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2PerfIntervalSample_Tag& operator=(CMsgSource2PerfIntervalSample_Tag&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2PerfIntervalSample_Tag& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2PerfIntervalSample_Tag* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2PerfIntervalSample_Tag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CMsgSource2PerfIntervalSample_Tag& a, CMsgSource2PerfIntervalSample_Tag& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2PerfIntervalSample_Tag* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2PerfIntervalSample_Tag* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2PerfIntervalSample_Tag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2PerfIntervalSample_Tag& from) { - CMsgSource2PerfIntervalSample_Tag::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2PerfIntervalSample_Tag* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2PerfIntervalSample.Tag"; - } - protected: - explicit CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagFieldNumber = 1, - kMaxValueFieldNumber = 2, - }; - // optional string tag = 1; - bool has_tag() const; - private: - bool _internal_has_tag() const; - public: - void clear_tag(); - const std::string& tag() const; - template - void set_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tag(); - PROTOBUF_NODISCARD std::string* release_tag(); - void set_allocated_tag(std::string* tag); - private: - const std::string& _internal_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); - std::string* _internal_mutable_tag(); - public: - - // optional uint32 max_value = 2; - bool has_max_value() const; - private: - bool _internal_has_max_value() const; - public: - void clear_max_value(); - uint32_t max_value() const; - void set_max_value(uint32_t value); - private: - uint32_t _internal_max_value() const; - void _internal_set_max_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample.Tag) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; - uint32_t max_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2PerfIntervalSample final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample) */ { - public: - inline CMsgSource2PerfIntervalSample() : CMsgSource2PerfIntervalSample(nullptr) {} - ~CMsgSource2PerfIntervalSample() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from); - CMsgSource2PerfIntervalSample(CMsgSource2PerfIntervalSample&& from) noexcept - : CMsgSource2PerfIntervalSample() { - *this = ::std::move(from); - } - - inline CMsgSource2PerfIntervalSample& operator=(const CMsgSource2PerfIntervalSample& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2PerfIntervalSample& operator=(CMsgSource2PerfIntervalSample&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2PerfIntervalSample& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2PerfIntervalSample* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2PerfIntervalSample_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgSource2PerfIntervalSample& a, CMsgSource2PerfIntervalSample& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2PerfIntervalSample* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2PerfIntervalSample* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2PerfIntervalSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2PerfIntervalSample& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2PerfIntervalSample& from) { - CMsgSource2PerfIntervalSample::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2PerfIntervalSample* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2PerfIntervalSample"; - } - protected: - explicit CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSource2PerfIntervalSample_Tag Tag; - - // accessors ------------------------------------------------------- - - enum : int { - kTagsFieldNumber = 6, - kFrameTimeMaxMsFieldNumber = 1, - kFrameTimeAvgMsFieldNumber = 2, - kFrameTimeMinMsFieldNumber = 3, - kFrameCountFieldNumber = 4, - kFrameTimeTotalMsFieldNumber = 5, - }; - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - ::CMsgSource2PerfIntervalSample_Tag* mutable_tags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* - mutable_tags(); - private: - const ::CMsgSource2PerfIntervalSample_Tag& _internal_tags(int index) const; - ::CMsgSource2PerfIntervalSample_Tag* _internal_add_tags(); - public: - const ::CMsgSource2PerfIntervalSample_Tag& tags(int index) const; - ::CMsgSource2PerfIntervalSample_Tag* add_tags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& - tags() const; - - // optional float frame_time_max_ms = 1; - bool has_frame_time_max_ms() const; - private: - bool _internal_has_frame_time_max_ms() const; - public: - void clear_frame_time_max_ms(); - float frame_time_max_ms() const; - void set_frame_time_max_ms(float value); - private: - float _internal_frame_time_max_ms() const; - void _internal_set_frame_time_max_ms(float value); - public: - - // optional float frame_time_avg_ms = 2; - bool has_frame_time_avg_ms() const; - private: - bool _internal_has_frame_time_avg_ms() const; - public: - void clear_frame_time_avg_ms(); - float frame_time_avg_ms() const; - void set_frame_time_avg_ms(float value); - private: - float _internal_frame_time_avg_ms() const; - void _internal_set_frame_time_avg_ms(float value); - public: - - // optional float frame_time_min_ms = 3; - bool has_frame_time_min_ms() const; - private: - bool _internal_has_frame_time_min_ms() const; - public: - void clear_frame_time_min_ms(); - float frame_time_min_ms() const; - void set_frame_time_min_ms(float value); - private: - float _internal_frame_time_min_ms() const; - void _internal_set_frame_time_min_ms(float value); - public: - - // optional int32 frame_count = 4; - bool has_frame_count() const; - private: - bool _internal_has_frame_count() const; - public: - void clear_frame_count(); - int32_t frame_count() const; - void set_frame_count(int32_t value); - private: - int32_t _internal_frame_count() const; - void _internal_set_frame_count(int32_t value); - public: - - // optional float frame_time_total_ms = 5; - bool has_frame_time_total_ms() const; - private: - bool _internal_has_frame_time_total_ms() const; - public: - void clear_frame_time_total_ms(); - float frame_time_total_ms() const; - void set_frame_time_total_ms(float value); - private: - float _internal_frame_time_total_ms() const; - void _internal_set_frame_time_total_ms(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag > tags_; - float frame_time_max_ms_; - float frame_time_avg_ms_; - float frame_time_min_ms_; - int32_t frame_count_; - float frame_time_total_ms_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - class CCLCMsg_Diagnostic final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_Diagnostic) */ { public: @@ -5604,7 +3356,7 @@ class CCLCMsg_Diagnostic final : &_CCLCMsg_Diagnostic_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 14; friend void swap(CCLCMsg_Diagnostic& a, CCLCMsg_Diagnostic& b) { a.Swap(&b); @@ -5794,553 +3546,6 @@ class CCLCMsg_Diagnostic final : }; // ------------------------------------------------------------------- -class CSource2Metrics_MatchPerfSummary_Notification_Client final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification.Client) */ { - public: - inline CSource2Metrics_MatchPerfSummary_Notification_Client() : CSource2Metrics_MatchPerfSummary_Notification_Client(nullptr) {} - ~CSource2Metrics_MatchPerfSummary_Notification_Client() override; - explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); - CSource2Metrics_MatchPerfSummary_Notification_Client(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept - : CSource2Metrics_MatchPerfSummary_Notification_Client() { - *this = ::std::move(from); - } - - inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { - CopyFrom(from); - return *this; - } - inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSource2Metrics_MatchPerfSummary_Notification_Client& default_instance() { - return *internal_default_instance(); - } - static inline const CSource2Metrics_MatchPerfSummary_Notification_Client* internal_default_instance() { - return reinterpret_cast( - &_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CSource2Metrics_MatchPerfSummary_Notification_Client& a, CSource2Metrics_MatchPerfSummary_Notification_Client& b) { - a.Swap(&b); - } - inline void Swap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSource2Metrics_MatchPerfSummary_Notification_Client* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { - CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSource2Metrics_MatchPerfSummary_Notification.Client"; - } - protected: - explicit CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPerfSamplesFieldNumber = 11, - kSystemSpecsFieldNumber = 1, - kProfileFieldNumber = 2, - kDownstreamFlowFieldNumber = 4, - kUpstreamFlowFieldNumber = 5, - kSteamidFieldNumber = 10, - kBuildIdFieldNumber = 3, - }; - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - int perf_samples_size() const; - private: - int _internal_perf_samples_size() const; - public: - void clear_perf_samples(); - ::CMsgSource2PerfIntervalSample* mutable_perf_samples(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* - mutable_perf_samples(); - private: - const ::CMsgSource2PerfIntervalSample& _internal_perf_samples(int index) const; - ::CMsgSource2PerfIntervalSample* _internal_add_perf_samples(); - public: - const ::CMsgSource2PerfIntervalSample& perf_samples(int index) const; - ::CMsgSource2PerfIntervalSample* add_perf_samples(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& - perf_samples() const; - - // optional .CMsgSource2SystemSpecs system_specs = 1; - bool has_system_specs() const; - private: - bool _internal_has_system_specs() const; - public: - void clear_system_specs(); - const ::CMsgSource2SystemSpecs& system_specs() const; - PROTOBUF_NODISCARD ::CMsgSource2SystemSpecs* release_system_specs(); - ::CMsgSource2SystemSpecs* mutable_system_specs(); - void set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs); - private: - const ::CMsgSource2SystemSpecs& _internal_system_specs() const; - ::CMsgSource2SystemSpecs* _internal_mutable_system_specs(); - public: - void unsafe_arena_set_allocated_system_specs( - ::CMsgSource2SystemSpecs* system_specs); - ::CMsgSource2SystemSpecs* unsafe_arena_release_system_specs(); - - // optional .CMsgSource2VProfLiteReport profile = 2; - bool has_profile() const; - private: - bool _internal_has_profile() const; - public: - void clear_profile(); - const ::CMsgSource2VProfLiteReport& profile() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_profile(); - ::CMsgSource2VProfLiteReport* mutable_profile(); - void set_allocated_profile(::CMsgSource2VProfLiteReport* profile); - private: - const ::CMsgSource2VProfLiteReport& _internal_profile() const; - ::CMsgSource2VProfLiteReport* _internal_mutable_profile(); - public: - void unsafe_arena_set_allocated_profile( - ::CMsgSource2VProfLiteReport* profile); - ::CMsgSource2VProfLiteReport* unsafe_arena_release_profile(); - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - bool has_downstream_flow() const; - private: - bool _internal_has_downstream_flow() const; - public: - void clear_downstream_flow(); - const ::CMsgSource2NetworkFlowQuality& downstream_flow() const; - PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_downstream_flow(); - ::CMsgSource2NetworkFlowQuality* mutable_downstream_flow(); - void set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow); - private: - const ::CMsgSource2NetworkFlowQuality& _internal_downstream_flow() const; - ::CMsgSource2NetworkFlowQuality* _internal_mutable_downstream_flow(); - public: - void unsafe_arena_set_allocated_downstream_flow( - ::CMsgSource2NetworkFlowQuality* downstream_flow); - ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_downstream_flow(); - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - bool has_upstream_flow() const; - private: - bool _internal_has_upstream_flow() const; - public: - void clear_upstream_flow(); - const ::CMsgSource2NetworkFlowQuality& upstream_flow() const; - PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_upstream_flow(); - ::CMsgSource2NetworkFlowQuality* mutable_upstream_flow(); - void set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow); - private: - const ::CMsgSource2NetworkFlowQuality& _internal_upstream_flow() const; - ::CMsgSource2NetworkFlowQuality* _internal_mutable_upstream_flow(); - public: - void unsafe_arena_set_allocated_upstream_flow( - ::CMsgSource2NetworkFlowQuality* upstream_flow); - ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_upstream_flow(); - - // optional fixed64 steamid = 10; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 build_id = 3; - bool has_build_id() const; - private: - bool _internal_has_build_id() const; - public: - void clear_build_id(); - uint32_t build_id() const; - void set_build_id(uint32_t value); - private: - uint32_t _internal_build_id() const; - void _internal_set_build_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification.Client) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample > perf_samples_; - ::CMsgSource2SystemSpecs* system_specs_; - ::CMsgSource2VProfLiteReport* profile_; - ::CMsgSource2NetworkFlowQuality* downstream_flow_; - ::CMsgSource2NetworkFlowQuality* upstream_flow_; - uint64_t steamid_; - uint32_t build_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSource2Metrics_MatchPerfSummary_Notification final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification) */ { - public: - inline CSource2Metrics_MatchPerfSummary_Notification() : CSource2Metrics_MatchPerfSummary_Notification(nullptr) {} - ~CSource2Metrics_MatchPerfSummary_Notification() override; - explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from); - CSource2Metrics_MatchPerfSummary_Notification(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept - : CSource2Metrics_MatchPerfSummary_Notification() { - *this = ::std::move(from); - } - - inline CSource2Metrics_MatchPerfSummary_Notification& operator=(const CSource2Metrics_MatchPerfSummary_Notification& from) { - CopyFrom(from); - return *this; - } - inline CSource2Metrics_MatchPerfSummary_Notification& operator=(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSource2Metrics_MatchPerfSummary_Notification& default_instance() { - return *internal_default_instance(); - } - static inline const CSource2Metrics_MatchPerfSummary_Notification* internal_default_instance() { - return reinterpret_cast( - &_CSource2Metrics_MatchPerfSummary_Notification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CSource2Metrics_MatchPerfSummary_Notification& a, CSource2Metrics_MatchPerfSummary_Notification& b) { - a.Swap(&b); - } - inline void Swap(CSource2Metrics_MatchPerfSummary_Notification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSource2Metrics_MatchPerfSummary_Notification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification& from) { - CSource2Metrics_MatchPerfSummary_Notification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSource2Metrics_MatchPerfSummary_Notification"; - } - protected: - explicit CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSource2Metrics_MatchPerfSummary_Notification_Client Client; - - // accessors ------------------------------------------------------- - - enum : int { - kClientsFieldNumber = 11, - kGameModeFieldNumber = 2, - kMapFieldNumber = 20, - kServerProfileFieldNumber = 10, - kAppidFieldNumber = 1, - kServerBuildIdFieldNumber = 3, - kServerPopidFieldNumber = 4, - }; - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - int clients_size() const; - private: - int _internal_clients_size() const; - public: - void clear_clients(); - ::CSource2Metrics_MatchPerfSummary_Notification_Client* mutable_clients(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* - mutable_clients(); - private: - const ::CSource2Metrics_MatchPerfSummary_Notification_Client& _internal_clients(int index) const; - ::CSource2Metrics_MatchPerfSummary_Notification_Client* _internal_add_clients(); - public: - const ::CSource2Metrics_MatchPerfSummary_Notification_Client& clients(int index) const; - ::CSource2Metrics_MatchPerfSummary_Notification_Client* add_clients(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& - clients() const; - - // optional string game_mode = 2; - bool has_game_mode() const; - private: - bool _internal_has_game_mode() const; - public: - void clear_game_mode(); - const std::string& game_mode() const; - template - void set_game_mode(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_mode(); - PROTOBUF_NODISCARD std::string* release_game_mode(); - void set_allocated_game_mode(std::string* game_mode); - private: - const std::string& _internal_game_mode() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mode(const std::string& value); - std::string* _internal_mutable_game_mode(); - public: - - // optional string map = 20; - bool has_map() const; - private: - bool _internal_has_map() const; - public: - void clear_map(); - const std::string& map() const; - template - void set_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_map(); - PROTOBUF_NODISCARD std::string* release_map(); - void set_allocated_map(std::string* map); - private: - const std::string& _internal_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); - std::string* _internal_mutable_map(); - public: - - // optional .CMsgSource2VProfLiteReport server_profile = 10; - bool has_server_profile() const; - private: - bool _internal_has_server_profile() const; - public: - void clear_server_profile(); - const ::CMsgSource2VProfLiteReport& server_profile() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_server_profile(); - ::CMsgSource2VProfLiteReport* mutable_server_profile(); - void set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile); - private: - const ::CMsgSource2VProfLiteReport& _internal_server_profile() const; - ::CMsgSource2VProfLiteReport* _internal_mutable_server_profile(); - public: - void unsafe_arena_set_allocated_server_profile( - ::CMsgSource2VProfLiteReport* server_profile); - ::CMsgSource2VProfLiteReport* unsafe_arena_release_server_profile(); - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 server_build_id = 3; - bool has_server_build_id() const; - private: - bool _internal_has_server_build_id() const; - public: - void clear_server_build_id(); - uint32_t server_build_id() const; - void set_server_build_id(uint32_t value); - private: - uint32_t _internal_server_build_id() const; - void _internal_set_server_build_id(uint32_t value); - public: - - // optional fixed32 server_popid = 4; - bool has_server_popid() const; - private: - bool _internal_has_server_popid() const; - public: - void clear_server_popid(); - uint32_t server_popid() const; - void set_server_popid(uint32_t value); - private: - uint32_t _internal_server_popid() const; - void _internal_set_server_popid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client > clients_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; - ::CMsgSource2VProfLiteReport* server_profile_; - uint32_t appid_; - uint32_t server_build_id_; - uint32_t server_popid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - class CSVCMsg_ServerInfo final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ServerInfo) */ { public: @@ -6396,7 +3601,7 @@ class CSVCMsg_ServerInfo final : &_CSVCMsg_ServerInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 15; friend void swap(CSVCMsg_ServerInfo& a, CSVCMsg_ServerInfo& b) { a.Swap(&b); @@ -6816,7 +4021,7 @@ class CSVCMsg_ClassInfo_class_t final : &_CSVCMsg_ClassInfo_class_t_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 16; friend void swap(CSVCMsg_ClassInfo_class_t& a, CSVCMsg_ClassInfo_class_t& b) { a.Swap(&b); @@ -6996,7 +4201,7 @@ class CSVCMsg_ClassInfo final : &_CSVCMsg_ClassInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 17; friend void swap(CSVCMsg_ClassInfo& a, CSVCMsg_ClassInfo& b) { a.Swap(&b); @@ -7178,7 +4383,7 @@ class CSVCMsg_SetPause final : &_CSVCMsg_SetPause_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 18; friend void swap(CSVCMsg_SetPause& a, CSVCMsg_SetPause& b) { a.Swap(&b); @@ -7338,7 +4543,7 @@ class CSVCMsg_VoiceInit final : &_CSVCMsg_VoiceInit_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 19; friend void swap(CSVCMsg_VoiceInit& a, CSVCMsg_VoiceInit& b) { a.Swap(&b); @@ -7533,7 +4738,7 @@ class CSVCMsg_Print final : &_CSVCMsg_Print_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 20; friend void swap(CSVCMsg_Print& a, CSVCMsg_Print& b) { a.Swap(&b); @@ -7698,7 +4903,7 @@ class CSVCMsg_Sounds_sounddata_t final : &_CSVCMsg_Sounds_sounddata_t_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 21; friend void swap(CSVCMsg_Sounds_sounddata_t& a, CSVCMsg_Sounds_sounddata_t& b) { a.Swap(&b); @@ -8128,7 +5333,7 @@ class CSVCMsg_Sounds final : &_CSVCMsg_Sounds_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 22; friend void swap(CSVCMsg_Sounds& a, CSVCMsg_Sounds& b) { a.Swap(&b); @@ -8310,7 +5515,7 @@ class CSVCMsg_Prefetch final : &_CSVCMsg_Prefetch_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 23; friend void swap(CSVCMsg_Prefetch& a, CSVCMsg_Prefetch& b) { a.Swap(&b); @@ -8485,7 +5690,7 @@ class CSVCMsg_SetView final : &_CSVCMsg_SetView_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 24; friend void swap(CSVCMsg_SetView& a, CSVCMsg_SetView& b) { a.Swap(&b); @@ -8660,7 +5865,7 @@ class CSVCMsg_FixAngle final : &_CSVCMsg_FixAngle_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 25; friend void swap(CSVCMsg_FixAngle& a, CSVCMsg_FixAngle& b) { a.Swap(&b); @@ -8840,7 +6045,7 @@ class CSVCMsg_CrosshairAngle final : &_CSVCMsg_CrosshairAngle_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 26; friend void swap(CSVCMsg_CrosshairAngle& a, CSVCMsg_CrosshairAngle& b) { a.Swap(&b); @@ -9005,7 +6210,7 @@ class CSVCMsg_BSPDecal final : &_CSVCMsg_BSPDecal_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 27; friend void swap(CSVCMsg_BSPDecal& a, CSVCMsg_BSPDecal& b) { a.Swap(&b); @@ -9230,7 +6435,7 @@ class CSVCMsg_SplitScreen final : &_CSVCMsg_SplitScreen_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 28; friend void swap(CSVCMsg_SplitScreen& a, CSVCMsg_SplitScreen& b) { a.Swap(&b); @@ -9420,7 +6625,7 @@ class CSVCMsg_GetCvarValue final : &_CSVCMsg_GetCvarValue_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 29; friend void swap(CSVCMsg_GetCvarValue& a, CSVCMsg_GetCvarValue& b) { a.Swap(&b); @@ -9600,7 +6805,7 @@ class CSVCMsg_Menu final : &_CSVCMsg_Menu_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 30; friend void swap(CSVCMsg_Menu& a, CSVCMsg_Menu& b) { a.Swap(&b); @@ -9780,7 +6985,7 @@ class CSVCMsg_UserMessage final : &_CSVCMsg_UserMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 31; friend void swap(CSVCMsg_UserMessage& a, CSVCMsg_UserMessage& b) { a.Swap(&b); @@ -9975,7 +7180,7 @@ class CSVCMsg_SendTable_sendprop_t final : &_CSVCMsg_SendTable_sendprop_t_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 32; friend void swap(CSVCMsg_SendTable_sendprop_t& a, CSVCMsg_SendTable_sendprop_t& b) { a.Swap(&b); @@ -10265,7 +7470,7 @@ class CSVCMsg_SendTable final : &_CSVCMsg_SendTable_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 33; friend void swap(CSVCMsg_SendTable& a, CSVCMsg_SendTable& b) { a.Swap(&b); @@ -10482,7 +7687,7 @@ class CSVCMsg_GameEventList_key_t final : &_CSVCMsg_GameEventList_key_t_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 34; friend void swap(CSVCMsg_GameEventList_key_t& a, CSVCMsg_GameEventList_key_t& b) { a.Swap(&b); @@ -10662,7 +7867,7 @@ class CSVCMsg_GameEventList_descriptor_t final : &_CSVCMsg_GameEventList_descriptor_t_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 35; friend void swap(CSVCMsg_GameEventList_descriptor_t& a, CSVCMsg_GameEventList_descriptor_t& b) { a.Swap(&b); @@ -10862,7 +8067,7 @@ class CSVCMsg_GameEventList final : &_CSVCMsg_GameEventList_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 36; friend void swap(CSVCMsg_GameEventList& a, CSVCMsg_GameEventList& b) { a.Swap(&b); @@ -11029,7 +8234,7 @@ class CSVCMsg_PacketEntities_alternate_baseline_t final : &_CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 37; friend void swap(CSVCMsg_PacketEntities_alternate_baseline_t& a, CSVCMsg_PacketEntities_alternate_baseline_t& b) { a.Swap(&b); @@ -11204,7 +8409,7 @@ class CSVCMsg_PacketEntities_non_transmitted_entities_t final : &_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 38; friend void swap(CSVCMsg_PacketEntities_non_transmitted_entities_t& a, CSVCMsg_PacketEntities_non_transmitted_entities_t& b) { a.Swap(&b); @@ -11384,7 +8589,7 @@ class CSVCMsg_PacketEntities_outofpvs_entity_updates_t final : &_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 39; friend void swap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t& a, CSVCMsg_PacketEntities_outofpvs_entity_updates_t& b) { a.Swap(&b); @@ -11564,7 +8769,7 @@ class CSVCMsg_PacketEntities final : &_CSVCMsg_PacketEntities_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 40; friend void swap(CSVCMsg_PacketEntities& a, CSVCMsg_PacketEntities& b) { a.Swap(&b); @@ -12083,7 +9288,7 @@ class CSVCMsg_TempEntities final : &_CSVCMsg_TempEntities_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 41; friend void swap(CSVCMsg_TempEntities& a, CSVCMsg_TempEntities& b) { a.Swap(&b); @@ -12278,7 +9483,7 @@ class CSVCMsg_CreateStringTable final : &_CSVCMsg_CreateStringTable_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 42; friend void swap(CSVCMsg_CreateStringTable& a, CSVCMsg_CreateStringTable& b) { a.Swap(&b); @@ -12583,7 +9788,7 @@ class CSVCMsg_UpdateStringTable final : &_CSVCMsg_UpdateStringTable_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 43; friend void swap(CSVCMsg_UpdateStringTable& a, CSVCMsg_UpdateStringTable& b) { a.Swap(&b); @@ -12778,7 +9983,7 @@ class CSVCMsg_VoiceData final : &_CSVCMsg_VoiceData_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 44; friend void swap(CSVCMsg_VoiceData& a, CSVCMsg_VoiceData& b) { a.Swap(&b); @@ -13033,7 +10238,7 @@ class CSVCMsg_PacketReliable final : &_CSVCMsg_PacketReliable_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 45; friend void swap(CSVCMsg_PacketReliable& a, CSVCMsg_PacketReliable& b) { a.Swap(&b); @@ -13223,7 +10428,7 @@ class CSVCMsg_FullFrameSplit final : &_CSVCMsg_FullFrameSplit_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 46; friend void swap(CSVCMsg_FullFrameSplit& a, CSVCMsg_FullFrameSplit& b) { a.Swap(&b); @@ -13433,7 +10638,7 @@ class CSVCMsg_HLTVStatus final : &_CSVCMsg_HLTVStatus_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 47; friend void swap(CSVCMsg_HLTVStatus& a, CSVCMsg_HLTVStatus& b) { a.Swap(&b); @@ -13643,7 +10848,7 @@ class CSVCMsg_ServerSteamID final : &_CSVCMsg_ServerSteamID_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 48; friend void swap(CSVCMsg_ServerSteamID& a, CSVCMsg_ServerSteamID& b) { a.Swap(&b); @@ -13803,7 +11008,7 @@ class CSVCMsg_CmdKeyValues final : &_CSVCMsg_CmdKeyValues_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 49; friend void swap(CSVCMsg_CmdKeyValues& a, CSVCMsg_CmdKeyValues& b) { a.Swap(&b); @@ -13968,7 +11173,7 @@ class CSVCMsg_RconServerDetails final : &_CSVCMsg_RconServerDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 50; friend void swap(CSVCMsg_RconServerDetails& a, CSVCMsg_RconServerDetails& b) { a.Swap(&b); @@ -14153,7 +11358,7 @@ class CMsgIPCAddress final : &_CMsgIPCAddress_default_instance_); } static constexpr int kIndexInFileMessages = - 59; + 51; friend void swap(CMsgIPCAddress& a, CMsgIPCAddress& b) { a.Swap(&b); @@ -14328,7 +11533,7 @@ class CMsgServerPeer final : &_CMsgServerPeer_default_instance_); } static constexpr int kIndexInFileMessages = - 60; + 52; friend void swap(CMsgServerPeer& a, CMsgServerPeer& b) { a.Swap(&b); @@ -14568,7 +11773,7 @@ class CSVCMsg_PeerList final : &_CSVCMsg_PeerList_default_instance_); } static constexpr int kIndexInFileMessages = - 61; + 53; friend void swap(CSVCMsg_PeerList& a, CSVCMsg_PeerList& b) { a.Swap(&b); @@ -14732,7 +11937,7 @@ class CSVCMsg_ClearAllStringTables final : &_CSVCMsg_ClearAllStringTables_default_instance_); } static constexpr int kIndexInFileMessages = - 62; + 54; friend void swap(CSVCMsg_ClearAllStringTables& a, CSVCMsg_ClearAllStringTables& b) { a.Swap(&b); @@ -14912,7 +12117,7 @@ class ProtoFlattenedSerializerField_t_polymorphic_field_t final : &_ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_); } static constexpr int kIndexInFileMessages = - 63; + 55; friend void swap(ProtoFlattenedSerializerField_t_polymorphic_field_t& a, ProtoFlattenedSerializerField_t_polymorphic_field_t& b) { a.Swap(&b); @@ -15087,7 +12292,7 @@ class ProtoFlattenedSerializerField_t final : &_ProtoFlattenedSerializerField_t_default_instance_); } static constexpr int kIndexInFileMessages = - 64; + 56; friend void swap(ProtoFlattenedSerializerField_t& a, ProtoFlattenedSerializerField_t& b) { a.Swap(&b); @@ -15419,7 +12624,7 @@ class ProtoFlattenedSerializer_t final : &_ProtoFlattenedSerializer_t_default_instance_); } static constexpr int kIndexInFileMessages = - 65; + 57; friend void swap(ProtoFlattenedSerializer_t& a, ProtoFlattenedSerializer_t& b) { a.Swap(&b); @@ -15618,7 +12823,7 @@ class CSVCMsg_FlattenedSerializer final : &_CSVCMsg_FlattenedSerializer_default_instance_); } static constexpr int kIndexInFileMessages = - 66; + 58; friend void swap(CSVCMsg_FlattenedSerializer& a, CSVCMsg_FlattenedSerializer& b) { a.Swap(&b); @@ -15828,7 +13033,7 @@ class CSVCMsg_StopSound final : &_CSVCMsg_StopSound_default_instance_); } static constexpr int kIndexInFileMessages = - 67; + 59; friend void swap(CSVCMsg_StopSound& a, CSVCMsg_StopSound& b) { a.Swap(&b); @@ -15988,7 +13193,7 @@ class CBidirMsg_RebroadcastGameEvent final : &_CBidirMsg_RebroadcastGameEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 68; + 60; friend void swap(CBidirMsg_RebroadcastGameEvent& a, CBidirMsg_RebroadcastGameEvent& b) { a.Swap(&b); @@ -16193,7 +13398,7 @@ class CBidirMsg_RebroadcastSource final : &_CBidirMsg_RebroadcastSource_default_instance_); } static constexpr int kIndexInFileMessages = - 69; + 61; friend void swap(CBidirMsg_RebroadcastSource& a, CBidirMsg_RebroadcastSource& b) { a.Swap(&b); @@ -16353,7 +13558,7 @@ class CBidirMsg_PredictionEvent final : &_CBidirMsg_PredictionEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 70; + 62; friend void swap(CBidirMsg_PredictionEvent& a, CBidirMsg_PredictionEvent& b) { a.Swap(&b); @@ -16461,7 +13666,7 @@ class CBidirMsg_PredictionEvent final : kSyncTypeFieldNumber = 3, kSyncValUint32FieldNumber = 4, }; - // required bytes event_data = 2; + // optional bytes event_data = 2; bool has_event_data() const; private: bool _internal_has_event_data() const; @@ -16479,7 +13684,7 @@ class CBidirMsg_PredictionEvent final : std::string* _internal_mutable_event_data(); public: - // required uint32 event_id = 1; + // optional uint32 event_id = 1; bool has_event_id() const; private: bool _internal_has_event_id() const; @@ -16522,9 +13727,6 @@ class CBidirMsg_PredictionEvent final : private: class _Internal; - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; @@ -16596,7 +13798,7 @@ class CMsgServerNetworkStats_Port final : &_CMsgServerNetworkStats_Port_default_instance_); } static constexpr int kIndexInFileMessages = - 71; + 63; friend void swap(CMsgServerNetworkStats_Port& a, CMsgServerNetworkStats_Port& b) { a.Swap(&b); @@ -16776,7 +13978,7 @@ class CMsgServerNetworkStats_Player final : &_CMsgServerNetworkStats_Player_default_instance_); } static constexpr int kIndexInFileMessages = - 72; + 64; friend void swap(CMsgServerNetworkStats_Player& a, CMsgServerNetworkStats_Player& b) { a.Swap(&b); @@ -17046,7 +14248,7 @@ class CMsgServerNetworkStats final : &_CMsgServerNetworkStats_default_instance_); } static constexpr int kIndexInFileMessages = - 73; + 65; friend void swap(CMsgServerNetworkStats& a, CMsgServerNetworkStats& b) { a.Swap(&b); @@ -17579,7 +14781,7 @@ class CSVCMsg_HltvReplay final : &_CSVCMsg_HltvReplay_default_instance_); } static constexpr int kIndexInFileMessages = - 74; + 66; friend void swap(CSVCMsg_HltvReplay& a, CSVCMsg_HltvReplay& b) { a.Swap(&b); @@ -17844,7 +15046,7 @@ class CCLCMsg_HltvReplay final : &_CCLCMsg_HltvReplay_default_instance_); } static constexpr int kIndexInFileMessages = - 75; + 67; friend void swap(CCLCMsg_HltvReplay& a, CCLCMsg_HltvReplay& b) { a.Swap(&b); @@ -18064,7 +15266,7 @@ class CSVCMsg_Broadcast_Command final : &_CSVCMsg_Broadcast_Command_default_instance_); } static constexpr int kIndexInFileMessages = - 76; + 68; friend void swap(CSVCMsg_Broadcast_Command& a, CSVCMsg_Broadcast_Command& b) { a.Swap(&b); @@ -18229,7 +15431,7 @@ class CCLCMsg_HltvFixupOperatorTick final : &_CCLCMsg_HltvFixupOperatorTick_default_instance_); } static constexpr int kIndexInFileMessages = - 77; + 69; friend void swap(CCLCMsg_HltvFixupOperatorTick& a, CCLCMsg_HltvFixupOperatorTick& b) { a.Swap(&b); @@ -18514,7 +15716,7 @@ class CSVCMsg_HltvFixupOperatorStatus final : &_CSVCMsg_HltvFixupOperatorStatus_default_instance_); } static constexpr int kIndexInFileMessages = - 78; + 70; friend void swap(CSVCMsg_HltvFixupOperatorStatus& a, CSVCMsg_HltvFixupOperatorStatus& b) { a.Swap(&b); @@ -18694,7 +15896,7 @@ class CMsgServerUserCmd final : &_CMsgServerUserCmd_default_instance_); } static constexpr int kIndexInFileMessages = - 79; + 71; friend void swap(CMsgServerUserCmd& a, CMsgServerUserCmd& b) { a.Swap(&b); @@ -18919,7 +16121,7 @@ class CSVCMsg_UserCommands final : &_CSVCMsg_UserCommands_default_instance_); } static constexpr int kIndexInFileMessages = - 80; + 72; friend void swap(CSVCMsg_UserCommands& a, CSVCMsg_UserCommands& b) { a.Swap(&b); @@ -19026,6 +16228,181 @@ class CSVCMsg_UserCommands final : union { Impl_ _impl_; }; friend struct ::TableStruct_netmessages_2eproto; }; +// ------------------------------------------------------------------- + +class CSVCMsg_NextMsgPredicted final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_NextMsgPredicted) */ { + public: + inline CSVCMsg_NextMsgPredicted() : CSVCMsg_NextMsgPredicted(nullptr) {} + ~CSVCMsg_NextMsgPredicted() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_NextMsgPredicted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_NextMsgPredicted(const CSVCMsg_NextMsgPredicted& from); + CSVCMsg_NextMsgPredicted(CSVCMsg_NextMsgPredicted&& from) noexcept + : CSVCMsg_NextMsgPredicted() { + *this = ::std::move(from); + } + + inline CSVCMsg_NextMsgPredicted& operator=(const CSVCMsg_NextMsgPredicted& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_NextMsgPredicted& operator=(CSVCMsg_NextMsgPredicted&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CSVCMsg_NextMsgPredicted& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_NextMsgPredicted* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_NextMsgPredicted_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(CSVCMsg_NextMsgPredicted& a, CSVCMsg_NextMsgPredicted& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_NextMsgPredicted* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CSVCMsg_NextMsgPredicted* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_NextMsgPredicted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_NextMsgPredicted& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_NextMsgPredicted& from) { + CSVCMsg_NextMsgPredicted::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CSVCMsg_NextMsgPredicted* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_NextMsgPredicted"; + } + protected: + explicit CSVCMsg_NextMsgPredicted(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kMessageTypeIdFieldNumber = 2, + kPredictedByPlayerSlotFieldNumber = 1, + }; + // optional uint32 message_type_id = 2; + bool has_message_type_id() const; + private: + bool _internal_has_message_type_id() const; + public: + void clear_message_type_id(); + uint32_t message_type_id() const; + void set_message_type_id(uint32_t value); + private: + uint32_t _internal_message_type_id() const; + void _internal_set_message_type_id(uint32_t value); + public: + + // optional int32 predicted_by_player_slot = 1 [default = -1]; + bool has_predicted_by_player_slot() const; + private: + bool _internal_has_predicted_by_player_slot() const; + public: + void clear_predicted_by_player_slot(); + int32_t predicted_by_player_slot() const; + void set_predicted_by_player_slot(int32_t value); + private: + int32_t _internal_predicted_by_player_slot() const; + void _internal_set_predicted_by_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_NextMsgPredicted) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t message_type_id_; + int32_t predicted_by_player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; // =================================================================== @@ -20465,2792 +17842,6 @@ inline void CCLCMsg_RconServerDetails::set_allocated_token(std::string* token) { // ------------------------------------------------------------------- -// CMsgSource2SystemSpecs - -// optional string cpu_id = 1; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_id() const { - return _internal_has_cpu_id(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_id() { - _impl_.cpu_id_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource2SystemSpecs::cpu_id() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_id) - return _internal_cpu_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_cpu_id(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cpu_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_id) -} -inline std::string* CMsgSource2SystemSpecs::mutable_cpu_id() { - std::string* _s = _internal_mutable_cpu_id(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_id) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_id() const { - return _impl_.cpu_id_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_id(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cpu_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_id() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cpu_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_cpu_id() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_id) - if (!_internal_has_cpu_id()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cpu_id_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_id_.IsDefault()) { - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_cpu_id(std::string* cpu_id) { - if (cpu_id != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cpu_id_.SetAllocated(cpu_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_id_.IsDefault()) { - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_id) -} - -// optional string cpu_brand = 2; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_brand() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_brand() const { - return _internal_has_cpu_brand(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_brand() { - _impl_.cpu_brand_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSource2SystemSpecs::cpu_brand() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_brand) - return _internal_cpu_brand(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_cpu_brand(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cpu_brand_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_brand) -} -inline std::string* CMsgSource2SystemSpecs::mutable_cpu_brand() { - std::string* _s = _internal_mutable_cpu_brand(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_brand) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_brand() const { - return _impl_.cpu_brand_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_brand(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cpu_brand_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_brand() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.cpu_brand_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_cpu_brand() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_brand) - if (!_internal_has_cpu_brand()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.cpu_brand_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_brand_.IsDefault()) { - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_cpu_brand(std::string* cpu_brand) { - if (cpu_brand != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cpu_brand_.SetAllocated(cpu_brand, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_brand_.IsDefault()) { - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_brand) -} - -// optional uint32 cpu_model = 3; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_model() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_model() const { - return _internal_has_cpu_model(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_model() { - _impl_.cpu_model_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_model() const { - return _impl_.cpu_model_; -} -inline uint32_t CMsgSource2SystemSpecs::cpu_model() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_model) - return _internal_cpu_model(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_model(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.cpu_model_ = value; -} -inline void CMsgSource2SystemSpecs::set_cpu_model(uint32_t value) { - _internal_set_cpu_model(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_model) -} - -// optional uint32 cpu_num_physical = 4; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_num_physical() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_num_physical() const { - return _internal_has_cpu_num_physical(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_num_physical() { - _impl_.cpu_num_physical_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_num_physical() const { - return _impl_.cpu_num_physical_; -} -inline uint32_t CMsgSource2SystemSpecs::cpu_num_physical() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_num_physical) - return _internal_cpu_num_physical(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_num_physical(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.cpu_num_physical_ = value; -} -inline void CMsgSource2SystemSpecs::set_cpu_num_physical(uint32_t value) { - _internal_set_cpu_num_physical(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_num_physical) -} - -// optional uint32 ram_physical_total_mb = 21; -inline bool CMsgSource2SystemSpecs::_internal_has_ram_physical_total_mb() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_ram_physical_total_mb() const { - return _internal_has_ram_physical_total_mb(); -} -inline void CMsgSource2SystemSpecs::clear_ram_physical_total_mb() { - _impl_.ram_physical_total_mb_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_ram_physical_total_mb() const { - return _impl_.ram_physical_total_mb_; -} -inline uint32_t CMsgSource2SystemSpecs::ram_physical_total_mb() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.ram_physical_total_mb) - return _internal_ram_physical_total_mb(); -} -inline void CMsgSource2SystemSpecs::_internal_set_ram_physical_total_mb(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.ram_physical_total_mb_ = value; -} -inline void CMsgSource2SystemSpecs::set_ram_physical_total_mb(uint32_t value) { - _internal_set_ram_physical_total_mb(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.ram_physical_total_mb) -} - -// optional string gpu_rendersystem_dll_name = 41; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_rendersystem_dll_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_rendersystem_dll_name() const { - return _internal_has_gpu_rendersystem_dll_name(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_rendersystem_dll_name() { - _impl_.gpu_rendersystem_dll_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSource2SystemSpecs::gpu_rendersystem_dll_name() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) - return _internal_gpu_rendersystem_dll_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gpu_rendersystem_dll_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) -} -inline std::string* CMsgSource2SystemSpecs::mutable_gpu_rendersystem_dll_name() { - std::string* _s = _internal_mutable_gpu_rendersystem_dll_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_rendersystem_dll_name() const { - return _impl_.gpu_rendersystem_dll_name_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_rendersystem_dll_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gpu_rendersystem_dll_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_rendersystem_dll_name() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.gpu_rendersystem_dll_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_gpu_rendersystem_dll_name() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) - if (!_internal_has_gpu_rendersystem_dll_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.gpu_rendersystem_dll_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name) { - if (gpu_rendersystem_dll_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.gpu_rendersystem_dll_name_.SetAllocated(gpu_rendersystem_dll_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) -} - -// optional uint32 gpu_vendor_id = 42; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_vendor_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_vendor_id() const { - return _internal_has_gpu_vendor_id(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_vendor_id() { - _impl_.gpu_vendor_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_vendor_id() const { - return _impl_.gpu_vendor_id_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_vendor_id() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_vendor_id) - return _internal_gpu_vendor_id(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_vendor_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.gpu_vendor_id_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_vendor_id(uint32_t value) { - _internal_set_gpu_vendor_id(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_vendor_id) -} - -// optional string gpu_driver_name = 43; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_driver_name() const { - return _internal_has_gpu_driver_name(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_driver_name() { - _impl_.gpu_driver_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSource2SystemSpecs::gpu_driver_name() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_name) - return _internal_gpu_driver_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_gpu_driver_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gpu_driver_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_name) -} -inline std::string* CMsgSource2SystemSpecs::mutable_gpu_driver_name() { - std::string* _s = _internal_mutable_gpu_driver_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_driver_name) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_driver_name() const { - return _impl_.gpu_driver_name_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gpu_driver_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_driver_name() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.gpu_driver_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_gpu_driver_name() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_driver_name) - if (!_internal_has_gpu_driver_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.gpu_driver_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_driver_name_.IsDefault()) { - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_gpu_driver_name(std::string* gpu_driver_name) { - if (gpu_driver_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.gpu_driver_name_.SetAllocated(gpu_driver_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_driver_name_.IsDefault()) { - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_driver_name) -} - -// optional uint32 gpu_driver_version_high = 44; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_high() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_high() const { - return _internal_has_gpu_driver_version_high(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_high() { - _impl_.gpu_driver_version_high_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_high() const { - return _impl_.gpu_driver_version_high_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_high() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_high) - return _internal_gpu_driver_version_high(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_high(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.gpu_driver_version_high_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_driver_version_high(uint32_t value) { - _internal_set_gpu_driver_version_high(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_high) -} - -// optional uint32 gpu_driver_version_low = 45; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_low() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_low() const { - return _internal_has_gpu_driver_version_low(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_low() { - _impl_.gpu_driver_version_low_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_low() const { - return _impl_.gpu_driver_version_low_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_low() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_low) - return _internal_gpu_driver_version_low(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_low(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.gpu_driver_version_low_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_driver_version_low(uint32_t value) { - _internal_set_gpu_driver_version_low(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_low) -} - -// optional uint32 gpu_dx_support_level = 46; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_dx_support_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_dx_support_level() const { - return _internal_has_gpu_dx_support_level(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_dx_support_level() { - _impl_.gpu_dx_support_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_dx_support_level() const { - return _impl_.gpu_dx_support_level_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_dx_support_level() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_dx_support_level) - return _internal_gpu_dx_support_level(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_dx_support_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.gpu_dx_support_level_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_dx_support_level(uint32_t value) { - _internal_set_gpu_dx_support_level(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_dx_support_level) -} - -// optional uint32 gpu_texture_memory_size_mb = 47; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_texture_memory_size_mb() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_texture_memory_size_mb() const { - return _internal_has_gpu_texture_memory_size_mb(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_texture_memory_size_mb() { - _impl_.gpu_texture_memory_size_mb_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_texture_memory_size_mb() const { - return _impl_.gpu_texture_memory_size_mb_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_texture_memory_size_mb() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) - return _internal_gpu_texture_memory_size_mb(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_texture_memory_size_mb(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.gpu_texture_memory_size_mb_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_texture_memory_size_mb(uint32_t value) { - _internal_set_gpu_texture_memory_size_mb(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) -} - -// optional uint32 backbuffer_width = 51; -inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_width() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_backbuffer_width() const { - return _internal_has_backbuffer_width(); -} -inline void CMsgSource2SystemSpecs::clear_backbuffer_width() { - _impl_.backbuffer_width_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_width() const { - return _impl_.backbuffer_width_; -} -inline uint32_t CMsgSource2SystemSpecs::backbuffer_width() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_width) - return _internal_backbuffer_width(); -} -inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_width(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.backbuffer_width_ = value; -} -inline void CMsgSource2SystemSpecs::set_backbuffer_width(uint32_t value) { - _internal_set_backbuffer_width(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_width) -} - -// optional uint32 backbuffer_height = 52; -inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_height() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_backbuffer_height() const { - return _internal_has_backbuffer_height(); -} -inline void CMsgSource2SystemSpecs::clear_backbuffer_height() { - _impl_.backbuffer_height_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_height() const { - return _impl_.backbuffer_height_; -} -inline uint32_t CMsgSource2SystemSpecs::backbuffer_height() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_height) - return _internal_backbuffer_height(); -} -inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_height(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.backbuffer_height_ = value; -} -inline void CMsgSource2SystemSpecs::set_backbuffer_height(uint32_t value) { - _internal_set_backbuffer_height(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_height) -} - -// ------------------------------------------------------------------- - -// CMsgSource2VProfLiteReportItem - -// optional string name = 1; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_name() const { - return _internal_has_name(); -} -inline void CMsgSource2VProfLiteReportItem::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource2VProfLiteReportItem::name() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2VProfLiteReportItem::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.name) -} -inline std::string* CMsgSource2VProfLiteReportItem::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReportItem.name) - return _s; -} -inline const std::string& CMsgSource2VProfLiteReportItem::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2VProfLiteReportItem::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2VProfLiteReportItem::release_name() { - // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReportItem.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2VProfLiteReportItem::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReportItem.name) -} - -// optional uint32 active_samples = 2; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_active_samples() const { - return _internal_has_active_samples(); -} -inline void CMsgSource2VProfLiteReportItem::clear_active_samples() { - _impl_.active_samples_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples() const { - return _impl_.active_samples_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::active_samples() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples) - return _internal_active_samples(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.active_samples_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_active_samples(uint32_t value) { - _internal_set_active_samples(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples) -} - -// optional uint32 active_samples_1secmax = 4; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples_1secmax() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_active_samples_1secmax() const { - return _internal_has_active_samples_1secmax(); -} -inline void CMsgSource2VProfLiteReportItem::clear_active_samples_1secmax() { - _impl_.active_samples_1secmax_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples_1secmax() const { - return _impl_.active_samples_1secmax_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::active_samples_1secmax() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples_1secmax) - return _internal_active_samples_1secmax(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples_1secmax(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.active_samples_1secmax_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_active_samples_1secmax(uint32_t value) { - _internal_set_active_samples_1secmax(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples_1secmax) -} - -// optional uint32 usec_max = 3; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_max() const { - return _internal_has_usec_max(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_max() { - _impl_.usec_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_max() const { - return _impl_.usec_max_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_max() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_max) - return _internal_usec_max(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_max(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.usec_max_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_max(uint32_t value) { - _internal_set_usec_max(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_max) -} - -// optional uint32 usec_avg_active = 11; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_active() const { - return _internal_has_usec_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_active() { - _impl_.usec_avg_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_active() const { - return _impl_.usec_avg_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_active) - return _internal_usec_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.usec_avg_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_avg_active(uint32_t value) { - _internal_set_usec_avg_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_active) -} - -// optional uint32 usec_p50_active = 12; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_active() const { - return _internal_has_usec_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_active() { - _impl_.usec_p50_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_active() const { - return _impl_.usec_p50_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_active) - return _internal_usec_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.usec_p50_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p50_active(uint32_t value) { - _internal_set_usec_p50_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_active) -} - -// optional uint32 usec_p99_active = 13; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_active() const { - return _internal_has_usec_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_active() { - _impl_.usec_p99_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_active() const { - return _impl_.usec_p99_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_active) - return _internal_usec_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.usec_p99_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p99_active(uint32_t value) { - _internal_set_usec_p99_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_active) -} - -// optional uint32 usec_avg_all = 21; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_all() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_all() const { - return _internal_has_usec_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_all() { - _impl_.usec_avg_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_all() const { - return _impl_.usec_avg_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_all) - return _internal_usec_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.usec_avg_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_avg_all(uint32_t value) { - _internal_set_usec_avg_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_all) -} - -// optional uint32 usec_p50_all = 22; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_all() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_all() const { - return _internal_has_usec_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_all() { - _impl_.usec_p50_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_all() const { - return _impl_.usec_p50_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_all) - return _internal_usec_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.usec_p50_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p50_all(uint32_t value) { - _internal_set_usec_p50_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_all) -} - -// optional uint32 usec_p99_all = 23; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_all() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_all() const { - return _internal_has_usec_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_all() { - _impl_.usec_p99_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_all() const { - return _impl_.usec_p99_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_all) - return _internal_usec_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.usec_p99_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p99_all(uint32_t value) { - _internal_set_usec_p99_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_all) -} - -// optional uint32 usec_1secmax_avg_active = 31; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_active() const { - return _internal_has_usec_1secmax_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_active() { - _impl_.usec_1secmax_avg_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_active() const { - return _impl_.usec_1secmax_avg_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) - return _internal_usec_1secmax_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.usec_1secmax_avg_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_active(uint32_t value) { - _internal_set_usec_1secmax_avg_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) -} - -// optional uint32 usec_1secmax_p50_active = 32; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_active() const { - return _internal_has_usec_1secmax_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_active() { - _impl_.usec_1secmax_p50_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_active() const { - return _impl_.usec_1secmax_p50_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) - return _internal_usec_1secmax_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.usec_1secmax_p50_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_active(uint32_t value) { - _internal_set_usec_1secmax_p50_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) -} - -// optional uint32 usec_1secmax_p95_active = 33; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_active() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_active() const { - return _internal_has_usec_1secmax_p95_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_active() { - _impl_.usec_1secmax_p95_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_active() const { - return _impl_.usec_1secmax_p95_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) - return _internal_usec_1secmax_p95_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.usec_1secmax_p95_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_active(uint32_t value) { - _internal_set_usec_1secmax_p95_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) -} - -// optional uint32 usec_1secmax_p99_active = 34; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_active() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_active() const { - return _internal_has_usec_1secmax_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_active() { - _impl_.usec_1secmax_p99_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_active() const { - return _impl_.usec_1secmax_p99_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) - return _internal_usec_1secmax_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.usec_1secmax_p99_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_active(uint32_t value) { - _internal_set_usec_1secmax_p99_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) -} - -// optional uint32 usec_1secmax_avg_all = 41; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_all() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_all() const { - return _internal_has_usec_1secmax_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_all() { - _impl_.usec_1secmax_avg_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_all() const { - return _impl_.usec_1secmax_avg_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) - return _internal_usec_1secmax_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.usec_1secmax_avg_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_all(uint32_t value) { - _internal_set_usec_1secmax_avg_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) -} - -// optional uint32 usec_1secmax_p50_all = 42; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_all() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_all() const { - return _internal_has_usec_1secmax_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_all() { - _impl_.usec_1secmax_p50_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_all() const { - return _impl_.usec_1secmax_p50_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) - return _internal_usec_1secmax_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.usec_1secmax_p50_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_all(uint32_t value) { - _internal_set_usec_1secmax_p50_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) -} - -// optional uint32 usec_1secmax_p95_all = 43; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_all() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_all() const { - return _internal_has_usec_1secmax_p95_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_all() { - _impl_.usec_1secmax_p95_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_all() const { - return _impl_.usec_1secmax_p95_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) - return _internal_usec_1secmax_p95_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.usec_1secmax_p95_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_all(uint32_t value) { - _internal_set_usec_1secmax_p95_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) -} - -// optional uint32 usec_1secmax_p99_all = 44; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_all() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_all() const { - return _internal_has_usec_1secmax_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_all() { - _impl_.usec_1secmax_p99_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_all() const { - return _impl_.usec_1secmax_p99_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) - return _internal_usec_1secmax_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.usec_1secmax_p99_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_all(uint32_t value) { - _internal_set_usec_1secmax_p99_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) -} - -// ------------------------------------------------------------------- - -// CMsgSource2VProfLiteReport - -// optional .CMsgSource2VProfLiteReportItem total = 1; -inline bool CMsgSource2VProfLiteReport::_internal_has_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.total_ != nullptr); - return value; -} -inline bool CMsgSource2VProfLiteReport::has_total() const { - return _internal_has_total(); -} -inline void CMsgSource2VProfLiteReport::clear_total() { - if (_impl_.total_ != nullptr) _impl_.total_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_total() const { - const ::CMsgSource2VProfLiteReportItem* p = _impl_.total_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReportItem_default_instance_); -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::total() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.total) - return _internal_total(); -} -inline void CMsgSource2VProfLiteReport::unsafe_arena_set_allocated_total( - ::CMsgSource2VProfLiteReportItem* total) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.total_); - } - _impl_.total_ = total; - if (total) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSource2VProfLiteReport.total) -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::release_total() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; - _impl_.total_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::unsafe_arena_release_total() { - // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReport.total) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; - _impl_.total_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_mutable_total() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.total_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(GetArenaForAllocation()); - _impl_.total_ = p; - } - return _impl_.total_; -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_total() { - ::CMsgSource2VProfLiteReportItem* _msg = _internal_mutable_total(); - // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.total) - return _msg; -} -inline void CMsgSource2VProfLiteReport::set_allocated_total(::CMsgSource2VProfLiteReportItem* total) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.total_; - } - if (total) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(total); - if (message_arena != submessage_arena) { - total = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, total, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.total_ = total; - // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReport.total) -} - -// repeated .CMsgSource2VProfLiteReportItem items = 2; -inline int CMsgSource2VProfLiteReport::_internal_items_size() const { - return _impl_.items_.size(); -} -inline int CMsgSource2VProfLiteReport::items_size() const { - return _internal_items_size(); -} -inline void CMsgSource2VProfLiteReport::clear_items() { - _impl_.items_.Clear(); -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_items(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.items) - return _impl_.items_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* -CMsgSource2VProfLiteReport::mutable_items() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource2VProfLiteReport.items) - return &_impl_.items_; -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_items(int index) const { - return _impl_.items_.Get(index); -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::items(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.items) - return _internal_items(index); -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_add_items() { - return _impl_.items_.Add(); -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::add_items() { - ::CMsgSource2VProfLiteReportItem* _add = _internal_add_items(); - // @@protoc_insertion_point(field_add:CMsgSource2VProfLiteReport.items) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& -CMsgSource2VProfLiteReport::items() const { - // @@protoc_insertion_point(field_list:CMsgSource2VProfLiteReport.items) - return _impl_.items_; -} - -// optional uint32 discarded_frames = 3; -inline bool CMsgSource2VProfLiteReport::_internal_has_discarded_frames() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReport::has_discarded_frames() const { - return _internal_has_discarded_frames(); -} -inline void CMsgSource2VProfLiteReport::clear_discarded_frames() { - _impl_.discarded_frames_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2VProfLiteReport::_internal_discarded_frames() const { - return _impl_.discarded_frames_; -} -inline uint32_t CMsgSource2VProfLiteReport::discarded_frames() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.discarded_frames) - return _internal_discarded_frames(); -} -inline void CMsgSource2VProfLiteReport::_internal_set_discarded_frames(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.discarded_frames_ = value; -} -inline void CMsgSource2VProfLiteReport::set_discarded_frames(uint32_t value) { - _internal_set_discarded_frames(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReport.discarded_frames) -} - -// ------------------------------------------------------------------- - -// CMsgSource2NetworkFlowQuality - -// optional uint32 duration = 1; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_duration() const { - return _internal_has_duration(); -} -inline void CMsgSource2NetworkFlowQuality::clear_duration() { - _impl_.duration_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_duration() const { - return _impl_.duration_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::duration() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.duration) - return _internal_duration(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_duration(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_duration(uint32_t value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.duration) -} - -// optional uint64 bytes_total = 5; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_total() const { - return _internal_has_bytes_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_total() { - _impl_.bytes_total_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total() const { - return _impl_.bytes_total_; -} -inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total) - return _internal_bytes_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.bytes_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_total(uint64_t value) { - _internal_set_bytes_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total) -} - -// optional uint64 bytes_total_reliable = 6; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_reliable() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_reliable() const { - return _internal_has_bytes_total_reliable(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_reliable() { - _impl_.bytes_total_reliable_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_reliable() const { - return _impl_.bytes_total_reliable_; -} -inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_reliable() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_reliable) - return _internal_bytes_total_reliable(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_reliable(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.bytes_total_reliable_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_total_reliable(uint64_t value) { - _internal_set_bytes_total_reliable(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_reliable) -} - -// optional uint64 bytes_total_voice = 7; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_voice() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_voice() const { - return _internal_has_bytes_total_voice(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_voice() { - _impl_.bytes_total_voice_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_voice() const { - return _impl_.bytes_total_voice_; -} -inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_voice() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_voice) - return _internal_bytes_total_voice(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_voice(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.bytes_total_voice_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_total_voice(uint64_t value) { - _internal_set_bytes_total_voice(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_voice) -} - -// optional uint32 bytes_sec_p95 = 10; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p95() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p95() const { - return _internal_has_bytes_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p95() { - _impl_.bytes_sec_p95_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p95() const { - return _impl_.bytes_sec_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p95) - return _internal_bytes_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p95(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bytes_sec_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p95(uint32_t value) { - _internal_set_bytes_sec_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p95) -} - -// optional uint32 bytes_sec_p99 = 11; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p99() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p99() const { - return _internal_has_bytes_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p99() { - _impl_.bytes_sec_p99_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p99() const { - return _impl_.bytes_sec_p99_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p99() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p99) - return _internal_bytes_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p99(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.bytes_sec_p99_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p99(uint32_t value) { - _internal_set_bytes_sec_p99(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p99) -} - -// optional uint32 enginemsgs_total = 20; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_total() const { - return _internal_has_enginemsgs_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_total() { - _impl_.enginemsgs_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_total() const { - return _impl_.enginemsgs_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_total) - return _internal_enginemsgs_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.enginemsgs_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_total(uint32_t value) { - _internal_set_enginemsgs_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_total) -} - -// optional uint32 enginemsgs_sec_p95 = 21; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p95() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p95() const { - return _internal_has_enginemsgs_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p95() { - _impl_.enginemsgs_sec_p95_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p95() const { - return _impl_.enginemsgs_sec_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) - return _internal_enginemsgs_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p95(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.enginemsgs_sec_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p95(uint32_t value) { - _internal_set_enginemsgs_sec_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) -} - -// optional uint32 enginemsgs_sec_p99 = 22; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p99() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p99() const { - return _internal_has_enginemsgs_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p99() { - _impl_.enginemsgs_sec_p99_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p99() const { - return _impl_.enginemsgs_sec_p99_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p99() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) - return _internal_enginemsgs_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p99(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.enginemsgs_sec_p99_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p99(uint32_t value) { - _internal_set_enginemsgs_sec_p99(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) -} - -// optional uint32 netframes_total = 30; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframes_total() const { - return _internal_has_netframes_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframes_total() { - _impl_.netframes_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_total() const { - return _impl_.netframes_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframes_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_total) - return _internal_netframes_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.netframes_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframes_total(uint32_t value) { - _internal_set_netframes_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_total) -} - -// optional uint32 netframes_dropped = 31; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_dropped() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframes_dropped() const { - return _internal_has_netframes_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframes_dropped() { - _impl_.netframes_dropped_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_dropped() const { - return _impl_.netframes_dropped_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframes_dropped() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_dropped) - return _internal_netframes_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_dropped(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.netframes_dropped_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframes_dropped(uint32_t value) { - _internal_set_netframes_dropped(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_dropped) -} - -// optional uint32 netframes_outoforder = 32; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_outoforder() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframes_outoforder() const { - return _internal_has_netframes_outoforder(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframes_outoforder() { - _impl_.netframes_outoforder_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_outoforder() const { - return _impl_.netframes_outoforder_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframes_outoforder() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_outoforder) - return _internal_netframes_outoforder(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_outoforder(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.netframes_outoforder_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframes_outoforder(uint32_t value) { - _internal_set_netframes_outoforder(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_outoforder) -} - -// optional uint32 netframes_size_exceeds_mtu = 34; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_size_exceeds_mtu() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframes_size_exceeds_mtu() const { - return _internal_has_netframes_size_exceeds_mtu(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframes_size_exceeds_mtu() { - _impl_.netframes_size_exceeds_mtu_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_size_exceeds_mtu() const { - return _impl_.netframes_size_exceeds_mtu_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframes_size_exceeds_mtu() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_size_exceeds_mtu) - return _internal_netframes_size_exceeds_mtu(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_size_exceeds_mtu(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.netframes_size_exceeds_mtu_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframes_size_exceeds_mtu(uint32_t value) { - _internal_set_netframes_size_exceeds_mtu(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_size_exceeds_mtu) -} - -// optional uint32 netframes_size_p95 = 35; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_size_p95() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframes_size_p95() const { - return _internal_has_netframes_size_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframes_size_p95() { - _impl_.netframes_size_p95_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_size_p95() const { - return _impl_.netframes_size_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframes_size_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_size_p95) - return _internal_netframes_size_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_size_p95(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.netframes_size_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframes_size_p95(uint32_t value) { - _internal_set_netframes_size_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_size_p95) -} - -// optional uint32 netframes_size_p99 = 36; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_size_p99() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframes_size_p99() const { - return _internal_has_netframes_size_p99(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframes_size_p99() { - _impl_.netframes_size_p99_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_size_p99() const { - return _impl_.netframes_size_p99_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframes_size_p99() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_size_p99) - return _internal_netframes_size_p99(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_size_p99(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.netframes_size_p99_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframes_size_p99(uint32_t value) { - _internal_set_netframes_size_p99(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_size_p99) -} - -// optional uint32 ticks_total = 40; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_total() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_total() const { - return _internal_has_ticks_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_total() { - _impl_.ticks_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_total() const { - return _impl_.ticks_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_total) - return _internal_ticks_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.ticks_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_total(uint32_t value) { - _internal_set_ticks_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_total) -} - -// optional uint32 ticks_good = 41; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_good() const { - return _internal_has_ticks_good(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_good() { - _impl_.ticks_good_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good() const { - return _impl_.ticks_good_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good) - return _internal_ticks_good(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.ticks_good_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_good(uint32_t value) { - _internal_set_ticks_good(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good) -} - -// optional uint32 ticks_good_almost_late = 42; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good_almost_late() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_good_almost_late() const { - return _internal_has_ticks_good_almost_late(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_good_almost_late() { - _impl_.ticks_good_almost_late_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good_almost_late() const { - return _impl_.ticks_good_almost_late_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good_almost_late() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) - return _internal_ticks_good_almost_late(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good_almost_late(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.ticks_good_almost_late_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_good_almost_late(uint32_t value) { - _internal_set_ticks_good_almost_late(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) -} - -// optional uint32 ticks_fixed_dropped = 43; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_dropped() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_dropped() const { - return _internal_has_ticks_fixed_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_dropped() { - _impl_.ticks_fixed_dropped_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_dropped() const { - return _impl_.ticks_fixed_dropped_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_dropped() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) - return _internal_ticks_fixed_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_dropped(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.ticks_fixed_dropped_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_dropped(uint32_t value) { - _internal_set_ticks_fixed_dropped(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) -} - -// optional uint32 ticks_fixed_late = 44; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_late() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_late() const { - return _internal_has_ticks_fixed_late(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_late() { - _impl_.ticks_fixed_late_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_late() const { - return _impl_.ticks_fixed_late_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_late() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_late) - return _internal_ticks_fixed_late(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_late(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.ticks_fixed_late_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_late(uint32_t value) { - _internal_set_ticks_fixed_late(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_late) -} - -// optional uint32 ticks_bad_dropped = 45; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_dropped() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_dropped() const { - return _internal_has_ticks_bad_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_dropped() { - _impl_.ticks_bad_dropped_ = 0u; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_dropped() const { - return _impl_.ticks_bad_dropped_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_dropped() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) - return _internal_ticks_bad_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_dropped(uint32_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.ticks_bad_dropped_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_dropped(uint32_t value) { - _internal_set_ticks_bad_dropped(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) -} - -// optional uint32 ticks_bad_late = 46; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_late() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_late() const { - return _internal_has_ticks_bad_late(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_late() { - _impl_.ticks_bad_late_ = 0u; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_late() const { - return _impl_.ticks_bad_late_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_late() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_late) - return _internal_ticks_bad_late(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_late(uint32_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.ticks_bad_late_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_late(uint32_t value) { - _internal_set_ticks_bad_late(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_late) -} - -// optional uint32 ticks_bad_other = 47; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_other() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_other() const { - return _internal_has_ticks_bad_other(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_other() { - _impl_.ticks_bad_other_ = 0u; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_other() const { - return _impl_.ticks_bad_other_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_other() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_other) - return _internal_ticks_bad_other(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_other(uint32_t value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.ticks_bad_other_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_other(uint32_t value) { - _internal_set_ticks_bad_other(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_other) -} - -// optional uint32 tick_missrate_samples_total = 50; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_total() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_total() const { - return _internal_has_tick_missrate_samples_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_total() { - _impl_.tick_missrate_samples_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_total() const { - return _impl_.tick_missrate_samples_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) - return _internal_tick_missrate_samples_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00800000u; - _impl_.tick_missrate_samples_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_total(uint32_t value) { - _internal_set_tick_missrate_samples_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) -} - -// optional uint32 tick_missrate_samples_perfect = 51; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfect() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfect() const { - return _internal_has_tick_missrate_samples_perfect(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfect() { - _impl_.tick_missrate_samples_perfect_ = 0u; - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfect() const { - return _impl_.tick_missrate_samples_perfect_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfect() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) - return _internal_tick_missrate_samples_perfect(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfect(uint32_t value) { - _impl_._has_bits_[0] |= 0x01000000u; - _impl_.tick_missrate_samples_perfect_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfect(uint32_t value) { - _internal_set_tick_missrate_samples_perfect(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) -} - -// optional uint32 tick_missrate_samples_perfectnet = 52; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfectnet() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfectnet() const { - return _internal_has_tick_missrate_samples_perfectnet(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfectnet() { - _impl_.tick_missrate_samples_perfectnet_ = 0u; - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfectnet() const { - return _impl_.tick_missrate_samples_perfectnet_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfectnet() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) - return _internal_tick_missrate_samples_perfectnet(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfectnet(uint32_t value) { - _impl_._has_bits_[0] |= 0x02000000u; - _impl_.tick_missrate_samples_perfectnet_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfectnet(uint32_t value) { - _internal_set_tick_missrate_samples_perfectnet(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) -} - -// optional uint32 tick_missratenet_p75_x10 = 53; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p75_x10() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p75_x10() const { - return _internal_has_tick_missratenet_p75_x10(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p75_x10() { - _impl_.tick_missratenet_p75_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p75_x10() const { - return _impl_.tick_missratenet_p75_x10_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p75_x10() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) - return _internal_tick_missratenet_p75_x10(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p75_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x04000000u; - _impl_.tick_missratenet_p75_x10_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p75_x10(uint32_t value) { - _internal_set_tick_missratenet_p75_x10(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) -} - -// optional uint32 tick_missratenet_p95_x10 = 54; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p95_x10() const { - bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p95_x10() const { - return _internal_has_tick_missratenet_p95_x10(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p95_x10() { - _impl_.tick_missratenet_p95_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x08000000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p95_x10() const { - return _impl_.tick_missratenet_p95_x10_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p95_x10() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) - return _internal_tick_missratenet_p95_x10(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p95_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x08000000u; - _impl_.tick_missratenet_p95_x10_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p95_x10(uint32_t value) { - _internal_set_tick_missratenet_p95_x10(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) -} - -// optional uint32 tick_missratenet_p99_x10 = 55; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p99_x10() const { - bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p99_x10() const { - return _internal_has_tick_missratenet_p99_x10(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p99_x10() { - _impl_.tick_missratenet_p99_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x10000000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p99_x10() const { - return _impl_.tick_missratenet_p99_x10_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p99_x10() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) - return _internal_tick_missratenet_p99_x10(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p99_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x10000000u; - _impl_.tick_missratenet_p99_x10_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p99_x10(uint32_t value) { - _internal_set_tick_missratenet_p99_x10(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) -} - -// optional sint32 recvmargin_p1 = 61; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p1() const { - bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p1() const { - return _internal_has_recvmargin_p1(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p1() { - _impl_.recvmargin_p1_ = 0; - _impl_._has_bits_[0] &= ~0x20000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p1() const { - return _impl_.recvmargin_p1_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p1() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p1) - return _internal_recvmargin_p1(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p1(int32_t value) { - _impl_._has_bits_[0] |= 0x20000000u; - _impl_.recvmargin_p1_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p1(int32_t value) { - _internal_set_recvmargin_p1(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p1) -} - -// optional sint32 recvmargin_p5 = 62; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p5() const { - bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p5() const { - return _internal_has_recvmargin_p5(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p5() { - _impl_.recvmargin_p5_ = 0; - _impl_._has_bits_[0] &= ~0x40000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p5() const { - return _impl_.recvmargin_p5_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p5() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p5) - return _internal_recvmargin_p5(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p5(int32_t value) { - _impl_._has_bits_[0] |= 0x40000000u; - _impl_.recvmargin_p5_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p5(int32_t value) { - _internal_set_recvmargin_p5(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p5) -} - -// optional sint32 recvmargin_p25 = 63; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p25() const { - bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p25() const { - return _internal_has_recvmargin_p25(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p25() { - _impl_.recvmargin_p25_ = 0; - _impl_._has_bits_[0] &= ~0x80000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p25() const { - return _impl_.recvmargin_p25_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p25() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p25) - return _internal_recvmargin_p25(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p25(int32_t value) { - _impl_._has_bits_[0] |= 0x80000000u; - _impl_.recvmargin_p25_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p25(int32_t value) { - _internal_set_recvmargin_p25(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p25) -} - -// optional sint32 recvmargin_p50 = 64; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p50() const { - bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p50() const { - return _internal_has_recvmargin_p50(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p50() { - _impl_.recvmargin_p50_ = 0; - _impl_._has_bits_[1] &= ~0x00000001u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p50() const { - return _impl_.recvmargin_p50_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p50() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p50) - return _internal_recvmargin_p50(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p50(int32_t value) { - _impl_._has_bits_[1] |= 0x00000001u; - _impl_.recvmargin_p50_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p50(int32_t value) { - _internal_set_recvmargin_p50(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p50) -} - -// optional sint32 recvmargin_p75 = 65; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p75() const { - bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p75() const { - return _internal_has_recvmargin_p75(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p75() { - _impl_.recvmargin_p75_ = 0; - _impl_._has_bits_[1] &= ~0x00000002u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p75() const { - return _impl_.recvmargin_p75_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p75() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p75) - return _internal_recvmargin_p75(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p75(int32_t value) { - _impl_._has_bits_[1] |= 0x00000002u; - _impl_.recvmargin_p75_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p75(int32_t value) { - _internal_set_recvmargin_p75(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p75) -} - -// optional sint32 recvmargin_p95 = 66; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p95() const { - bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p95() const { - return _internal_has_recvmargin_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p95() { - _impl_.recvmargin_p95_ = 0; - _impl_._has_bits_[1] &= ~0x00000004u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p95() const { - return _impl_.recvmargin_p95_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p95) - return _internal_recvmargin_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p95(int32_t value) { - _impl_._has_bits_[1] |= 0x00000004u; - _impl_.recvmargin_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p95(int32_t value) { - _internal_set_recvmargin_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p95) -} - -// optional uint32 netframe_jitter_p50 = 70; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframe_jitter_p50() const { - bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframe_jitter_p50() const { - return _internal_has_netframe_jitter_p50(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframe_jitter_p50() { - _impl_.netframe_jitter_p50_ = 0u; - _impl_._has_bits_[1] &= ~0x00000008u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframe_jitter_p50() const { - return _impl_.netframe_jitter_p50_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframe_jitter_p50() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframe_jitter_p50) - return _internal_netframe_jitter_p50(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframe_jitter_p50(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000008u; - _impl_.netframe_jitter_p50_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframe_jitter_p50(uint32_t value) { - _internal_set_netframe_jitter_p50(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframe_jitter_p50) -} - -// optional uint32 netframe_jitter_p99 = 71; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframe_jitter_p99() const { - bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_netframe_jitter_p99() const { - return _internal_has_netframe_jitter_p99(); -} -inline void CMsgSource2NetworkFlowQuality::clear_netframe_jitter_p99() { - _impl_.netframe_jitter_p99_ = 0u; - _impl_._has_bits_[1] &= ~0x00000010u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframe_jitter_p99() const { - return _impl_.netframe_jitter_p99_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::netframe_jitter_p99() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframe_jitter_p99) - return _internal_netframe_jitter_p99(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_netframe_jitter_p99(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000010u; - _impl_.netframe_jitter_p99_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_netframe_jitter_p99(uint32_t value) { - _internal_set_netframe_jitter_p99(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframe_jitter_p99) -} - -// optional uint32 interval_peakjitter_p50 = 72; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_interval_peakjitter_p50() const { - bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_interval_peakjitter_p50() const { - return _internal_has_interval_peakjitter_p50(); -} -inline void CMsgSource2NetworkFlowQuality::clear_interval_peakjitter_p50() { - _impl_.interval_peakjitter_p50_ = 0u; - _impl_._has_bits_[1] &= ~0x00000020u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_interval_peakjitter_p50() const { - return _impl_.interval_peakjitter_p50_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::interval_peakjitter_p50() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.interval_peakjitter_p50) - return _internal_interval_peakjitter_p50(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_interval_peakjitter_p50(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000020u; - _impl_.interval_peakjitter_p50_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_interval_peakjitter_p50(uint32_t value) { - _internal_set_interval_peakjitter_p50(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.interval_peakjitter_p50) -} - -// optional uint32 interval_peakjitter_p95 = 73; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_interval_peakjitter_p95() const { - bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_interval_peakjitter_p95() const { - return _internal_has_interval_peakjitter_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_interval_peakjitter_p95() { - _impl_.interval_peakjitter_p95_ = 0u; - _impl_._has_bits_[1] &= ~0x00000040u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_interval_peakjitter_p95() const { - return _impl_.interval_peakjitter_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::interval_peakjitter_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.interval_peakjitter_p95) - return _internal_interval_peakjitter_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_interval_peakjitter_p95(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000040u; - _impl_.interval_peakjitter_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_interval_peakjitter_p95(uint32_t value) { - _internal_set_interval_peakjitter_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.interval_peakjitter_p95) -} - -// optional uint32 packet_misdelivery_rate_p50_x4 = 74; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_packet_misdelivery_rate_p50_x4() const { - bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_packet_misdelivery_rate_p50_x4() const { - return _internal_has_packet_misdelivery_rate_p50_x4(); -} -inline void CMsgSource2NetworkFlowQuality::clear_packet_misdelivery_rate_p50_x4() { - _impl_.packet_misdelivery_rate_p50_x4_ = 0u; - _impl_._has_bits_[1] &= ~0x00000080u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_packet_misdelivery_rate_p50_x4() const { - return _impl_.packet_misdelivery_rate_p50_x4_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::packet_misdelivery_rate_p50_x4() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p50_x4) - return _internal_packet_misdelivery_rate_p50_x4(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_packet_misdelivery_rate_p50_x4(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000080u; - _impl_.packet_misdelivery_rate_p50_x4_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_packet_misdelivery_rate_p50_x4(uint32_t value) { - _internal_set_packet_misdelivery_rate_p50_x4(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p50_x4) -} - -// optional uint32 packet_misdelivery_rate_p95_x4 = 75; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_packet_misdelivery_rate_p95_x4() const { - bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_packet_misdelivery_rate_p95_x4() const { - return _internal_has_packet_misdelivery_rate_p95_x4(); -} -inline void CMsgSource2NetworkFlowQuality::clear_packet_misdelivery_rate_p95_x4() { - _impl_.packet_misdelivery_rate_p95_x4_ = 0u; - _impl_._has_bits_[1] &= ~0x00000100u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_packet_misdelivery_rate_p95_x4() const { - return _impl_.packet_misdelivery_rate_p95_x4_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::packet_misdelivery_rate_p95_x4() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p95_x4) - return _internal_packet_misdelivery_rate_p95_x4(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_packet_misdelivery_rate_p95_x4(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000100u; - _impl_.packet_misdelivery_rate_p95_x4_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_packet_misdelivery_rate_p95_x4(uint32_t value) { - _internal_set_packet_misdelivery_rate_p95_x4(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p95_x4) -} - -// optional uint32 net_ping_p5 = 80; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_net_ping_p5() const { - bool value = (_impl_._has_bits_[1] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_net_ping_p5() const { - return _internal_has_net_ping_p5(); -} -inline void CMsgSource2NetworkFlowQuality::clear_net_ping_p5() { - _impl_.net_ping_p5_ = 0u; - _impl_._has_bits_[1] &= ~0x00000200u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_net_ping_p5() const { - return _impl_.net_ping_p5_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::net_ping_p5() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.net_ping_p5) - return _internal_net_ping_p5(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_net_ping_p5(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000200u; - _impl_.net_ping_p5_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_net_ping_p5(uint32_t value) { - _internal_set_net_ping_p5(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.net_ping_p5) -} - -// optional uint32 net_ping_p50 = 81; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_net_ping_p50() const { - bool value = (_impl_._has_bits_[1] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_net_ping_p50() const { - return _internal_has_net_ping_p50(); -} -inline void CMsgSource2NetworkFlowQuality::clear_net_ping_p50() { - _impl_.net_ping_p50_ = 0u; - _impl_._has_bits_[1] &= ~0x00000400u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_net_ping_p50() const { - return _impl_.net_ping_p50_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::net_ping_p50() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.net_ping_p50) - return _internal_net_ping_p50(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_net_ping_p50(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000400u; - _impl_.net_ping_p50_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_net_ping_p50(uint32_t value) { - _internal_set_net_ping_p50(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.net_ping_p50) -} - -// optional uint32 net_ping_p95 = 82; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_net_ping_p95() const { - bool value = (_impl_._has_bits_[1] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_net_ping_p95() const { - return _internal_has_net_ping_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_net_ping_p95() { - _impl_.net_ping_p95_ = 0u; - _impl_._has_bits_[1] &= ~0x00000800u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_net_ping_p95() const { - return _impl_.net_ping_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::net_ping_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.net_ping_p95) - return _internal_net_ping_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_net_ping_p95(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000800u; - _impl_.net_ping_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_net_ping_p95(uint32_t value) { - _internal_set_net_ping_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.net_ping_p95) -} - -// ------------------------------------------------------------------- - -// CMsgSource2PerfIntervalSample_Tag - -// optional string tag = 1; -inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample_Tag::has_tag() const { - return _internal_has_tag(); -} -inline void CMsgSource2PerfIntervalSample_Tag::clear_tag() { - _impl_.tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource2PerfIntervalSample_Tag::tag() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.tag) - return _internal_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2PerfIntervalSample_Tag::set_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.tag) -} -inline std::string* CMsgSource2PerfIntervalSample_Tag::mutable_tag() { - std::string* _s = _internal_mutable_tag(); - // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.Tag.tag) - return _s; -} -inline const std::string& CMsgSource2PerfIntervalSample_Tag::_internal_tag() const { - return _impl_.tag_.Get(); -} -inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2PerfIntervalSample_Tag::_internal_mutable_tag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2PerfIntervalSample_Tag::release_tag() { - // @@protoc_insertion_point(field_release:CMsgSource2PerfIntervalSample.Tag.tag) - if (!_internal_has_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tag_.IsDefault()) { - _impl_.tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2PerfIntervalSample_Tag::set_allocated_tag(std::string* tag) { - if (tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tag_.SetAllocated(tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tag_.IsDefault()) { - _impl_.tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2PerfIntervalSample.Tag.tag) -} - -// optional uint32 max_value = 2; -inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_max_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample_Tag::has_max_value() const { - return _internal_has_max_value(); -} -inline void CMsgSource2PerfIntervalSample_Tag::clear_max_value() { - _impl_.max_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2PerfIntervalSample_Tag::_internal_max_value() const { - return _impl_.max_value_; -} -inline uint32_t CMsgSource2PerfIntervalSample_Tag::max_value() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.max_value) - return _internal_max_value(); -} -inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_max_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.max_value_ = value; -} -inline void CMsgSource2PerfIntervalSample_Tag::set_max_value(uint32_t value) { - _internal_set_max_value(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.max_value) -} - -// ------------------------------------------------------------------- - -// CMsgSource2PerfIntervalSample - -// optional float frame_time_max_ms = 1; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_max_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_max_ms() const { - return _internal_has_frame_time_max_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_max_ms() { - _impl_.frame_time_max_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_max_ms() const { - return _impl_.frame_time_max_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_max_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_max_ms) - return _internal_frame_time_max_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_max_ms(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.frame_time_max_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_max_ms(float value) { - _internal_set_frame_time_max_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_max_ms) -} - -// optional float frame_time_avg_ms = 2; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_avg_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_avg_ms() const { - return _internal_has_frame_time_avg_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_avg_ms() { - _impl_.frame_time_avg_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_avg_ms() const { - return _impl_.frame_time_avg_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_avg_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_avg_ms) - return _internal_frame_time_avg_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_avg_ms(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.frame_time_avg_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_avg_ms(float value) { - _internal_set_frame_time_avg_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_avg_ms) -} - -// optional float frame_time_min_ms = 3; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_min_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_min_ms() const { - return _internal_has_frame_time_min_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_min_ms() { - _impl_.frame_time_min_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_min_ms() const { - return _impl_.frame_time_min_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_min_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_min_ms) - return _internal_frame_time_min_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_min_ms(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frame_time_min_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_min_ms(float value) { - _internal_set_frame_time_min_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_min_ms) -} - -// optional int32 frame_count = 4; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_count() const { - return _internal_has_frame_count(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_count() { - _impl_.frame_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgSource2PerfIntervalSample::_internal_frame_count() const { - return _impl_.frame_count_; -} -inline int32_t CMsgSource2PerfIntervalSample::frame_count() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_count) - return _internal_frame_count(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.frame_count_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_count(int32_t value) { - _internal_set_frame_count(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_count) -} - -// optional float frame_time_total_ms = 5; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_total_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_total_ms() const { - return _internal_has_frame_time_total_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_total_ms() { - _impl_.frame_time_total_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_total_ms() const { - return _impl_.frame_time_total_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_total_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_total_ms) - return _internal_frame_time_total_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_total_ms(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.frame_time_total_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_total_ms(float value) { - _internal_set_frame_time_total_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_total_ms) -} - -// repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; -inline int CMsgSource2PerfIntervalSample::_internal_tags_size() const { - return _impl_.tags_.size(); -} -inline int CMsgSource2PerfIntervalSample::tags_size() const { - return _internal_tags_size(); -} -inline void CMsgSource2PerfIntervalSample::clear_tags() { - _impl_.tags_.Clear(); -} -inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.tags) - return _impl_.tags_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* -CMsgSource2PerfIntervalSample::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource2PerfIntervalSample.tags) - return &_impl_.tags_; -} -inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::_internal_tags(int index) const { - return _impl_.tags_.Get(index); -} -inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::tags(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.tags) - return _internal_tags(index); -} -inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::_internal_add_tags() { - return _impl_.tags_.Add(); -} -inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::add_tags() { - ::CMsgSource2PerfIntervalSample_Tag* _add = _internal_add_tags(); - // @@protoc_insertion_point(field_add:CMsgSource2PerfIntervalSample.tags) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& -CMsgSource2PerfIntervalSample::tags() const { - // @@protoc_insertion_point(field_list:CMsgSource2PerfIntervalSample.tags) - return _impl_.tags_; -} - -// ------------------------------------------------------------------- - // CCLCMsg_Diagnostic // optional .CMsgSource2SystemSpecs system_specs = 1; @@ -23262,10 +17853,6 @@ inline bool CCLCMsg_Diagnostic::_internal_has_system_specs() const { inline bool CCLCMsg_Diagnostic::has_system_specs() const { return _internal_has_system_specs(); } -inline void CCLCMsg_Diagnostic::clear_system_specs() { - if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} inline const ::CMsgSource2SystemSpecs& CCLCMsg_Diagnostic::_internal_system_specs() const { const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; return p != nullptr ? *p : reinterpret_cast( @@ -23326,11 +17913,12 @@ inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::mutable_system_specs() { inline void CCLCMsg_Diagnostic::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete _impl_.system_specs_; + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); } if (system_specs) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(system_specs)); if (message_arena != submessage_arena) { system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, system_specs, submessage_arena); @@ -23352,10 +17940,6 @@ inline bool CCLCMsg_Diagnostic::_internal_has_vprof_report() const { inline bool CCLCMsg_Diagnostic::has_vprof_report() const { return _internal_has_vprof_report(); } -inline void CCLCMsg_Diagnostic::clear_vprof_report() { - if (_impl_.vprof_report_ != nullptr) _impl_.vprof_report_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} inline const ::CMsgSource2VProfLiteReport& CCLCMsg_Diagnostic::_internal_vprof_report() const { const ::CMsgSource2VProfLiteReport* p = _impl_.vprof_report_; return p != nullptr ? *p : reinterpret_cast( @@ -23416,11 +18000,12 @@ inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::mutable_vprof_report() inline void CCLCMsg_Diagnostic::set_allocated_vprof_report(::CMsgSource2VProfLiteReport* vprof_report) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete _impl_.vprof_report_; + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vprof_report_); } if (vprof_report) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vprof_report); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vprof_report)); if (message_arena != submessage_arena) { vprof_report = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, vprof_report, submessage_arena); @@ -23442,10 +18027,6 @@ inline bool CCLCMsg_Diagnostic::_internal_has_downstream_flow() const { inline bool CCLCMsg_Diagnostic::has_downstream_flow() const { return _internal_has_downstream_flow(); } -inline void CCLCMsg_Diagnostic::clear_downstream_flow() { - if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_internal_downstream_flow() const { const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; return p != nullptr ? *p : reinterpret_cast( @@ -23506,11 +18087,12 @@ inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::mutable_downstream_f inline void CCLCMsg_Diagnostic::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete _impl_.downstream_flow_; + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); } if (downstream_flow) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(downstream_flow)); if (message_arena != submessage_arena) { downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, downstream_flow, submessage_arena); @@ -23532,10 +18114,6 @@ inline bool CCLCMsg_Diagnostic::_internal_has_upstream_flow() const { inline bool CCLCMsg_Diagnostic::has_upstream_flow() const { return _internal_has_upstream_flow(); } -inline void CCLCMsg_Diagnostic::clear_upstream_flow() { - if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_internal_upstream_flow() const { const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; return p != nullptr ? *p : reinterpret_cast( @@ -23596,11 +18174,12 @@ inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::mutable_upstream_flo inline void CCLCMsg_Diagnostic::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete _impl_.upstream_flow_; + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); } if (upstream_flow) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(upstream_flow)); if (message_arena != submessage_arena) { upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, upstream_flow, submessage_arena); @@ -23620,9 +18199,6 @@ inline int CCLCMsg_Diagnostic::_internal_perf_samples_size() const { inline int CCLCMsg_Diagnostic::perf_samples_size() const { return _internal_perf_samples_size(); } -inline void CCLCMsg_Diagnostic::clear_perf_samples() { - _impl_.perf_samples_.Clear(); -} inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::mutable_perf_samples(int index) { // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.perf_samples) return _impl_.perf_samples_.Mutable(index); @@ -23655,820 +18231,6 @@ CCLCMsg_Diagnostic::perf_samples() const { // ------------------------------------------------------------------- -// CSource2Metrics_MatchPerfSummary_Notification_Client - -// optional .CMsgSource2SystemSpecs system_specs = 1; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_system_specs() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.system_specs_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_system_specs() const { - return _internal_has_system_specs(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_system_specs() { - if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_system_specs() const { - const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2SystemSpecs_default_instance_); -} -inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::system_specs() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) - return _internal_system_specs(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_system_specs( - ::CMsgSource2SystemSpecs* system_specs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); - } - _impl_.system_specs_ = system_specs; - if (system_specs) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::release_system_specs() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; - _impl_.system_specs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_system_specs() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; - _impl_.system_specs_ = nullptr; - return temp; -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_system_specs() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.system_specs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2SystemSpecs>(GetArenaForAllocation()); - _impl_.system_specs_ = p; - } - return _impl_.system_specs_; -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_system_specs() { - ::CMsgSource2SystemSpecs* _msg = _internal_mutable_system_specs(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.system_specs_; - } - if (system_specs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); - if (message_arena != submessage_arena) { - system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, system_specs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.system_specs_ = system_specs; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) -} - -// optional .CMsgSource2VProfLiteReport profile = 2; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_profile() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.profile_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_profile() const { - return _internal_has_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_profile() { - if (_impl_.profile_ != nullptr) _impl_.profile_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_profile() const { - const ::CMsgSource2VProfLiteReport* p = _impl_.profile_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReport_default_instance_); -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::profile() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) - return _internal_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_profile( - ::CMsgSource2VProfLiteReport* profile) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.profile_); - } - _impl_.profile_ = profile; - if (profile) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::release_profile() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; - _impl_.profile_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_profile() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; - _impl_.profile_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_profile() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.profile_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); - _impl_.profile_ = p; - } - return _impl_.profile_; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_profile() { - ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_profile(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_profile(::CMsgSource2VProfLiteReport* profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.profile_; - } - if (profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(profile); - if (message_arena != submessage_arena) { - profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, profile, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.profile_ = profile; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) -} - -// optional uint32 build_id = 3; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_build_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_build_id() const { - return _internal_has_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_build_id() { - _impl_.build_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_build_id() const { - return _impl_.build_id_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::build_id() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) - return _internal_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_build_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.build_id_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_build_id(uint32_t value) { - _internal_set_build_id(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) -} - -// optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_downstream_flow() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.downstream_flow_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_downstream_flow() const { - return _internal_has_downstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_downstream_flow() { - if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_downstream_flow() const { - const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2NetworkFlowQuality_default_instance_); -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::downstream_flow() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) - return _internal_downstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_downstream_flow( - ::CMsgSource2NetworkFlowQuality* downstream_flow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); - } - _impl_.downstream_flow_ = downstream_flow; - if (downstream_flow) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_downstream_flow() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; - _impl_.downstream_flow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_downstream_flow() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; - _impl_.downstream_flow_ = nullptr; - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_downstream_flow() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.downstream_flow_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); - _impl_.downstream_flow_ = p; - } - return _impl_.downstream_flow_; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_downstream_flow() { - ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_downstream_flow(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.downstream_flow_; - } - if (downstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); - if (message_arena != submessage_arena) { - downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, downstream_flow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.downstream_flow_ = downstream_flow; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) -} - -// optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_upstream_flow() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.upstream_flow_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_upstream_flow() const { - return _internal_has_upstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_upstream_flow() { - if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_upstream_flow() const { - const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2NetworkFlowQuality_default_instance_); -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::upstream_flow() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) - return _internal_upstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_upstream_flow( - ::CMsgSource2NetworkFlowQuality* upstream_flow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); - } - _impl_.upstream_flow_ = upstream_flow; - if (upstream_flow) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_upstream_flow() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; - _impl_.upstream_flow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_upstream_flow() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; - _impl_.upstream_flow_ = nullptr; - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_upstream_flow() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.upstream_flow_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); - _impl_.upstream_flow_ = p; - } - return _impl_.upstream_flow_; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_upstream_flow() { - ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_upstream_flow(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.upstream_flow_; - } - if (upstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); - if (message_arena != submessage_arena) { - upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, upstream_flow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.upstream_flow_ = upstream_flow; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) -} - -// optional fixed64 steamid = 10; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_steamid() const { - return _internal_has_steamid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::steamid() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) - return _internal_steamid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.steamid_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) -} - -// repeated .CMsgSource2PerfIntervalSample perf_samples = 11; -inline int CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples_size() const { - return _impl_.perf_samples_.size(); -} -inline int CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples_size() const { - return _internal_perf_samples_size(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_perf_samples() { - _impl_.perf_samples_.Clear(); -} -inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples(int index) { - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _impl_.perf_samples_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* -CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples() { - // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return &_impl_.perf_samples_; -} -inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples(int index) const { - return _impl_.perf_samples_.Get(index); -} -inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples(int index) const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _internal_perf_samples(index); -} -inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_add_perf_samples() { - return _impl_.perf_samples_.Add(); -} -inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::add_perf_samples() { - ::CMsgSource2PerfIntervalSample* _add = _internal_add_perf_samples(); - // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& -CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples() const { - // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _impl_.perf_samples_; -} - -// ------------------------------------------------------------------- - -// CSource2Metrics_MatchPerfSummary_Notification - -// optional uint32 appid = 1; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_appid() const { - return _internal_has_appid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::appid() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.appid) - return _internal_appid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.appid) -} - -// optional string game_mode = 2; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_game_mode() const { - return _internal_has_game_mode(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_game_mode() { - _impl_.game_mode_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::game_mode() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.game_mode) - return _internal_game_mode(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSource2Metrics_MatchPerfSummary_Notification::set_game_mode(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.game_mode) -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_game_mode() { - std::string* _s = _internal_mutable_game_mode(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.game_mode) - return _s; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_game_mode() const { - return _impl_.game_mode_.Get(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_game_mode(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mode_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_game_mode() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_mode_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_game_mode() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.game_mode) - if (!_internal_has_game_mode()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_mode_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mode_.IsDefault()) { - _impl_.game_mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_game_mode(std::string* game_mode) { - if (game_mode != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_mode_.SetAllocated(game_mode, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mode_.IsDefault()) { - _impl_.game_mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.game_mode) -} - -// optional uint32 server_build_id = 3; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_build_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_build_id() const { - return _internal_has_server_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_build_id() { - _impl_.server_build_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_build_id() const { - return _impl_.server_build_id_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_build_id() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) - return _internal_server_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_build_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_build_id_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_build_id(uint32_t value) { - _internal_set_server_build_id(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) -} - -// optional fixed32 server_popid = 4; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_popid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_popid() const { - return _internal_has_server_popid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_popid() { - _impl_.server_popid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_popid() const { - return _impl_.server_popid_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_popid() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_popid) - return _internal_server_popid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_popid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.server_popid_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_popid(uint32_t value) { - _internal_set_server_popid(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_popid) -} - -// optional .CMsgSource2VProfLiteReport server_profile = 10; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_profile() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.server_profile_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_profile() const { - return _internal_has_server_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_profile() { - if (_impl_.server_profile_ != nullptr) _impl_.server_profile_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::_internal_server_profile() const { - const ::CMsgSource2VProfLiteReport* p = _impl_.server_profile_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReport_default_instance_); -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::server_profile() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_profile) - return _internal_server_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_set_allocated_server_profile( - ::CMsgSource2VProfLiteReport* server_profile) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.server_profile_); - } - _impl_.server_profile_ = server_profile; - if (server_profile) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::release_server_profile() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; - _impl_.server_profile_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_release_server_profile() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.server_profile) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; - _impl_.server_profile_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_server_profile() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.server_profile_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); - _impl_.server_profile_ = p; - } - return _impl_.server_profile_; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::mutable_server_profile() { - ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_server_profile(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.server_profile) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.server_profile_; - } - if (server_profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(server_profile); - if (message_arena != submessage_arena) { - server_profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, server_profile, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.server_profile_ = server_profile; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) -} - -// repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; -inline int CSource2Metrics_MatchPerfSummary_Notification::_internal_clients_size() const { - return _impl_.clients_.size(); -} -inline int CSource2Metrics_MatchPerfSummary_Notification::clients_size() const { - return _internal_clients_size(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_clients() { - _impl_.clients_.Clear(); -} -inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::mutable_clients(int index) { - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _impl_.clients_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* -CSource2Metrics_MatchPerfSummary_Notification::mutable_clients() { - // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.clients) - return &_impl_.clients_; -} -inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::_internal_clients(int index) const { - return _impl_.clients_.Get(index); -} -inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::clients(int index) const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _internal_clients(index); -} -inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::_internal_add_clients() { - return _impl_.clients_.Add(); -} -inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::add_clients() { - ::CSource2Metrics_MatchPerfSummary_Notification_Client* _add = _internal_add_clients(); - // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& -CSource2Metrics_MatchPerfSummary_Notification::clients() const { - // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _impl_.clients_; -} - -// optional string map = 20; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_map() const { - return _internal_has_map(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_map() { - _impl_.map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::map() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.map) - return _internal_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSource2Metrics_MatchPerfSummary_Notification::set_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.map) -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_map() { - std::string* _s = _internal_mutable_map(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.map) - return _s; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_map() const { - return _impl_.map_.Get(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.map_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_map() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.map_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_map() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.map) - if (!_internal_has_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_map(std::string* map) { - if (map != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.map_.SetAllocated(map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.map) -} - -// ------------------------------------------------------------------- - // CSVCMsg_ServerInfo // optional int32 protocol = 1; @@ -31950,7 +25712,7 @@ inline void CBidirMsg_RebroadcastSource::set_eventsource(int32_t value) { // CBidirMsg_PredictionEvent -// required uint32 event_id = 1; +// optional uint32 event_id = 1; inline bool CBidirMsg_PredictionEvent::_internal_has_event_id() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; @@ -31978,7 +25740,7 @@ inline void CBidirMsg_PredictionEvent::set_event_id(uint32_t value) { // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.event_id) } -// required bytes event_data = 2; +// optional bytes event_data = 2; inline bool CBidirMsg_PredictionEvent::_internal_has_event_data() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; @@ -34415,6 +28177,66 @@ CSVCMsg_UserCommands::commands() const { return _impl_.commands_; } +// ------------------------------------------------------------------- + +// CSVCMsg_NextMsgPredicted + +// optional int32 predicted_by_player_slot = 1 [default = -1]; +inline bool CSVCMsg_NextMsgPredicted::_internal_has_predicted_by_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_NextMsgPredicted::has_predicted_by_player_slot() const { + return _internal_has_predicted_by_player_slot(); +} +inline void CSVCMsg_NextMsgPredicted::clear_predicted_by_player_slot() { + _impl_.predicted_by_player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_NextMsgPredicted::_internal_predicted_by_player_slot() const { + return _impl_.predicted_by_player_slot_; +} +inline int32_t CSVCMsg_NextMsgPredicted::predicted_by_player_slot() const { + // @@protoc_insertion_point(field_get:CSVCMsg_NextMsgPredicted.predicted_by_player_slot) + return _internal_predicted_by_player_slot(); +} +inline void CSVCMsg_NextMsgPredicted::_internal_set_predicted_by_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.predicted_by_player_slot_ = value; +} +inline void CSVCMsg_NextMsgPredicted::set_predicted_by_player_slot(int32_t value) { + _internal_set_predicted_by_player_slot(value); + // @@protoc_insertion_point(field_set:CSVCMsg_NextMsgPredicted.predicted_by_player_slot) +} + +// optional uint32 message_type_id = 2; +inline bool CSVCMsg_NextMsgPredicted::_internal_has_message_type_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_NextMsgPredicted::has_message_type_id() const { + return _internal_has_message_type_id(); +} +inline void CSVCMsg_NextMsgPredicted::clear_message_type_id() { + _impl_.message_type_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSVCMsg_NextMsgPredicted::_internal_message_type_id() const { + return _impl_.message_type_id_; +} +inline uint32_t CSVCMsg_NextMsgPredicted::message_type_id() const { + // @@protoc_insertion_point(field_get:CSVCMsg_NextMsgPredicted.message_type_id) + return _internal_message_type_id(); +} +inline void CSVCMsg_NextMsgPredicted::_internal_set_message_type_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_type_id_ = value; +} +inline void CSVCMsg_NextMsgPredicted::set_message_type_id(uint32_t value) { + _internal_set_message_type_id(value); + // @@protoc_insertion_point(field_set:CSVCMsg_NextMsgPredicted.message_type_id) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -34564,20 +28386,6 @@ CSVCMsg_UserCommands::commands() const { // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/source2_steam_stats.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/source2_steam_stats.pb.cc new file mode 100644 index 0000000..59f594a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/source2_steam_stats.pb.cc @@ -0,0 +1,5463 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: source2_steam_stats.proto + +#include "source2_steam_stats.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +PROTOBUF_PRAGMA_INIT_SEG + +namespace _pb = ::PROTOBUF_NAMESPACE_ID; +namespace _pbi = _pb::internal; + +PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs::CMsgSource2SystemSpecs( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cpu_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cpu_brand_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gpu_rendersystem_dll_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gpu_driver_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cpu_model_)*/0u + , /*decltype(_impl_.cpu_num_physical_)*/0u + , /*decltype(_impl_.ram_physical_total_mb_)*/0u + , /*decltype(_impl_.gpu_vendor_id_)*/0u + , /*decltype(_impl_.gpu_driver_version_high_)*/0u + , /*decltype(_impl_.gpu_driver_version_low_)*/0u + , /*decltype(_impl_.gpu_dx_support_level_)*/0u + , /*decltype(_impl_.gpu_texture_memory_size_mb_)*/0u + , /*decltype(_impl_.backbuffer_width_)*/0u + , /*decltype(_impl_.backbuffer_height_)*/0u} {} +struct CMsgSource2SystemSpecsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2SystemSpecsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2SystemSpecsDefaultTypeInternal() {} + union { + CMsgSource2SystemSpecs _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.active_samples_)*/0u + , /*decltype(_impl_.usec_max_)*/0u + , /*decltype(_impl_.active_samples_1secmax_)*/0u + , /*decltype(_impl_.usec_avg_active_)*/0u + , /*decltype(_impl_.usec_p50_active_)*/0u + , /*decltype(_impl_.usec_p99_active_)*/0u + , /*decltype(_impl_.usec_avg_all_)*/0u + , /*decltype(_impl_.usec_p50_all_)*/0u + , /*decltype(_impl_.usec_p99_all_)*/0u + , /*decltype(_impl_.usec_1secmax_avg_active_)*/0u + , /*decltype(_impl_.usec_1secmax_p50_active_)*/0u + , /*decltype(_impl_.usec_1secmax_p95_active_)*/0u + , /*decltype(_impl_.usec_1secmax_p99_active_)*/0u + , /*decltype(_impl_.usec_1secmax_avg_all_)*/0u + , /*decltype(_impl_.usec_1secmax_p50_all_)*/0u + , /*decltype(_impl_.usec_1secmax_p95_all_)*/0u + , /*decltype(_impl_.usec_1secmax_p99_all_)*/0u} {} +struct CMsgSource2VProfLiteReportItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2VProfLiteReportItemDefaultTypeInternal() {} + union { + CMsgSource2VProfLiteReportItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_)*/{} + , /*decltype(_impl_.total_)*/nullptr + , /*decltype(_impl_.discarded_frames_)*/0u} {} +struct CMsgSource2VProfLiteReportDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2VProfLiteReportDefaultTypeInternal() {} + union { + CMsgSource2VProfLiteReport _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.bytes_total_)*/uint64_t{0u} + , /*decltype(_impl_.duration_)*/0u + , /*decltype(_impl_.bytes_sec_p95_)*/0u + , /*decltype(_impl_.bytes_total_reliable_)*/uint64_t{0u} + , /*decltype(_impl_.bytes_total_voice_)*/uint64_t{0u} + , /*decltype(_impl_.bytes_sec_p99_)*/0u + , /*decltype(_impl_.enginemsgs_total_)*/0u + , /*decltype(_impl_.enginemsgs_sec_p95_)*/0u + , /*decltype(_impl_.enginemsgs_sec_p99_)*/0u + , /*decltype(_impl_.netframes_total_)*/0u + , /*decltype(_impl_.netframes_dropped_)*/0u + , /*decltype(_impl_.netframes_outoforder_)*/0u + , /*decltype(_impl_.netframes_size_exceeds_mtu_)*/0u + , /*decltype(_impl_.netframes_size_p95_)*/0u + , /*decltype(_impl_.netframes_size_p99_)*/0u + , /*decltype(_impl_.ticks_total_)*/0u + , /*decltype(_impl_.ticks_good_)*/0u + , /*decltype(_impl_.ticks_good_almost_late_)*/0u + , /*decltype(_impl_.ticks_fixed_dropped_)*/0u + , /*decltype(_impl_.ticks_fixed_late_)*/0u + , /*decltype(_impl_.ticks_bad_dropped_)*/0u + , /*decltype(_impl_.ticks_bad_late_)*/0u + , /*decltype(_impl_.ticks_bad_other_)*/0u + , /*decltype(_impl_.tick_missrate_samples_total_)*/0u + , /*decltype(_impl_.tick_missrate_samples_perfect_)*/0u + , /*decltype(_impl_.tick_missrate_samples_perfectnet_)*/0u + , /*decltype(_impl_.tick_missratenet_p75_x10_)*/0u + , /*decltype(_impl_.tick_missratenet_p95_x10_)*/0u + , /*decltype(_impl_.tick_missratenet_p99_x10_)*/0u + , /*decltype(_impl_.recvmargin_p1_)*/0 + , /*decltype(_impl_.recvmargin_p5_)*/0 + , /*decltype(_impl_.recvmargin_p25_)*/0 + , /*decltype(_impl_.recvmargin_p50_)*/0 + , /*decltype(_impl_.recvmargin_p75_)*/0 + , /*decltype(_impl_.recvmargin_p95_)*/0 + , /*decltype(_impl_.netframe_jitter_p50_)*/0u + , /*decltype(_impl_.netframe_jitter_p99_)*/0u + , /*decltype(_impl_.interval_peakjitter_p50_)*/0u + , /*decltype(_impl_.interval_peakjitter_p95_)*/0u + , /*decltype(_impl_.packet_misdelivery_rate_p50_x4_)*/0u + , /*decltype(_impl_.packet_misdelivery_rate_p95_x4_)*/0u + , /*decltype(_impl_.net_ping_p5_)*/0u + , /*decltype(_impl_.net_ping_p50_)*/0u + , /*decltype(_impl_.net_ping_p95_)*/0u} {} +struct CMsgSource2NetworkFlowQualityDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQualityDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2NetworkFlowQualityDefaultTypeInternal() {} + union { + CMsgSource2NetworkFlowQuality _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.max_value_)*/0u} {} +struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() {} + union { + CMsgSource2PerfIntervalSample_Tag _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tags_)*/{} + , /*decltype(_impl_.frame_time_max_ms_)*/0 + , /*decltype(_impl_.frame_time_avg_ms_)*/0 + , /*decltype(_impl_.frame_time_min_ms_)*/0 + , /*decltype(_impl_.frame_count_)*/0 + , /*decltype(_impl_.frame_time_total_ms_)*/0} {} +struct CMsgSource2PerfIntervalSampleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSampleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2PerfIntervalSampleDefaultTypeInternal() {} + union { + CMsgSource2PerfIntervalSample _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; +PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.perf_samples_)*/{} + , /*decltype(_impl_.system_specs_)*/nullptr + , /*decltype(_impl_.profile_)*/nullptr + , /*decltype(_impl_.downstream_flow_)*/nullptr + , /*decltype(_impl_.upstream_flow_)*/nullptr + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.build_id_)*/0u} {} +struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() {} + union { + CSource2Metrics_MatchPerfSummary_Notification_Client _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; +PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.clients_)*/{} + , /*decltype(_impl_.game_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_profile_)*/nullptr + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.server_build_id_)*/0u + , /*decltype(_impl_.server_popid_)*/0u} {} +struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() {} + union { + CSource2Metrics_MatchPerfSummary_Notification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; +static ::_pb::Metadata file_level_metadata_source2_5fsteam_5fstats_2eproto[8]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_source2_5fsteam_5fstats_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_source2_5fsteam_5fstats_2eproto = nullptr; + +const uint32_t TableStruct_source2_5fsteam_5fstats_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_brand_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_model_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_num_physical_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.ram_physical_total_mb_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_rendersystem_dll_name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_vendor_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_high_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_low_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_dx_support_level_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_texture_memory_size_mb_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_width_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_height_), + 0, + 1, + 4, + 5, + 6, + 2, + 7, + 3, + 8, + 9, + 10, + 11, + 12, + 13, + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_1secmax_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_max_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_), + 0, + 1, + 3, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.items_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.discarded_frames_), + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_reliable_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_voice_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p99_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p99_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_dropped_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_outoforder_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_size_exceeds_mtu_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_size_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframes_size_p99_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_almost_late_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_dropped_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_late_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_dropped_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_late_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_other_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfect_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfectnet_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p75_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p95_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p99_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p1_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p5_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p25_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p50_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p75_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframe_jitter_p50_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.netframe_jitter_p99_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.interval_peakjitter_p50_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.interval_peakjitter_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.packet_misdelivery_rate_p50_x4_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.packet_misdelivery_rate_p95_x4_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.net_ping_p5_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.net_ping_p50_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.net_ping_p95_), + 1, + 0, + 3, + 4, + 2, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.tag_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.max_value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_avg_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_min_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_count_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.tags_), + 0, + 1, + 2, + 3, + 4, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.profile_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.downstream_flow_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.upstream_flow_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.perf_samples_), + 0, + 1, + 5, + 2, + 3, + 4, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.game_mode_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_build_id_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.clients_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.map_), + 3, + 0, + 4, + 5, + 2, + ~0u, + 1, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 20, -1, sizeof(::CMsgSource2SystemSpecs)}, + { 34, 58, -1, sizeof(::CMsgSource2VProfLiteReportItem)}, + { 76, 85, -1, sizeof(::CMsgSource2VProfLiteReport)}, + { 88, 138, -1, sizeof(::CMsgSource2NetworkFlowQuality)}, + { 182, 190, -1, sizeof(::CMsgSource2PerfIntervalSample_Tag)}, + { 192, 204, -1, sizeof(::CMsgSource2PerfIntervalSample)}, + { 210, 223, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification_Client)}, + { 230, 243, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSource2SystemSpecs_default_instance_._instance, + &::_CMsgSource2VProfLiteReportItem_default_instance_._instance, + &::_CMsgSource2VProfLiteReport_default_instance_._instance, + &::_CMsgSource2NetworkFlowQuality_default_instance_._instance, + &::_CMsgSource2PerfIntervalSample_Tag_default_instance_._instance, + &::_CMsgSource2PerfIntervalSample_default_instance_._instance, + &::_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_._instance, + &::_CSource2Metrics_MatchPerfSummary_Notification_default_instance_._instance, +}; + +const char descriptor_table_protodef_source2_5fsteam_5fstats_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\031source2_steam_stats.proto\"\222\003\n\026CMsgSour" + "ce2SystemSpecs\022\016\n\006cpu_id\030\001 \001(\t\022\021\n\tcpu_br" + "and\030\002 \001(\t\022\021\n\tcpu_model\030\003 \001(\r\022\030\n\020cpu_num_" + "physical\030\004 \001(\r\022\035\n\025ram_physical_total_mb\030" + "\025 \001(\r\022!\n\031gpu_rendersystem_dll_name\030) \001(\t" + "\022\025\n\rgpu_vendor_id\030* \001(\r\022\027\n\017gpu_driver_na" + "me\030+ \001(\t\022\037\n\027gpu_driver_version_high\030, \001(" + "\r\022\036\n\026gpu_driver_version_low\030- \001(\r\022\034\n\024gpu" + "_dx_support_level\030. \001(\r\022\"\n\032gpu_texture_m" + "emory_size_mb\030/ \001(\r\022\030\n\020backbuffer_width\030" + "3 \001(\r\022\031\n\021backbuffer_height\0304 \001(\r\"\201\004\n\036CMs" + "gSource2VProfLiteReportItem\022\014\n\004name\030\001 \001(" + "\t\022\026\n\016active_samples\030\002 \001(\r\022\036\n\026active_samp" + "les_1secmax\030\004 \001(\r\022\020\n\010usec_max\030\003 \001(\r\022\027\n\017u" + "sec_avg_active\030\013 \001(\r\022\027\n\017usec_p50_active\030" + "\014 \001(\r\022\027\n\017usec_p99_active\030\r \001(\r\022\024\n\014usec_a" + "vg_all\030\025 \001(\r\022\024\n\014usec_p50_all\030\026 \001(\r\022\024\n\014us" + "ec_p99_all\030\027 \001(\r\022\037\n\027usec_1secmax_avg_act" + "ive\030\037 \001(\r\022\037\n\027usec_1secmax_p50_active\030 \001" + "(\r\022\037\n\027usec_1secmax_p95_active\030! \001(\r\022\037\n\027u" + "sec_1secmax_p99_active\030\" \001(\r\022\034\n\024usec_1se" + "cmax_avg_all\030) \001(\r\022\034\n\024usec_1secmax_p50_a" + "ll\030* \001(\r\022\034\n\024usec_1secmax_p95_all\030+ \001(\r\022\034" + "\n\024usec_1secmax_p99_all\030, \001(\r\"\226\001\n\032CMsgSou" + "rce2VProfLiteReport\022.\n\005total\030\001 \001(\0132\037.CMs" + "gSource2VProfLiteReportItem\022.\n\005items\030\002 \003" + "(\0132\037.CMsgSource2VProfLiteReportItem\022\030\n\020d" + "iscarded_frames\030\003 \001(\r\"\360\t\n\035CMsgSource2Net" + "workFlowQuality\022\020\n\010duration\030\001 \001(\r\022\023\n\013byt" + "es_total\030\005 \001(\004\022\034\n\024bytes_total_reliable\030\006" + " \001(\004\022\031\n\021bytes_total_voice\030\007 \001(\004\022\025\n\rbytes" + "_sec_p95\030\n \001(\r\022\025\n\rbytes_sec_p99\030\013 \001(\r\022\030\n" + "\020enginemsgs_total\030\024 \001(\r\022\032\n\022enginemsgs_se" + "c_p95\030\025 \001(\r\022\032\n\022enginemsgs_sec_p99\030\026 \001(\r\022" + "\027\n\017netframes_total\030\036 \001(\r\022\031\n\021netframes_dr" + "opped\030\037 \001(\r\022\034\n\024netframes_outoforder\030 \001(" + "\r\022\"\n\032netframes_size_exceeds_mtu\030\" \001(\r\022\032\n" + "\022netframes_size_p95\030# \001(\r\022\032\n\022netframes_s" + "ize_p99\030$ \001(\r\022\023\n\013ticks_total\030( \001(\r\022\022\n\nti" + "cks_good\030) \001(\r\022\036\n\026ticks_good_almost_late" + "\030* \001(\r\022\033\n\023ticks_fixed_dropped\030+ \001(\r\022\030\n\020t" + "icks_fixed_late\030, \001(\r\022\031\n\021ticks_bad_dropp" + "ed\030- \001(\r\022\026\n\016ticks_bad_late\030. \001(\r\022\027\n\017tick" + "s_bad_other\030/ \001(\r\022#\n\033tick_missrate_sampl" + "es_total\0302 \001(\r\022%\n\035tick_missrate_samples_" + "perfect\0303 \001(\r\022(\n tick_missrate_samples_p" + "erfectnet\0304 \001(\r\022 \n\030tick_missratenet_p75_" + "x10\0305 \001(\r\022 \n\030tick_missratenet_p95_x10\0306 " + "\001(\r\022 \n\030tick_missratenet_p99_x10\0307 \001(\r\022\025\n" + "\rrecvmargin_p1\030= \001(\021\022\025\n\rrecvmargin_p5\030> " + "\001(\021\022\026\n\016recvmargin_p25\030\? \001(\021\022\026\n\016recvmargi" + "n_p50\030@ \001(\021\022\026\n\016recvmargin_p75\030A \001(\021\022\026\n\016r" + "ecvmargin_p95\030B \001(\021\022\033\n\023netframe_jitter_p" + "50\030F \001(\r\022\033\n\023netframe_jitter_p99\030G \001(\r\022\037\n" + "\027interval_peakjitter_p50\030H \001(\r\022\037\n\027interv" + "al_peakjitter_p95\030I \001(\r\022&\n\036packet_misdel" + "ivery_rate_p50_x4\030J \001(\r\022&\n\036packet_misdel" + "ivery_rate_p95_x4\030K \001(\r\022\023\n\013net_ping_p5\030P" + " \001(\r\022\024\n\014net_ping_p50\030Q \001(\r\022\024\n\014net_ping_p" + "95\030R \001(\r\"\373\001\n\035CMsgSource2PerfIntervalSamp" + "le\022\031\n\021frame_time_max_ms\030\001 \001(\002\022\031\n\021frame_t" + "ime_avg_ms\030\002 \001(\002\022\031\n\021frame_time_min_ms\030\003 " + "\001(\002\022\023\n\013frame_count\030\004 \001(\005\022\033\n\023frame_time_t" + "otal_ms\030\005 \001(\002\0220\n\004tags\030\006 \003(\0132\".CMsgSource" + "2PerfIntervalSample.Tag\032%\n\003Tag\022\013\n\003tag\030\001 " + "\001(\t\022\021\n\tmax_value\030\002 \001(\r\"\273\004\n-CSource2Metri" + "cs_MatchPerfSummary_Notification\022\r\n\005appi" + "d\030\001 \001(\r\022\021\n\tgame_mode\030\002 \001(\t\022\027\n\017server_bui" + "ld_id\030\003 \001(\r\022\024\n\014server_popid\030\004 \001(\007\0223\n\016ser" + "ver_profile\030\n \001(\0132\033.CMsgSource2VProfLite" + "Report\022F\n\007clients\030\013 \003(\01325.CSource2Metric" + "s_MatchPerfSummary_Notification.Client\022\013" + "\n\003map\030\024 \001(\t\032\256\002\n\006Client\022-\n\014system_specs\030\001" + " \001(\0132\027.CMsgSource2SystemSpecs\022,\n\007profile" + "\030\002 \001(\0132\033.CMsgSource2VProfLiteReport\022\020\n\010b" + "uild_id\030\003 \001(\r\0227\n\017downstream_flow\030\004 \001(\0132\036" + ".CMsgSource2NetworkFlowQuality\0225\n\rupstre" + "am_flow\030\005 \001(\0132\036.CMsgSource2NetworkFlowQu" + "ality\022\017\n\007steamid\030\n \001(\006\0224\n\014perf_samples\030\013" + " \003(\0132\036.CMsgSource2PerfIntervalSample" + ; +static ::_pbi::once_flag descriptor_table_source2_5fsteam_5fstats_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_source2_5fsteam_5fstats_2eproto = { + false, false, 3196, descriptor_table_protodef_source2_5fsteam_5fstats_2eproto, + "source2_steam_stats.proto", + &descriptor_table_source2_5fsteam_5fstats_2eproto_once, nullptr, 0, 8, + schemas, file_default_instances, TableStruct_source2_5fsteam_5fstats_2eproto::offsets, + file_level_metadata_source2_5fsteam_5fstats_2eproto, file_level_enum_descriptors_source2_5fsteam_5fstats_2eproto, + file_level_service_descriptors_source2_5fsteam_5fstats_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_source2_5fsteam_5fstats_2eproto_getter() { + return &descriptor_table_source2_5fsteam_5fstats_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_source2_5fsteam_5fstats_2eproto(&descriptor_table_source2_5fsteam_5fstats_2eproto); + +// =================================================================== + +class CMsgSource2SystemSpecs::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cpu_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cpu_brand(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_cpu_model(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_cpu_num_physical(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_ram_physical_total_mb(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_gpu_rendersystem_dll_name(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_gpu_vendor_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_gpu_driver_name(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_gpu_driver_version_high(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_gpu_driver_version_low(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_gpu_dx_support_level(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_gpu_texture_memory_size_mb(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_backbuffer_width(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_backbuffer_height(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } +}; + +CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgSource2SystemSpecs) +} +CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2SystemSpecs* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cpu_id_){} + , decltype(_impl_.cpu_brand_){} + , decltype(_impl_.gpu_rendersystem_dll_name_){} + , decltype(_impl_.gpu_driver_name_){} + , decltype(_impl_.cpu_model_){} + , decltype(_impl_.cpu_num_physical_){} + , decltype(_impl_.ram_physical_total_mb_){} + , decltype(_impl_.gpu_vendor_id_){} + , decltype(_impl_.gpu_driver_version_high_){} + , decltype(_impl_.gpu_driver_version_low_){} + , decltype(_impl_.gpu_dx_support_level_){} + , decltype(_impl_.gpu_texture_memory_size_mb_){} + , decltype(_impl_.backbuffer_width_){} + , decltype(_impl_.backbuffer_height_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cpu_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cpu_id()) { + _this->_impl_.cpu_id_.Set(from._internal_cpu_id(), + _this->GetArenaForAllocation()); + } + _impl_.cpu_brand_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cpu_brand()) { + _this->_impl_.cpu_brand_.Set(from._internal_cpu_brand(), + _this->GetArenaForAllocation()); + } + _impl_.gpu_rendersystem_dll_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gpu_rendersystem_dll_name()) { + _this->_impl_.gpu_rendersystem_dll_name_.Set(from._internal_gpu_rendersystem_dll_name(), + _this->GetArenaForAllocation()); + } + _impl_.gpu_driver_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gpu_driver_name()) { + _this->_impl_.gpu_driver_name_.Set(from._internal_gpu_driver_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.cpu_model_, &from._impl_.cpu_model_, + static_cast(reinterpret_cast(&_impl_.backbuffer_height_) - + reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.backbuffer_height_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2SystemSpecs) +} + +inline void CMsgSource2SystemSpecs::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cpu_id_){} + , decltype(_impl_.cpu_brand_){} + , decltype(_impl_.gpu_rendersystem_dll_name_){} + , decltype(_impl_.gpu_driver_name_){} + , decltype(_impl_.cpu_model_){0u} + , decltype(_impl_.cpu_num_physical_){0u} + , decltype(_impl_.ram_physical_total_mb_){0u} + , decltype(_impl_.gpu_vendor_id_){0u} + , decltype(_impl_.gpu_driver_version_high_){0u} + , decltype(_impl_.gpu_driver_version_low_){0u} + , decltype(_impl_.gpu_dx_support_level_){0u} + , decltype(_impl_.gpu_texture_memory_size_mb_){0u} + , decltype(_impl_.backbuffer_width_){0u} + , decltype(_impl_.backbuffer_height_){0u} + }; + _impl_.cpu_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_brand_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_rendersystem_dll_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_driver_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource2SystemSpecs::~CMsgSource2SystemSpecs() { + // @@protoc_insertion_point(destructor:CMsgSource2SystemSpecs) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2SystemSpecs::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cpu_id_.Destroy(); + _impl_.cpu_brand_.Destroy(); + _impl_.gpu_rendersystem_dll_name_.Destroy(); + _impl_.gpu_driver_name_.Destroy(); +} + +void CMsgSource2SystemSpecs::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2SystemSpecs::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2SystemSpecs) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.cpu_id_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.cpu_brand_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.gpu_rendersystem_dll_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.gpu_driver_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.cpu_model_, 0, static_cast( + reinterpret_cast(&_impl_.gpu_vendor_id_) - + reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.gpu_vendor_id_)); + } + if (cached_has_bits & 0x00003f00u) { + ::memset(&_impl_.gpu_driver_version_high_, 0, static_cast( + reinterpret_cast(&_impl_.backbuffer_height_) - + reinterpret_cast(&_impl_.gpu_driver_version_high_)) + sizeof(_impl_.backbuffer_height_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2SystemSpecs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string cpu_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_cpu_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_id"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string cpu_brand = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_cpu_brand(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_brand"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 cpu_model = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_cpu_model(&has_bits); + _impl_.cpu_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cpu_num_physical = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_cpu_num_physical(&has_bits); + _impl_.cpu_num_physical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ram_physical_total_mb = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_ram_physical_total_mb(&has_bits); + _impl_.ram_physical_total_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string gpu_rendersystem_dll_name = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_gpu_rendersystem_dll_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 gpu_vendor_id = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_gpu_vendor_id(&has_bits); + _impl_.gpu_vendor_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string gpu_driver_name = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_gpu_driver_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_driver_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 gpu_driver_version_high = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_gpu_driver_version_high(&has_bits); + _impl_.gpu_driver_version_high_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gpu_driver_version_low = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_gpu_driver_version_low(&has_bits); + _impl_.gpu_driver_version_low_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gpu_dx_support_level = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_gpu_dx_support_level(&has_bits); + _impl_.gpu_dx_support_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gpu_texture_memory_size_mb = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_gpu_texture_memory_size_mb(&has_bits); + _impl_.gpu_texture_memory_size_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 backbuffer_width = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_backbuffer_width(&has_bits); + _impl_.backbuffer_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 backbuffer_height = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_backbuffer_height(&has_bits); + _impl_.backbuffer_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2SystemSpecs::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2SystemSpecs) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string cpu_id = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cpu_id().data(), static_cast(this->_internal_cpu_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.cpu_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_cpu_id(), target); + } + + // optional string cpu_brand = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cpu_brand().data(), static_cast(this->_internal_cpu_brand().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.cpu_brand"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_cpu_brand(), target); + } + + // optional uint32 cpu_model = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cpu_model(), target); + } + + // optional uint32 cpu_num_physical = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cpu_num_physical(), target); + } + + // optional uint32 ram_physical_total_mb = 21; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_ram_physical_total_mb(), target); + } + + // optional string gpu_rendersystem_dll_name = 41; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gpu_rendersystem_dll_name().data(), static_cast(this->_internal_gpu_rendersystem_dll_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); + target = stream->WriteStringMaybeAliased( + 41, this->_internal_gpu_rendersystem_dll_name(), target); + } + + // optional uint32 gpu_vendor_id = 42; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_gpu_vendor_id(), target); + } + + // optional string gpu_driver_name = 43; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gpu_driver_name().data(), static_cast(this->_internal_gpu_driver_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.gpu_driver_name"); + target = stream->WriteStringMaybeAliased( + 43, this->_internal_gpu_driver_name(), target); + } + + // optional uint32 gpu_driver_version_high = 44; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_gpu_driver_version_high(), target); + } + + // optional uint32 gpu_driver_version_low = 45; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_gpu_driver_version_low(), target); + } + + // optional uint32 gpu_dx_support_level = 46; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_gpu_dx_support_level(), target); + } + + // optional uint32 gpu_texture_memory_size_mb = 47; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_gpu_texture_memory_size_mb(), target); + } + + // optional uint32 backbuffer_width = 51; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_backbuffer_width(), target); + } + + // optional uint32 backbuffer_height = 52; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_backbuffer_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2SystemSpecs) + return target; +} + +size_t CMsgSource2SystemSpecs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2SystemSpecs) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string cpu_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cpu_id()); + } + + // optional string cpu_brand = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cpu_brand()); + } + + // optional string gpu_rendersystem_dll_name = 41; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gpu_rendersystem_dll_name()); + } + + // optional string gpu_driver_name = 43; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gpu_driver_name()); + } + + // optional uint32 cpu_model = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_model()); + } + + // optional uint32 cpu_num_physical = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_num_physical()); + } + + // optional uint32 ram_physical_total_mb = 21; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ram_physical_total_mb()); + } + + // optional uint32 gpu_vendor_id = 42; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_vendor_id()); + } + + } + if (cached_has_bits & 0x00003f00u) { + // optional uint32 gpu_driver_version_high = 44; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_driver_version_high()); + } + + // optional uint32 gpu_driver_version_low = 45; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_driver_version_low()); + } + + // optional uint32 gpu_dx_support_level = 46; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_dx_support_level()); + } + + // optional uint32 gpu_texture_memory_size_mb = 47; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_texture_memory_size_mb()); + } + + // optional uint32 backbuffer_width = 51; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_backbuffer_width()); + } + + // optional uint32 backbuffer_height = 52; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_backbuffer_height()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2SystemSpecs::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2SystemSpecs::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2SystemSpecs::GetClassData() const { return &_class_data_; } + + +void CMsgSource2SystemSpecs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2SystemSpecs) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_cpu_id(from._internal_cpu_id()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_cpu_brand(from._internal_cpu_brand()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_gpu_rendersystem_dll_name(from._internal_gpu_rendersystem_dll_name()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_gpu_driver_name(from._internal_gpu_driver_name()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.cpu_model_ = from._impl_.cpu_model_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.cpu_num_physical_ = from._impl_.cpu_num_physical_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ram_physical_total_mb_ = from._impl_.ram_physical_total_mb_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.gpu_vendor_id_ = from._impl_.gpu_vendor_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.gpu_driver_version_high_ = from._impl_.gpu_driver_version_high_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.gpu_driver_version_low_ = from._impl_.gpu_driver_version_low_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.gpu_dx_support_level_ = from._impl_.gpu_dx_support_level_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.gpu_texture_memory_size_mb_ = from._impl_.gpu_texture_memory_size_mb_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.backbuffer_width_ = from._impl_.backbuffer_width_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.backbuffer_height_ = from._impl_.backbuffer_height_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2SystemSpecs::CopyFrom(const CMsgSource2SystemSpecs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2SystemSpecs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2SystemSpecs::IsInitialized() const { + return true; +} + +void CMsgSource2SystemSpecs::InternalSwap(CMsgSource2SystemSpecs* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cpu_id_, lhs_arena, + &other->_impl_.cpu_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cpu_brand_, lhs_arena, + &other->_impl_.cpu_brand_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gpu_rendersystem_dll_name_, lhs_arena, + &other->_impl_.gpu_rendersystem_dll_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gpu_driver_name_, lhs_arena, + &other->_impl_.gpu_driver_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.backbuffer_height_) + + sizeof(CMsgSource2SystemSpecs::_impl_.backbuffer_height_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.cpu_model_)>( + reinterpret_cast(&_impl_.cpu_model_), + reinterpret_cast(&other->_impl_.cpu_model_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2SystemSpecs::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[0]); +} + +// =================================================================== + +class CMsgSource2VProfLiteReportItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_active_samples(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_active_samples_1secmax(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_usec_max(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_usec_avg_active(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_usec_p50_active(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_usec_p99_active(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_usec_avg_all(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_usec_p50_all(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_usec_p99_all(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_usec_1secmax_avg_active(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_usec_1secmax_p50_active(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_usec_1secmax_p95_active(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_usec_1secmax_p99_active(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_usec_1secmax_avg_all(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_usec_1secmax_p50_all(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_usec_1secmax_p95_all(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_usec_1secmax_p99_all(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgSource2VProfLiteReportItem) +} +CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2VProfLiteReportItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.active_samples_){} + , decltype(_impl_.usec_max_){} + , decltype(_impl_.active_samples_1secmax_){} + , decltype(_impl_.usec_avg_active_){} + , decltype(_impl_.usec_p50_active_){} + , decltype(_impl_.usec_p99_active_){} + , decltype(_impl_.usec_avg_all_){} + , decltype(_impl_.usec_p50_all_){} + , decltype(_impl_.usec_p99_all_){} + , decltype(_impl_.usec_1secmax_avg_active_){} + , decltype(_impl_.usec_1secmax_p50_active_){} + , decltype(_impl_.usec_1secmax_p95_active_){} + , decltype(_impl_.usec_1secmax_p99_active_){} + , decltype(_impl_.usec_1secmax_avg_all_){} + , decltype(_impl_.usec_1secmax_p50_all_){} + , decltype(_impl_.usec_1secmax_p95_all_){} + , decltype(_impl_.usec_1secmax_p99_all_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.active_samples_, &from._impl_.active_samples_, + static_cast(reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - + reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_1secmax_p99_all_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReportItem) +} + +inline void CMsgSource2VProfLiteReportItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.active_samples_){0u} + , decltype(_impl_.usec_max_){0u} + , decltype(_impl_.active_samples_1secmax_){0u} + , decltype(_impl_.usec_avg_active_){0u} + , decltype(_impl_.usec_p50_active_){0u} + , decltype(_impl_.usec_p99_active_){0u} + , decltype(_impl_.usec_avg_all_){0u} + , decltype(_impl_.usec_p50_all_){0u} + , decltype(_impl_.usec_p99_all_){0u} + , decltype(_impl_.usec_1secmax_avg_active_){0u} + , decltype(_impl_.usec_1secmax_p50_active_){0u} + , decltype(_impl_.usec_1secmax_p95_active_){0u} + , decltype(_impl_.usec_1secmax_p99_active_){0u} + , decltype(_impl_.usec_1secmax_avg_all_){0u} + , decltype(_impl_.usec_1secmax_p50_all_){0u} + , decltype(_impl_.usec_1secmax_p95_all_){0u} + , decltype(_impl_.usec_1secmax_p99_all_){0u} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource2VProfLiteReportItem::~CMsgSource2VProfLiteReportItem() { + // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReportItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2VProfLiteReportItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CMsgSource2VProfLiteReportItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2VProfLiteReportItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReportItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.active_samples_, 0, static_cast( + reinterpret_cast(&_impl_.usec_avg_all_) - + reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_avg_all_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.usec_p50_all_, 0, static_cast( + reinterpret_cast(&_impl_.usec_1secmax_p50_all_) - + reinterpret_cast(&_impl_.usec_p50_all_)) + sizeof(_impl_.usec_1secmax_p50_all_)); + } + if (cached_has_bits & 0x00030000u) { + ::memset(&_impl_.usec_1secmax_p95_all_, 0, static_cast( + reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - + reinterpret_cast(&_impl_.usec_1secmax_p95_all_)) + sizeof(_impl_.usec_1secmax_p99_all_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2VProfLiteReportItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2VProfLiteReportItem.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 active_samples = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_active_samples(&has_bits); + _impl_.active_samples_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_max = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_usec_max(&has_bits); + _impl_.usec_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 active_samples_1secmax = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_active_samples_1secmax(&has_bits); + _impl_.active_samples_1secmax_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_avg_active = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_usec_avg_active(&has_bits); + _impl_.usec_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p50_active = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_usec_p50_active(&has_bits); + _impl_.usec_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p99_active = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_usec_p99_active(&has_bits); + _impl_.usec_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_avg_all = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_usec_avg_all(&has_bits); + _impl_.usec_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p50_all = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_usec_p50_all(&has_bits); + _impl_.usec_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p99_all = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_usec_p99_all(&has_bits); + _impl_.usec_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_avg_active = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_usec_1secmax_avg_active(&has_bits); + _impl_.usec_1secmax_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p50_active = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_usec_1secmax_p50_active(&has_bits); + _impl_.usec_1secmax_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p95_active = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_usec_1secmax_p95_active(&has_bits); + _impl_.usec_1secmax_p95_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p99_active = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_usec_1secmax_p99_active(&has_bits); + _impl_.usec_1secmax_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_avg_all = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_usec_1secmax_avg_all(&has_bits); + _impl_.usec_1secmax_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p50_all = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_usec_1secmax_p50_all(&has_bits); + _impl_.usec_1secmax_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p95_all = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_usec_1secmax_p95_all(&has_bits); + _impl_.usec_1secmax_p95_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p99_all = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_usec_1secmax_p99_all(&has_bits); + _impl_.usec_1secmax_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2VProfLiteReportItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReportItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2VProfLiteReportItem.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional uint32 active_samples = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_active_samples(), target); + } + + // optional uint32 usec_max = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_usec_max(), target); + } + + // optional uint32 active_samples_1secmax = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_active_samples_1secmax(), target); + } + + // optional uint32 usec_avg_active = 11; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_usec_avg_active(), target); + } + + // optional uint32 usec_p50_active = 12; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_usec_p50_active(), target); + } + + // optional uint32 usec_p99_active = 13; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_usec_p99_active(), target); + } + + // optional uint32 usec_avg_all = 21; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_usec_avg_all(), target); + } + + // optional uint32 usec_p50_all = 22; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_usec_p50_all(), target); + } + + // optional uint32 usec_p99_all = 23; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_usec_p99_all(), target); + } + + // optional uint32 usec_1secmax_avg_active = 31; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_usec_1secmax_avg_active(), target); + } + + // optional uint32 usec_1secmax_p50_active = 32; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_usec_1secmax_p50_active(), target); + } + + // optional uint32 usec_1secmax_p95_active = 33; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_usec_1secmax_p95_active(), target); + } + + // optional uint32 usec_1secmax_p99_active = 34; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_usec_1secmax_p99_active(), target); + } + + // optional uint32 usec_1secmax_avg_all = 41; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_usec_1secmax_avg_all(), target); + } + + // optional uint32 usec_1secmax_p50_all = 42; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_usec_1secmax_p50_all(), target); + } + + // optional uint32 usec_1secmax_p95_all = 43; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_usec_1secmax_p95_all(), target); + } + + // optional uint32 usec_1secmax_p99_all = 44; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_usec_1secmax_p99_all(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2VProfLiteReportItem) + return target; +} + +size_t CMsgSource2VProfLiteReportItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReportItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional uint32 active_samples = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples()); + } + + // optional uint32 usec_max = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_max()); + } + + // optional uint32 active_samples_1secmax = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples_1secmax()); + } + + // optional uint32 usec_avg_active = 11; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_avg_active()); + } + + // optional uint32 usec_p50_active = 12; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p50_active()); + } + + // optional uint32 usec_p99_active = 13; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p99_active()); + } + + // optional uint32 usec_avg_all = 21; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_avg_all()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 usec_p50_all = 22; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_p50_all()); + } + + // optional uint32 usec_p99_all = 23; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_p99_all()); + } + + // optional uint32 usec_1secmax_avg_active = 31; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_avg_active()); + } + + // optional uint32 usec_1secmax_p50_active = 32; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p50_active()); + } + + // optional uint32 usec_1secmax_p95_active = 33; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p95_active()); + } + + // optional uint32 usec_1secmax_p99_active = 34; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p99_active()); + } + + // optional uint32 usec_1secmax_avg_all = 41; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_avg_all()); + } + + // optional uint32 usec_1secmax_p50_all = 42; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p50_all()); + } + + } + if (cached_has_bits & 0x00030000u) { + // optional uint32 usec_1secmax_p95_all = 43; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p95_all()); + } + + // optional uint32 usec_1secmax_p99_all = 44; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p99_all()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReportItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2VProfLiteReportItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReportItem::GetClassData() const { return &_class_data_; } + + +void CMsgSource2VProfLiteReportItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2VProfLiteReportItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.active_samples_ = from._impl_.active_samples_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.usec_max_ = from._impl_.usec_max_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.active_samples_1secmax_ = from._impl_.active_samples_1secmax_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.usec_avg_active_ = from._impl_.usec_avg_active_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.usec_p50_active_ = from._impl_.usec_p50_active_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.usec_p99_active_ = from._impl_.usec_p99_active_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.usec_avg_all_ = from._impl_.usec_avg_all_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.usec_p50_all_ = from._impl_.usec_p50_all_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.usec_p99_all_ = from._impl_.usec_p99_all_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.usec_1secmax_avg_active_ = from._impl_.usec_1secmax_avg_active_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.usec_1secmax_p50_active_ = from._impl_.usec_1secmax_p50_active_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.usec_1secmax_p95_active_ = from._impl_.usec_1secmax_p95_active_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.usec_1secmax_p99_active_ = from._impl_.usec_1secmax_p99_active_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.usec_1secmax_avg_all_ = from._impl_.usec_1secmax_avg_all_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.usec_1secmax_p50_all_ = from._impl_.usec_1secmax_p50_all_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.usec_1secmax_p95_all_ = from._impl_.usec_1secmax_p95_all_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.usec_1secmax_p99_all_ = from._impl_.usec_1secmax_p99_all_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2VProfLiteReportItem::CopyFrom(const CMsgSource2VProfLiteReportItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReportItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2VProfLiteReportItem::IsInitialized() const { + return true; +} + +void CMsgSource2VProfLiteReportItem::InternalSwap(CMsgSource2VProfLiteReportItem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_) + + sizeof(CMsgSource2VProfLiteReportItem::_impl_.usec_1secmax_p99_all_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.active_samples_)>( + reinterpret_cast(&_impl_.active_samples_), + reinterpret_cast(&other->_impl_.active_samples_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReportItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[1]); +} + +// =================================================================== + +class CMsgSource2VProfLiteReport::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSource2VProfLiteReportItem& total(const CMsgSource2VProfLiteReport* msg); + static void set_has_total(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_discarded_frames(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSource2VProfLiteReportItem& +CMsgSource2VProfLiteReport::_Internal::total(const CMsgSource2VProfLiteReport* msg) { + return *msg->_impl_.total_; +} +CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgSource2VProfLiteReport) +} +CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2VProfLiteReport* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){from._impl_.items_} + , decltype(_impl_.total_){nullptr} + , decltype(_impl_.discarded_frames_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_total()) { + _this->_impl_.total_ = new ::CMsgSource2VProfLiteReportItem(*from._impl_.total_); + } + _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; + // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReport) +} + +inline void CMsgSource2VProfLiteReport::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){arena} + , decltype(_impl_.total_){nullptr} + , decltype(_impl_.discarded_frames_){0u} + }; +} + +CMsgSource2VProfLiteReport::~CMsgSource2VProfLiteReport() { + // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReport) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2VProfLiteReport::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.total_; +} + +void CMsgSource2VProfLiteReport::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2VProfLiteReport::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReport) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.items_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.total_ != nullptr); + _impl_.total_->Clear(); + } + _impl_.discarded_frames_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2VProfLiteReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSource2VProfLiteReportItem total = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_total(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2VProfLiteReportItem items = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_items(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 discarded_frames = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_discarded_frames(&has_bits); + _impl_.discarded_frames_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2VProfLiteReport::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReport) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSource2VProfLiteReportItem total = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::total(this), + _Internal::total(this).GetCachedSize(), target, stream); + } + + // repeated .CMsgSource2VProfLiteReportItem items = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_items_size()); i < n; i++) { + const auto& repfield = this->_internal_items(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 discarded_frames = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_discarded_frames(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2VProfLiteReport) + return target; +} + +size_t CMsgSource2VProfLiteReport::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReport) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .CMsgSource2VProfLiteReportItem items = 2; + total_size += 1UL * this->_internal_items_size(); + for (const auto& msg : this->_impl_.items_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSource2VProfLiteReportItem total = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.total_); + } + + // optional uint32 discarded_frames = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_discarded_frames()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReport::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2VProfLiteReport::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReport::GetClassData() const { return &_class_data_; } + + +void CMsgSource2VProfLiteReport::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2VProfLiteReport) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.items_.MergeFrom(from._impl_.items_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_total()->::CMsgSource2VProfLiteReportItem::MergeFrom( + from._internal_total()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2VProfLiteReport::CopyFrom(const CMsgSource2VProfLiteReport& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReport) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2VProfLiteReport::IsInitialized() const { + return true; +} + +void CMsgSource2VProfLiteReport::InternalSwap(CMsgSource2VProfLiteReport* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.items_.InternalSwap(&other->_impl_.items_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.discarded_frames_) + + sizeof(CMsgSource2VProfLiteReport::_impl_.discarded_frames_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.total_)>( + reinterpret_cast(&_impl_.total_), + reinterpret_cast(&other->_impl_.total_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReport::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[2]); +} + +// =================================================================== + +class CMsgSource2NetworkFlowQuality::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bytes_total(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_bytes_total_reliable(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_bytes_total_voice(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_bytes_sec_p95(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_bytes_sec_p99(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_enginemsgs_total(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_enginemsgs_sec_p95(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_enginemsgs_sec_p99(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_netframes_total(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_netframes_dropped(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_netframes_outoforder(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_netframes_size_exceeds_mtu(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_netframes_size_p95(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_netframes_size_p99(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_ticks_total(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_ticks_good(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_ticks_good_almost_late(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_ticks_fixed_dropped(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_ticks_fixed_late(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_ticks_bad_dropped(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_ticks_bad_late(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static void set_has_ticks_bad_other(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static void set_has_tick_missrate_samples_total(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static void set_has_tick_missrate_samples_perfect(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static void set_has_tick_missrate_samples_perfectnet(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static void set_has_tick_missratenet_p75_x10(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } + static void set_has_tick_missratenet_p95_x10(HasBits* has_bits) { + (*has_bits)[0] |= 134217728u; + } + static void set_has_tick_missratenet_p99_x10(HasBits* has_bits) { + (*has_bits)[0] |= 268435456u; + } + static void set_has_recvmargin_p1(HasBits* has_bits) { + (*has_bits)[0] |= 536870912u; + } + static void set_has_recvmargin_p5(HasBits* has_bits) { + (*has_bits)[0] |= 1073741824u; + } + static void set_has_recvmargin_p25(HasBits* has_bits) { + (*has_bits)[0] |= 2147483648u; + } + static void set_has_recvmargin_p50(HasBits* has_bits) { + (*has_bits)[1] |= 1u; + } + static void set_has_recvmargin_p75(HasBits* has_bits) { + (*has_bits)[1] |= 2u; + } + static void set_has_recvmargin_p95(HasBits* has_bits) { + (*has_bits)[1] |= 4u; + } + static void set_has_netframe_jitter_p50(HasBits* has_bits) { + (*has_bits)[1] |= 8u; + } + static void set_has_netframe_jitter_p99(HasBits* has_bits) { + (*has_bits)[1] |= 16u; + } + static void set_has_interval_peakjitter_p50(HasBits* has_bits) { + (*has_bits)[1] |= 32u; + } + static void set_has_interval_peakjitter_p95(HasBits* has_bits) { + (*has_bits)[1] |= 64u; + } + static void set_has_packet_misdelivery_rate_p50_x4(HasBits* has_bits) { + (*has_bits)[1] |= 128u; + } + static void set_has_packet_misdelivery_rate_p95_x4(HasBits* has_bits) { + (*has_bits)[1] |= 256u; + } + static void set_has_net_ping_p5(HasBits* has_bits) { + (*has_bits)[1] |= 512u; + } + static void set_has_net_ping_p50(HasBits* has_bits) { + (*has_bits)[1] |= 1024u; + } + static void set_has_net_ping_p95(HasBits* has_bits) { + (*has_bits)[1] |= 2048u; + } +}; + +CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgSource2NetworkFlowQuality) +} +CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2NetworkFlowQuality* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.bytes_total_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.bytes_sec_p95_){} + , decltype(_impl_.bytes_total_reliable_){} + , decltype(_impl_.bytes_total_voice_){} + , decltype(_impl_.bytes_sec_p99_){} + , decltype(_impl_.enginemsgs_total_){} + , decltype(_impl_.enginemsgs_sec_p95_){} + , decltype(_impl_.enginemsgs_sec_p99_){} + , decltype(_impl_.netframes_total_){} + , decltype(_impl_.netframes_dropped_){} + , decltype(_impl_.netframes_outoforder_){} + , decltype(_impl_.netframes_size_exceeds_mtu_){} + , decltype(_impl_.netframes_size_p95_){} + , decltype(_impl_.netframes_size_p99_){} + , decltype(_impl_.ticks_total_){} + , decltype(_impl_.ticks_good_){} + , decltype(_impl_.ticks_good_almost_late_){} + , decltype(_impl_.ticks_fixed_dropped_){} + , decltype(_impl_.ticks_fixed_late_){} + , decltype(_impl_.ticks_bad_dropped_){} + , decltype(_impl_.ticks_bad_late_){} + , decltype(_impl_.ticks_bad_other_){} + , decltype(_impl_.tick_missrate_samples_total_){} + , decltype(_impl_.tick_missrate_samples_perfect_){} + , decltype(_impl_.tick_missrate_samples_perfectnet_){} + , decltype(_impl_.tick_missratenet_p75_x10_){} + , decltype(_impl_.tick_missratenet_p95_x10_){} + , decltype(_impl_.tick_missratenet_p99_x10_){} + , decltype(_impl_.recvmargin_p1_){} + , decltype(_impl_.recvmargin_p5_){} + , decltype(_impl_.recvmargin_p25_){} + , decltype(_impl_.recvmargin_p50_){} + , decltype(_impl_.recvmargin_p75_){} + , decltype(_impl_.recvmargin_p95_){} + , decltype(_impl_.netframe_jitter_p50_){} + , decltype(_impl_.netframe_jitter_p99_){} + , decltype(_impl_.interval_peakjitter_p50_){} + , decltype(_impl_.interval_peakjitter_p95_){} + , decltype(_impl_.packet_misdelivery_rate_p50_x4_){} + , decltype(_impl_.packet_misdelivery_rate_p95_x4_){} + , decltype(_impl_.net_ping_p5_){} + , decltype(_impl_.net_ping_p50_){} + , decltype(_impl_.net_ping_p95_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.bytes_total_, &from._impl_.bytes_total_, + static_cast(reinterpret_cast(&_impl_.net_ping_p95_) - + reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.net_ping_p95_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2NetworkFlowQuality) +} + +inline void CMsgSource2NetworkFlowQuality::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.bytes_total_){uint64_t{0u}} + , decltype(_impl_.duration_){0u} + , decltype(_impl_.bytes_sec_p95_){0u} + , decltype(_impl_.bytes_total_reliable_){uint64_t{0u}} + , decltype(_impl_.bytes_total_voice_){uint64_t{0u}} + , decltype(_impl_.bytes_sec_p99_){0u} + , decltype(_impl_.enginemsgs_total_){0u} + , decltype(_impl_.enginemsgs_sec_p95_){0u} + , decltype(_impl_.enginemsgs_sec_p99_){0u} + , decltype(_impl_.netframes_total_){0u} + , decltype(_impl_.netframes_dropped_){0u} + , decltype(_impl_.netframes_outoforder_){0u} + , decltype(_impl_.netframes_size_exceeds_mtu_){0u} + , decltype(_impl_.netframes_size_p95_){0u} + , decltype(_impl_.netframes_size_p99_){0u} + , decltype(_impl_.ticks_total_){0u} + , decltype(_impl_.ticks_good_){0u} + , decltype(_impl_.ticks_good_almost_late_){0u} + , decltype(_impl_.ticks_fixed_dropped_){0u} + , decltype(_impl_.ticks_fixed_late_){0u} + , decltype(_impl_.ticks_bad_dropped_){0u} + , decltype(_impl_.ticks_bad_late_){0u} + , decltype(_impl_.ticks_bad_other_){0u} + , decltype(_impl_.tick_missrate_samples_total_){0u} + , decltype(_impl_.tick_missrate_samples_perfect_){0u} + , decltype(_impl_.tick_missrate_samples_perfectnet_){0u} + , decltype(_impl_.tick_missratenet_p75_x10_){0u} + , decltype(_impl_.tick_missratenet_p95_x10_){0u} + , decltype(_impl_.tick_missratenet_p99_x10_){0u} + , decltype(_impl_.recvmargin_p1_){0} + , decltype(_impl_.recvmargin_p5_){0} + , decltype(_impl_.recvmargin_p25_){0} + , decltype(_impl_.recvmargin_p50_){0} + , decltype(_impl_.recvmargin_p75_){0} + , decltype(_impl_.recvmargin_p95_){0} + , decltype(_impl_.netframe_jitter_p50_){0u} + , decltype(_impl_.netframe_jitter_p99_){0u} + , decltype(_impl_.interval_peakjitter_p50_){0u} + , decltype(_impl_.interval_peakjitter_p95_){0u} + , decltype(_impl_.packet_misdelivery_rate_p50_x4_){0u} + , decltype(_impl_.packet_misdelivery_rate_p95_x4_){0u} + , decltype(_impl_.net_ping_p5_){0u} + , decltype(_impl_.net_ping_p50_){0u} + , decltype(_impl_.net_ping_p95_){0u} + }; +} + +CMsgSource2NetworkFlowQuality::~CMsgSource2NetworkFlowQuality() { + // @@protoc_insertion_point(destructor:CMsgSource2NetworkFlowQuality) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2NetworkFlowQuality::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSource2NetworkFlowQuality::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2NetworkFlowQuality::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2NetworkFlowQuality) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.bytes_total_, 0, static_cast( + reinterpret_cast(&_impl_.enginemsgs_sec_p95_) - + reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.enginemsgs_sec_p95_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.enginemsgs_sec_p99_, 0, static_cast( + reinterpret_cast(&_impl_.ticks_total_) - + reinterpret_cast(&_impl_.enginemsgs_sec_p99_)) + sizeof(_impl_.ticks_total_)); + } + if (cached_has_bits & 0x00ff0000u) { + ::memset(&_impl_.ticks_good_, 0, static_cast( + reinterpret_cast(&_impl_.tick_missrate_samples_total_) - + reinterpret_cast(&_impl_.ticks_good_)) + sizeof(_impl_.tick_missrate_samples_total_)); + } + if (cached_has_bits & 0xff000000u) { + ::memset(&_impl_.tick_missrate_samples_perfect_, 0, static_cast( + reinterpret_cast(&_impl_.recvmargin_p25_) - + reinterpret_cast(&_impl_.tick_missrate_samples_perfect_)) + sizeof(_impl_.recvmargin_p25_)); + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.recvmargin_p50_, 0, static_cast( + reinterpret_cast(&_impl_.packet_misdelivery_rate_p50_x4_) - + reinterpret_cast(&_impl_.recvmargin_p50_)) + sizeof(_impl_.packet_misdelivery_rate_p50_x4_)); + } + if (cached_has_bits & 0x00000f00u) { + ::memset(&_impl_.packet_misdelivery_rate_p95_x4_, 0, static_cast( + reinterpret_cast(&_impl_.net_ping_p95_) - + reinterpret_cast(&_impl_.packet_misdelivery_rate_p95_x4_)) + sizeof(_impl_.net_ping_p95_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2NetworkFlowQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 duration = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_duration(&_impl_._has_bits_); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 bytes_total = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_bytes_total(&_impl_._has_bits_); + _impl_.bytes_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 bytes_total_reliable = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_bytes_total_reliable(&_impl_._has_bits_); + _impl_.bytes_total_reliable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 bytes_total_voice = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_bytes_total_voice(&_impl_._has_bits_); + _impl_.bytes_total_voice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bytes_sec_p95 = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_bytes_sec_p95(&_impl_._has_bits_); + _impl_.bytes_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bytes_sec_p99 = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_bytes_sec_p99(&_impl_._has_bits_); + _impl_.bytes_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enginemsgs_total = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_enginemsgs_total(&_impl_._has_bits_); + _impl_.enginemsgs_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enginemsgs_sec_p95 = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_enginemsgs_sec_p95(&_impl_._has_bits_); + _impl_.enginemsgs_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enginemsgs_sec_p99 = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_enginemsgs_sec_p99(&_impl_._has_bits_); + _impl_.enginemsgs_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframes_total = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + _Internal::set_has_netframes_total(&_impl_._has_bits_); + _impl_.netframes_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframes_dropped = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_netframes_dropped(&_impl_._has_bits_); + _impl_.netframes_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframes_outoforder = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_netframes_outoforder(&_impl_._has_bits_); + _impl_.netframes_outoforder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframes_size_exceeds_mtu = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_netframes_size_exceeds_mtu(&_impl_._has_bits_); + _impl_.netframes_size_exceeds_mtu_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframes_size_p95 = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_netframes_size_p95(&_impl_._has_bits_); + _impl_.netframes_size_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframes_size_p99 = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_netframes_size_p99(&_impl_._has_bits_); + _impl_.netframes_size_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_total = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_ticks_total(&_impl_._has_bits_); + _impl_.ticks_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_good = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_ticks_good(&_impl_._has_bits_); + _impl_.ticks_good_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_good_almost_late = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_ticks_good_almost_late(&_impl_._has_bits_); + _impl_.ticks_good_almost_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_fixed_dropped = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_ticks_fixed_dropped(&_impl_._has_bits_); + _impl_.ticks_fixed_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_fixed_late = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_ticks_fixed_late(&_impl_._has_bits_); + _impl_.ticks_fixed_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_bad_dropped = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_ticks_bad_dropped(&_impl_._has_bits_); + _impl_.ticks_bad_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_bad_late = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_ticks_bad_late(&_impl_._has_bits_); + _impl_.ticks_bad_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_bad_other = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_ticks_bad_other(&_impl_._has_bits_); + _impl_.ticks_bad_other_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missrate_samples_total = 50; + case 50: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_tick_missrate_samples_total(&_impl_._has_bits_); + _impl_.tick_missrate_samples_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missrate_samples_perfect = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_tick_missrate_samples_perfect(&_impl_._has_bits_); + _impl_.tick_missrate_samples_perfect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missrate_samples_perfectnet = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_tick_missrate_samples_perfectnet(&_impl_._has_bits_); + _impl_.tick_missrate_samples_perfectnet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missratenet_p75_x10 = 53; + case 53: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_tick_missratenet_p75_x10(&_impl_._has_bits_); + _impl_.tick_missratenet_p75_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missratenet_p95_x10 = 54; + case 54: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_tick_missratenet_p95_x10(&_impl_._has_bits_); + _impl_.tick_missratenet_p95_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missratenet_p99_x10 = 55; + case 55: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_tick_missratenet_p99_x10(&_impl_._has_bits_); + _impl_.tick_missratenet_p99_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p1 = 61; + case 61: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + _Internal::set_has_recvmargin_p1(&_impl_._has_bits_); + _impl_.recvmargin_p1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p5 = 62; + case 62: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + _Internal::set_has_recvmargin_p5(&_impl_._has_bits_); + _impl_.recvmargin_p5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p25 = 63; + case 63: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_recvmargin_p25(&_impl_._has_bits_); + _impl_.recvmargin_p25_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p50 = 64; + case 64: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_recvmargin_p50(&_impl_._has_bits_); + _impl_.recvmargin_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p75 = 65; + case 65: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_recvmargin_p75(&_impl_._has_bits_); + _impl_.recvmargin_p75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p95 = 66; + case 66: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_recvmargin_p95(&_impl_._has_bits_); + _impl_.recvmargin_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframe_jitter_p50 = 70; + case 70: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_netframe_jitter_p50(&_impl_._has_bits_); + _impl_.netframe_jitter_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 netframe_jitter_p99 = 71; + case 71: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_netframe_jitter_p99(&_impl_._has_bits_); + _impl_.netframe_jitter_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 interval_peakjitter_p50 = 72; + case 72: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_interval_peakjitter_p50(&_impl_._has_bits_); + _impl_.interval_peakjitter_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 interval_peakjitter_p95 = 73; + case 73: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_interval_peakjitter_p95(&_impl_._has_bits_); + _impl_.interval_peakjitter_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 packet_misdelivery_rate_p50_x4 = 74; + case 74: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_packet_misdelivery_rate_p50_x4(&_impl_._has_bits_); + _impl_.packet_misdelivery_rate_p50_x4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 packet_misdelivery_rate_p95_x4 = 75; + case 75: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_packet_misdelivery_rate_p95_x4(&_impl_._has_bits_); + _impl_.packet_misdelivery_rate_p95_x4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 net_ping_p5 = 80; + case 80: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_net_ping_p5(&_impl_._has_bits_); + _impl_.net_ping_p5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 net_ping_p50 = 81; + case 81: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_net_ping_p50(&_impl_._has_bits_); + _impl_.net_ping_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 net_ping_p95 = 82; + case 82: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_net_ping_p95(&_impl_._has_bits_); + _impl_.net_ping_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2NetworkFlowQuality::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2NetworkFlowQuality) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 duration = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_duration(), target); + } + + // optional uint64 bytes_total = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_bytes_total(), target); + } + + // optional uint64 bytes_total_reliable = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_bytes_total_reliable(), target); + } + + // optional uint64 bytes_total_voice = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_bytes_total_voice(), target); + } + + // optional uint32 bytes_sec_p95 = 10; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_bytes_sec_p95(), target); + } + + // optional uint32 bytes_sec_p99 = 11; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_bytes_sec_p99(), target); + } + + // optional uint32 enginemsgs_total = 20; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_enginemsgs_total(), target); + } + + // optional uint32 enginemsgs_sec_p95 = 21; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_enginemsgs_sec_p95(), target); + } + + // optional uint32 enginemsgs_sec_p99 = 22; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_enginemsgs_sec_p99(), target); + } + + // optional uint32 netframes_total = 30; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(30, this->_internal_netframes_total(), target); + } + + // optional uint32 netframes_dropped = 31; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_netframes_dropped(), target); + } + + // optional uint32 netframes_outoforder = 32; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_netframes_outoforder(), target); + } + + // optional uint32 netframes_size_exceeds_mtu = 34; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_netframes_size_exceeds_mtu(), target); + } + + // optional uint32 netframes_size_p95 = 35; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(35, this->_internal_netframes_size_p95(), target); + } + + // optional uint32 netframes_size_p99 = 36; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(36, this->_internal_netframes_size_p99(), target); + } + + // optional uint32 ticks_total = 40; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(40, this->_internal_ticks_total(), target); + } + + // optional uint32 ticks_good = 41; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_ticks_good(), target); + } + + // optional uint32 ticks_good_almost_late = 42; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_ticks_good_almost_late(), target); + } + + // optional uint32 ticks_fixed_dropped = 43; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_ticks_fixed_dropped(), target); + } + + // optional uint32 ticks_fixed_late = 44; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_ticks_fixed_late(), target); + } + + // optional uint32 ticks_bad_dropped = 45; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_ticks_bad_dropped(), target); + } + + // optional uint32 ticks_bad_late = 46; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_ticks_bad_late(), target); + } + + // optional uint32 ticks_bad_other = 47; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_ticks_bad_other(), target); + } + + // optional uint32 tick_missrate_samples_total = 50; + if (cached_has_bits & 0x00800000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_tick_missrate_samples_total(), target); + } + + // optional uint32 tick_missrate_samples_perfect = 51; + if (cached_has_bits & 0x01000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_tick_missrate_samples_perfect(), target); + } + + // optional uint32 tick_missrate_samples_perfectnet = 52; + if (cached_has_bits & 0x02000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_tick_missrate_samples_perfectnet(), target); + } + + // optional uint32 tick_missratenet_p75_x10 = 53; + if (cached_has_bits & 0x04000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(53, this->_internal_tick_missratenet_p75_x10(), target); + } + + // optional uint32 tick_missratenet_p95_x10 = 54; + if (cached_has_bits & 0x08000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(54, this->_internal_tick_missratenet_p95_x10(), target); + } + + // optional uint32 tick_missratenet_p99_x10 = 55; + if (cached_has_bits & 0x10000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(55, this->_internal_tick_missratenet_p99_x10(), target); + } + + // optional sint32 recvmargin_p1 = 61; + if (cached_has_bits & 0x20000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(61, this->_internal_recvmargin_p1(), target); + } + + // optional sint32 recvmargin_p5 = 62; + if (cached_has_bits & 0x40000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(62, this->_internal_recvmargin_p5(), target); + } + + // optional sint32 recvmargin_p25 = 63; + if (cached_has_bits & 0x80000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(63, this->_internal_recvmargin_p25(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional sint32 recvmargin_p50 = 64; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(64, this->_internal_recvmargin_p50(), target); + } + + // optional sint32 recvmargin_p75 = 65; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(65, this->_internal_recvmargin_p75(), target); + } + + // optional sint32 recvmargin_p95 = 66; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(66, this->_internal_recvmargin_p95(), target); + } + + // optional uint32 netframe_jitter_p50 = 70; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(70, this->_internal_netframe_jitter_p50(), target); + } + + // optional uint32 netframe_jitter_p99 = 71; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(71, this->_internal_netframe_jitter_p99(), target); + } + + // optional uint32 interval_peakjitter_p50 = 72; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(72, this->_internal_interval_peakjitter_p50(), target); + } + + // optional uint32 interval_peakjitter_p95 = 73; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(73, this->_internal_interval_peakjitter_p95(), target); + } + + // optional uint32 packet_misdelivery_rate_p50_x4 = 74; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(74, this->_internal_packet_misdelivery_rate_p50_x4(), target); + } + + // optional uint32 packet_misdelivery_rate_p95_x4 = 75; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(75, this->_internal_packet_misdelivery_rate_p95_x4(), target); + } + + // optional uint32 net_ping_p5 = 80; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(80, this->_internal_net_ping_p5(), target); + } + + // optional uint32 net_ping_p50 = 81; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(81, this->_internal_net_ping_p50(), target); + } + + // optional uint32 net_ping_p95 = 82; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(82, this->_internal_net_ping_p95(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2NetworkFlowQuality) + return target; +} + +size_t CMsgSource2NetworkFlowQuality::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2NetworkFlowQuality) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 bytes_total = 5; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total()); + } + + // optional uint32 duration = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duration()); + } + + // optional uint32 bytes_sec_p95 = 10; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p95()); + } + + // optional uint64 bytes_total_reliable = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_reliable()); + } + + // optional uint64 bytes_total_voice = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_voice()); + } + + // optional uint32 bytes_sec_p99 = 11; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p99()); + } + + // optional uint32 enginemsgs_total = 20; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enginemsgs_total()); + } + + // optional uint32 enginemsgs_sec_p95 = 21; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enginemsgs_sec_p95()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 enginemsgs_sec_p99 = 22; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enginemsgs_sec_p99()); + } + + // optional uint32 netframes_total = 30; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframes_total()); + } + + // optional uint32 netframes_dropped = 31; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframes_dropped()); + } + + // optional uint32 netframes_outoforder = 32; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframes_outoforder()); + } + + // optional uint32 netframes_size_exceeds_mtu = 34; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframes_size_exceeds_mtu()); + } + + // optional uint32 netframes_size_p95 = 35; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframes_size_p95()); + } + + // optional uint32 netframes_size_p99 = 36; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframes_size_p99()); + } + + // optional uint32 ticks_total = 40; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_total()); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional uint32 ticks_good = 41; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_good()); + } + + // optional uint32 ticks_good_almost_late = 42; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_good_almost_late()); + } + + // optional uint32 ticks_fixed_dropped = 43; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_fixed_dropped()); + } + + // optional uint32 ticks_fixed_late = 44; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_fixed_late()); + } + + // optional uint32 ticks_bad_dropped = 45; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_bad_dropped()); + } + + // optional uint32 ticks_bad_late = 46; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_bad_late()); + } + + // optional uint32 ticks_bad_other = 47; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_bad_other()); + } + + // optional uint32 tick_missrate_samples_total = 50; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missrate_samples_total()); + } + + } + if (cached_has_bits & 0xff000000u) { + // optional uint32 tick_missrate_samples_perfect = 51; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missrate_samples_perfect()); + } + + // optional uint32 tick_missrate_samples_perfectnet = 52; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missrate_samples_perfectnet()); + } + + // optional uint32 tick_missratenet_p75_x10 = 53; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missratenet_p75_x10()); + } + + // optional uint32 tick_missratenet_p95_x10 = 54; + if (cached_has_bits & 0x08000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missratenet_p95_x10()); + } + + // optional uint32 tick_missratenet_p99_x10 = 55; + if (cached_has_bits & 0x10000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missratenet_p99_x10()); + } + + // optional sint32 recvmargin_p1 = 61; + if (cached_has_bits & 0x20000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p1()); + } + + // optional sint32 recvmargin_p5 = 62; + if (cached_has_bits & 0x40000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p5()); + } + + // optional sint32 recvmargin_p25 = 63; + if (cached_has_bits & 0x80000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p25()); + } + + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + // optional sint32 recvmargin_p50 = 64; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p50()); + } + + // optional sint32 recvmargin_p75 = 65; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p75()); + } + + // optional sint32 recvmargin_p95 = 66; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p95()); + } + + // optional uint32 netframe_jitter_p50 = 70; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframe_jitter_p50()); + } + + // optional uint32 netframe_jitter_p99 = 71; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_netframe_jitter_p99()); + } + + // optional uint32 interval_peakjitter_p50 = 72; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_interval_peakjitter_p50()); + } + + // optional uint32 interval_peakjitter_p95 = 73; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_interval_peakjitter_p95()); + } + + // optional uint32 packet_misdelivery_rate_p50_x4 = 74; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_packet_misdelivery_rate_p50_x4()); + } + + } + if (cached_has_bits & 0x00000f00u) { + // optional uint32 packet_misdelivery_rate_p95_x4 = 75; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_packet_misdelivery_rate_p95_x4()); + } + + // optional uint32 net_ping_p5 = 80; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_net_ping_p5()); + } + + // optional uint32 net_ping_p50 = 81; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_net_ping_p50()); + } + + // optional uint32 net_ping_p95 = 82; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_net_ping_p95()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2NetworkFlowQuality::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2NetworkFlowQuality::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2NetworkFlowQuality::GetClassData() const { return &_class_data_; } + + +void CMsgSource2NetworkFlowQuality::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2NetworkFlowQuality) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.bytes_total_ = from._impl_.bytes_total_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bytes_sec_p95_ = from._impl_.bytes_sec_p95_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.bytes_total_reliable_ = from._impl_.bytes_total_reliable_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.bytes_total_voice_ = from._impl_.bytes_total_voice_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.bytes_sec_p99_ = from._impl_.bytes_sec_p99_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.enginemsgs_total_ = from._impl_.enginemsgs_total_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.enginemsgs_sec_p95_ = from._impl_.enginemsgs_sec_p95_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.enginemsgs_sec_p99_ = from._impl_.enginemsgs_sec_p99_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.netframes_total_ = from._impl_.netframes_total_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.netframes_dropped_ = from._impl_.netframes_dropped_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.netframes_outoforder_ = from._impl_.netframes_outoforder_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.netframes_size_exceeds_mtu_ = from._impl_.netframes_size_exceeds_mtu_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.netframes_size_p95_ = from._impl_.netframes_size_p95_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.netframes_size_p99_ = from._impl_.netframes_size_p99_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.ticks_total_ = from._impl_.ticks_total_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.ticks_good_ = from._impl_.ticks_good_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.ticks_good_almost_late_ = from._impl_.ticks_good_almost_late_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.ticks_fixed_dropped_ = from._impl_.ticks_fixed_dropped_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.ticks_fixed_late_ = from._impl_.ticks_fixed_late_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.ticks_bad_dropped_ = from._impl_.ticks_bad_dropped_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.ticks_bad_late_ = from._impl_.ticks_bad_late_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.ticks_bad_other_ = from._impl_.ticks_bad_other_; + } + if (cached_has_bits & 0x00800000u) { + _this->_impl_.tick_missrate_samples_total_ = from._impl_.tick_missrate_samples_total_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_impl_.tick_missrate_samples_perfect_ = from._impl_.tick_missrate_samples_perfect_; + } + if (cached_has_bits & 0x02000000u) { + _this->_impl_.tick_missrate_samples_perfectnet_ = from._impl_.tick_missrate_samples_perfectnet_; + } + if (cached_has_bits & 0x04000000u) { + _this->_impl_.tick_missratenet_p75_x10_ = from._impl_.tick_missratenet_p75_x10_; + } + if (cached_has_bits & 0x08000000u) { + _this->_impl_.tick_missratenet_p95_x10_ = from._impl_.tick_missratenet_p95_x10_; + } + if (cached_has_bits & 0x10000000u) { + _this->_impl_.tick_missratenet_p99_x10_ = from._impl_.tick_missratenet_p99_x10_; + } + if (cached_has_bits & 0x20000000u) { + _this->_impl_.recvmargin_p1_ = from._impl_.recvmargin_p1_; + } + if (cached_has_bits & 0x40000000u) { + _this->_impl_.recvmargin_p5_ = from._impl_.recvmargin_p5_; + } + if (cached_has_bits & 0x80000000u) { + _this->_impl_.recvmargin_p25_ = from._impl_.recvmargin_p25_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + cached_has_bits = from._impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.recvmargin_p50_ = from._impl_.recvmargin_p50_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.recvmargin_p75_ = from._impl_.recvmargin_p75_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.recvmargin_p95_ = from._impl_.recvmargin_p95_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.netframe_jitter_p50_ = from._impl_.netframe_jitter_p50_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.netframe_jitter_p99_ = from._impl_.netframe_jitter_p99_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.interval_peakjitter_p50_ = from._impl_.interval_peakjitter_p50_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.interval_peakjitter_p95_ = from._impl_.interval_peakjitter_p95_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.packet_misdelivery_rate_p50_x4_ = from._impl_.packet_misdelivery_rate_p50_x4_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + if (cached_has_bits & 0x00000f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.packet_misdelivery_rate_p95_x4_ = from._impl_.packet_misdelivery_rate_p95_x4_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.net_ping_p5_ = from._impl_.net_ping_p5_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.net_ping_p50_ = from._impl_.net_ping_p50_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.net_ping_p95_ = from._impl_.net_ping_p95_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2NetworkFlowQuality::CopyFrom(const CMsgSource2NetworkFlowQuality& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2NetworkFlowQuality) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2NetworkFlowQuality::IsInitialized() const { + return true; +} + +void CMsgSource2NetworkFlowQuality::InternalSwap(CMsgSource2NetworkFlowQuality* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.net_ping_p95_) + + sizeof(CMsgSource2NetworkFlowQuality::_impl_.net_ping_p95_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.bytes_total_)>( + reinterpret_cast(&_impl_.bytes_total_), + reinterpret_cast(&other->_impl_.bytes_total_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2NetworkFlowQuality::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[3]); +} + +// =================================================================== + +class CMsgSource2PerfIntervalSample_Tag::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_max_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgSource2PerfIntervalSample.Tag) +} +CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2PerfIntervalSample_Tag* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.max_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_tag()) { + _this->_impl_.tag_.Set(from._internal_tag(), + _this->GetArenaForAllocation()); + } + _this->_impl_.max_value_ = from._impl_.max_value_; + // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample.Tag) +} + +inline void CMsgSource2PerfIntervalSample_Tag::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.max_value_){0u} + }; + _impl_.tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource2PerfIntervalSample_Tag::~CMsgSource2PerfIntervalSample_Tag() { + // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample.Tag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2PerfIntervalSample_Tag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tag_.Destroy(); +} + +void CMsgSource2PerfIntervalSample_Tag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2PerfIntervalSample_Tag::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample.Tag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.tag_.ClearNonDefaultToEmpty(); + } + _impl_.max_value_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2PerfIntervalSample_Tag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string tag = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2PerfIntervalSample.Tag.tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 max_value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_max_value(&has_bits); + _impl_.max_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2PerfIntervalSample_Tag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample.Tag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string tag = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2PerfIntervalSample.Tag.tag"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_tag(), target); + } + + // optional uint32 max_value = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_max_value(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2PerfIntervalSample.Tag) + return target; +} + +size_t CMsgSource2PerfIntervalSample_Tag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample.Tag) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string tag = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tag()); + } + + // optional uint32 max_value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample_Tag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2PerfIntervalSample_Tag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample_Tag::GetClassData() const { return &_class_data_; } + + +void CMsgSource2PerfIntervalSample_Tag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2PerfIntervalSample.Tag) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_tag(from._internal_tag()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.max_value_ = from._impl_.max_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2PerfIntervalSample_Tag::CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample.Tag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2PerfIntervalSample_Tag::IsInitialized() const { + return true; +} + +void CMsgSource2PerfIntervalSample_Tag::InternalSwap(CMsgSource2PerfIntervalSample_Tag* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.tag_, lhs_arena, + &other->_impl_.tag_, rhs_arena + ); + swap(_impl_.max_value_, other->_impl_.max_value_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample_Tag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[4]); +} + +// =================================================================== + +class CMsgSource2PerfIntervalSample::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_frame_time_max_ms(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_frame_time_avg_ms(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_frame_time_min_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_frame_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_frame_time_total_ms(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CMsgSource2PerfIntervalSample) +} +CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2PerfIntervalSample* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){from._impl_.tags_} + , decltype(_impl_.frame_time_max_ms_){} + , decltype(_impl_.frame_time_avg_ms_){} + , decltype(_impl_.frame_time_min_ms_){} + , decltype(_impl_.frame_count_){} + , decltype(_impl_.frame_time_total_ms_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.frame_time_max_ms_, &from._impl_.frame_time_max_ms_, + static_cast(reinterpret_cast(&_impl_.frame_time_total_ms_) - + reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample) +} + +inline void CMsgSource2PerfIntervalSample::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){arena} + , decltype(_impl_.frame_time_max_ms_){0} + , decltype(_impl_.frame_time_avg_ms_){0} + , decltype(_impl_.frame_time_min_ms_){0} + , decltype(_impl_.frame_count_){0} + , decltype(_impl_.frame_time_total_ms_){0} + }; +} + +CMsgSource2PerfIntervalSample::~CMsgSource2PerfIntervalSample() { + // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2PerfIntervalSample::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tags_.~RepeatedPtrField(); +} + +void CMsgSource2PerfIntervalSample::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2PerfIntervalSample::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.frame_time_max_ms_, 0, static_cast( + reinterpret_cast(&_impl_.frame_time_total_ms_) - + reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2PerfIntervalSample::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float frame_time_max_ms = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_frame_time_max_ms(&has_bits); + _impl_.frame_time_max_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frame_time_avg_ms = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_frame_time_avg_ms(&has_bits); + _impl_.frame_time_avg_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frame_time_min_ms = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frame_time_min_ms(&has_bits); + _impl_.frame_time_min_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 frame_count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_frame_count(&has_bits); + _impl_.frame_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float frame_time_total_ms = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_frame_time_total_ms(&has_bits); + _impl_.frame_time_total_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tags(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2PerfIntervalSample::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float frame_time_max_ms = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_frame_time_max_ms(), target); + } + + // optional float frame_time_avg_ms = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_frame_time_avg_ms(), target); + } + + // optional float frame_time_min_ms = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frame_time_min_ms(), target); + } + + // optional int32 frame_count = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_frame_count(), target); + } + + // optional float frame_time_total_ms = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_frame_time_total_ms(), target); + } + + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_tags_size()); i < n; i++) { + const auto& repfield = this->_internal_tags(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2PerfIntervalSample) + return target; +} + +size_t CMsgSource2PerfIntervalSample::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + total_size += 1UL * this->_internal_tags_size(); + for (const auto& msg : this->_impl_.tags_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional float frame_time_max_ms = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float frame_time_avg_ms = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float frame_time_min_ms = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 frame_count = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_frame_count()); + } + + // optional float frame_time_total_ms = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2PerfIntervalSample::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample::GetClassData() const { return &_class_data_; } + + +void CMsgSource2PerfIntervalSample::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2PerfIntervalSample) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tags_.MergeFrom(from._impl_.tags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.frame_time_max_ms_ = from._impl_.frame_time_max_ms_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.frame_time_avg_ms_ = from._impl_.frame_time_avg_ms_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frame_time_min_ms_ = from._impl_.frame_time_min_ms_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.frame_count_ = from._impl_.frame_count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.frame_time_total_ms_ = from._impl_.frame_time_total_ms_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2PerfIntervalSample::CopyFrom(const CMsgSource2PerfIntervalSample& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2PerfIntervalSample::IsInitialized() const { + return true; +} + +void CMsgSource2PerfIntervalSample::InternalSwap(CMsgSource2PerfIntervalSample* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.tags_.InternalSwap(&other->_impl_.tags_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_) + + sizeof(CMsgSource2PerfIntervalSample::_impl_.frame_time_total_ms_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_)>( + reinterpret_cast(&_impl_.frame_time_max_ms_), + reinterpret_cast(&other->_impl_.frame_time_max_ms_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[5]); +} + +// =================================================================== + +class CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSource2SystemSpecs& system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_system_specs(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSource2VProfLiteReport& profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_profile(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_build_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSource2NetworkFlowQuality& downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_downstream_flow(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSource2NetworkFlowQuality& upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_upstream_flow(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgSource2SystemSpecs& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.system_specs_; +} +const ::CMsgSource2VProfLiteReport& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.profile_; +} +const ::CMsgSource2NetworkFlowQuality& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.downstream_flow_; +} +const ::CMsgSource2NetworkFlowQuality& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.upstream_flow_; +} +CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) +} +CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSource2Metrics_MatchPerfSummary_Notification_Client* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.perf_samples_){from._impl_.perf_samples_} + , decltype(_impl_.system_specs_){nullptr} + , decltype(_impl_.profile_){nullptr} + , decltype(_impl_.downstream_flow_){nullptr} + , decltype(_impl_.upstream_flow_){nullptr} + , decltype(_impl_.steamid_){} + , decltype(_impl_.build_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_system_specs()) { + _this->_impl_.system_specs_ = new ::CMsgSource2SystemSpecs(*from._impl_.system_specs_); + } + if (from._internal_has_profile()) { + _this->_impl_.profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.profile_); + } + if (from._internal_has_downstream_flow()) { + _this->_impl_.downstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.downstream_flow_); + } + if (from._internal_has_upstream_flow()) { + _this->_impl_.upstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.upstream_flow_); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.build_id_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); + // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) +} + +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.perf_samples_){arena} + , decltype(_impl_.system_specs_){nullptr} + , decltype(_impl_.profile_){nullptr} + , decltype(_impl_.downstream_flow_){nullptr} + , decltype(_impl_.upstream_flow_){nullptr} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.build_id_){0u} + }; +} + +CSource2Metrics_MatchPerfSummary_Notification_Client::~CSource2Metrics_MatchPerfSummary_Notification_Client() { + // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification.Client) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.perf_samples_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.system_specs_; + if (this != internal_default_instance()) delete _impl_.profile_; + if (this != internal_default_instance()) delete _impl_.downstream_flow_; + if (this != internal_default_instance()) delete _impl_.upstream_flow_; +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::Clear() { +// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.perf_samples_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.system_specs_ != nullptr); + _impl_.system_specs_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.profile_ != nullptr); + _impl_.profile_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.downstream_flow_ != nullptr); + _impl_.downstream_flow_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.upstream_flow_ != nullptr); + _impl_.upstream_flow_->Clear(); + } + } + if (cached_has_bits & 0x00000030u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.build_id_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSource2SystemSpecs system_specs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_system_specs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2VProfLiteReport profile = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_profile(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 build_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_build_id(&has_bits); + _impl_.build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_downstream_flow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_upstream_flow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_perf_samples(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSource2SystemSpecs system_specs = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::system_specs(this), + _Internal::system_specs(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2VProfLiteReport profile = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::profile(this), + _Internal::profile(this).GetCachedSize(), target, stream); + } + + // optional uint32 build_id = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_build_id(), target); + } + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::downstream_flow(this), + _Internal::downstream_flow(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::upstream_flow(this), + _Internal::upstream_flow(this).GetCachedSize(), target, stream); + } + + // optional fixed64 steamid = 10; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_steamid(), target); + } + + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + for (unsigned i = 0, + n = static_cast(this->_internal_perf_samples_size()); i < n; i++) { + const auto& repfield = this->_internal_perf_samples(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CSource2Metrics_MatchPerfSummary_Notification.Client) + return target; +} + +size_t CSource2Metrics_MatchPerfSummary_Notification_Client::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + total_size += 1UL * this->_internal_perf_samples_size(); + for (const auto& msg : this->_impl_.perf_samples_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional .CMsgSource2SystemSpecs system_specs = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.system_specs_); + } + + // optional .CMsgSource2VProfLiteReport profile = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.profile_); + } + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.downstream_flow_); + } + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.upstream_flow_); + } + + // optional fixed64 steamid = 10; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional uint32 build_id = 3; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_build_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification_Client::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification_Client::GetClassData() const { return &_class_data_; } + + +void CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.perf_samples_.MergeFrom(from._impl_.perf_samples_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_system_specs()->::CMsgSource2SystemSpecs::MergeFrom( + from._internal_system_specs()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_profile()->::CMsgSource2VProfLiteReport::MergeFrom( + from._internal_profile()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_downstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( + from._internal_downstream_flow()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_upstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( + from._internal_upstream_flow()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.build_id_ = from._impl_.build_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSource2Metrics_MatchPerfSummary_Notification_Client::IsInitialized() const { + return true; +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.perf_samples_.InternalSwap(&other->_impl_.perf_samples_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_) + + sizeof(CSource2Metrics_MatchPerfSummary_Notification_Client::_impl_.build_id_) + - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_)>( + reinterpret_cast(&_impl_.system_specs_), + reinterpret_cast(&other->_impl_.system_specs_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification_Client::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[6]); +} + +// =================================================================== + +class CSource2Metrics_MatchPerfSummary_Notification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_server_build_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_server_popid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSource2VProfLiteReport& server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg); + static void set_has_server_profile(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_map(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSource2VProfLiteReport& +CSource2Metrics_MatchPerfSummary_Notification::_Internal::server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg) { + return *msg->_impl_.server_profile_; +} +CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CSource2Metrics_MatchPerfSummary_Notification) +} +CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSource2Metrics_MatchPerfSummary_Notification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clients_){from._impl_.clients_} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.map_){} + , decltype(_impl_.server_profile_){nullptr} + , decltype(_impl_.appid_){} + , decltype(_impl_.server_build_id_){} + , decltype(_impl_.server_popid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_mode()) { + _this->_impl_.game_mode_.Set(from._internal_game_mode(), + _this->GetArenaForAllocation()); + } + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map()) { + _this->_impl_.map_.Set(from._internal_map(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_server_profile()) { + _this->_impl_.server_profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.server_profile_); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.server_popid_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); + // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification) +} + +inline void CSource2Metrics_MatchPerfSummary_Notification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clients_){arena} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.map_){} + , decltype(_impl_.server_profile_){nullptr} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.server_build_id_){0u} + , decltype(_impl_.server_popid_){0u} + }; + _impl_.game_mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSource2Metrics_MatchPerfSummary_Notification::~CSource2Metrics_MatchPerfSummary_Notification() { + // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSource2Metrics_MatchPerfSummary_Notification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.clients_.~RepeatedPtrField(); + _impl_.game_mode_.Destroy(); + _impl_.map_.Destroy(); + if (this != internal_default_instance()) delete _impl_.server_profile_; +} + +void CSource2Metrics_MatchPerfSummary_Notification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSource2Metrics_MatchPerfSummary_Notification::Clear() { +// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.clients_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_mode_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.map_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.server_profile_ != nullptr); + _impl_.server_profile_->Clear(); + } + } + if (cached_has_bits & 0x00000038u) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.server_popid_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSource2Metrics_MatchPerfSummary_Notification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string game_mode = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_game_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 server_build_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_server_build_id(&has_bits); + _impl_.server_build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_popid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_server_popid(&has_bits); + _impl_.server_popid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2VProfLiteReport server_profile = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_server_profile(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_clients(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + // optional string map = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + auto str = _internal_mutable_map(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.map"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSource2Metrics_MatchPerfSummary_Notification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional string game_mode = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_mode().data(), static_cast(this->_internal_game_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_game_mode(), target); + } + + // optional uint32 server_build_id = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_build_id(), target); + } + + // optional fixed32 server_popid = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_server_popid(), target); + } + + // optional .CMsgSource2VProfLiteReport server_profile = 10; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::server_profile(this), + _Internal::server_profile(this).GetCachedSize(), target, stream); + } + + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + for (unsigned i = 0, + n = static_cast(this->_internal_clients_size()); i < n; i++) { + const auto& repfield = this->_internal_clients(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional string map = 20; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map().data(), static_cast(this->_internal_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSource2Metrics_MatchPerfSummary_Notification.map"); + target = stream->WriteStringMaybeAliased( + 20, this->_internal_map(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CSource2Metrics_MatchPerfSummary_Notification) + return target; +} + +size_t CSource2Metrics_MatchPerfSummary_Notification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + total_size += 1UL * this->_internal_clients_size(); + for (const auto& msg : this->_impl_.clients_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string game_mode = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_mode()); + } + + // optional string map = 20; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map()); + } + + // optional .CMsgSource2VProfLiteReport server_profile = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.server_profile_); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 server_build_id = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_build_id()); + } + + // optional fixed32 server_popid = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSource2Metrics_MatchPerfSummary_Notification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification::GetClassData() const { return &_class_data_; } + + +void CSource2Metrics_MatchPerfSummary_Notification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CSource2Metrics_MatchPerfSummary_Notification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.clients_.MergeFrom(from._impl_.clients_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_mode(from._internal_game_mode()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_map(from._internal_map()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_server_profile()->::CMsgSource2VProfLiteReport::MergeFrom( + from._internal_server_profile()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.server_build_id_ = from._impl_.server_build_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.server_popid_ = from._impl_.server_popid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSource2Metrics_MatchPerfSummary_Notification::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSource2Metrics_MatchPerfSummary_Notification::IsInitialized() const { + return true; +} + +void CSource2Metrics_MatchPerfSummary_Notification::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.clients_.InternalSwap(&other->_impl_.clients_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_mode_, lhs_arena, + &other->_impl_.game_mode_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_, lhs_arena, + &other->_impl_.map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_) + + sizeof(CSource2Metrics_MatchPerfSummary_Notification::_impl_.server_popid_) + - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_)>( + reinterpret_cast(&_impl_.server_profile_), + reinterpret_cast(&other->_impl_.server_profile_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_source2_5fsteam_5fstats_2eproto_getter, &descriptor_table_source2_5fsteam_5fstats_2eproto_once, + file_level_metadata_source2_5fsteam_5fstats_2eproto[7]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSource2SystemSpecs* +Arena::CreateMaybeMessage< ::CMsgSource2SystemSpecs >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2SystemSpecs >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReportItem* +Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReportItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReportItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReport* +Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReport >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReport >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2NetworkFlowQuality* +Arena::CreateMaybeMessage< ::CMsgSource2NetworkFlowQuality >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2NetworkFlowQuality >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample_Tag* +Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample_Tag >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample_Tag >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample* +Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample >(arena); +} +template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification_Client* +Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(arena); +} +template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification* +Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/source2_steam_stats.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/source2_steam_stats.pb.h new file mode 100644 index 0000000..810236c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/source2_steam_stats.pb.h @@ -0,0 +1,6482 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: source2_steam_stats.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_source2_5fsteam_5fstats_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_source2_5fsteam_5fstats_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3021000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_source2_5fsteam_5fstats_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_source2_5fsteam_5fstats_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_source2_5fsteam_5fstats_2eproto; +class CMsgSource2NetworkFlowQuality; +struct CMsgSource2NetworkFlowQualityDefaultTypeInternal; +extern CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; +class CMsgSource2PerfIntervalSample; +struct CMsgSource2PerfIntervalSampleDefaultTypeInternal; +extern CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; +class CMsgSource2PerfIntervalSample_Tag; +struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal; +extern CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; +class CMsgSource2SystemSpecs; +struct CMsgSource2SystemSpecsDefaultTypeInternal; +extern CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; +class CMsgSource2VProfLiteReport; +struct CMsgSource2VProfLiteReportDefaultTypeInternal; +extern CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; +class CMsgSource2VProfLiteReportItem; +struct CMsgSource2VProfLiteReportItemDefaultTypeInternal; +extern CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; +class CSource2Metrics_MatchPerfSummary_Notification; +struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal; +extern CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; +class CSource2Metrics_MatchPerfSummary_Notification_Client; +struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal; +extern CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgSource2NetworkFlowQuality* Arena::CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(Arena*); +template<> ::CMsgSource2PerfIntervalSample* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample>(Arena*); +template<> ::CMsgSource2PerfIntervalSample_Tag* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample_Tag>(Arena*); +template<> ::CMsgSource2SystemSpecs* Arena::CreateMaybeMessage<::CMsgSource2SystemSpecs>(Arena*); +template<> ::CMsgSource2VProfLiteReport* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReport>(Arena*); +template<> ::CMsgSource2VProfLiteReportItem* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(Arena*); +template<> ::CSource2Metrics_MatchPerfSummary_Notification* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification>(Arena*); +template<> ::CSource2Metrics_MatchPerfSummary_Notification_Client* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification_Client>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CMsgSource2SystemSpecs final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2SystemSpecs) */ { + public: + inline CMsgSource2SystemSpecs() : CMsgSource2SystemSpecs(nullptr) {} + ~CMsgSource2SystemSpecs() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from); + CMsgSource2SystemSpecs(CMsgSource2SystemSpecs&& from) noexcept + : CMsgSource2SystemSpecs() { + *this = ::std::move(from); + } + + inline CMsgSource2SystemSpecs& operator=(const CMsgSource2SystemSpecs& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2SystemSpecs& operator=(CMsgSource2SystemSpecs&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgSource2SystemSpecs& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2SystemSpecs* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2SystemSpecs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSource2SystemSpecs& a, CMsgSource2SystemSpecs& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2SystemSpecs* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgSource2SystemSpecs* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2SystemSpecs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2SystemSpecs& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2SystemSpecs& from) { + CMsgSource2SystemSpecs::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgSource2SystemSpecs* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2SystemSpecs"; + } + protected: + explicit CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCpuIdFieldNumber = 1, + kCpuBrandFieldNumber = 2, + kGpuRendersystemDllNameFieldNumber = 41, + kGpuDriverNameFieldNumber = 43, + kCpuModelFieldNumber = 3, + kCpuNumPhysicalFieldNumber = 4, + kRamPhysicalTotalMbFieldNumber = 21, + kGpuVendorIdFieldNumber = 42, + kGpuDriverVersionHighFieldNumber = 44, + kGpuDriverVersionLowFieldNumber = 45, + kGpuDxSupportLevelFieldNumber = 46, + kGpuTextureMemorySizeMbFieldNumber = 47, + kBackbufferWidthFieldNumber = 51, + kBackbufferHeightFieldNumber = 52, + }; + // optional string cpu_id = 1; + bool has_cpu_id() const; + private: + bool _internal_has_cpu_id() const; + public: + void clear_cpu_id(); + const std::string& cpu_id() const; + template + void set_cpu_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_cpu_id(); + PROTOBUF_NODISCARD std::string* release_cpu_id(); + void set_allocated_cpu_id(std::string* cpu_id); + private: + const std::string& _internal_cpu_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_id(const std::string& value); + std::string* _internal_mutable_cpu_id(); + public: + + // optional string cpu_brand = 2; + bool has_cpu_brand() const; + private: + bool _internal_has_cpu_brand() const; + public: + void clear_cpu_brand(); + const std::string& cpu_brand() const; + template + void set_cpu_brand(ArgT0&& arg0, ArgT... args); + std::string* mutable_cpu_brand(); + PROTOBUF_NODISCARD std::string* release_cpu_brand(); + void set_allocated_cpu_brand(std::string* cpu_brand); + private: + const std::string& _internal_cpu_brand() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_brand(const std::string& value); + std::string* _internal_mutable_cpu_brand(); + public: + + // optional string gpu_rendersystem_dll_name = 41; + bool has_gpu_rendersystem_dll_name() const; + private: + bool _internal_has_gpu_rendersystem_dll_name() const; + public: + void clear_gpu_rendersystem_dll_name(); + const std::string& gpu_rendersystem_dll_name() const; + template + void set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_gpu_rendersystem_dll_name(); + PROTOBUF_NODISCARD std::string* release_gpu_rendersystem_dll_name(); + void set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name); + private: + const std::string& _internal_gpu_rendersystem_dll_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_rendersystem_dll_name(const std::string& value); + std::string* _internal_mutable_gpu_rendersystem_dll_name(); + public: + + // optional string gpu_driver_name = 43; + bool has_gpu_driver_name() const; + private: + bool _internal_has_gpu_driver_name() const; + public: + void clear_gpu_driver_name(); + const std::string& gpu_driver_name() const; + template + void set_gpu_driver_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_gpu_driver_name(); + PROTOBUF_NODISCARD std::string* release_gpu_driver_name(); + void set_allocated_gpu_driver_name(std::string* gpu_driver_name); + private: + const std::string& _internal_gpu_driver_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_driver_name(const std::string& value); + std::string* _internal_mutable_gpu_driver_name(); + public: + + // optional uint32 cpu_model = 3; + bool has_cpu_model() const; + private: + bool _internal_has_cpu_model() const; + public: + void clear_cpu_model(); + uint32_t cpu_model() const; + void set_cpu_model(uint32_t value); + private: + uint32_t _internal_cpu_model() const; + void _internal_set_cpu_model(uint32_t value); + public: + + // optional uint32 cpu_num_physical = 4; + bool has_cpu_num_physical() const; + private: + bool _internal_has_cpu_num_physical() const; + public: + void clear_cpu_num_physical(); + uint32_t cpu_num_physical() const; + void set_cpu_num_physical(uint32_t value); + private: + uint32_t _internal_cpu_num_physical() const; + void _internal_set_cpu_num_physical(uint32_t value); + public: + + // optional uint32 ram_physical_total_mb = 21; + bool has_ram_physical_total_mb() const; + private: + bool _internal_has_ram_physical_total_mb() const; + public: + void clear_ram_physical_total_mb(); + uint32_t ram_physical_total_mb() const; + void set_ram_physical_total_mb(uint32_t value); + private: + uint32_t _internal_ram_physical_total_mb() const; + void _internal_set_ram_physical_total_mb(uint32_t value); + public: + + // optional uint32 gpu_vendor_id = 42; + bool has_gpu_vendor_id() const; + private: + bool _internal_has_gpu_vendor_id() const; + public: + void clear_gpu_vendor_id(); + uint32_t gpu_vendor_id() const; + void set_gpu_vendor_id(uint32_t value); + private: + uint32_t _internal_gpu_vendor_id() const; + void _internal_set_gpu_vendor_id(uint32_t value); + public: + + // optional uint32 gpu_driver_version_high = 44; + bool has_gpu_driver_version_high() const; + private: + bool _internal_has_gpu_driver_version_high() const; + public: + void clear_gpu_driver_version_high(); + uint32_t gpu_driver_version_high() const; + void set_gpu_driver_version_high(uint32_t value); + private: + uint32_t _internal_gpu_driver_version_high() const; + void _internal_set_gpu_driver_version_high(uint32_t value); + public: + + // optional uint32 gpu_driver_version_low = 45; + bool has_gpu_driver_version_low() const; + private: + bool _internal_has_gpu_driver_version_low() const; + public: + void clear_gpu_driver_version_low(); + uint32_t gpu_driver_version_low() const; + void set_gpu_driver_version_low(uint32_t value); + private: + uint32_t _internal_gpu_driver_version_low() const; + void _internal_set_gpu_driver_version_low(uint32_t value); + public: + + // optional uint32 gpu_dx_support_level = 46; + bool has_gpu_dx_support_level() const; + private: + bool _internal_has_gpu_dx_support_level() const; + public: + void clear_gpu_dx_support_level(); + uint32_t gpu_dx_support_level() const; + void set_gpu_dx_support_level(uint32_t value); + private: + uint32_t _internal_gpu_dx_support_level() const; + void _internal_set_gpu_dx_support_level(uint32_t value); + public: + + // optional uint32 gpu_texture_memory_size_mb = 47; + bool has_gpu_texture_memory_size_mb() const; + private: + bool _internal_has_gpu_texture_memory_size_mb() const; + public: + void clear_gpu_texture_memory_size_mb(); + uint32_t gpu_texture_memory_size_mb() const; + void set_gpu_texture_memory_size_mb(uint32_t value); + private: + uint32_t _internal_gpu_texture_memory_size_mb() const; + void _internal_set_gpu_texture_memory_size_mb(uint32_t value); + public: + + // optional uint32 backbuffer_width = 51; + bool has_backbuffer_width() const; + private: + bool _internal_has_backbuffer_width() const; + public: + void clear_backbuffer_width(); + uint32_t backbuffer_width() const; + void set_backbuffer_width(uint32_t value); + private: + uint32_t _internal_backbuffer_width() const; + void _internal_set_backbuffer_width(uint32_t value); + public: + + // optional uint32 backbuffer_height = 52; + bool has_backbuffer_height() const; + private: + bool _internal_has_backbuffer_height() const; + public: + void clear_backbuffer_height(); + uint32_t backbuffer_height() const; + void set_backbuffer_height(uint32_t value); + private: + uint32_t _internal_backbuffer_height() const; + void _internal_set_backbuffer_height(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2SystemSpecs) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_brand_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_rendersystem_dll_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_driver_name_; + uint32_t cpu_model_; + uint32_t cpu_num_physical_; + uint32_t ram_physical_total_mb_; + uint32_t gpu_vendor_id_; + uint32_t gpu_driver_version_high_; + uint32_t gpu_driver_version_low_; + uint32_t gpu_dx_support_level_; + uint32_t gpu_texture_memory_size_mb_; + uint32_t backbuffer_width_; + uint32_t backbuffer_height_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2VProfLiteReportItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReportItem) */ { + public: + inline CMsgSource2VProfLiteReportItem() : CMsgSource2VProfLiteReportItem(nullptr) {} + ~CMsgSource2VProfLiteReportItem() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from); + CMsgSource2VProfLiteReportItem(CMsgSource2VProfLiteReportItem&& from) noexcept + : CMsgSource2VProfLiteReportItem() { + *this = ::std::move(from); + } + + inline CMsgSource2VProfLiteReportItem& operator=(const CMsgSource2VProfLiteReportItem& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2VProfLiteReportItem& operator=(CMsgSource2VProfLiteReportItem&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgSource2VProfLiteReportItem& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2VProfLiteReportItem* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2VProfLiteReportItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSource2VProfLiteReportItem& a, CMsgSource2VProfLiteReportItem& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2VProfLiteReportItem* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgSource2VProfLiteReportItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2VProfLiteReportItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2VProfLiteReportItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2VProfLiteReportItem& from) { + CMsgSource2VProfLiteReportItem::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgSource2VProfLiteReportItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2VProfLiteReportItem"; + } + protected: + explicit CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kNameFieldNumber = 1, + kActiveSamplesFieldNumber = 2, + kUsecMaxFieldNumber = 3, + kActiveSamples1SecmaxFieldNumber = 4, + kUsecAvgActiveFieldNumber = 11, + kUsecP50ActiveFieldNumber = 12, + kUsecP99ActiveFieldNumber = 13, + kUsecAvgAllFieldNumber = 21, + kUsecP50AllFieldNumber = 22, + kUsecP99AllFieldNumber = 23, + kUsec1SecmaxAvgActiveFieldNumber = 31, + kUsec1SecmaxP50ActiveFieldNumber = 32, + kUsec1SecmaxP95ActiveFieldNumber = 33, + kUsec1SecmaxP99ActiveFieldNumber = 34, + kUsec1SecmaxAvgAllFieldNumber = 41, + kUsec1SecmaxP50AllFieldNumber = 42, + kUsec1SecmaxP95AllFieldNumber = 43, + kUsec1SecmaxP99AllFieldNumber = 44, + }; + // optional string name = 1; + bool has_name() const; + private: + bool _internal_has_name() const; + public: + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // optional uint32 active_samples = 2; + bool has_active_samples() const; + private: + bool _internal_has_active_samples() const; + public: + void clear_active_samples(); + uint32_t active_samples() const; + void set_active_samples(uint32_t value); + private: + uint32_t _internal_active_samples() const; + void _internal_set_active_samples(uint32_t value); + public: + + // optional uint32 usec_max = 3; + bool has_usec_max() const; + private: + bool _internal_has_usec_max() const; + public: + void clear_usec_max(); + uint32_t usec_max() const; + void set_usec_max(uint32_t value); + private: + uint32_t _internal_usec_max() const; + void _internal_set_usec_max(uint32_t value); + public: + + // optional uint32 active_samples_1secmax = 4; + bool has_active_samples_1secmax() const; + private: + bool _internal_has_active_samples_1secmax() const; + public: + void clear_active_samples_1secmax(); + uint32_t active_samples_1secmax() const; + void set_active_samples_1secmax(uint32_t value); + private: + uint32_t _internal_active_samples_1secmax() const; + void _internal_set_active_samples_1secmax(uint32_t value); + public: + + // optional uint32 usec_avg_active = 11; + bool has_usec_avg_active() const; + private: + bool _internal_has_usec_avg_active() const; + public: + void clear_usec_avg_active(); + uint32_t usec_avg_active() const; + void set_usec_avg_active(uint32_t value); + private: + uint32_t _internal_usec_avg_active() const; + void _internal_set_usec_avg_active(uint32_t value); + public: + + // optional uint32 usec_p50_active = 12; + bool has_usec_p50_active() const; + private: + bool _internal_has_usec_p50_active() const; + public: + void clear_usec_p50_active(); + uint32_t usec_p50_active() const; + void set_usec_p50_active(uint32_t value); + private: + uint32_t _internal_usec_p50_active() const; + void _internal_set_usec_p50_active(uint32_t value); + public: + + // optional uint32 usec_p99_active = 13; + bool has_usec_p99_active() const; + private: + bool _internal_has_usec_p99_active() const; + public: + void clear_usec_p99_active(); + uint32_t usec_p99_active() const; + void set_usec_p99_active(uint32_t value); + private: + uint32_t _internal_usec_p99_active() const; + void _internal_set_usec_p99_active(uint32_t value); + public: + + // optional uint32 usec_avg_all = 21; + bool has_usec_avg_all() const; + private: + bool _internal_has_usec_avg_all() const; + public: + void clear_usec_avg_all(); + uint32_t usec_avg_all() const; + void set_usec_avg_all(uint32_t value); + private: + uint32_t _internal_usec_avg_all() const; + void _internal_set_usec_avg_all(uint32_t value); + public: + + // optional uint32 usec_p50_all = 22; + bool has_usec_p50_all() const; + private: + bool _internal_has_usec_p50_all() const; + public: + void clear_usec_p50_all(); + uint32_t usec_p50_all() const; + void set_usec_p50_all(uint32_t value); + private: + uint32_t _internal_usec_p50_all() const; + void _internal_set_usec_p50_all(uint32_t value); + public: + + // optional uint32 usec_p99_all = 23; + bool has_usec_p99_all() const; + private: + bool _internal_has_usec_p99_all() const; + public: + void clear_usec_p99_all(); + uint32_t usec_p99_all() const; + void set_usec_p99_all(uint32_t value); + private: + uint32_t _internal_usec_p99_all() const; + void _internal_set_usec_p99_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_avg_active = 31; + bool has_usec_1secmax_avg_active() const; + private: + bool _internal_has_usec_1secmax_avg_active() const; + public: + void clear_usec_1secmax_avg_active(); + uint32_t usec_1secmax_avg_active() const; + void set_usec_1secmax_avg_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_avg_active() const; + void _internal_set_usec_1secmax_avg_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_p50_active = 32; + bool has_usec_1secmax_p50_active() const; + private: + bool _internal_has_usec_1secmax_p50_active() const; + public: + void clear_usec_1secmax_p50_active(); + uint32_t usec_1secmax_p50_active() const; + void set_usec_1secmax_p50_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p50_active() const; + void _internal_set_usec_1secmax_p50_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_p95_active = 33; + bool has_usec_1secmax_p95_active() const; + private: + bool _internal_has_usec_1secmax_p95_active() const; + public: + void clear_usec_1secmax_p95_active(); + uint32_t usec_1secmax_p95_active() const; + void set_usec_1secmax_p95_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p95_active() const; + void _internal_set_usec_1secmax_p95_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_p99_active = 34; + bool has_usec_1secmax_p99_active() const; + private: + bool _internal_has_usec_1secmax_p99_active() const; + public: + void clear_usec_1secmax_p99_active(); + uint32_t usec_1secmax_p99_active() const; + void set_usec_1secmax_p99_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p99_active() const; + void _internal_set_usec_1secmax_p99_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_avg_all = 41; + bool has_usec_1secmax_avg_all() const; + private: + bool _internal_has_usec_1secmax_avg_all() const; + public: + void clear_usec_1secmax_avg_all(); + uint32_t usec_1secmax_avg_all() const; + void set_usec_1secmax_avg_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_avg_all() const; + void _internal_set_usec_1secmax_avg_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_p50_all = 42; + bool has_usec_1secmax_p50_all() const; + private: + bool _internal_has_usec_1secmax_p50_all() const; + public: + void clear_usec_1secmax_p50_all(); + uint32_t usec_1secmax_p50_all() const; + void set_usec_1secmax_p50_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p50_all() const; + void _internal_set_usec_1secmax_p50_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_p95_all = 43; + bool has_usec_1secmax_p95_all() const; + private: + bool _internal_has_usec_1secmax_p95_all() const; + public: + void clear_usec_1secmax_p95_all(); + uint32_t usec_1secmax_p95_all() const; + void set_usec_1secmax_p95_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p95_all() const; + void _internal_set_usec_1secmax_p95_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_p99_all = 44; + bool has_usec_1secmax_p99_all() const; + private: + bool _internal_has_usec_1secmax_p99_all() const; + public: + void clear_usec_1secmax_p99_all(); + uint32_t usec_1secmax_p99_all() const; + void set_usec_1secmax_p99_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p99_all() const; + void _internal_set_usec_1secmax_p99_all(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReportItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint32_t active_samples_; + uint32_t usec_max_; + uint32_t active_samples_1secmax_; + uint32_t usec_avg_active_; + uint32_t usec_p50_active_; + uint32_t usec_p99_active_; + uint32_t usec_avg_all_; + uint32_t usec_p50_all_; + uint32_t usec_p99_all_; + uint32_t usec_1secmax_avg_active_; + uint32_t usec_1secmax_p50_active_; + uint32_t usec_1secmax_p95_active_; + uint32_t usec_1secmax_p99_active_; + uint32_t usec_1secmax_avg_all_; + uint32_t usec_1secmax_p50_all_; + uint32_t usec_1secmax_p95_all_; + uint32_t usec_1secmax_p99_all_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2VProfLiteReport final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReport) */ { + public: + inline CMsgSource2VProfLiteReport() : CMsgSource2VProfLiteReport(nullptr) {} + ~CMsgSource2VProfLiteReport() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from); + CMsgSource2VProfLiteReport(CMsgSource2VProfLiteReport&& from) noexcept + : CMsgSource2VProfLiteReport() { + *this = ::std::move(from); + } + + inline CMsgSource2VProfLiteReport& operator=(const CMsgSource2VProfLiteReport& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2VProfLiteReport& operator=(CMsgSource2VProfLiteReport&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgSource2VProfLiteReport& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2VProfLiteReport* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2VProfLiteReport_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSource2VProfLiteReport& a, CMsgSource2VProfLiteReport& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2VProfLiteReport* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgSource2VProfLiteReport* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2VProfLiteReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2VProfLiteReport& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2VProfLiteReport& from) { + CMsgSource2VProfLiteReport::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgSource2VProfLiteReport* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2VProfLiteReport"; + } + protected: + explicit CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kItemsFieldNumber = 2, + kTotalFieldNumber = 1, + kDiscardedFramesFieldNumber = 3, + }; + // repeated .CMsgSource2VProfLiteReportItem items = 2; + int items_size() const; + private: + int _internal_items_size() const; + public: + void clear_items(); + ::CMsgSource2VProfLiteReportItem* mutable_items(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* + mutable_items(); + private: + const ::CMsgSource2VProfLiteReportItem& _internal_items(int index) const; + ::CMsgSource2VProfLiteReportItem* _internal_add_items(); + public: + const ::CMsgSource2VProfLiteReportItem& items(int index) const; + ::CMsgSource2VProfLiteReportItem* add_items(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& + items() const; + + // optional .CMsgSource2VProfLiteReportItem total = 1; + bool has_total() const; + private: + bool _internal_has_total() const; + public: + void clear_total(); + const ::CMsgSource2VProfLiteReportItem& total() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReportItem* release_total(); + ::CMsgSource2VProfLiteReportItem* mutable_total(); + void set_allocated_total(::CMsgSource2VProfLiteReportItem* total); + private: + const ::CMsgSource2VProfLiteReportItem& _internal_total() const; + ::CMsgSource2VProfLiteReportItem* _internal_mutable_total(); + public: + void unsafe_arena_set_allocated_total( + ::CMsgSource2VProfLiteReportItem* total); + ::CMsgSource2VProfLiteReportItem* unsafe_arena_release_total(); + + // optional uint32 discarded_frames = 3; + bool has_discarded_frames() const; + private: + bool _internal_has_discarded_frames() const; + public: + void clear_discarded_frames(); + uint32_t discarded_frames() const; + void set_discarded_frames(uint32_t value); + private: + uint32_t _internal_discarded_frames() const; + void _internal_set_discarded_frames(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReport) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem > items_; + ::CMsgSource2VProfLiteReportItem* total_; + uint32_t discarded_frames_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2NetworkFlowQuality final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2NetworkFlowQuality) */ { + public: + inline CMsgSource2NetworkFlowQuality() : CMsgSource2NetworkFlowQuality(nullptr) {} + ~CMsgSource2NetworkFlowQuality() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from); + CMsgSource2NetworkFlowQuality(CMsgSource2NetworkFlowQuality&& from) noexcept + : CMsgSource2NetworkFlowQuality() { + *this = ::std::move(from); + } + + inline CMsgSource2NetworkFlowQuality& operator=(const CMsgSource2NetworkFlowQuality& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2NetworkFlowQuality& operator=(CMsgSource2NetworkFlowQuality&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgSource2NetworkFlowQuality& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2NetworkFlowQuality* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2NetworkFlowQuality_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSource2NetworkFlowQuality& a, CMsgSource2NetworkFlowQuality& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2NetworkFlowQuality* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgSource2NetworkFlowQuality* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2NetworkFlowQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2NetworkFlowQuality& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2NetworkFlowQuality& from) { + CMsgSource2NetworkFlowQuality::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgSource2NetworkFlowQuality* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2NetworkFlowQuality"; + } + protected: + explicit CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kBytesTotalFieldNumber = 5, + kDurationFieldNumber = 1, + kBytesSecP95FieldNumber = 10, + kBytesTotalReliableFieldNumber = 6, + kBytesTotalVoiceFieldNumber = 7, + kBytesSecP99FieldNumber = 11, + kEnginemsgsTotalFieldNumber = 20, + kEnginemsgsSecP95FieldNumber = 21, + kEnginemsgsSecP99FieldNumber = 22, + kNetframesTotalFieldNumber = 30, + kNetframesDroppedFieldNumber = 31, + kNetframesOutoforderFieldNumber = 32, + kNetframesSizeExceedsMtuFieldNumber = 34, + kNetframesSizeP95FieldNumber = 35, + kNetframesSizeP99FieldNumber = 36, + kTicksTotalFieldNumber = 40, + kTicksGoodFieldNumber = 41, + kTicksGoodAlmostLateFieldNumber = 42, + kTicksFixedDroppedFieldNumber = 43, + kTicksFixedLateFieldNumber = 44, + kTicksBadDroppedFieldNumber = 45, + kTicksBadLateFieldNumber = 46, + kTicksBadOtherFieldNumber = 47, + kTickMissrateSamplesTotalFieldNumber = 50, + kTickMissrateSamplesPerfectFieldNumber = 51, + kTickMissrateSamplesPerfectnetFieldNumber = 52, + kTickMissratenetP75X10FieldNumber = 53, + kTickMissratenetP95X10FieldNumber = 54, + kTickMissratenetP99X10FieldNumber = 55, + kRecvmarginP1FieldNumber = 61, + kRecvmarginP5FieldNumber = 62, + kRecvmarginP25FieldNumber = 63, + kRecvmarginP50FieldNumber = 64, + kRecvmarginP75FieldNumber = 65, + kRecvmarginP95FieldNumber = 66, + kNetframeJitterP50FieldNumber = 70, + kNetframeJitterP99FieldNumber = 71, + kIntervalPeakjitterP50FieldNumber = 72, + kIntervalPeakjitterP95FieldNumber = 73, + kPacketMisdeliveryRateP50X4FieldNumber = 74, + kPacketMisdeliveryRateP95X4FieldNumber = 75, + kNetPingP5FieldNumber = 80, + kNetPingP50FieldNumber = 81, + kNetPingP95FieldNumber = 82, + }; + // optional uint64 bytes_total = 5; + bool has_bytes_total() const; + private: + bool _internal_has_bytes_total() const; + public: + void clear_bytes_total(); + uint64_t bytes_total() const; + void set_bytes_total(uint64_t value); + private: + uint64_t _internal_bytes_total() const; + void _internal_set_bytes_total(uint64_t value); + public: + + // optional uint32 duration = 1; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + uint32_t duration() const; + void set_duration(uint32_t value); + private: + uint32_t _internal_duration() const; + void _internal_set_duration(uint32_t value); + public: + + // optional uint32 bytes_sec_p95 = 10; + bool has_bytes_sec_p95() const; + private: + bool _internal_has_bytes_sec_p95() const; + public: + void clear_bytes_sec_p95(); + uint32_t bytes_sec_p95() const; + void set_bytes_sec_p95(uint32_t value); + private: + uint32_t _internal_bytes_sec_p95() const; + void _internal_set_bytes_sec_p95(uint32_t value); + public: + + // optional uint64 bytes_total_reliable = 6; + bool has_bytes_total_reliable() const; + private: + bool _internal_has_bytes_total_reliable() const; + public: + void clear_bytes_total_reliable(); + uint64_t bytes_total_reliable() const; + void set_bytes_total_reliable(uint64_t value); + private: + uint64_t _internal_bytes_total_reliable() const; + void _internal_set_bytes_total_reliable(uint64_t value); + public: + + // optional uint64 bytes_total_voice = 7; + bool has_bytes_total_voice() const; + private: + bool _internal_has_bytes_total_voice() const; + public: + void clear_bytes_total_voice(); + uint64_t bytes_total_voice() const; + void set_bytes_total_voice(uint64_t value); + private: + uint64_t _internal_bytes_total_voice() const; + void _internal_set_bytes_total_voice(uint64_t value); + public: + + // optional uint32 bytes_sec_p99 = 11; + bool has_bytes_sec_p99() const; + private: + bool _internal_has_bytes_sec_p99() const; + public: + void clear_bytes_sec_p99(); + uint32_t bytes_sec_p99() const; + void set_bytes_sec_p99(uint32_t value); + private: + uint32_t _internal_bytes_sec_p99() const; + void _internal_set_bytes_sec_p99(uint32_t value); + public: + + // optional uint32 enginemsgs_total = 20; + bool has_enginemsgs_total() const; + private: + bool _internal_has_enginemsgs_total() const; + public: + void clear_enginemsgs_total(); + uint32_t enginemsgs_total() const; + void set_enginemsgs_total(uint32_t value); + private: + uint32_t _internal_enginemsgs_total() const; + void _internal_set_enginemsgs_total(uint32_t value); + public: + + // optional uint32 enginemsgs_sec_p95 = 21; + bool has_enginemsgs_sec_p95() const; + private: + bool _internal_has_enginemsgs_sec_p95() const; + public: + void clear_enginemsgs_sec_p95(); + uint32_t enginemsgs_sec_p95() const; + void set_enginemsgs_sec_p95(uint32_t value); + private: + uint32_t _internal_enginemsgs_sec_p95() const; + void _internal_set_enginemsgs_sec_p95(uint32_t value); + public: + + // optional uint32 enginemsgs_sec_p99 = 22; + bool has_enginemsgs_sec_p99() const; + private: + bool _internal_has_enginemsgs_sec_p99() const; + public: + void clear_enginemsgs_sec_p99(); + uint32_t enginemsgs_sec_p99() const; + void set_enginemsgs_sec_p99(uint32_t value); + private: + uint32_t _internal_enginemsgs_sec_p99() const; + void _internal_set_enginemsgs_sec_p99(uint32_t value); + public: + + // optional uint32 netframes_total = 30; + bool has_netframes_total() const; + private: + bool _internal_has_netframes_total() const; + public: + void clear_netframes_total(); + uint32_t netframes_total() const; + void set_netframes_total(uint32_t value); + private: + uint32_t _internal_netframes_total() const; + void _internal_set_netframes_total(uint32_t value); + public: + + // optional uint32 netframes_dropped = 31; + bool has_netframes_dropped() const; + private: + bool _internal_has_netframes_dropped() const; + public: + void clear_netframes_dropped(); + uint32_t netframes_dropped() const; + void set_netframes_dropped(uint32_t value); + private: + uint32_t _internal_netframes_dropped() const; + void _internal_set_netframes_dropped(uint32_t value); + public: + + // optional uint32 netframes_outoforder = 32; + bool has_netframes_outoforder() const; + private: + bool _internal_has_netframes_outoforder() const; + public: + void clear_netframes_outoforder(); + uint32_t netframes_outoforder() const; + void set_netframes_outoforder(uint32_t value); + private: + uint32_t _internal_netframes_outoforder() const; + void _internal_set_netframes_outoforder(uint32_t value); + public: + + // optional uint32 netframes_size_exceeds_mtu = 34; + bool has_netframes_size_exceeds_mtu() const; + private: + bool _internal_has_netframes_size_exceeds_mtu() const; + public: + void clear_netframes_size_exceeds_mtu(); + uint32_t netframes_size_exceeds_mtu() const; + void set_netframes_size_exceeds_mtu(uint32_t value); + private: + uint32_t _internal_netframes_size_exceeds_mtu() const; + void _internal_set_netframes_size_exceeds_mtu(uint32_t value); + public: + + // optional uint32 netframes_size_p95 = 35; + bool has_netframes_size_p95() const; + private: + bool _internal_has_netframes_size_p95() const; + public: + void clear_netframes_size_p95(); + uint32_t netframes_size_p95() const; + void set_netframes_size_p95(uint32_t value); + private: + uint32_t _internal_netframes_size_p95() const; + void _internal_set_netframes_size_p95(uint32_t value); + public: + + // optional uint32 netframes_size_p99 = 36; + bool has_netframes_size_p99() const; + private: + bool _internal_has_netframes_size_p99() const; + public: + void clear_netframes_size_p99(); + uint32_t netframes_size_p99() const; + void set_netframes_size_p99(uint32_t value); + private: + uint32_t _internal_netframes_size_p99() const; + void _internal_set_netframes_size_p99(uint32_t value); + public: + + // optional uint32 ticks_total = 40; + bool has_ticks_total() const; + private: + bool _internal_has_ticks_total() const; + public: + void clear_ticks_total(); + uint32_t ticks_total() const; + void set_ticks_total(uint32_t value); + private: + uint32_t _internal_ticks_total() const; + void _internal_set_ticks_total(uint32_t value); + public: + + // optional uint32 ticks_good = 41; + bool has_ticks_good() const; + private: + bool _internal_has_ticks_good() const; + public: + void clear_ticks_good(); + uint32_t ticks_good() const; + void set_ticks_good(uint32_t value); + private: + uint32_t _internal_ticks_good() const; + void _internal_set_ticks_good(uint32_t value); + public: + + // optional uint32 ticks_good_almost_late = 42; + bool has_ticks_good_almost_late() const; + private: + bool _internal_has_ticks_good_almost_late() const; + public: + void clear_ticks_good_almost_late(); + uint32_t ticks_good_almost_late() const; + void set_ticks_good_almost_late(uint32_t value); + private: + uint32_t _internal_ticks_good_almost_late() const; + void _internal_set_ticks_good_almost_late(uint32_t value); + public: + + // optional uint32 ticks_fixed_dropped = 43; + bool has_ticks_fixed_dropped() const; + private: + bool _internal_has_ticks_fixed_dropped() const; + public: + void clear_ticks_fixed_dropped(); + uint32_t ticks_fixed_dropped() const; + void set_ticks_fixed_dropped(uint32_t value); + private: + uint32_t _internal_ticks_fixed_dropped() const; + void _internal_set_ticks_fixed_dropped(uint32_t value); + public: + + // optional uint32 ticks_fixed_late = 44; + bool has_ticks_fixed_late() const; + private: + bool _internal_has_ticks_fixed_late() const; + public: + void clear_ticks_fixed_late(); + uint32_t ticks_fixed_late() const; + void set_ticks_fixed_late(uint32_t value); + private: + uint32_t _internal_ticks_fixed_late() const; + void _internal_set_ticks_fixed_late(uint32_t value); + public: + + // optional uint32 ticks_bad_dropped = 45; + bool has_ticks_bad_dropped() const; + private: + bool _internal_has_ticks_bad_dropped() const; + public: + void clear_ticks_bad_dropped(); + uint32_t ticks_bad_dropped() const; + void set_ticks_bad_dropped(uint32_t value); + private: + uint32_t _internal_ticks_bad_dropped() const; + void _internal_set_ticks_bad_dropped(uint32_t value); + public: + + // optional uint32 ticks_bad_late = 46; + bool has_ticks_bad_late() const; + private: + bool _internal_has_ticks_bad_late() const; + public: + void clear_ticks_bad_late(); + uint32_t ticks_bad_late() const; + void set_ticks_bad_late(uint32_t value); + private: + uint32_t _internal_ticks_bad_late() const; + void _internal_set_ticks_bad_late(uint32_t value); + public: + + // optional uint32 ticks_bad_other = 47; + bool has_ticks_bad_other() const; + private: + bool _internal_has_ticks_bad_other() const; + public: + void clear_ticks_bad_other(); + uint32_t ticks_bad_other() const; + void set_ticks_bad_other(uint32_t value); + private: + uint32_t _internal_ticks_bad_other() const; + void _internal_set_ticks_bad_other(uint32_t value); + public: + + // optional uint32 tick_missrate_samples_total = 50; + bool has_tick_missrate_samples_total() const; + private: + bool _internal_has_tick_missrate_samples_total() const; + public: + void clear_tick_missrate_samples_total(); + uint32_t tick_missrate_samples_total() const; + void set_tick_missrate_samples_total(uint32_t value); + private: + uint32_t _internal_tick_missrate_samples_total() const; + void _internal_set_tick_missrate_samples_total(uint32_t value); + public: + + // optional uint32 tick_missrate_samples_perfect = 51; + bool has_tick_missrate_samples_perfect() const; + private: + bool _internal_has_tick_missrate_samples_perfect() const; + public: + void clear_tick_missrate_samples_perfect(); + uint32_t tick_missrate_samples_perfect() const; + void set_tick_missrate_samples_perfect(uint32_t value); + private: + uint32_t _internal_tick_missrate_samples_perfect() const; + void _internal_set_tick_missrate_samples_perfect(uint32_t value); + public: + + // optional uint32 tick_missrate_samples_perfectnet = 52; + bool has_tick_missrate_samples_perfectnet() const; + private: + bool _internal_has_tick_missrate_samples_perfectnet() const; + public: + void clear_tick_missrate_samples_perfectnet(); + uint32_t tick_missrate_samples_perfectnet() const; + void set_tick_missrate_samples_perfectnet(uint32_t value); + private: + uint32_t _internal_tick_missrate_samples_perfectnet() const; + void _internal_set_tick_missrate_samples_perfectnet(uint32_t value); + public: + + // optional uint32 tick_missratenet_p75_x10 = 53; + bool has_tick_missratenet_p75_x10() const; + private: + bool _internal_has_tick_missratenet_p75_x10() const; + public: + void clear_tick_missratenet_p75_x10(); + uint32_t tick_missratenet_p75_x10() const; + void set_tick_missratenet_p75_x10(uint32_t value); + private: + uint32_t _internal_tick_missratenet_p75_x10() const; + void _internal_set_tick_missratenet_p75_x10(uint32_t value); + public: + + // optional uint32 tick_missratenet_p95_x10 = 54; + bool has_tick_missratenet_p95_x10() const; + private: + bool _internal_has_tick_missratenet_p95_x10() const; + public: + void clear_tick_missratenet_p95_x10(); + uint32_t tick_missratenet_p95_x10() const; + void set_tick_missratenet_p95_x10(uint32_t value); + private: + uint32_t _internal_tick_missratenet_p95_x10() const; + void _internal_set_tick_missratenet_p95_x10(uint32_t value); + public: + + // optional uint32 tick_missratenet_p99_x10 = 55; + bool has_tick_missratenet_p99_x10() const; + private: + bool _internal_has_tick_missratenet_p99_x10() const; + public: + void clear_tick_missratenet_p99_x10(); + uint32_t tick_missratenet_p99_x10() const; + void set_tick_missratenet_p99_x10(uint32_t value); + private: + uint32_t _internal_tick_missratenet_p99_x10() const; + void _internal_set_tick_missratenet_p99_x10(uint32_t value); + public: + + // optional sint32 recvmargin_p1 = 61; + bool has_recvmargin_p1() const; + private: + bool _internal_has_recvmargin_p1() const; + public: + void clear_recvmargin_p1(); + int32_t recvmargin_p1() const; + void set_recvmargin_p1(int32_t value); + private: + int32_t _internal_recvmargin_p1() const; + void _internal_set_recvmargin_p1(int32_t value); + public: + + // optional sint32 recvmargin_p5 = 62; + bool has_recvmargin_p5() const; + private: + bool _internal_has_recvmargin_p5() const; + public: + void clear_recvmargin_p5(); + int32_t recvmargin_p5() const; + void set_recvmargin_p5(int32_t value); + private: + int32_t _internal_recvmargin_p5() const; + void _internal_set_recvmargin_p5(int32_t value); + public: + + // optional sint32 recvmargin_p25 = 63; + bool has_recvmargin_p25() const; + private: + bool _internal_has_recvmargin_p25() const; + public: + void clear_recvmargin_p25(); + int32_t recvmargin_p25() const; + void set_recvmargin_p25(int32_t value); + private: + int32_t _internal_recvmargin_p25() const; + void _internal_set_recvmargin_p25(int32_t value); + public: + + // optional sint32 recvmargin_p50 = 64; + bool has_recvmargin_p50() const; + private: + bool _internal_has_recvmargin_p50() const; + public: + void clear_recvmargin_p50(); + int32_t recvmargin_p50() const; + void set_recvmargin_p50(int32_t value); + private: + int32_t _internal_recvmargin_p50() const; + void _internal_set_recvmargin_p50(int32_t value); + public: + + // optional sint32 recvmargin_p75 = 65; + bool has_recvmargin_p75() const; + private: + bool _internal_has_recvmargin_p75() const; + public: + void clear_recvmargin_p75(); + int32_t recvmargin_p75() const; + void set_recvmargin_p75(int32_t value); + private: + int32_t _internal_recvmargin_p75() const; + void _internal_set_recvmargin_p75(int32_t value); + public: + + // optional sint32 recvmargin_p95 = 66; + bool has_recvmargin_p95() const; + private: + bool _internal_has_recvmargin_p95() const; + public: + void clear_recvmargin_p95(); + int32_t recvmargin_p95() const; + void set_recvmargin_p95(int32_t value); + private: + int32_t _internal_recvmargin_p95() const; + void _internal_set_recvmargin_p95(int32_t value); + public: + + // optional uint32 netframe_jitter_p50 = 70; + bool has_netframe_jitter_p50() const; + private: + bool _internal_has_netframe_jitter_p50() const; + public: + void clear_netframe_jitter_p50(); + uint32_t netframe_jitter_p50() const; + void set_netframe_jitter_p50(uint32_t value); + private: + uint32_t _internal_netframe_jitter_p50() const; + void _internal_set_netframe_jitter_p50(uint32_t value); + public: + + // optional uint32 netframe_jitter_p99 = 71; + bool has_netframe_jitter_p99() const; + private: + bool _internal_has_netframe_jitter_p99() const; + public: + void clear_netframe_jitter_p99(); + uint32_t netframe_jitter_p99() const; + void set_netframe_jitter_p99(uint32_t value); + private: + uint32_t _internal_netframe_jitter_p99() const; + void _internal_set_netframe_jitter_p99(uint32_t value); + public: + + // optional uint32 interval_peakjitter_p50 = 72; + bool has_interval_peakjitter_p50() const; + private: + bool _internal_has_interval_peakjitter_p50() const; + public: + void clear_interval_peakjitter_p50(); + uint32_t interval_peakjitter_p50() const; + void set_interval_peakjitter_p50(uint32_t value); + private: + uint32_t _internal_interval_peakjitter_p50() const; + void _internal_set_interval_peakjitter_p50(uint32_t value); + public: + + // optional uint32 interval_peakjitter_p95 = 73; + bool has_interval_peakjitter_p95() const; + private: + bool _internal_has_interval_peakjitter_p95() const; + public: + void clear_interval_peakjitter_p95(); + uint32_t interval_peakjitter_p95() const; + void set_interval_peakjitter_p95(uint32_t value); + private: + uint32_t _internal_interval_peakjitter_p95() const; + void _internal_set_interval_peakjitter_p95(uint32_t value); + public: + + // optional uint32 packet_misdelivery_rate_p50_x4 = 74; + bool has_packet_misdelivery_rate_p50_x4() const; + private: + bool _internal_has_packet_misdelivery_rate_p50_x4() const; + public: + void clear_packet_misdelivery_rate_p50_x4(); + uint32_t packet_misdelivery_rate_p50_x4() const; + void set_packet_misdelivery_rate_p50_x4(uint32_t value); + private: + uint32_t _internal_packet_misdelivery_rate_p50_x4() const; + void _internal_set_packet_misdelivery_rate_p50_x4(uint32_t value); + public: + + // optional uint32 packet_misdelivery_rate_p95_x4 = 75; + bool has_packet_misdelivery_rate_p95_x4() const; + private: + bool _internal_has_packet_misdelivery_rate_p95_x4() const; + public: + void clear_packet_misdelivery_rate_p95_x4(); + uint32_t packet_misdelivery_rate_p95_x4() const; + void set_packet_misdelivery_rate_p95_x4(uint32_t value); + private: + uint32_t _internal_packet_misdelivery_rate_p95_x4() const; + void _internal_set_packet_misdelivery_rate_p95_x4(uint32_t value); + public: + + // optional uint32 net_ping_p5 = 80; + bool has_net_ping_p5() const; + private: + bool _internal_has_net_ping_p5() const; + public: + void clear_net_ping_p5(); + uint32_t net_ping_p5() const; + void set_net_ping_p5(uint32_t value); + private: + uint32_t _internal_net_ping_p5() const; + void _internal_set_net_ping_p5(uint32_t value); + public: + + // optional uint32 net_ping_p50 = 81; + bool has_net_ping_p50() const; + private: + bool _internal_has_net_ping_p50() const; + public: + void clear_net_ping_p50(); + uint32_t net_ping_p50() const; + void set_net_ping_p50(uint32_t value); + private: + uint32_t _internal_net_ping_p50() const; + void _internal_set_net_ping_p50(uint32_t value); + public: + + // optional uint32 net_ping_p95 = 82; + bool has_net_ping_p95() const; + private: + bool _internal_has_net_ping_p95() const; + public: + void clear_net_ping_p95(); + uint32_t net_ping_p95() const; + void set_net_ping_p95(uint32_t value); + private: + uint32_t _internal_net_ping_p95() const; + void _internal_set_net_ping_p95(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2NetworkFlowQuality) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t bytes_total_; + uint32_t duration_; + uint32_t bytes_sec_p95_; + uint64_t bytes_total_reliable_; + uint64_t bytes_total_voice_; + uint32_t bytes_sec_p99_; + uint32_t enginemsgs_total_; + uint32_t enginemsgs_sec_p95_; + uint32_t enginemsgs_sec_p99_; + uint32_t netframes_total_; + uint32_t netframes_dropped_; + uint32_t netframes_outoforder_; + uint32_t netframes_size_exceeds_mtu_; + uint32_t netframes_size_p95_; + uint32_t netframes_size_p99_; + uint32_t ticks_total_; + uint32_t ticks_good_; + uint32_t ticks_good_almost_late_; + uint32_t ticks_fixed_dropped_; + uint32_t ticks_fixed_late_; + uint32_t ticks_bad_dropped_; + uint32_t ticks_bad_late_; + uint32_t ticks_bad_other_; + uint32_t tick_missrate_samples_total_; + uint32_t tick_missrate_samples_perfect_; + uint32_t tick_missrate_samples_perfectnet_; + uint32_t tick_missratenet_p75_x10_; + uint32_t tick_missratenet_p95_x10_; + uint32_t tick_missratenet_p99_x10_; + int32_t recvmargin_p1_; + int32_t recvmargin_p5_; + int32_t recvmargin_p25_; + int32_t recvmargin_p50_; + int32_t recvmargin_p75_; + int32_t recvmargin_p95_; + uint32_t netframe_jitter_p50_; + uint32_t netframe_jitter_p99_; + uint32_t interval_peakjitter_p50_; + uint32_t interval_peakjitter_p95_; + uint32_t packet_misdelivery_rate_p50_x4_; + uint32_t packet_misdelivery_rate_p95_x4_; + uint32_t net_ping_p5_; + uint32_t net_ping_p50_; + uint32_t net_ping_p95_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2PerfIntervalSample_Tag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample.Tag) */ { + public: + inline CMsgSource2PerfIntervalSample_Tag() : CMsgSource2PerfIntervalSample_Tag(nullptr) {} + ~CMsgSource2PerfIntervalSample_Tag() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from); + CMsgSource2PerfIntervalSample_Tag(CMsgSource2PerfIntervalSample_Tag&& from) noexcept + : CMsgSource2PerfIntervalSample_Tag() { + *this = ::std::move(from); + } + + inline CMsgSource2PerfIntervalSample_Tag& operator=(const CMsgSource2PerfIntervalSample_Tag& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2PerfIntervalSample_Tag& operator=(CMsgSource2PerfIntervalSample_Tag&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgSource2PerfIntervalSample_Tag& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2PerfIntervalSample_Tag* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2PerfIntervalSample_Tag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgSource2PerfIntervalSample_Tag& a, CMsgSource2PerfIntervalSample_Tag& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2PerfIntervalSample_Tag* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgSource2PerfIntervalSample_Tag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2PerfIntervalSample_Tag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2PerfIntervalSample_Tag& from) { + CMsgSource2PerfIntervalSample_Tag::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgSource2PerfIntervalSample_Tag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2PerfIntervalSample.Tag"; + } + protected: + explicit CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTagFieldNumber = 1, + kMaxValueFieldNumber = 2, + }; + // optional string tag = 1; + bool has_tag() const; + private: + bool _internal_has_tag() const; + public: + void clear_tag(); + const std::string& tag() const; + template + void set_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tag(); + PROTOBUF_NODISCARD std::string* release_tag(); + void set_allocated_tag(std::string* tag); + private: + const std::string& _internal_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); + std::string* _internal_mutable_tag(); + public: + + // optional uint32 max_value = 2; + bool has_max_value() const; + private: + bool _internal_has_max_value() const; + public: + void clear_max_value(); + uint32_t max_value() const; + void set_max_value(uint32_t value); + private: + uint32_t _internal_max_value() const; + void _internal_set_max_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample.Tag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; + uint32_t max_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2PerfIntervalSample final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample) */ { + public: + inline CMsgSource2PerfIntervalSample() : CMsgSource2PerfIntervalSample(nullptr) {} + ~CMsgSource2PerfIntervalSample() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from); + CMsgSource2PerfIntervalSample(CMsgSource2PerfIntervalSample&& from) noexcept + : CMsgSource2PerfIntervalSample() { + *this = ::std::move(from); + } + + inline CMsgSource2PerfIntervalSample& operator=(const CMsgSource2PerfIntervalSample& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2PerfIntervalSample& operator=(CMsgSource2PerfIntervalSample&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CMsgSource2PerfIntervalSample& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2PerfIntervalSample* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2PerfIntervalSample_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSource2PerfIntervalSample& a, CMsgSource2PerfIntervalSample& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2PerfIntervalSample* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CMsgSource2PerfIntervalSample* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2PerfIntervalSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2PerfIntervalSample& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2PerfIntervalSample& from) { + CMsgSource2PerfIntervalSample::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMsgSource2PerfIntervalSample* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2PerfIntervalSample"; + } + protected: + explicit CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + typedef CMsgSource2PerfIntervalSample_Tag Tag; + + // accessors ------------------------------------------------------- + + enum : int { + kTagsFieldNumber = 6, + kFrameTimeMaxMsFieldNumber = 1, + kFrameTimeAvgMsFieldNumber = 2, + kFrameTimeMinMsFieldNumber = 3, + kFrameCountFieldNumber = 4, + kFrameTimeTotalMsFieldNumber = 5, + }; + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + int tags_size() const; + private: + int _internal_tags_size() const; + public: + void clear_tags(); + ::CMsgSource2PerfIntervalSample_Tag* mutable_tags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* + mutable_tags(); + private: + const ::CMsgSource2PerfIntervalSample_Tag& _internal_tags(int index) const; + ::CMsgSource2PerfIntervalSample_Tag* _internal_add_tags(); + public: + const ::CMsgSource2PerfIntervalSample_Tag& tags(int index) const; + ::CMsgSource2PerfIntervalSample_Tag* add_tags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& + tags() const; + + // optional float frame_time_max_ms = 1; + bool has_frame_time_max_ms() const; + private: + bool _internal_has_frame_time_max_ms() const; + public: + void clear_frame_time_max_ms(); + float frame_time_max_ms() const; + void set_frame_time_max_ms(float value); + private: + float _internal_frame_time_max_ms() const; + void _internal_set_frame_time_max_ms(float value); + public: + + // optional float frame_time_avg_ms = 2; + bool has_frame_time_avg_ms() const; + private: + bool _internal_has_frame_time_avg_ms() const; + public: + void clear_frame_time_avg_ms(); + float frame_time_avg_ms() const; + void set_frame_time_avg_ms(float value); + private: + float _internal_frame_time_avg_ms() const; + void _internal_set_frame_time_avg_ms(float value); + public: + + // optional float frame_time_min_ms = 3; + bool has_frame_time_min_ms() const; + private: + bool _internal_has_frame_time_min_ms() const; + public: + void clear_frame_time_min_ms(); + float frame_time_min_ms() const; + void set_frame_time_min_ms(float value); + private: + float _internal_frame_time_min_ms() const; + void _internal_set_frame_time_min_ms(float value); + public: + + // optional int32 frame_count = 4; + bool has_frame_count() const; + private: + bool _internal_has_frame_count() const; + public: + void clear_frame_count(); + int32_t frame_count() const; + void set_frame_count(int32_t value); + private: + int32_t _internal_frame_count() const; + void _internal_set_frame_count(int32_t value); + public: + + // optional float frame_time_total_ms = 5; + bool has_frame_time_total_ms() const; + private: + bool _internal_has_frame_time_total_ms() const; + public: + void clear_frame_time_total_ms(); + float frame_time_total_ms() const; + void set_frame_time_total_ms(float value); + private: + float _internal_frame_time_total_ms() const; + void _internal_set_frame_time_total_ms(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag > tags_; + float frame_time_max_ms_; + float frame_time_avg_ms_; + float frame_time_min_ms_; + int32_t frame_count_; + float frame_time_total_ms_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CSource2Metrics_MatchPerfSummary_Notification_Client final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification.Client) */ { + public: + inline CSource2Metrics_MatchPerfSummary_Notification_Client() : CSource2Metrics_MatchPerfSummary_Notification_Client(nullptr) {} + ~CSource2Metrics_MatchPerfSummary_Notification_Client() override; + explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); + CSource2Metrics_MatchPerfSummary_Notification_Client(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept + : CSource2Metrics_MatchPerfSummary_Notification_Client() { + *this = ::std::move(from); + } + + inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { + CopyFrom(from); + return *this; + } + inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CSource2Metrics_MatchPerfSummary_Notification_Client& default_instance() { + return *internal_default_instance(); + } + static inline const CSource2Metrics_MatchPerfSummary_Notification_Client* internal_default_instance() { + return reinterpret_cast( + &_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CSource2Metrics_MatchPerfSummary_Notification_Client& a, CSource2Metrics_MatchPerfSummary_Notification_Client& b) { + a.Swap(&b); + } + inline void Swap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSource2Metrics_MatchPerfSummary_Notification_Client* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { + CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSource2Metrics_MatchPerfSummary_Notification.Client"; + } + protected: + explicit CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPerfSamplesFieldNumber = 11, + kSystemSpecsFieldNumber = 1, + kProfileFieldNumber = 2, + kDownstreamFlowFieldNumber = 4, + kUpstreamFlowFieldNumber = 5, + kSteamidFieldNumber = 10, + kBuildIdFieldNumber = 3, + }; + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + int perf_samples_size() const; + private: + int _internal_perf_samples_size() const; + public: + void clear_perf_samples(); + ::CMsgSource2PerfIntervalSample* mutable_perf_samples(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* + mutable_perf_samples(); + private: + const ::CMsgSource2PerfIntervalSample& _internal_perf_samples(int index) const; + ::CMsgSource2PerfIntervalSample* _internal_add_perf_samples(); + public: + const ::CMsgSource2PerfIntervalSample& perf_samples(int index) const; + ::CMsgSource2PerfIntervalSample* add_perf_samples(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& + perf_samples() const; + + // optional .CMsgSource2SystemSpecs system_specs = 1; + bool has_system_specs() const; + private: + bool _internal_has_system_specs() const; + public: + void clear_system_specs(); + const ::CMsgSource2SystemSpecs& system_specs() const; + PROTOBUF_NODISCARD ::CMsgSource2SystemSpecs* release_system_specs(); + ::CMsgSource2SystemSpecs* mutable_system_specs(); + void set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs); + private: + const ::CMsgSource2SystemSpecs& _internal_system_specs() const; + ::CMsgSource2SystemSpecs* _internal_mutable_system_specs(); + public: + void unsafe_arena_set_allocated_system_specs( + ::CMsgSource2SystemSpecs* system_specs); + ::CMsgSource2SystemSpecs* unsafe_arena_release_system_specs(); + + // optional .CMsgSource2VProfLiteReport profile = 2; + bool has_profile() const; + private: + bool _internal_has_profile() const; + public: + void clear_profile(); + const ::CMsgSource2VProfLiteReport& profile() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_profile(); + ::CMsgSource2VProfLiteReport* mutable_profile(); + void set_allocated_profile(::CMsgSource2VProfLiteReport* profile); + private: + const ::CMsgSource2VProfLiteReport& _internal_profile() const; + ::CMsgSource2VProfLiteReport* _internal_mutable_profile(); + public: + void unsafe_arena_set_allocated_profile( + ::CMsgSource2VProfLiteReport* profile); + ::CMsgSource2VProfLiteReport* unsafe_arena_release_profile(); + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + bool has_downstream_flow() const; + private: + bool _internal_has_downstream_flow() const; + public: + void clear_downstream_flow(); + const ::CMsgSource2NetworkFlowQuality& downstream_flow() const; + PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_downstream_flow(); + ::CMsgSource2NetworkFlowQuality* mutable_downstream_flow(); + void set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow); + private: + const ::CMsgSource2NetworkFlowQuality& _internal_downstream_flow() const; + ::CMsgSource2NetworkFlowQuality* _internal_mutable_downstream_flow(); + public: + void unsafe_arena_set_allocated_downstream_flow( + ::CMsgSource2NetworkFlowQuality* downstream_flow); + ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_downstream_flow(); + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + bool has_upstream_flow() const; + private: + bool _internal_has_upstream_flow() const; + public: + void clear_upstream_flow(); + const ::CMsgSource2NetworkFlowQuality& upstream_flow() const; + PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_upstream_flow(); + ::CMsgSource2NetworkFlowQuality* mutable_upstream_flow(); + void set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow); + private: + const ::CMsgSource2NetworkFlowQuality& _internal_upstream_flow() const; + ::CMsgSource2NetworkFlowQuality* _internal_mutable_upstream_flow(); + public: + void unsafe_arena_set_allocated_upstream_flow( + ::CMsgSource2NetworkFlowQuality* upstream_flow); + ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_upstream_flow(); + + // optional fixed64 steamid = 10; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 build_id = 3; + bool has_build_id() const; + private: + bool _internal_has_build_id() const; + public: + void clear_build_id(); + uint32_t build_id() const; + void set_build_id(uint32_t value); + private: + uint32_t _internal_build_id() const; + void _internal_set_build_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification.Client) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample > perf_samples_; + ::CMsgSource2SystemSpecs* system_specs_; + ::CMsgSource2VProfLiteReport* profile_; + ::CMsgSource2NetworkFlowQuality* downstream_flow_; + ::CMsgSource2NetworkFlowQuality* upstream_flow_; + uint64_t steamid_; + uint32_t build_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// ------------------------------------------------------------------- + +class CSource2Metrics_MatchPerfSummary_Notification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification) */ { + public: + inline CSource2Metrics_MatchPerfSummary_Notification() : CSource2Metrics_MatchPerfSummary_Notification(nullptr) {} + ~CSource2Metrics_MatchPerfSummary_Notification() override; + explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from); + CSource2Metrics_MatchPerfSummary_Notification(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept + : CSource2Metrics_MatchPerfSummary_Notification() { + *this = ::std::move(from); + } + + inline CSource2Metrics_MatchPerfSummary_Notification& operator=(const CSource2Metrics_MatchPerfSummary_Notification& from) { + CopyFrom(from); + return *this; + } + inline CSource2Metrics_MatchPerfSummary_Notification& operator=(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CSource2Metrics_MatchPerfSummary_Notification& default_instance() { + return *internal_default_instance(); + } + static inline const CSource2Metrics_MatchPerfSummary_Notification* internal_default_instance() { + return reinterpret_cast( + &_CSource2Metrics_MatchPerfSummary_Notification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CSource2Metrics_MatchPerfSummary_Notification& a, CSource2Metrics_MatchPerfSummary_Notification& b) { + a.Swap(&b); + } + inline void Swap(CSource2Metrics_MatchPerfSummary_Notification* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSource2Metrics_MatchPerfSummary_Notification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification& from) { + CSource2Metrics_MatchPerfSummary_Notification::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSource2Metrics_MatchPerfSummary_Notification"; + } + protected: + explicit CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + typedef CSource2Metrics_MatchPerfSummary_Notification_Client Client; + + // accessors ------------------------------------------------------- + + enum : int { + kClientsFieldNumber = 11, + kGameModeFieldNumber = 2, + kMapFieldNumber = 20, + kServerProfileFieldNumber = 10, + kAppidFieldNumber = 1, + kServerBuildIdFieldNumber = 3, + kServerPopidFieldNumber = 4, + }; + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + int clients_size() const; + private: + int _internal_clients_size() const; + public: + void clear_clients(); + ::CSource2Metrics_MatchPerfSummary_Notification_Client* mutable_clients(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* + mutable_clients(); + private: + const ::CSource2Metrics_MatchPerfSummary_Notification_Client& _internal_clients(int index) const; + ::CSource2Metrics_MatchPerfSummary_Notification_Client* _internal_add_clients(); + public: + const ::CSource2Metrics_MatchPerfSummary_Notification_Client& clients(int index) const; + ::CSource2Metrics_MatchPerfSummary_Notification_Client* add_clients(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& + clients() const; + + // optional string game_mode = 2; + bool has_game_mode() const; + private: + bool _internal_has_game_mode() const; + public: + void clear_game_mode(); + const std::string& game_mode() const; + template + void set_game_mode(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_mode(); + PROTOBUF_NODISCARD std::string* release_game_mode(); + void set_allocated_game_mode(std::string* game_mode); + private: + const std::string& _internal_game_mode() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mode(const std::string& value); + std::string* _internal_mutable_game_mode(); + public: + + // optional string map = 20; + bool has_map() const; + private: + bool _internal_has_map() const; + public: + void clear_map(); + const std::string& map() const; + template + void set_map(ArgT0&& arg0, ArgT... args); + std::string* mutable_map(); + PROTOBUF_NODISCARD std::string* release_map(); + void set_allocated_map(std::string* map); + private: + const std::string& _internal_map() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); + std::string* _internal_mutable_map(); + public: + + // optional .CMsgSource2VProfLiteReport server_profile = 10; + bool has_server_profile() const; + private: + bool _internal_has_server_profile() const; + public: + void clear_server_profile(); + const ::CMsgSource2VProfLiteReport& server_profile() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_server_profile(); + ::CMsgSource2VProfLiteReport* mutable_server_profile(); + void set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile); + private: + const ::CMsgSource2VProfLiteReport& _internal_server_profile() const; + ::CMsgSource2VProfLiteReport* _internal_mutable_server_profile(); + public: + void unsafe_arena_set_allocated_server_profile( + ::CMsgSource2VProfLiteReport* server_profile); + ::CMsgSource2VProfLiteReport* unsafe_arena_release_server_profile(); + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 server_build_id = 3; + bool has_server_build_id() const; + private: + bool _internal_has_server_build_id() const; + public: + void clear_server_build_id(); + uint32_t server_build_id() const; + void set_server_build_id(uint32_t value); + private: + uint32_t _internal_server_build_id() const; + void _internal_set_server_build_id(uint32_t value); + public: + + // optional fixed32 server_popid = 4; + bool has_server_popid() const; + private: + bool _internal_has_server_popid() const; + public: + void clear_server_popid(); + uint32_t server_popid() const; + void set_server_popid(uint32_t value); + private: + uint32_t _internal_server_popid() const; + void _internal_set_server_popid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client > clients_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mode_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; + ::CMsgSource2VProfLiteReport* server_profile_; + uint32_t appid_; + uint32_t server_build_id_; + uint32_t server_popid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_source2_5fsteam_5fstats_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSource2SystemSpecs + +// optional string cpu_id = 1; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_id() const { + return _internal_has_cpu_id(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_id() { + _impl_.cpu_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource2SystemSpecs::cpu_id() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_id) + return _internal_cpu_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_cpu_id(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cpu_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_id) +} +inline std::string* CMsgSource2SystemSpecs::mutable_cpu_id() { + std::string* _s = _internal_mutable_cpu_id(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_id) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_id() const { + return _impl_.cpu_id_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_id(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cpu_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_id() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cpu_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_cpu_id() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_id) + if (!_internal_has_cpu_id()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cpu_id_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_id_.IsDefault()) { + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_cpu_id(std::string* cpu_id) { + if (cpu_id != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cpu_id_.SetAllocated(cpu_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_id_.IsDefault()) { + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_id) +} + +// optional string cpu_brand = 2; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_brand() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_brand() const { + return _internal_has_cpu_brand(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_brand() { + _impl_.cpu_brand_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSource2SystemSpecs::cpu_brand() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_brand) + return _internal_cpu_brand(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_cpu_brand(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cpu_brand_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_brand) +} +inline std::string* CMsgSource2SystemSpecs::mutable_cpu_brand() { + std::string* _s = _internal_mutable_cpu_brand(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_brand) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_brand() const { + return _impl_.cpu_brand_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_brand(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cpu_brand_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_brand() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.cpu_brand_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_cpu_brand() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_brand) + if (!_internal_has_cpu_brand()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.cpu_brand_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_brand_.IsDefault()) { + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_cpu_brand(std::string* cpu_brand) { + if (cpu_brand != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cpu_brand_.SetAllocated(cpu_brand, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_brand_.IsDefault()) { + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_brand) +} + +// optional uint32 cpu_model = 3; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_model() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_model() const { + return _internal_has_cpu_model(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_model() { + _impl_.cpu_model_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_model() const { + return _impl_.cpu_model_; +} +inline uint32_t CMsgSource2SystemSpecs::cpu_model() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_model) + return _internal_cpu_model(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_model(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.cpu_model_ = value; +} +inline void CMsgSource2SystemSpecs::set_cpu_model(uint32_t value) { + _internal_set_cpu_model(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_model) +} + +// optional uint32 cpu_num_physical = 4; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_num_physical() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_num_physical() const { + return _internal_has_cpu_num_physical(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_num_physical() { + _impl_.cpu_num_physical_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_num_physical() const { + return _impl_.cpu_num_physical_; +} +inline uint32_t CMsgSource2SystemSpecs::cpu_num_physical() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_num_physical) + return _internal_cpu_num_physical(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_num_physical(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.cpu_num_physical_ = value; +} +inline void CMsgSource2SystemSpecs::set_cpu_num_physical(uint32_t value) { + _internal_set_cpu_num_physical(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_num_physical) +} + +// optional uint32 ram_physical_total_mb = 21; +inline bool CMsgSource2SystemSpecs::_internal_has_ram_physical_total_mb() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_ram_physical_total_mb() const { + return _internal_has_ram_physical_total_mb(); +} +inline void CMsgSource2SystemSpecs::clear_ram_physical_total_mb() { + _impl_.ram_physical_total_mb_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_ram_physical_total_mb() const { + return _impl_.ram_physical_total_mb_; +} +inline uint32_t CMsgSource2SystemSpecs::ram_physical_total_mb() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.ram_physical_total_mb) + return _internal_ram_physical_total_mb(); +} +inline void CMsgSource2SystemSpecs::_internal_set_ram_physical_total_mb(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.ram_physical_total_mb_ = value; +} +inline void CMsgSource2SystemSpecs::set_ram_physical_total_mb(uint32_t value) { + _internal_set_ram_physical_total_mb(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.ram_physical_total_mb) +} + +// optional string gpu_rendersystem_dll_name = 41; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_rendersystem_dll_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_rendersystem_dll_name() const { + return _internal_has_gpu_rendersystem_dll_name(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_rendersystem_dll_name() { + _impl_.gpu_rendersystem_dll_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSource2SystemSpecs::gpu_rendersystem_dll_name() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) + return _internal_gpu_rendersystem_dll_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gpu_rendersystem_dll_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) +} +inline std::string* CMsgSource2SystemSpecs::mutable_gpu_rendersystem_dll_name() { + std::string* _s = _internal_mutable_gpu_rendersystem_dll_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_rendersystem_dll_name() const { + return _impl_.gpu_rendersystem_dll_name_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_rendersystem_dll_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gpu_rendersystem_dll_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_rendersystem_dll_name() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.gpu_rendersystem_dll_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_gpu_rendersystem_dll_name() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) + if (!_internal_has_gpu_rendersystem_dll_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.gpu_rendersystem_dll_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name) { + if (gpu_rendersystem_dll_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.gpu_rendersystem_dll_name_.SetAllocated(gpu_rendersystem_dll_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) +} + +// optional uint32 gpu_vendor_id = 42; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_vendor_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_vendor_id() const { + return _internal_has_gpu_vendor_id(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_vendor_id() { + _impl_.gpu_vendor_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_vendor_id() const { + return _impl_.gpu_vendor_id_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_vendor_id() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_vendor_id) + return _internal_gpu_vendor_id(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_vendor_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.gpu_vendor_id_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_vendor_id(uint32_t value) { + _internal_set_gpu_vendor_id(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_vendor_id) +} + +// optional string gpu_driver_name = 43; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_driver_name() const { + return _internal_has_gpu_driver_name(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_driver_name() { + _impl_.gpu_driver_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSource2SystemSpecs::gpu_driver_name() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_name) + return _internal_gpu_driver_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_gpu_driver_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gpu_driver_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_name) +} +inline std::string* CMsgSource2SystemSpecs::mutable_gpu_driver_name() { + std::string* _s = _internal_mutable_gpu_driver_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_driver_name) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_driver_name() const { + return _impl_.gpu_driver_name_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gpu_driver_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_driver_name() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.gpu_driver_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_gpu_driver_name() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_driver_name) + if (!_internal_has_gpu_driver_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.gpu_driver_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_driver_name_.IsDefault()) { + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_gpu_driver_name(std::string* gpu_driver_name) { + if (gpu_driver_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.gpu_driver_name_.SetAllocated(gpu_driver_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_driver_name_.IsDefault()) { + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_driver_name) +} + +// optional uint32 gpu_driver_version_high = 44; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_high() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_high() const { + return _internal_has_gpu_driver_version_high(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_high() { + _impl_.gpu_driver_version_high_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_high() const { + return _impl_.gpu_driver_version_high_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_high() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_high) + return _internal_gpu_driver_version_high(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_high(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.gpu_driver_version_high_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_driver_version_high(uint32_t value) { + _internal_set_gpu_driver_version_high(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_high) +} + +// optional uint32 gpu_driver_version_low = 45; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_low() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_low() const { + return _internal_has_gpu_driver_version_low(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_low() { + _impl_.gpu_driver_version_low_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_low() const { + return _impl_.gpu_driver_version_low_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_low() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_low) + return _internal_gpu_driver_version_low(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_low(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.gpu_driver_version_low_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_driver_version_low(uint32_t value) { + _internal_set_gpu_driver_version_low(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_low) +} + +// optional uint32 gpu_dx_support_level = 46; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_dx_support_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_dx_support_level() const { + return _internal_has_gpu_dx_support_level(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_dx_support_level() { + _impl_.gpu_dx_support_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_dx_support_level() const { + return _impl_.gpu_dx_support_level_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_dx_support_level() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_dx_support_level) + return _internal_gpu_dx_support_level(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_dx_support_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.gpu_dx_support_level_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_dx_support_level(uint32_t value) { + _internal_set_gpu_dx_support_level(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_dx_support_level) +} + +// optional uint32 gpu_texture_memory_size_mb = 47; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_texture_memory_size_mb() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_texture_memory_size_mb() const { + return _internal_has_gpu_texture_memory_size_mb(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_texture_memory_size_mb() { + _impl_.gpu_texture_memory_size_mb_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_texture_memory_size_mb() const { + return _impl_.gpu_texture_memory_size_mb_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_texture_memory_size_mb() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) + return _internal_gpu_texture_memory_size_mb(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_texture_memory_size_mb(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.gpu_texture_memory_size_mb_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_texture_memory_size_mb(uint32_t value) { + _internal_set_gpu_texture_memory_size_mb(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) +} + +// optional uint32 backbuffer_width = 51; +inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_width() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_backbuffer_width() const { + return _internal_has_backbuffer_width(); +} +inline void CMsgSource2SystemSpecs::clear_backbuffer_width() { + _impl_.backbuffer_width_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_width() const { + return _impl_.backbuffer_width_; +} +inline uint32_t CMsgSource2SystemSpecs::backbuffer_width() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_width) + return _internal_backbuffer_width(); +} +inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_width(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.backbuffer_width_ = value; +} +inline void CMsgSource2SystemSpecs::set_backbuffer_width(uint32_t value) { + _internal_set_backbuffer_width(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_width) +} + +// optional uint32 backbuffer_height = 52; +inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_height() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_backbuffer_height() const { + return _internal_has_backbuffer_height(); +} +inline void CMsgSource2SystemSpecs::clear_backbuffer_height() { + _impl_.backbuffer_height_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_height() const { + return _impl_.backbuffer_height_; +} +inline uint32_t CMsgSource2SystemSpecs::backbuffer_height() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_height) + return _internal_backbuffer_height(); +} +inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_height(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.backbuffer_height_ = value; +} +inline void CMsgSource2SystemSpecs::set_backbuffer_height(uint32_t value) { + _internal_set_backbuffer_height(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_height) +} + +// ------------------------------------------------------------------- + +// CMsgSource2VProfLiteReportItem + +// optional string name = 1; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_name() const { + return _internal_has_name(); +} +inline void CMsgSource2VProfLiteReportItem::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource2VProfLiteReportItem::name() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2VProfLiteReportItem::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.name) +} +inline std::string* CMsgSource2VProfLiteReportItem::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReportItem.name) + return _s; +} +inline const std::string& CMsgSource2VProfLiteReportItem::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2VProfLiteReportItem::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2VProfLiteReportItem::release_name() { + // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReportItem.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2VProfLiteReportItem::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.name_.SetAllocated(name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReportItem.name) +} + +// optional uint32 active_samples = 2; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_active_samples() const { + return _internal_has_active_samples(); +} +inline void CMsgSource2VProfLiteReportItem::clear_active_samples() { + _impl_.active_samples_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples() const { + return _impl_.active_samples_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::active_samples() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples) + return _internal_active_samples(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.active_samples_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_active_samples(uint32_t value) { + _internal_set_active_samples(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples) +} + +// optional uint32 active_samples_1secmax = 4; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples_1secmax() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_active_samples_1secmax() const { + return _internal_has_active_samples_1secmax(); +} +inline void CMsgSource2VProfLiteReportItem::clear_active_samples_1secmax() { + _impl_.active_samples_1secmax_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples_1secmax() const { + return _impl_.active_samples_1secmax_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::active_samples_1secmax() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples_1secmax) + return _internal_active_samples_1secmax(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples_1secmax(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.active_samples_1secmax_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_active_samples_1secmax(uint32_t value) { + _internal_set_active_samples_1secmax(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples_1secmax) +} + +// optional uint32 usec_max = 3; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_max() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_max() const { + return _internal_has_usec_max(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_max() { + _impl_.usec_max_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_max() const { + return _impl_.usec_max_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_max() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_max) + return _internal_usec_max(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_max(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.usec_max_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_max(uint32_t value) { + _internal_set_usec_max(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_max) +} + +// optional uint32 usec_avg_active = 11; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_active() const { + return _internal_has_usec_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_active() { + _impl_.usec_avg_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_active() const { + return _impl_.usec_avg_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_active) + return _internal_usec_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.usec_avg_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_avg_active(uint32_t value) { + _internal_set_usec_avg_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_active) +} + +// optional uint32 usec_p50_active = 12; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_active() const { + return _internal_has_usec_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_active() { + _impl_.usec_p50_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_active() const { + return _impl_.usec_p50_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_active) + return _internal_usec_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.usec_p50_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p50_active(uint32_t value) { + _internal_set_usec_p50_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_active) +} + +// optional uint32 usec_p99_active = 13; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_active() const { + return _internal_has_usec_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_active() { + _impl_.usec_p99_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_active() const { + return _impl_.usec_p99_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_active) + return _internal_usec_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.usec_p99_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p99_active(uint32_t value) { + _internal_set_usec_p99_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_active) +} + +// optional uint32 usec_avg_all = 21; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_all() const { + return _internal_has_usec_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_all() { + _impl_.usec_avg_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_all() const { + return _impl_.usec_avg_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_all) + return _internal_usec_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.usec_avg_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_avg_all(uint32_t value) { + _internal_set_usec_avg_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_all) +} + +// optional uint32 usec_p50_all = 22; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_all() const { + return _internal_has_usec_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_all() { + _impl_.usec_p50_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_all() const { + return _impl_.usec_p50_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_all) + return _internal_usec_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.usec_p50_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p50_all(uint32_t value) { + _internal_set_usec_p50_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_all) +} + +// optional uint32 usec_p99_all = 23; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_all() const { + return _internal_has_usec_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_all() { + _impl_.usec_p99_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_all() const { + return _impl_.usec_p99_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_all) + return _internal_usec_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.usec_p99_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p99_all(uint32_t value) { + _internal_set_usec_p99_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_all) +} + +// optional uint32 usec_1secmax_avg_active = 31; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_active() const { + return _internal_has_usec_1secmax_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_active() { + _impl_.usec_1secmax_avg_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_active() const { + return _impl_.usec_1secmax_avg_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) + return _internal_usec_1secmax_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.usec_1secmax_avg_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_active(uint32_t value) { + _internal_set_usec_1secmax_avg_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) +} + +// optional uint32 usec_1secmax_p50_active = 32; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_active() const { + return _internal_has_usec_1secmax_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_active() { + _impl_.usec_1secmax_p50_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_active() const { + return _impl_.usec_1secmax_p50_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) + return _internal_usec_1secmax_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.usec_1secmax_p50_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_active(uint32_t value) { + _internal_set_usec_1secmax_p50_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) +} + +// optional uint32 usec_1secmax_p95_active = 33; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_active() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_active() const { + return _internal_has_usec_1secmax_p95_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_active() { + _impl_.usec_1secmax_p95_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_active() const { + return _impl_.usec_1secmax_p95_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) + return _internal_usec_1secmax_p95_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.usec_1secmax_p95_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_active(uint32_t value) { + _internal_set_usec_1secmax_p95_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) +} + +// optional uint32 usec_1secmax_p99_active = 34; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_active() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_active() const { + return _internal_has_usec_1secmax_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_active() { + _impl_.usec_1secmax_p99_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_active() const { + return _impl_.usec_1secmax_p99_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) + return _internal_usec_1secmax_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.usec_1secmax_p99_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_active(uint32_t value) { + _internal_set_usec_1secmax_p99_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) +} + +// optional uint32 usec_1secmax_avg_all = 41; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_all() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_all() const { + return _internal_has_usec_1secmax_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_all() { + _impl_.usec_1secmax_avg_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_all() const { + return _impl_.usec_1secmax_avg_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) + return _internal_usec_1secmax_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.usec_1secmax_avg_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_all(uint32_t value) { + _internal_set_usec_1secmax_avg_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) +} + +// optional uint32 usec_1secmax_p50_all = 42; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_all() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_all() const { + return _internal_has_usec_1secmax_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_all() { + _impl_.usec_1secmax_p50_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_all() const { + return _impl_.usec_1secmax_p50_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) + return _internal_usec_1secmax_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.usec_1secmax_p50_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_all(uint32_t value) { + _internal_set_usec_1secmax_p50_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) +} + +// optional uint32 usec_1secmax_p95_all = 43; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_all() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_all() const { + return _internal_has_usec_1secmax_p95_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_all() { + _impl_.usec_1secmax_p95_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_all() const { + return _impl_.usec_1secmax_p95_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) + return _internal_usec_1secmax_p95_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.usec_1secmax_p95_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_all(uint32_t value) { + _internal_set_usec_1secmax_p95_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) +} + +// optional uint32 usec_1secmax_p99_all = 44; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_all() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_all() const { + return _internal_has_usec_1secmax_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_all() { + _impl_.usec_1secmax_p99_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_all() const { + return _impl_.usec_1secmax_p99_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) + return _internal_usec_1secmax_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.usec_1secmax_p99_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_all(uint32_t value) { + _internal_set_usec_1secmax_p99_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) +} + +// ------------------------------------------------------------------- + +// CMsgSource2VProfLiteReport + +// optional .CMsgSource2VProfLiteReportItem total = 1; +inline bool CMsgSource2VProfLiteReport::_internal_has_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.total_ != nullptr); + return value; +} +inline bool CMsgSource2VProfLiteReport::has_total() const { + return _internal_has_total(); +} +inline void CMsgSource2VProfLiteReport::clear_total() { + if (_impl_.total_ != nullptr) _impl_.total_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_total() const { + const ::CMsgSource2VProfLiteReportItem* p = _impl_.total_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReportItem_default_instance_); +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::total() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.total) + return _internal_total(); +} +inline void CMsgSource2VProfLiteReport::unsafe_arena_set_allocated_total( + ::CMsgSource2VProfLiteReportItem* total) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.total_); + } + _impl_.total_ = total; + if (total) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSource2VProfLiteReport.total) +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::release_total() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; + _impl_.total_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::unsafe_arena_release_total() { + // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReport.total) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; + _impl_.total_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_mutable_total() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.total_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(GetArenaForAllocation()); + _impl_.total_ = p; + } + return _impl_.total_; +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_total() { + ::CMsgSource2VProfLiteReportItem* _msg = _internal_mutable_total(); + // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.total) + return _msg; +} +inline void CMsgSource2VProfLiteReport::set_allocated_total(::CMsgSource2VProfLiteReportItem* total) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.total_; + } + if (total) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(total); + if (message_arena != submessage_arena) { + total = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, total, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.total_ = total; + // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReport.total) +} + +// repeated .CMsgSource2VProfLiteReportItem items = 2; +inline int CMsgSource2VProfLiteReport::_internal_items_size() const { + return _impl_.items_.size(); +} +inline int CMsgSource2VProfLiteReport::items_size() const { + return _internal_items_size(); +} +inline void CMsgSource2VProfLiteReport::clear_items() { + _impl_.items_.Clear(); +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_items(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.items) + return _impl_.items_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* +CMsgSource2VProfLiteReport::mutable_items() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource2VProfLiteReport.items) + return &_impl_.items_; +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_items(int index) const { + return _impl_.items_.Get(index); +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::items(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.items) + return _internal_items(index); +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_add_items() { + return _impl_.items_.Add(); +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::add_items() { + ::CMsgSource2VProfLiteReportItem* _add = _internal_add_items(); + // @@protoc_insertion_point(field_add:CMsgSource2VProfLiteReport.items) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& +CMsgSource2VProfLiteReport::items() const { + // @@protoc_insertion_point(field_list:CMsgSource2VProfLiteReport.items) + return _impl_.items_; +} + +// optional uint32 discarded_frames = 3; +inline bool CMsgSource2VProfLiteReport::_internal_has_discarded_frames() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReport::has_discarded_frames() const { + return _internal_has_discarded_frames(); +} +inline void CMsgSource2VProfLiteReport::clear_discarded_frames() { + _impl_.discarded_frames_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2VProfLiteReport::_internal_discarded_frames() const { + return _impl_.discarded_frames_; +} +inline uint32_t CMsgSource2VProfLiteReport::discarded_frames() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.discarded_frames) + return _internal_discarded_frames(); +} +inline void CMsgSource2VProfLiteReport::_internal_set_discarded_frames(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.discarded_frames_ = value; +} +inline void CMsgSource2VProfLiteReport::set_discarded_frames(uint32_t value) { + _internal_set_discarded_frames(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReport.discarded_frames) +} + +// ------------------------------------------------------------------- + +// CMsgSource2NetworkFlowQuality + +// optional uint32 duration = 1; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_duration() const { + return _internal_has_duration(); +} +inline void CMsgSource2NetworkFlowQuality::clear_duration() { + _impl_.duration_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_duration() const { + return _impl_.duration_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::duration() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.duration) + return _internal_duration(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_duration(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_duration(uint32_t value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.duration) +} + +// optional uint64 bytes_total = 5; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_total() const { + return _internal_has_bytes_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_total() { + _impl_.bytes_total_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total() const { + return _impl_.bytes_total_; +} +inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total) + return _internal_bytes_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.bytes_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_total(uint64_t value) { + _internal_set_bytes_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total) +} + +// optional uint64 bytes_total_reliable = 6; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_reliable() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_reliable() const { + return _internal_has_bytes_total_reliable(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_reliable() { + _impl_.bytes_total_reliable_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_reliable() const { + return _impl_.bytes_total_reliable_; +} +inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_reliable() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_reliable) + return _internal_bytes_total_reliable(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_reliable(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.bytes_total_reliable_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_total_reliable(uint64_t value) { + _internal_set_bytes_total_reliable(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_reliable) +} + +// optional uint64 bytes_total_voice = 7; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_voice() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_voice() const { + return _internal_has_bytes_total_voice(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_voice() { + _impl_.bytes_total_voice_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_voice() const { + return _impl_.bytes_total_voice_; +} +inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_voice() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_voice) + return _internal_bytes_total_voice(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_voice(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.bytes_total_voice_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_total_voice(uint64_t value) { + _internal_set_bytes_total_voice(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_voice) +} + +// optional uint32 bytes_sec_p95 = 10; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p95() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p95() const { + return _internal_has_bytes_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p95() { + _impl_.bytes_sec_p95_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p95() const { + return _impl_.bytes_sec_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p95) + return _internal_bytes_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p95(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bytes_sec_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p95(uint32_t value) { + _internal_set_bytes_sec_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p95) +} + +// optional uint32 bytes_sec_p99 = 11; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p99() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p99() const { + return _internal_has_bytes_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p99() { + _impl_.bytes_sec_p99_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p99() const { + return _impl_.bytes_sec_p99_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p99() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p99) + return _internal_bytes_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p99(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.bytes_sec_p99_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p99(uint32_t value) { + _internal_set_bytes_sec_p99(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p99) +} + +// optional uint32 enginemsgs_total = 20; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_total() const { + return _internal_has_enginemsgs_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_total() { + _impl_.enginemsgs_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_total() const { + return _impl_.enginemsgs_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_total) + return _internal_enginemsgs_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.enginemsgs_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_total(uint32_t value) { + _internal_set_enginemsgs_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_total) +} + +// optional uint32 enginemsgs_sec_p95 = 21; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p95() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p95() const { + return _internal_has_enginemsgs_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p95() { + _impl_.enginemsgs_sec_p95_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p95() const { + return _impl_.enginemsgs_sec_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) + return _internal_enginemsgs_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p95(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.enginemsgs_sec_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p95(uint32_t value) { + _internal_set_enginemsgs_sec_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) +} + +// optional uint32 enginemsgs_sec_p99 = 22; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p99() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p99() const { + return _internal_has_enginemsgs_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p99() { + _impl_.enginemsgs_sec_p99_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p99() const { + return _impl_.enginemsgs_sec_p99_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p99() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) + return _internal_enginemsgs_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p99(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.enginemsgs_sec_p99_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p99(uint32_t value) { + _internal_set_enginemsgs_sec_p99(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) +} + +// optional uint32 netframes_total = 30; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframes_total() const { + return _internal_has_netframes_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframes_total() { + _impl_.netframes_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_total() const { + return _impl_.netframes_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframes_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_total) + return _internal_netframes_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.netframes_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframes_total(uint32_t value) { + _internal_set_netframes_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_total) +} + +// optional uint32 netframes_dropped = 31; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_dropped() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframes_dropped() const { + return _internal_has_netframes_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframes_dropped() { + _impl_.netframes_dropped_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_dropped() const { + return _impl_.netframes_dropped_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframes_dropped() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_dropped) + return _internal_netframes_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_dropped(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.netframes_dropped_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframes_dropped(uint32_t value) { + _internal_set_netframes_dropped(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_dropped) +} + +// optional uint32 netframes_outoforder = 32; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_outoforder() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframes_outoforder() const { + return _internal_has_netframes_outoforder(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframes_outoforder() { + _impl_.netframes_outoforder_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_outoforder() const { + return _impl_.netframes_outoforder_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframes_outoforder() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_outoforder) + return _internal_netframes_outoforder(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_outoforder(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.netframes_outoforder_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframes_outoforder(uint32_t value) { + _internal_set_netframes_outoforder(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_outoforder) +} + +// optional uint32 netframes_size_exceeds_mtu = 34; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_size_exceeds_mtu() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframes_size_exceeds_mtu() const { + return _internal_has_netframes_size_exceeds_mtu(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframes_size_exceeds_mtu() { + _impl_.netframes_size_exceeds_mtu_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_size_exceeds_mtu() const { + return _impl_.netframes_size_exceeds_mtu_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframes_size_exceeds_mtu() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_size_exceeds_mtu) + return _internal_netframes_size_exceeds_mtu(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_size_exceeds_mtu(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.netframes_size_exceeds_mtu_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframes_size_exceeds_mtu(uint32_t value) { + _internal_set_netframes_size_exceeds_mtu(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_size_exceeds_mtu) +} + +// optional uint32 netframes_size_p95 = 35; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_size_p95() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframes_size_p95() const { + return _internal_has_netframes_size_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframes_size_p95() { + _impl_.netframes_size_p95_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_size_p95() const { + return _impl_.netframes_size_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframes_size_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_size_p95) + return _internal_netframes_size_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_size_p95(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.netframes_size_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframes_size_p95(uint32_t value) { + _internal_set_netframes_size_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_size_p95) +} + +// optional uint32 netframes_size_p99 = 36; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframes_size_p99() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframes_size_p99() const { + return _internal_has_netframes_size_p99(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframes_size_p99() { + _impl_.netframes_size_p99_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframes_size_p99() const { + return _impl_.netframes_size_p99_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframes_size_p99() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframes_size_p99) + return _internal_netframes_size_p99(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframes_size_p99(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.netframes_size_p99_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframes_size_p99(uint32_t value) { + _internal_set_netframes_size_p99(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframes_size_p99) +} + +// optional uint32 ticks_total = 40; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_total() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_total() const { + return _internal_has_ticks_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_total() { + _impl_.ticks_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_total() const { + return _impl_.ticks_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_total) + return _internal_ticks_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.ticks_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_total(uint32_t value) { + _internal_set_ticks_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_total) +} + +// optional uint32 ticks_good = 41; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_good() const { + return _internal_has_ticks_good(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_good() { + _impl_.ticks_good_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good() const { + return _impl_.ticks_good_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good) + return _internal_ticks_good(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.ticks_good_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_good(uint32_t value) { + _internal_set_ticks_good(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good) +} + +// optional uint32 ticks_good_almost_late = 42; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good_almost_late() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_good_almost_late() const { + return _internal_has_ticks_good_almost_late(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_good_almost_late() { + _impl_.ticks_good_almost_late_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good_almost_late() const { + return _impl_.ticks_good_almost_late_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good_almost_late() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) + return _internal_ticks_good_almost_late(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good_almost_late(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.ticks_good_almost_late_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_good_almost_late(uint32_t value) { + _internal_set_ticks_good_almost_late(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) +} + +// optional uint32 ticks_fixed_dropped = 43; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_dropped() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_dropped() const { + return _internal_has_ticks_fixed_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_dropped() { + _impl_.ticks_fixed_dropped_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_dropped() const { + return _impl_.ticks_fixed_dropped_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_dropped() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) + return _internal_ticks_fixed_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_dropped(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.ticks_fixed_dropped_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_dropped(uint32_t value) { + _internal_set_ticks_fixed_dropped(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) +} + +// optional uint32 ticks_fixed_late = 44; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_late() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_late() const { + return _internal_has_ticks_fixed_late(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_late() { + _impl_.ticks_fixed_late_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_late() const { + return _impl_.ticks_fixed_late_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_late() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_late) + return _internal_ticks_fixed_late(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_late(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.ticks_fixed_late_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_late(uint32_t value) { + _internal_set_ticks_fixed_late(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_late) +} + +// optional uint32 ticks_bad_dropped = 45; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_dropped() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_dropped() const { + return _internal_has_ticks_bad_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_dropped() { + _impl_.ticks_bad_dropped_ = 0u; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_dropped() const { + return _impl_.ticks_bad_dropped_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_dropped() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) + return _internal_ticks_bad_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_dropped(uint32_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.ticks_bad_dropped_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_dropped(uint32_t value) { + _internal_set_ticks_bad_dropped(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) +} + +// optional uint32 ticks_bad_late = 46; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_late() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_late() const { + return _internal_has_ticks_bad_late(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_late() { + _impl_.ticks_bad_late_ = 0u; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_late() const { + return _impl_.ticks_bad_late_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_late() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_late) + return _internal_ticks_bad_late(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_late(uint32_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.ticks_bad_late_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_late(uint32_t value) { + _internal_set_ticks_bad_late(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_late) +} + +// optional uint32 ticks_bad_other = 47; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_other() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_other() const { + return _internal_has_ticks_bad_other(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_other() { + _impl_.ticks_bad_other_ = 0u; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_other() const { + return _impl_.ticks_bad_other_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_other() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_other) + return _internal_ticks_bad_other(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_other(uint32_t value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.ticks_bad_other_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_other(uint32_t value) { + _internal_set_ticks_bad_other(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_other) +} + +// optional uint32 tick_missrate_samples_total = 50; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_total() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_total() const { + return _internal_has_tick_missrate_samples_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_total() { + _impl_.tick_missrate_samples_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_total() const { + return _impl_.tick_missrate_samples_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) + return _internal_tick_missrate_samples_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00800000u; + _impl_.tick_missrate_samples_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_total(uint32_t value) { + _internal_set_tick_missrate_samples_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) +} + +// optional uint32 tick_missrate_samples_perfect = 51; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfect() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfect() const { + return _internal_has_tick_missrate_samples_perfect(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfect() { + _impl_.tick_missrate_samples_perfect_ = 0u; + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfect() const { + return _impl_.tick_missrate_samples_perfect_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfect() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) + return _internal_tick_missrate_samples_perfect(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfect(uint32_t value) { + _impl_._has_bits_[0] |= 0x01000000u; + _impl_.tick_missrate_samples_perfect_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfect(uint32_t value) { + _internal_set_tick_missrate_samples_perfect(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) +} + +// optional uint32 tick_missrate_samples_perfectnet = 52; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfectnet() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfectnet() const { + return _internal_has_tick_missrate_samples_perfectnet(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfectnet() { + _impl_.tick_missrate_samples_perfectnet_ = 0u; + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfectnet() const { + return _impl_.tick_missrate_samples_perfectnet_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfectnet() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) + return _internal_tick_missrate_samples_perfectnet(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfectnet(uint32_t value) { + _impl_._has_bits_[0] |= 0x02000000u; + _impl_.tick_missrate_samples_perfectnet_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfectnet(uint32_t value) { + _internal_set_tick_missrate_samples_perfectnet(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) +} + +// optional uint32 tick_missratenet_p75_x10 = 53; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p75_x10() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p75_x10() const { + return _internal_has_tick_missratenet_p75_x10(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p75_x10() { + _impl_.tick_missratenet_p75_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p75_x10() const { + return _impl_.tick_missratenet_p75_x10_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p75_x10() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) + return _internal_tick_missratenet_p75_x10(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p75_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x04000000u; + _impl_.tick_missratenet_p75_x10_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p75_x10(uint32_t value) { + _internal_set_tick_missratenet_p75_x10(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) +} + +// optional uint32 tick_missratenet_p95_x10 = 54; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p95_x10() const { + bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p95_x10() const { + return _internal_has_tick_missratenet_p95_x10(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p95_x10() { + _impl_.tick_missratenet_p95_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x08000000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p95_x10() const { + return _impl_.tick_missratenet_p95_x10_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p95_x10() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) + return _internal_tick_missratenet_p95_x10(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p95_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x08000000u; + _impl_.tick_missratenet_p95_x10_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p95_x10(uint32_t value) { + _internal_set_tick_missratenet_p95_x10(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) +} + +// optional uint32 tick_missratenet_p99_x10 = 55; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p99_x10() const { + bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p99_x10() const { + return _internal_has_tick_missratenet_p99_x10(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p99_x10() { + _impl_.tick_missratenet_p99_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x10000000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p99_x10() const { + return _impl_.tick_missratenet_p99_x10_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p99_x10() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) + return _internal_tick_missratenet_p99_x10(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p99_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x10000000u; + _impl_.tick_missratenet_p99_x10_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p99_x10(uint32_t value) { + _internal_set_tick_missratenet_p99_x10(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) +} + +// optional sint32 recvmargin_p1 = 61; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p1() const { + bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p1() const { + return _internal_has_recvmargin_p1(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p1() { + _impl_.recvmargin_p1_ = 0; + _impl_._has_bits_[0] &= ~0x20000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p1() const { + return _impl_.recvmargin_p1_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p1() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p1) + return _internal_recvmargin_p1(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p1(int32_t value) { + _impl_._has_bits_[0] |= 0x20000000u; + _impl_.recvmargin_p1_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p1(int32_t value) { + _internal_set_recvmargin_p1(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p1) +} + +// optional sint32 recvmargin_p5 = 62; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p5() const { + bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p5() const { + return _internal_has_recvmargin_p5(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p5() { + _impl_.recvmargin_p5_ = 0; + _impl_._has_bits_[0] &= ~0x40000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p5() const { + return _impl_.recvmargin_p5_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p5() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p5) + return _internal_recvmargin_p5(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p5(int32_t value) { + _impl_._has_bits_[0] |= 0x40000000u; + _impl_.recvmargin_p5_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p5(int32_t value) { + _internal_set_recvmargin_p5(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p5) +} + +// optional sint32 recvmargin_p25 = 63; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p25() const { + bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p25() const { + return _internal_has_recvmargin_p25(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p25() { + _impl_.recvmargin_p25_ = 0; + _impl_._has_bits_[0] &= ~0x80000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p25() const { + return _impl_.recvmargin_p25_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p25() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p25) + return _internal_recvmargin_p25(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p25(int32_t value) { + _impl_._has_bits_[0] |= 0x80000000u; + _impl_.recvmargin_p25_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p25(int32_t value) { + _internal_set_recvmargin_p25(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p25) +} + +// optional sint32 recvmargin_p50 = 64; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p50() const { + bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p50() const { + return _internal_has_recvmargin_p50(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p50() { + _impl_.recvmargin_p50_ = 0; + _impl_._has_bits_[1] &= ~0x00000001u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p50() const { + return _impl_.recvmargin_p50_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p50() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p50) + return _internal_recvmargin_p50(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p50(int32_t value) { + _impl_._has_bits_[1] |= 0x00000001u; + _impl_.recvmargin_p50_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p50(int32_t value) { + _internal_set_recvmargin_p50(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p50) +} + +// optional sint32 recvmargin_p75 = 65; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p75() const { + bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p75() const { + return _internal_has_recvmargin_p75(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p75() { + _impl_.recvmargin_p75_ = 0; + _impl_._has_bits_[1] &= ~0x00000002u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p75() const { + return _impl_.recvmargin_p75_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p75() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p75) + return _internal_recvmargin_p75(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p75(int32_t value) { + _impl_._has_bits_[1] |= 0x00000002u; + _impl_.recvmargin_p75_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p75(int32_t value) { + _internal_set_recvmargin_p75(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p75) +} + +// optional sint32 recvmargin_p95 = 66; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p95() const { + bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p95() const { + return _internal_has_recvmargin_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p95() { + _impl_.recvmargin_p95_ = 0; + _impl_._has_bits_[1] &= ~0x00000004u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p95() const { + return _impl_.recvmargin_p95_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p95) + return _internal_recvmargin_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p95(int32_t value) { + _impl_._has_bits_[1] |= 0x00000004u; + _impl_.recvmargin_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p95(int32_t value) { + _internal_set_recvmargin_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p95) +} + +// optional uint32 netframe_jitter_p50 = 70; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframe_jitter_p50() const { + bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframe_jitter_p50() const { + return _internal_has_netframe_jitter_p50(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframe_jitter_p50() { + _impl_.netframe_jitter_p50_ = 0u; + _impl_._has_bits_[1] &= ~0x00000008u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframe_jitter_p50() const { + return _impl_.netframe_jitter_p50_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframe_jitter_p50() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframe_jitter_p50) + return _internal_netframe_jitter_p50(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframe_jitter_p50(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000008u; + _impl_.netframe_jitter_p50_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframe_jitter_p50(uint32_t value) { + _internal_set_netframe_jitter_p50(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframe_jitter_p50) +} + +// optional uint32 netframe_jitter_p99 = 71; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_netframe_jitter_p99() const { + bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_netframe_jitter_p99() const { + return _internal_has_netframe_jitter_p99(); +} +inline void CMsgSource2NetworkFlowQuality::clear_netframe_jitter_p99() { + _impl_.netframe_jitter_p99_ = 0u; + _impl_._has_bits_[1] &= ~0x00000010u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_netframe_jitter_p99() const { + return _impl_.netframe_jitter_p99_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::netframe_jitter_p99() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.netframe_jitter_p99) + return _internal_netframe_jitter_p99(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_netframe_jitter_p99(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000010u; + _impl_.netframe_jitter_p99_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_netframe_jitter_p99(uint32_t value) { + _internal_set_netframe_jitter_p99(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.netframe_jitter_p99) +} + +// optional uint32 interval_peakjitter_p50 = 72; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_interval_peakjitter_p50() const { + bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_interval_peakjitter_p50() const { + return _internal_has_interval_peakjitter_p50(); +} +inline void CMsgSource2NetworkFlowQuality::clear_interval_peakjitter_p50() { + _impl_.interval_peakjitter_p50_ = 0u; + _impl_._has_bits_[1] &= ~0x00000020u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_interval_peakjitter_p50() const { + return _impl_.interval_peakjitter_p50_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::interval_peakjitter_p50() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.interval_peakjitter_p50) + return _internal_interval_peakjitter_p50(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_interval_peakjitter_p50(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000020u; + _impl_.interval_peakjitter_p50_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_interval_peakjitter_p50(uint32_t value) { + _internal_set_interval_peakjitter_p50(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.interval_peakjitter_p50) +} + +// optional uint32 interval_peakjitter_p95 = 73; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_interval_peakjitter_p95() const { + bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_interval_peakjitter_p95() const { + return _internal_has_interval_peakjitter_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_interval_peakjitter_p95() { + _impl_.interval_peakjitter_p95_ = 0u; + _impl_._has_bits_[1] &= ~0x00000040u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_interval_peakjitter_p95() const { + return _impl_.interval_peakjitter_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::interval_peakjitter_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.interval_peakjitter_p95) + return _internal_interval_peakjitter_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_interval_peakjitter_p95(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000040u; + _impl_.interval_peakjitter_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_interval_peakjitter_p95(uint32_t value) { + _internal_set_interval_peakjitter_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.interval_peakjitter_p95) +} + +// optional uint32 packet_misdelivery_rate_p50_x4 = 74; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_packet_misdelivery_rate_p50_x4() const { + bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_packet_misdelivery_rate_p50_x4() const { + return _internal_has_packet_misdelivery_rate_p50_x4(); +} +inline void CMsgSource2NetworkFlowQuality::clear_packet_misdelivery_rate_p50_x4() { + _impl_.packet_misdelivery_rate_p50_x4_ = 0u; + _impl_._has_bits_[1] &= ~0x00000080u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_packet_misdelivery_rate_p50_x4() const { + return _impl_.packet_misdelivery_rate_p50_x4_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::packet_misdelivery_rate_p50_x4() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p50_x4) + return _internal_packet_misdelivery_rate_p50_x4(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_packet_misdelivery_rate_p50_x4(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000080u; + _impl_.packet_misdelivery_rate_p50_x4_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_packet_misdelivery_rate_p50_x4(uint32_t value) { + _internal_set_packet_misdelivery_rate_p50_x4(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p50_x4) +} + +// optional uint32 packet_misdelivery_rate_p95_x4 = 75; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_packet_misdelivery_rate_p95_x4() const { + bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_packet_misdelivery_rate_p95_x4() const { + return _internal_has_packet_misdelivery_rate_p95_x4(); +} +inline void CMsgSource2NetworkFlowQuality::clear_packet_misdelivery_rate_p95_x4() { + _impl_.packet_misdelivery_rate_p95_x4_ = 0u; + _impl_._has_bits_[1] &= ~0x00000100u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_packet_misdelivery_rate_p95_x4() const { + return _impl_.packet_misdelivery_rate_p95_x4_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::packet_misdelivery_rate_p95_x4() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p95_x4) + return _internal_packet_misdelivery_rate_p95_x4(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_packet_misdelivery_rate_p95_x4(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000100u; + _impl_.packet_misdelivery_rate_p95_x4_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_packet_misdelivery_rate_p95_x4(uint32_t value) { + _internal_set_packet_misdelivery_rate_p95_x4(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.packet_misdelivery_rate_p95_x4) +} + +// optional uint32 net_ping_p5 = 80; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_net_ping_p5() const { + bool value = (_impl_._has_bits_[1] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_net_ping_p5() const { + return _internal_has_net_ping_p5(); +} +inline void CMsgSource2NetworkFlowQuality::clear_net_ping_p5() { + _impl_.net_ping_p5_ = 0u; + _impl_._has_bits_[1] &= ~0x00000200u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_net_ping_p5() const { + return _impl_.net_ping_p5_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::net_ping_p5() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.net_ping_p5) + return _internal_net_ping_p5(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_net_ping_p5(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000200u; + _impl_.net_ping_p5_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_net_ping_p5(uint32_t value) { + _internal_set_net_ping_p5(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.net_ping_p5) +} + +// optional uint32 net_ping_p50 = 81; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_net_ping_p50() const { + bool value = (_impl_._has_bits_[1] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_net_ping_p50() const { + return _internal_has_net_ping_p50(); +} +inline void CMsgSource2NetworkFlowQuality::clear_net_ping_p50() { + _impl_.net_ping_p50_ = 0u; + _impl_._has_bits_[1] &= ~0x00000400u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_net_ping_p50() const { + return _impl_.net_ping_p50_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::net_ping_p50() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.net_ping_p50) + return _internal_net_ping_p50(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_net_ping_p50(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000400u; + _impl_.net_ping_p50_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_net_ping_p50(uint32_t value) { + _internal_set_net_ping_p50(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.net_ping_p50) +} + +// optional uint32 net_ping_p95 = 82; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_net_ping_p95() const { + bool value = (_impl_._has_bits_[1] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_net_ping_p95() const { + return _internal_has_net_ping_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_net_ping_p95() { + _impl_.net_ping_p95_ = 0u; + _impl_._has_bits_[1] &= ~0x00000800u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_net_ping_p95() const { + return _impl_.net_ping_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::net_ping_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.net_ping_p95) + return _internal_net_ping_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_net_ping_p95(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000800u; + _impl_.net_ping_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_net_ping_p95(uint32_t value) { + _internal_set_net_ping_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.net_ping_p95) +} + +// ------------------------------------------------------------------- + +// CMsgSource2PerfIntervalSample_Tag + +// optional string tag = 1; +inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample_Tag::has_tag() const { + return _internal_has_tag(); +} +inline void CMsgSource2PerfIntervalSample_Tag::clear_tag() { + _impl_.tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource2PerfIntervalSample_Tag::tag() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.tag) + return _internal_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2PerfIntervalSample_Tag::set_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.tag) +} +inline std::string* CMsgSource2PerfIntervalSample_Tag::mutable_tag() { + std::string* _s = _internal_mutable_tag(); + // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.Tag.tag) + return _s; +} +inline const std::string& CMsgSource2PerfIntervalSample_Tag::_internal_tag() const { + return _impl_.tag_.Get(); +} +inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2PerfIntervalSample_Tag::_internal_mutable_tag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2PerfIntervalSample_Tag::release_tag() { + // @@protoc_insertion_point(field_release:CMsgSource2PerfIntervalSample.Tag.tag) + if (!_internal_has_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tag_.IsDefault()) { + _impl_.tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2PerfIntervalSample_Tag::set_allocated_tag(std::string* tag) { + if (tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tag_.SetAllocated(tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tag_.IsDefault()) { + _impl_.tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2PerfIntervalSample.Tag.tag) +} + +// optional uint32 max_value = 2; +inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_max_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample_Tag::has_max_value() const { + return _internal_has_max_value(); +} +inline void CMsgSource2PerfIntervalSample_Tag::clear_max_value() { + _impl_.max_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2PerfIntervalSample_Tag::_internal_max_value() const { + return _impl_.max_value_; +} +inline uint32_t CMsgSource2PerfIntervalSample_Tag::max_value() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.max_value) + return _internal_max_value(); +} +inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_max_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.max_value_ = value; +} +inline void CMsgSource2PerfIntervalSample_Tag::set_max_value(uint32_t value) { + _internal_set_max_value(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.max_value) +} + +// ------------------------------------------------------------------- + +// CMsgSource2PerfIntervalSample + +// optional float frame_time_max_ms = 1; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_max_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_max_ms() const { + return _internal_has_frame_time_max_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_max_ms() { + _impl_.frame_time_max_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_max_ms() const { + return _impl_.frame_time_max_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_max_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_max_ms) + return _internal_frame_time_max_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_max_ms(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.frame_time_max_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_max_ms(float value) { + _internal_set_frame_time_max_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_max_ms) +} + +// optional float frame_time_avg_ms = 2; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_avg_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_avg_ms() const { + return _internal_has_frame_time_avg_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_avg_ms() { + _impl_.frame_time_avg_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_avg_ms() const { + return _impl_.frame_time_avg_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_avg_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_avg_ms) + return _internal_frame_time_avg_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_avg_ms(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.frame_time_avg_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_avg_ms(float value) { + _internal_set_frame_time_avg_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_avg_ms) +} + +// optional float frame_time_min_ms = 3; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_min_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_min_ms() const { + return _internal_has_frame_time_min_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_min_ms() { + _impl_.frame_time_min_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_min_ms() const { + return _impl_.frame_time_min_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_min_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_min_ms) + return _internal_frame_time_min_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_min_ms(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frame_time_min_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_min_ms(float value) { + _internal_set_frame_time_min_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_min_ms) +} + +// optional int32 frame_count = 4; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_count() const { + return _internal_has_frame_count(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_count() { + _impl_.frame_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgSource2PerfIntervalSample::_internal_frame_count() const { + return _impl_.frame_count_; +} +inline int32_t CMsgSource2PerfIntervalSample::frame_count() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_count) + return _internal_frame_count(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.frame_count_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_count(int32_t value) { + _internal_set_frame_count(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_count) +} + +// optional float frame_time_total_ms = 5; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_total_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_total_ms() const { + return _internal_has_frame_time_total_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_total_ms() { + _impl_.frame_time_total_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_total_ms() const { + return _impl_.frame_time_total_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_total_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_total_ms) + return _internal_frame_time_total_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_total_ms(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.frame_time_total_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_total_ms(float value) { + _internal_set_frame_time_total_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_total_ms) +} + +// repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; +inline int CMsgSource2PerfIntervalSample::_internal_tags_size() const { + return _impl_.tags_.size(); +} +inline int CMsgSource2PerfIntervalSample::tags_size() const { + return _internal_tags_size(); +} +inline void CMsgSource2PerfIntervalSample::clear_tags() { + _impl_.tags_.Clear(); +} +inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.tags) + return _impl_.tags_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* +CMsgSource2PerfIntervalSample::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource2PerfIntervalSample.tags) + return &_impl_.tags_; +} +inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::_internal_tags(int index) const { + return _impl_.tags_.Get(index); +} +inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::tags(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.tags) + return _internal_tags(index); +} +inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::_internal_add_tags() { + return _impl_.tags_.Add(); +} +inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::add_tags() { + ::CMsgSource2PerfIntervalSample_Tag* _add = _internal_add_tags(); + // @@protoc_insertion_point(field_add:CMsgSource2PerfIntervalSample.tags) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& +CMsgSource2PerfIntervalSample::tags() const { + // @@protoc_insertion_point(field_list:CMsgSource2PerfIntervalSample.tags) + return _impl_.tags_; +} + +// ------------------------------------------------------------------- + +// CSource2Metrics_MatchPerfSummary_Notification_Client + +// optional .CMsgSource2SystemSpecs system_specs = 1; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_system_specs() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.system_specs_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_system_specs() const { + return _internal_has_system_specs(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_system_specs() { + if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_system_specs() const { + const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2SystemSpecs_default_instance_); +} +inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::system_specs() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) + return _internal_system_specs(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_system_specs( + ::CMsgSource2SystemSpecs* system_specs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); + } + _impl_.system_specs_ = system_specs; + if (system_specs) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::release_system_specs() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; + _impl_.system_specs_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_system_specs() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; + _impl_.system_specs_ = nullptr; + return temp; +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_system_specs() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.system_specs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2SystemSpecs>(GetArenaForAllocation()); + _impl_.system_specs_ = p; + } + return _impl_.system_specs_; +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_system_specs() { + ::CMsgSource2SystemSpecs* _msg = _internal_mutable_system_specs(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.system_specs_; + } + if (system_specs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); + if (message_arena != submessage_arena) { + system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, system_specs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.system_specs_ = system_specs; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) +} + +// optional .CMsgSource2VProfLiteReport profile = 2; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_profile() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.profile_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_profile() const { + return _internal_has_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_profile() { + if (_impl_.profile_ != nullptr) _impl_.profile_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_profile() const { + const ::CMsgSource2VProfLiteReport* p = _impl_.profile_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReport_default_instance_); +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::profile() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) + return _internal_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_profile( + ::CMsgSource2VProfLiteReport* profile) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.profile_); + } + _impl_.profile_ = profile; + if (profile) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::release_profile() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; + _impl_.profile_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_profile() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; + _impl_.profile_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_profile() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.profile_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); + _impl_.profile_ = p; + } + return _impl_.profile_; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_profile() { + ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_profile(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_profile(::CMsgSource2VProfLiteReport* profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.profile_; + } + if (profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(profile); + if (message_arena != submessage_arena) { + profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, profile, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.profile_ = profile; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) +} + +// optional uint32 build_id = 3; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_build_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_build_id() const { + return _internal_has_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_build_id() { + _impl_.build_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_build_id() const { + return _impl_.build_id_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::build_id() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) + return _internal_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_build_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.build_id_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_build_id(uint32_t value) { + _internal_set_build_id(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) +} + +// optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_downstream_flow() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.downstream_flow_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_downstream_flow() const { + return _internal_has_downstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_downstream_flow() { + if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_downstream_flow() const { + const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2NetworkFlowQuality_default_instance_); +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::downstream_flow() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) + return _internal_downstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_downstream_flow( + ::CMsgSource2NetworkFlowQuality* downstream_flow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); + } + _impl_.downstream_flow_ = downstream_flow; + if (downstream_flow) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_downstream_flow() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; + _impl_.downstream_flow_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_downstream_flow() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; + _impl_.downstream_flow_ = nullptr; + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_downstream_flow() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.downstream_flow_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); + _impl_.downstream_flow_ = p; + } + return _impl_.downstream_flow_; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_downstream_flow() { + ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_downstream_flow(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.downstream_flow_; + } + if (downstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); + if (message_arena != submessage_arena) { + downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, downstream_flow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.downstream_flow_ = downstream_flow; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) +} + +// optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_upstream_flow() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.upstream_flow_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_upstream_flow() const { + return _internal_has_upstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_upstream_flow() { + if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_upstream_flow() const { + const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2NetworkFlowQuality_default_instance_); +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::upstream_flow() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) + return _internal_upstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_upstream_flow( + ::CMsgSource2NetworkFlowQuality* upstream_flow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); + } + _impl_.upstream_flow_ = upstream_flow; + if (upstream_flow) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_upstream_flow() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; + _impl_.upstream_flow_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_upstream_flow() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; + _impl_.upstream_flow_ = nullptr; + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_upstream_flow() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.upstream_flow_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); + _impl_.upstream_flow_ = p; + } + return _impl_.upstream_flow_; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_upstream_flow() { + ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_upstream_flow(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.upstream_flow_; + } + if (upstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); + if (message_arena != submessage_arena) { + upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, upstream_flow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.upstream_flow_ = upstream_flow; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) +} + +// optional fixed64 steamid = 10; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_steamid() const { + return _internal_has_steamid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::steamid() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) + return _internal_steamid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.steamid_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) +} + +// repeated .CMsgSource2PerfIntervalSample perf_samples = 11; +inline int CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples_size() const { + return _impl_.perf_samples_.size(); +} +inline int CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples_size() const { + return _internal_perf_samples_size(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_perf_samples() { + _impl_.perf_samples_.Clear(); +} +inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples(int index) { + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _impl_.perf_samples_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* +CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples() { + // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return &_impl_.perf_samples_; +} +inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples(int index) const { + return _impl_.perf_samples_.Get(index); +} +inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples(int index) const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _internal_perf_samples(index); +} +inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_add_perf_samples() { + return _impl_.perf_samples_.Add(); +} +inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::add_perf_samples() { + ::CMsgSource2PerfIntervalSample* _add = _internal_add_perf_samples(); + // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& +CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples() const { + // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _impl_.perf_samples_; +} + +// ------------------------------------------------------------------- + +// CSource2Metrics_MatchPerfSummary_Notification + +// optional uint32 appid = 1; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_appid() const { + return _internal_has_appid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::appid() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.appid) + return _internal_appid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.appid) +} + +// optional string game_mode = 2; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_game_mode() const { + return _internal_has_game_mode(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_game_mode() { + _impl_.game_mode_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::game_mode() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.game_mode) + return _internal_game_mode(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSource2Metrics_MatchPerfSummary_Notification::set_game_mode(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.game_mode) +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_game_mode() { + std::string* _s = _internal_mutable_game_mode(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.game_mode) + return _s; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_game_mode() const { + return _impl_.game_mode_.Get(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_game_mode(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mode_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_game_mode() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_mode_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_game_mode() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.game_mode) + if (!_internal_has_game_mode()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_mode_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mode_.IsDefault()) { + _impl_.game_mode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_game_mode(std::string* game_mode) { + if (game_mode != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_mode_.SetAllocated(game_mode, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mode_.IsDefault()) { + _impl_.game_mode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.game_mode) +} + +// optional uint32 server_build_id = 3; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_build_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_build_id() const { + return _internal_has_server_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_build_id() { + _impl_.server_build_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_build_id() const { + return _impl_.server_build_id_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_build_id() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) + return _internal_server_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_build_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_build_id_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_build_id(uint32_t value) { + _internal_set_server_build_id(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) +} + +// optional fixed32 server_popid = 4; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_popid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_popid() const { + return _internal_has_server_popid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_popid() { + _impl_.server_popid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_popid() const { + return _impl_.server_popid_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_popid() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_popid) + return _internal_server_popid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_popid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.server_popid_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_popid(uint32_t value) { + _internal_set_server_popid(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_popid) +} + +// optional .CMsgSource2VProfLiteReport server_profile = 10; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_profile() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.server_profile_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_profile() const { + return _internal_has_server_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_profile() { + if (_impl_.server_profile_ != nullptr) _impl_.server_profile_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::_internal_server_profile() const { + const ::CMsgSource2VProfLiteReport* p = _impl_.server_profile_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReport_default_instance_); +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::server_profile() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_profile) + return _internal_server_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_set_allocated_server_profile( + ::CMsgSource2VProfLiteReport* server_profile) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.server_profile_); + } + _impl_.server_profile_ = server_profile; + if (server_profile) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::release_server_profile() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; + _impl_.server_profile_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_release_server_profile() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.server_profile) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; + _impl_.server_profile_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_server_profile() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.server_profile_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); + _impl_.server_profile_ = p; + } + return _impl_.server_profile_; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::mutable_server_profile() { + ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_server_profile(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.server_profile) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.server_profile_; + } + if (server_profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(server_profile); + if (message_arena != submessage_arena) { + server_profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, server_profile, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.server_profile_ = server_profile; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) +} + +// repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; +inline int CSource2Metrics_MatchPerfSummary_Notification::_internal_clients_size() const { + return _impl_.clients_.size(); +} +inline int CSource2Metrics_MatchPerfSummary_Notification::clients_size() const { + return _internal_clients_size(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_clients() { + _impl_.clients_.Clear(); +} +inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::mutable_clients(int index) { + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _impl_.clients_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* +CSource2Metrics_MatchPerfSummary_Notification::mutable_clients() { + // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.clients) + return &_impl_.clients_; +} +inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::_internal_clients(int index) const { + return _impl_.clients_.Get(index); +} +inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::clients(int index) const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _internal_clients(index); +} +inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::_internal_add_clients() { + return _impl_.clients_.Add(); +} +inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::add_clients() { + ::CSource2Metrics_MatchPerfSummary_Notification_Client* _add = _internal_add_clients(); + // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& +CSource2Metrics_MatchPerfSummary_Notification::clients() const { + // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _impl_.clients_; +} + +// optional string map = 20; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_map() const { + return _internal_has_map(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_map() { + _impl_.map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::map() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.map) + return _internal_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSource2Metrics_MatchPerfSummary_Notification::set_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.map) +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_map() { + std::string* _s = _internal_mutable_map(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.map) + return _s; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_map() const { + return _impl_.map_.Get(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.map_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_map() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.map_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_map() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.map) + if (!_internal_has_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_map(std::string* map) { + if (map != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.map_.SetAllocated(map, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.map) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_source2_5fsteam_5fstats_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc index 08e8e21..55f6700 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc @@ -114,7 +114,7 @@ const char descriptor_table_protodef_uifontfile_5fformat_2eproto[] PROTOBUF_SECT "\n\027uifontfile_format.proto\"C\n\rCUIFontFile" "PB\022\026\n\016font_file_name\030\001 \001(\t\022\032\n\022opentype_f" "ont_data\030\002 \001(\014\"\261\001\n\024CUIFontFilePackagePB\022" - "\027\n\017package_version\030\001 \002(\r\022J\n\024encrypted_fo" + "\027\n\017package_version\030\001 \001(\r\022J\n\024encrypted_fo" "nt_files\030\002 \003(\0132,.CUIFontFilePackagePB.CU" "IEncryptedFontFilePB\0324\n\026CUIEncryptedFont" "FilePB\022\032\n\022encrypted_contents\030\001 \001(\014" @@ -633,9 +633,6 @@ class CUIFontFilePackagePB::_Internal { static void set_has_package_version(HasBits* has_bits) { (*has_bits)[0] |= 1u; } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } }; CUIFontFilePackagePB::CUIFontFilePackagePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -707,7 +704,7 @@ const char* CUIFontFilePackagePB::_InternalParse(const char* ptr, ::_pbi::ParseC uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // required uint32 package_version = 1; + // optional uint32 package_version = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_package_version(&has_bits); @@ -760,7 +757,7 @@ uint8_t* CUIFontFilePackagePB::_InternalSerialize( (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - // required uint32 package_version = 1; + // optional uint32 package_version = 1; if (cached_has_bits & 0x00000001u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_package_version(), target); @@ -786,10 +783,6 @@ size_t CUIFontFilePackagePB::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:CUIFontFilePackagePB) size_t total_size = 0; - // required uint32 package_version = 1; - if (_internal_has_package_version()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_package_version()); - } uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -801,6 +794,12 @@ size_t CUIFontFilePackagePB::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // optional uint32 package_version = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_package_version()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -834,7 +833,6 @@ void CUIFontFilePackagePB::CopyFrom(const CUIFontFilePackagePB& from) { } bool CUIFontFilePackagePB::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; return true; } diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h index f508b00..c475b5d 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h @@ -562,7 +562,7 @@ class CUIFontFilePackagePB final : const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >& encrypted_font_files() const; - // required uint32 package_version = 1; + // optional uint32 package_version = 1; bool has_package_version() const; private: bool _internal_has_package_version() const; @@ -814,7 +814,7 @@ inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::set_allocated_encrypted // CUIFontFilePackagePB -// required uint32 package_version = 1; +// optional uint32 package_version = 1; inline bool CUIFontFilePackagePB::_internal_has_package_version() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc index 60c85c7..6197feb 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc @@ -56,6 +56,20 @@ struct CSubtickMoveStepDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSubtickMoveStepDefaultTypeInternal _CSubtickMoveStep_default_instance_; +PROTOBUF_CONSTEXPR CBaseUserCmdExecutionNotes::CBaseUserCmdExecutionNotes( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ignored_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CBaseUserCmdExecutionNotesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CBaseUserCmdExecutionNotesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CBaseUserCmdExecutionNotesDefaultTypeInternal() {} + union { + CBaseUserCmdExecutionNotes _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBaseUserCmdExecutionNotesDefaultTypeInternal _CBaseUserCmdExecutionNotes_default_instance_; PROTOBUF_CONSTEXPR CBaseUserCmdPB::CBaseUserCmdPB( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_._has_bits_)*/{} @@ -64,6 +78,7 @@ PROTOBUF_CONSTEXPR CBaseUserCmdPB::CBaseUserCmdPB( , /*decltype(_impl_.move_crc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.buttons_pb_)*/nullptr , /*decltype(_impl_.viewangles_)*/nullptr + , /*decltype(_impl_.execution_notes_)*/nullptr , /*decltype(_impl_.legacy_command_number_)*/0 , /*decltype(_impl_.client_tick_)*/0 , /*decltype(_impl_.forwardmove_)*/0 @@ -101,7 +116,7 @@ struct CUserCmdBasePBDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserCmdBasePBDefaultTypeInternal _CUserCmdBasePB_default_instance_; -static ::_pb::Metadata file_level_metadata_usercmd_2eproto[4]; +static ::_pb::Metadata file_level_metadata_usercmd_2eproto[5]; static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_usercmd_2eproto = nullptr; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_usercmd_2eproto = nullptr; @@ -138,6 +153,14 @@ const uint32_t TableStruct_usercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( 4, 5, 6, + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdExecutionNotes, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdExecutionNotes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdExecutionNotes, _impl_.ignored_reason_), + 0, PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _internal_metadata_), ~0u, // no _extensions_ @@ -162,12 +185,12 @@ const uint32_t TableStruct_usercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.move_crc_), PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.consumed_server_angle_changes_), PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.cmd_flags_), - 3, + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.execution_notes_), 4, - 13, + 5, + 14, 1, 2, - 5, 6, 7, 8, @@ -175,11 +198,13 @@ const uint32_t TableStruct_usercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( 10, 11, 12, - 16, + 13, + 17, ~0u, 0, - 14, 15, + 16, + 3, PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _internal_metadata_), ~0u, // no _extensions_ @@ -192,13 +217,15 @@ const uint32_t TableStruct_usercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 9, -1, sizeof(::CInButtonStatePB)}, { 12, 25, -1, sizeof(::CSubtickMoveStep)}, - { 32, 56, -1, sizeof(::CBaseUserCmdPB)}, - { 74, 81, -1, sizeof(::CUserCmdBasePB)}, + { 32, 39, -1, sizeof(::CBaseUserCmdExecutionNotes)}, + { 40, 65, -1, sizeof(::CBaseUserCmdPB)}, + { 84, 91, -1, sizeof(::CUserCmdBasePB)}, }; static const ::_pb::Message* const file_default_instances[] = { &::_CInButtonStatePB_default_instance_._instance, &::_CSubtickMoveStep_default_instance_._instance, + &::_CBaseUserCmdExecutionNotes_default_instance_._instance, &::_CBaseUserCmdPB_default_instance_._instance, &::_CUserCmdBasePB_default_instance_._instance, }; @@ -211,29 +238,32 @@ const char descriptor_table_protodef_usercmd_2eproto[] PROTOBUF_SECTION_VARIABLE "(\004\022\017\n\007pressed\030\002 \001(\010\022\014\n\004when\030\003 \001(\002\022\034\n\024ana" "log_forward_delta\030\004 \001(\002\022\031\n\021analog_left_d" "elta\030\005 \001(\002\022\023\n\013pitch_delta\030\010 \001(\002\022\021\n\tyaw_d" - "elta\030\t \001(\002\"\343\003\n\016CBaseUserCmdPB\022\035\n\025legacy_" - "command_number\030\001 \001(\005\022\023\n\013client_tick\030\002 \001(" - "\005\022$\n\034prediction_offset_ticks_x256\030\021 \001(\r\022" - "%\n\nbuttons_pb\030\003 \001(\0132\021.CInButtonStatePB\022\037" - "\n\nviewangles\030\004 \001(\0132\013.CMsgQAngle\022\023\n\013forwa" - "rdmove\030\005 \001(\002\022\020\n\010leftmove\030\006 \001(\002\022\016\n\006upmove" - "\030\007 \001(\002\022\017\n\007impulse\030\010 \001(\005\022\024\n\014weaponselect\030" - "\t \001(\005\022\023\n\013random_seed\030\n \001(\005\022\017\n\007mousedx\030\013 " - "\001(\005\022\017\n\007mousedy\030\014 \001(\005\022$\n\022pawn_entity_hand" - "le\030\016 \001(\r:\01016777215\022(\n\rsubtick_moves\030\022 \003(" - "\0132\021.CSubtickMoveStep\022\020\n\010move_crc\030\023 \001(\014\022%" - "\n\035consumed_server_angle_changes\030\024 \001(\r\022\021\n" - "\tcmd_flags\030\025 \001(\005\"/\n\016CUserCmdBasePB\022\035\n\004ba" - "se\030\001 \001(\0132\017.CBaseUserCmdPB" + "elta\030\t \001(\002\"4\n\032CBaseUserCmdExecutionNotes" + "\022\026\n\016ignored_reason\030\001 \001(\t\"\231\004\n\016CBaseUserCm" + "dPB\022\035\n\025legacy_command_number\030\001 \001(\005\022\023\n\013cl" + "ient_tick\030\002 \001(\005\022$\n\034prediction_offset_tic" + "ks_x256\030\021 \001(\r\022%\n\nbuttons_pb\030\003 \001(\0132\021.CInB" + "uttonStatePB\022\037\n\nviewangles\030\004 \001(\0132\013.CMsgQ" + "Angle\022\023\n\013forwardmove\030\005 \001(\002\022\020\n\010leftmove\030\006" + " \001(\002\022\016\n\006upmove\030\007 \001(\002\022\017\n\007impulse\030\010 \001(\005\022\024\n" + "\014weaponselect\030\t \001(\005\022\023\n\013random_seed\030\n \001(\005" + "\022\017\n\007mousedx\030\013 \001(\005\022\017\n\007mousedy\030\014 \001(\005\022$\n\022pa" + "wn_entity_handle\030\016 \001(\r:\01016777215\022(\n\rsubt" + "ick_moves\030\022 \003(\0132\021.CSubtickMoveStep\022\020\n\010mo" + "ve_crc\030\023 \001(\014\022%\n\035consumed_server_angle_ch" + "anges\030\024 \001(\r\022\021\n\tcmd_flags\030\025 \001(\005\0224\n\017execut" + "ion_notes\030\026 \001(\0132\033.CBaseUserCmdExecutionN" + "otes\"/\n\016CUserCmdBasePB\022\035\n\004base\030\001 \001(\0132\017.C" + "BaseUserCmdPB" ; static const ::_pbi::DescriptorTable* const descriptor_table_usercmd_2eproto_deps[1] = { &::descriptor_table_networkbasetypes_2eproto, }; static ::_pbi::once_flag descriptor_table_usercmd_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_usercmd_2eproto = { - false, false, 825, descriptor_table_protodef_usercmd_2eproto, + false, false, 933, descriptor_table_protodef_usercmd_2eproto, "usercmd.proto", - &descriptor_table_usercmd_2eproto_once, descriptor_table_usercmd_2eproto_deps, 1, 4, + &descriptor_table_usercmd_2eproto_once, descriptor_table_usercmd_2eproto_deps, 1, 5, schemas, file_default_instances, TableStruct_usercmd_2eproto::offsets, file_level_metadata_usercmd_2eproto, file_level_enum_descriptors_usercmd_2eproto, file_level_service_descriptors_usercmd_2eproto, @@ -889,17 +919,237 @@ void CSubtickMoveStep::InternalSwap(CSubtickMoveStep* other) { // =================================================================== +class CBaseUserCmdExecutionNotes::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ignored_reason(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CBaseUserCmdExecutionNotes::CBaseUserCmdExecutionNotes(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:CBaseUserCmdExecutionNotes) +} +CBaseUserCmdExecutionNotes::CBaseUserCmdExecutionNotes(const CBaseUserCmdExecutionNotes& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CBaseUserCmdExecutionNotes* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ignored_reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ignored_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ignored_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ignored_reason()) { + _this->_impl_.ignored_reason_.Set(from._internal_ignored_reason(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CBaseUserCmdExecutionNotes) +} + +inline void CBaseUserCmdExecutionNotes::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ignored_reason_){} + }; + _impl_.ignored_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ignored_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CBaseUserCmdExecutionNotes::~CBaseUserCmdExecutionNotes() { + // @@protoc_insertion_point(destructor:CBaseUserCmdExecutionNotes) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CBaseUserCmdExecutionNotes::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ignored_reason_.Destroy(); +} + +void CBaseUserCmdExecutionNotes::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CBaseUserCmdExecutionNotes::Clear() { +// @@protoc_insertion_point(message_clear_start:CBaseUserCmdExecutionNotes) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.ignored_reason_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CBaseUserCmdExecutionNotes::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string ignored_reason = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_ignored_reason(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CBaseUserCmdExecutionNotes.ignored_reason"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CBaseUserCmdExecutionNotes::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CBaseUserCmdExecutionNotes) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string ignored_reason = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_ignored_reason().data(), static_cast(this->_internal_ignored_reason().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CBaseUserCmdExecutionNotes.ignored_reason"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_ignored_reason(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:CBaseUserCmdExecutionNotes) + return target; +} + +size_t CBaseUserCmdExecutionNotes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CBaseUserCmdExecutionNotes) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string ignored_reason = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ignored_reason()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBaseUserCmdExecutionNotes::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CBaseUserCmdExecutionNotes::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBaseUserCmdExecutionNotes::GetClassData() const { return &_class_data_; } + + +void CBaseUserCmdExecutionNotes::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:CBaseUserCmdExecutionNotes) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_ignored_reason()) { + _this->_internal_set_ignored_reason(from._internal_ignored_reason()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CBaseUserCmdExecutionNotes::CopyFrom(const CBaseUserCmdExecutionNotes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CBaseUserCmdExecutionNotes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBaseUserCmdExecutionNotes::IsInitialized() const { + return true; +} + +void CBaseUserCmdExecutionNotes::InternalSwap(CBaseUserCmdExecutionNotes* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ignored_reason_, lhs_arena, + &other->_impl_.ignored_reason_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CBaseUserCmdExecutionNotes::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, + file_level_metadata_usercmd_2eproto[2]); +} + +// =================================================================== + class CBaseUserCmdPB::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static void set_has_legacy_command_number(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_tick(HasBits* has_bits) { (*has_bits)[0] |= 16u; } + static void set_has_client_tick(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } static void set_has_prediction_offset_ticks_x256(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; + (*has_bits)[0] |= 16384u; } static const ::CInButtonStatePB& buttons_pb(const CBaseUserCmdPB* msg); static void set_has_buttons_pb(HasBits* has_bits) { @@ -910,40 +1160,44 @@ class CBaseUserCmdPB::_Internal { (*has_bits)[0] |= 4u; } static void set_has_forwardmove(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_leftmove(HasBits* has_bits) { (*has_bits)[0] |= 64u; } - static void set_has_upmove(HasBits* has_bits) { + static void set_has_leftmove(HasBits* has_bits) { (*has_bits)[0] |= 128u; } - static void set_has_impulse(HasBits* has_bits) { + static void set_has_upmove(HasBits* has_bits) { (*has_bits)[0] |= 256u; } - static void set_has_weaponselect(HasBits* has_bits) { + static void set_has_impulse(HasBits* has_bits) { (*has_bits)[0] |= 512u; } - static void set_has_random_seed(HasBits* has_bits) { + static void set_has_weaponselect(HasBits* has_bits) { (*has_bits)[0] |= 1024u; } - static void set_has_mousedx(HasBits* has_bits) { + static void set_has_random_seed(HasBits* has_bits) { (*has_bits)[0] |= 2048u; } - static void set_has_mousedy(HasBits* has_bits) { + static void set_has_mousedx(HasBits* has_bits) { (*has_bits)[0] |= 4096u; } + static void set_has_mousedy(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } static void set_has_pawn_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; + (*has_bits)[0] |= 131072u; } static void set_has_move_crc(HasBits* has_bits) { (*has_bits)[0] |= 1u; } static void set_has_consumed_server_angle_changes(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; + (*has_bits)[0] |= 32768u; } static void set_has_cmd_flags(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; + (*has_bits)[0] |= 65536u; + } + static const ::CBaseUserCmdExecutionNotes& execution_notes(const CBaseUserCmdPB* msg); + static void set_has_execution_notes(HasBits* has_bits) { + (*has_bits)[0] |= 8u; } }; @@ -955,6 +1209,10 @@ const ::CMsgQAngle& CBaseUserCmdPB::_Internal::viewangles(const CBaseUserCmdPB* msg) { return *msg->_impl_.viewangles_; } +const ::CBaseUserCmdExecutionNotes& +CBaseUserCmdPB::_Internal::execution_notes(const CBaseUserCmdPB* msg) { + return *msg->_impl_.execution_notes_; +} void CBaseUserCmdPB::clear_viewangles() { if (_impl_.viewangles_ != nullptr) _impl_.viewangles_->Clear(); _impl_._has_bits_[0] &= ~0x00000004u; @@ -975,6 +1233,7 @@ CBaseUserCmdPB::CBaseUserCmdPB(const CBaseUserCmdPB& from) , decltype(_impl_.move_crc_){} , decltype(_impl_.buttons_pb_){nullptr} , decltype(_impl_.viewangles_){nullptr} + , decltype(_impl_.execution_notes_){nullptr} , decltype(_impl_.legacy_command_number_){} , decltype(_impl_.client_tick_){} , decltype(_impl_.forwardmove_){} @@ -1005,6 +1264,9 @@ CBaseUserCmdPB::CBaseUserCmdPB(const CBaseUserCmdPB& from) if (from._internal_has_viewangles()) { _this->_impl_.viewangles_ = new ::CMsgQAngle(*from._impl_.viewangles_); } + if (from._internal_has_execution_notes()) { + _this->_impl_.execution_notes_ = new ::CBaseUserCmdExecutionNotes(*from._impl_.execution_notes_); + } ::memcpy(&_impl_.legacy_command_number_, &from._impl_.legacy_command_number_, static_cast(reinterpret_cast(&_impl_.pawn_entity_handle_) - reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.pawn_entity_handle_)); @@ -1022,6 +1284,7 @@ inline void CBaseUserCmdPB::SharedCtor( , decltype(_impl_.move_crc_){} , decltype(_impl_.buttons_pb_){nullptr} , decltype(_impl_.viewangles_){nullptr} + , decltype(_impl_.execution_notes_){nullptr} , decltype(_impl_.legacy_command_number_){0} , decltype(_impl_.client_tick_){0} , decltype(_impl_.forwardmove_){0} @@ -1058,6 +1321,7 @@ inline void CBaseUserCmdPB::SharedDtor() { _impl_.move_crc_.Destroy(); if (this != internal_default_instance()) delete _impl_.buttons_pb_; if (this != internal_default_instance()) delete _impl_.viewangles_; + if (this != internal_default_instance()) delete _impl_.execution_notes_; } void CBaseUserCmdPB::SetCachedSize(int size) const { @@ -1072,7 +1336,7 @@ void CBaseUserCmdPB::Clear() { _impl_.subtick_moves_.Clear(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { if (cached_has_bits & 0x00000001u) { _impl_.move_crc_.ClearNonDefaultToEmpty(); } @@ -1084,18 +1348,25 @@ void CBaseUserCmdPB::Clear() { GOOGLE_DCHECK(_impl_.viewangles_ != nullptr); _impl_.viewangles_->Clear(); } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.execution_notes_ != nullptr); + _impl_.execution_notes_->Clear(); + } } - if (cached_has_bits & 0x000000f8u) { + if (cached_has_bits & 0x000000f0u) { ::memset(&_impl_.legacy_command_number_, 0, static_cast( - reinterpret_cast(&_impl_.upmove_) - - reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.upmove_)); + reinterpret_cast(&_impl_.leftmove_) - + reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.leftmove_)); } if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.impulse_, 0, static_cast( - reinterpret_cast(&_impl_.cmd_flags_) - - reinterpret_cast(&_impl_.impulse_)) + sizeof(_impl_.cmd_flags_)); + ::memset(&_impl_.upmove_, 0, static_cast( + reinterpret_cast(&_impl_.consumed_server_angle_changes_) - + reinterpret_cast(&_impl_.upmove_)) + sizeof(_impl_.consumed_server_angle_changes_)); + } + if (cached_has_bits & 0x00030000u) { + _impl_.cmd_flags_ = 0; + _impl_.pawn_entity_handle_ = 16777215u; } - _impl_.pawn_entity_handle_ = 16777215u; _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1271,6 +1542,14 @@ const char* CBaseUserCmdPB::_InternalParse(const char* ptr, ::_pbi::ParseContext } else goto handle_unusual; continue; + // optional .CBaseUserCmdExecutionNotes execution_notes = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { + ptr = ctx->ParseMessage(_internal_mutable_execution_notes(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1303,13 +1582,13 @@ uint8_t* CBaseUserCmdPB::_InternalSerialize( cached_has_bits = _impl_._has_bits_[0]; // optional int32 legacy_command_number = 1; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000010u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_legacy_command_number(), target); } // optional int32 client_tick = 2; - if (cached_has_bits & 0x00000010u) { + if (cached_has_bits & 0x00000020u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client_tick(), target); } @@ -1329,61 +1608,61 @@ uint8_t* CBaseUserCmdPB::_InternalSerialize( } // optional float forwardmove = 5; - if (cached_has_bits & 0x00000020u) { + if (cached_has_bits & 0x00000040u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_forwardmove(), target); } // optional float leftmove = 6; - if (cached_has_bits & 0x00000040u) { + if (cached_has_bits & 0x00000080u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_leftmove(), target); } // optional float upmove = 7; - if (cached_has_bits & 0x00000080u) { + if (cached_has_bits & 0x00000100u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_upmove(), target); } // optional int32 impulse = 8; - if (cached_has_bits & 0x00000100u) { + if (cached_has_bits & 0x00000200u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_impulse(), target); } // optional int32 weaponselect = 9; - if (cached_has_bits & 0x00000200u) { + if (cached_has_bits & 0x00000400u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_weaponselect(), target); } // optional int32 random_seed = 10; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00000800u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_random_seed(), target); } // optional int32 mousedx = 11; - if (cached_has_bits & 0x00000800u) { + if (cached_has_bits & 0x00001000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_mousedx(), target); } // optional int32 mousedy = 12; - if (cached_has_bits & 0x00001000u) { + if (cached_has_bits & 0x00002000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_mousedy(), target); } // optional uint32 pawn_entity_handle = 14 [default = 16777215]; - if (cached_has_bits & 0x00010000u) { + if (cached_has_bits & 0x00020000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_pawn_entity_handle(), target); } // optional uint32 prediction_offset_ticks_x256 = 17; - if (cached_has_bits & 0x00002000u) { + if (cached_has_bits & 0x00004000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_prediction_offset_ticks_x256(), target); } @@ -1403,17 +1682,24 @@ uint8_t* CBaseUserCmdPB::_InternalSerialize( } // optional uint32 consumed_server_angle_changes = 20; - if (cached_has_bits & 0x00004000u) { + if (cached_has_bits & 0x00008000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_consumed_server_angle_changes(), target); } // optional int32 cmd_flags = 21; - if (cached_has_bits & 0x00008000u) { + if (cached_has_bits & 0x00010000u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_cmd_flags(), target); } + // optional .CBaseUserCmdExecutionNotes execution_notes = 22; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(22, _Internal::execution_notes(this), + _Internal::execution_notes(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1460,85 +1746,94 @@ size_t CBaseUserCmdPB::ByteSizeLong() const { *_impl_.viewangles_); } - // optional int32 legacy_command_number = 1; + // optional .CBaseUserCmdExecutionNotes execution_notes = 22; if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.execution_notes_); + } + + // optional int32 legacy_command_number = 1; + if (cached_has_bits & 0x00000010u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_legacy_command_number()); } // optional int32 client_tick = 2; - if (cached_has_bits & 0x00000010u) { + if (cached_has_bits & 0x00000020u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_tick()); } // optional float forwardmove = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float leftmove = 6; if (cached_has_bits & 0x00000040u) { total_size += 1 + 4; } - // optional float upmove = 7; + // optional float leftmove = 6; if (cached_has_bits & 0x00000080u) { total_size += 1 + 4; } } if (cached_has_bits & 0x0000ff00u) { - // optional int32 impulse = 8; + // optional float upmove = 7; if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional int32 impulse = 8; + if (cached_has_bits & 0x00000200u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_impulse()); } // optional int32 weaponselect = 9; - if (cached_has_bits & 0x00000200u) { + if (cached_has_bits & 0x00000400u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weaponselect()); } // optional int32 random_seed = 10; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00000800u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); } // optional int32 mousedx = 11; - if (cached_has_bits & 0x00000800u) { + if (cached_has_bits & 0x00001000u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mousedx()); } // optional int32 mousedy = 12; - if (cached_has_bits & 0x00001000u) { + if (cached_has_bits & 0x00002000u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mousedy()); } // optional uint32 prediction_offset_ticks_x256 = 17; - if (cached_has_bits & 0x00002000u) { + if (cached_has_bits & 0x00004000u) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_prediction_offset_ticks_x256()); } // optional uint32 consumed_server_angle_changes = 20; - if (cached_has_bits & 0x00004000u) { + if (cached_has_bits & 0x00008000u) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_consumed_server_angle_changes()); } + } + if (cached_has_bits & 0x00030000u) { // optional int32 cmd_flags = 21; - if (cached_has_bits & 0x00008000u) { + if (cached_has_bits & 0x00010000u) { total_size += 2 + ::_pbi::WireFormatLite::Int32Size( this->_internal_cmd_flags()); } - } - // optional uint32 pawn_entity_handle = 14 [default = 16777215]; - if (cached_has_bits & 0x00010000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pawn_entity_handle()); - } + // optional uint32 pawn_entity_handle = 14 [default = 16777215]; + if (cached_has_bits & 0x00020000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pawn_entity_handle()); + } + } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -1572,51 +1867,58 @@ void CBaseUserCmdPB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const : from._internal_viewangles()); } if (cached_has_bits & 0x00000008u) { - _this->_impl_.legacy_command_number_ = from._impl_.legacy_command_number_; + _this->_internal_mutable_execution_notes()->::CBaseUserCmdExecutionNotes::MergeFrom( + from._internal_execution_notes()); } if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_tick_ = from._impl_.client_tick_; + _this->_impl_.legacy_command_number_ = from._impl_.legacy_command_number_; } if (cached_has_bits & 0x00000020u) { - _this->_impl_.forwardmove_ = from._impl_.forwardmove_; + _this->_impl_.client_tick_ = from._impl_.client_tick_; } if (cached_has_bits & 0x00000040u) { - _this->_impl_.leftmove_ = from._impl_.leftmove_; + _this->_impl_.forwardmove_ = from._impl_.forwardmove_; } if (cached_has_bits & 0x00000080u) { - _this->_impl_.upmove_ = from._impl_.upmove_; + _this->_impl_.leftmove_ = from._impl_.leftmove_; } _this->_impl_._has_bits_[0] |= cached_has_bits; } if (cached_has_bits & 0x0000ff00u) { if (cached_has_bits & 0x00000100u) { - _this->_impl_.impulse_ = from._impl_.impulse_; + _this->_impl_.upmove_ = from._impl_.upmove_; } if (cached_has_bits & 0x00000200u) { - _this->_impl_.weaponselect_ = from._impl_.weaponselect_; + _this->_impl_.impulse_ = from._impl_.impulse_; } if (cached_has_bits & 0x00000400u) { - _this->_impl_.random_seed_ = from._impl_.random_seed_; + _this->_impl_.weaponselect_ = from._impl_.weaponselect_; } if (cached_has_bits & 0x00000800u) { - _this->_impl_.mousedx_ = from._impl_.mousedx_; + _this->_impl_.random_seed_ = from._impl_.random_seed_; } if (cached_has_bits & 0x00001000u) { - _this->_impl_.mousedy_ = from._impl_.mousedy_; + _this->_impl_.mousedx_ = from._impl_.mousedx_; } if (cached_has_bits & 0x00002000u) { - _this->_impl_.prediction_offset_ticks_x256_ = from._impl_.prediction_offset_ticks_x256_; + _this->_impl_.mousedy_ = from._impl_.mousedy_; } if (cached_has_bits & 0x00004000u) { - _this->_impl_.consumed_server_angle_changes_ = from._impl_.consumed_server_angle_changes_; + _this->_impl_.prediction_offset_ticks_x256_ = from._impl_.prediction_offset_ticks_x256_; } if (cached_has_bits & 0x00008000u) { - _this->_impl_.cmd_flags_ = from._impl_.cmd_flags_; + _this->_impl_.consumed_server_angle_changes_ = from._impl_.consumed_server_angle_changes_; } _this->_impl_._has_bits_[0] |= cached_has_bits; } - if (cached_has_bits & 0x00010000u) { - _this->_internal_set_pawn_entity_handle(from._internal_pawn_entity_handle()); + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.cmd_flags_ = from._impl_.cmd_flags_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.pawn_entity_handle_ = from._impl_.pawn_entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1655,7 +1957,7 @@ void CBaseUserCmdPB::InternalSwap(CBaseUserCmdPB* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CBaseUserCmdPB::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, - file_level_metadata_usercmd_2eproto[2]); + file_level_metadata_usercmd_2eproto[3]); } // =================================================================== @@ -1861,7 +2163,7 @@ void CUserCmdBasePB::InternalSwap(CUserCmdBasePB* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CUserCmdBasePB::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, - file_level_metadata_usercmd_2eproto[3]); + file_level_metadata_usercmd_2eproto[4]); } // @@protoc_insertion_point(namespace_scope) @@ -1874,6 +2176,10 @@ template<> PROTOBUF_NOINLINE ::CSubtickMoveStep* Arena::CreateMaybeMessage< ::CSubtickMoveStep >(Arena* arena) { return Arena::CreateMessageInternal< ::CSubtickMoveStep >(arena); } +template<> PROTOBUF_NOINLINE ::CBaseUserCmdExecutionNotes* +Arena::CreateMaybeMessage< ::CBaseUserCmdExecutionNotes >(Arena* arena) { + return Arena::CreateMessageInternal< ::CBaseUserCmdExecutionNotes >(arena); +} template<> PROTOBUF_NOINLINE ::CBaseUserCmdPB* Arena::CreateMaybeMessage< ::CBaseUserCmdPB >(Arena* arena) { return Arena::CreateMessageInternal< ::CBaseUserCmdPB >(arena); diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h index bf0a095..67468c2 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h @@ -45,6 +45,9 @@ struct TableStruct_usercmd_2eproto { static const uint32_t offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_usercmd_2eproto; +class CBaseUserCmdExecutionNotes; +struct CBaseUserCmdExecutionNotesDefaultTypeInternal; +extern CBaseUserCmdExecutionNotesDefaultTypeInternal _CBaseUserCmdExecutionNotes_default_instance_; class CBaseUserCmdPB; struct CBaseUserCmdPBDefaultTypeInternal; extern CBaseUserCmdPBDefaultTypeInternal _CBaseUserCmdPB_default_instance_; @@ -58,6 +61,7 @@ class CUserCmdBasePB; struct CUserCmdBasePBDefaultTypeInternal; extern CUserCmdBasePBDefaultTypeInternal _CUserCmdBasePB_default_instance_; PROTOBUF_NAMESPACE_OPEN +template<> ::CBaseUserCmdExecutionNotes* Arena::CreateMaybeMessage<::CBaseUserCmdExecutionNotes>(Arena*); template<> ::CBaseUserCmdPB* Arena::CreateMaybeMessage<::CBaseUserCmdPB>(Arena*); template<> ::CInButtonStatePB* Arena::CreateMaybeMessage<::CInButtonStatePB>(Arena*); template<> ::CSubtickMoveStep* Arena::CreateMaybeMessage<::CSubtickMoveStep>(Arena*); @@ -506,6 +510,171 @@ class CSubtickMoveStep final : }; // ------------------------------------------------------------------- +class CBaseUserCmdExecutionNotes final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBaseUserCmdExecutionNotes) */ { + public: + inline CBaseUserCmdExecutionNotes() : CBaseUserCmdExecutionNotes(nullptr) {} + ~CBaseUserCmdExecutionNotes() override; + explicit PROTOBUF_CONSTEXPR CBaseUserCmdExecutionNotes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CBaseUserCmdExecutionNotes(const CBaseUserCmdExecutionNotes& from); + CBaseUserCmdExecutionNotes(CBaseUserCmdExecutionNotes&& from) noexcept + : CBaseUserCmdExecutionNotes() { + *this = ::std::move(from); + } + + inline CBaseUserCmdExecutionNotes& operator=(const CBaseUserCmdExecutionNotes& from) { + CopyFrom(from); + return *this; + } + inline CBaseUserCmdExecutionNotes& operator=(CBaseUserCmdExecutionNotes&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CBaseUserCmdExecutionNotes& default_instance() { + return *internal_default_instance(); + } + static inline const CBaseUserCmdExecutionNotes* internal_default_instance() { + return reinterpret_cast( + &_CBaseUserCmdExecutionNotes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CBaseUserCmdExecutionNotes& a, CBaseUserCmdExecutionNotes& b) { + a.Swap(&b); + } + inline void Swap(CBaseUserCmdExecutionNotes* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CBaseUserCmdExecutionNotes* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CBaseUserCmdExecutionNotes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CBaseUserCmdExecutionNotes& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CBaseUserCmdExecutionNotes& from) { + CBaseUserCmdExecutionNotes::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CBaseUserCmdExecutionNotes* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CBaseUserCmdExecutionNotes"; + } + protected: + explicit CBaseUserCmdExecutionNotes(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIgnoredReasonFieldNumber = 1, + }; + // optional string ignored_reason = 1; + bool has_ignored_reason() const; + private: + bool _internal_has_ignored_reason() const; + public: + void clear_ignored_reason(); + const std::string& ignored_reason() const; + template + void set_ignored_reason(ArgT0&& arg0, ArgT... args); + std::string* mutable_ignored_reason(); + PROTOBUF_NODISCARD std::string* release_ignored_reason(); + void set_allocated_ignored_reason(std::string* ignored_reason); + private: + const std::string& _internal_ignored_reason() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ignored_reason(const std::string& value); + std::string* _internal_mutable_ignored_reason(); + public: + + // @@protoc_insertion_point(class_scope:CBaseUserCmdExecutionNotes) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ignored_reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usercmd_2eproto; +}; +// ------------------------------------------------------------------- + class CBaseUserCmdPB final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBaseUserCmdPB) */ { public: @@ -561,7 +730,7 @@ class CBaseUserCmdPB final : &_CBaseUserCmdPB_default_instance_); } static constexpr int kIndexInFileMessages = - 2; + 3; friend void swap(CBaseUserCmdPB& a, CBaseUserCmdPB& b) { a.Swap(&b); @@ -638,6 +807,7 @@ class CBaseUserCmdPB final : kMoveCrcFieldNumber = 19, kButtonsPbFieldNumber = 3, kViewanglesFieldNumber = 4, + kExecutionNotesFieldNumber = 22, kLegacyCommandNumberFieldNumber = 1, kClientTickFieldNumber = 2, kForwardmoveFieldNumber = 5, @@ -725,6 +895,24 @@ class CBaseUserCmdPB final : ::CMsgQAngle* viewangles); ::CMsgQAngle* unsafe_arena_release_viewangles(); + // optional .CBaseUserCmdExecutionNotes execution_notes = 22; + bool has_execution_notes() const; + private: + bool _internal_has_execution_notes() const; + public: + void clear_execution_notes(); + const ::CBaseUserCmdExecutionNotes& execution_notes() const; + PROTOBUF_NODISCARD ::CBaseUserCmdExecutionNotes* release_execution_notes(); + ::CBaseUserCmdExecutionNotes* mutable_execution_notes(); + void set_allocated_execution_notes(::CBaseUserCmdExecutionNotes* execution_notes); + private: + const ::CBaseUserCmdExecutionNotes& _internal_execution_notes() const; + ::CBaseUserCmdExecutionNotes* _internal_mutable_execution_notes(); + public: + void unsafe_arena_set_allocated_execution_notes( + ::CBaseUserCmdExecutionNotes* execution_notes); + ::CBaseUserCmdExecutionNotes* unsafe_arena_release_execution_notes(); + // optional int32 legacy_command_number = 1; bool has_legacy_command_number() const; private: @@ -921,6 +1109,7 @@ class CBaseUserCmdPB final : ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr move_crc_; ::CInButtonStatePB* buttons_pb_; ::CMsgQAngle* viewangles_; + ::CBaseUserCmdExecutionNotes* execution_notes_; int32_t legacy_command_number_; int32_t client_tick_; float forwardmove_; @@ -996,7 +1185,7 @@ class CUserCmdBasePB final : &_CUserCmdBasePB_default_instance_); } static constexpr int kIndexInFileMessages = - 3; + 4; friend void swap(CUserCmdBasePB& a, CUserCmdBasePB& b) { a.Swap(&b); @@ -1401,11 +1590,83 @@ inline void CSubtickMoveStep::set_yaw_delta(float value) { // ------------------------------------------------------------------- +// CBaseUserCmdExecutionNotes + +// optional string ignored_reason = 1; +inline bool CBaseUserCmdExecutionNotes::_internal_has_ignored_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CBaseUserCmdExecutionNotes::has_ignored_reason() const { + return _internal_has_ignored_reason(); +} +inline void CBaseUserCmdExecutionNotes::clear_ignored_reason() { + _impl_.ignored_reason_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CBaseUserCmdExecutionNotes::ignored_reason() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdExecutionNotes.ignored_reason) + return _internal_ignored_reason(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CBaseUserCmdExecutionNotes::set_ignored_reason(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ignored_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CBaseUserCmdExecutionNotes.ignored_reason) +} +inline std::string* CBaseUserCmdExecutionNotes::mutable_ignored_reason() { + std::string* _s = _internal_mutable_ignored_reason(); + // @@protoc_insertion_point(field_mutable:CBaseUserCmdExecutionNotes.ignored_reason) + return _s; +} +inline const std::string& CBaseUserCmdExecutionNotes::_internal_ignored_reason() const { + return _impl_.ignored_reason_.Get(); +} +inline void CBaseUserCmdExecutionNotes::_internal_set_ignored_reason(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ignored_reason_.Set(value, GetArenaForAllocation()); +} +inline std::string* CBaseUserCmdExecutionNotes::_internal_mutable_ignored_reason() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.ignored_reason_.Mutable(GetArenaForAllocation()); +} +inline std::string* CBaseUserCmdExecutionNotes::release_ignored_reason() { + // @@protoc_insertion_point(field_release:CBaseUserCmdExecutionNotes.ignored_reason) + if (!_internal_has_ignored_reason()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.ignored_reason_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ignored_reason_.IsDefault()) { + _impl_.ignored_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CBaseUserCmdExecutionNotes::set_allocated_ignored_reason(std::string* ignored_reason) { + if (ignored_reason != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ignored_reason_.SetAllocated(ignored_reason, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ignored_reason_.IsDefault()) { + _impl_.ignored_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdExecutionNotes.ignored_reason) +} + +// ------------------------------------------------------------------- + // CBaseUserCmdPB // optional int32 legacy_command_number = 1; inline bool CBaseUserCmdPB::_internal_has_legacy_command_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; return value; } inline bool CBaseUserCmdPB::has_legacy_command_number() const { @@ -1413,7 +1674,7 @@ inline bool CBaseUserCmdPB::has_legacy_command_number() const { } inline void CBaseUserCmdPB::clear_legacy_command_number() { _impl_.legacy_command_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000010u; } inline int32_t CBaseUserCmdPB::_internal_legacy_command_number() const { return _impl_.legacy_command_number_; @@ -1423,7 +1684,7 @@ inline int32_t CBaseUserCmdPB::legacy_command_number() const { return _internal_legacy_command_number(); } inline void CBaseUserCmdPB::_internal_set_legacy_command_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000010u; _impl_.legacy_command_number_ = value; } inline void CBaseUserCmdPB::set_legacy_command_number(int32_t value) { @@ -1433,7 +1694,7 @@ inline void CBaseUserCmdPB::set_legacy_command_number(int32_t value) { // optional int32 client_tick = 2; inline bool CBaseUserCmdPB::_internal_has_client_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; return value; } inline bool CBaseUserCmdPB::has_client_tick() const { @@ -1441,7 +1702,7 @@ inline bool CBaseUserCmdPB::has_client_tick() const { } inline void CBaseUserCmdPB::clear_client_tick() { _impl_.client_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_._has_bits_[0] &= ~0x00000020u; } inline int32_t CBaseUserCmdPB::_internal_client_tick() const { return _impl_.client_tick_; @@ -1451,7 +1712,7 @@ inline int32_t CBaseUserCmdPB::client_tick() const { return _internal_client_tick(); } inline void CBaseUserCmdPB::_internal_set_client_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; + _impl_._has_bits_[0] |= 0x00000020u; _impl_.client_tick_ = value; } inline void CBaseUserCmdPB::set_client_tick(int32_t value) { @@ -1461,7 +1722,7 @@ inline void CBaseUserCmdPB::set_client_tick(int32_t value) { // optional uint32 prediction_offset_ticks_x256 = 17; inline bool CBaseUserCmdPB::_internal_has_prediction_offset_ticks_x256() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; return value; } inline bool CBaseUserCmdPB::has_prediction_offset_ticks_x256() const { @@ -1469,7 +1730,7 @@ inline bool CBaseUserCmdPB::has_prediction_offset_ticks_x256() const { } inline void CBaseUserCmdPB::clear_prediction_offset_ticks_x256() { _impl_.prediction_offset_ticks_x256_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; + _impl_._has_bits_[0] &= ~0x00004000u; } inline uint32_t CBaseUserCmdPB::_internal_prediction_offset_ticks_x256() const { return _impl_.prediction_offset_ticks_x256_; @@ -1479,7 +1740,7 @@ inline uint32_t CBaseUserCmdPB::prediction_offset_ticks_x256() const { return _internal_prediction_offset_ticks_x256(); } inline void CBaseUserCmdPB::_internal_set_prediction_offset_ticks_x256(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; + _impl_._has_bits_[0] |= 0x00004000u; _impl_.prediction_offset_ticks_x256_ = value; } inline void CBaseUserCmdPB::set_prediction_offset_ticks_x256(uint32_t value) { @@ -1666,7 +1927,7 @@ inline void CBaseUserCmdPB::set_allocated_viewangles(::CMsgQAngle* viewangles) { // optional float forwardmove = 5; inline bool CBaseUserCmdPB::_internal_has_forwardmove() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; return value; } inline bool CBaseUserCmdPB::has_forwardmove() const { @@ -1674,7 +1935,7 @@ inline bool CBaseUserCmdPB::has_forwardmove() const { } inline void CBaseUserCmdPB::clear_forwardmove() { _impl_.forwardmove_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; + _impl_._has_bits_[0] &= ~0x00000040u; } inline float CBaseUserCmdPB::_internal_forwardmove() const { return _impl_.forwardmove_; @@ -1684,7 +1945,7 @@ inline float CBaseUserCmdPB::forwardmove() const { return _internal_forwardmove(); } inline void CBaseUserCmdPB::_internal_set_forwardmove(float value) { - _impl_._has_bits_[0] |= 0x00000020u; + _impl_._has_bits_[0] |= 0x00000040u; _impl_.forwardmove_ = value; } inline void CBaseUserCmdPB::set_forwardmove(float value) { @@ -1694,7 +1955,7 @@ inline void CBaseUserCmdPB::set_forwardmove(float value) { // optional float leftmove = 6; inline bool CBaseUserCmdPB::_internal_has_leftmove() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; return value; } inline bool CBaseUserCmdPB::has_leftmove() const { @@ -1702,7 +1963,7 @@ inline bool CBaseUserCmdPB::has_leftmove() const { } inline void CBaseUserCmdPB::clear_leftmove() { _impl_.leftmove_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; + _impl_._has_bits_[0] &= ~0x00000080u; } inline float CBaseUserCmdPB::_internal_leftmove() const { return _impl_.leftmove_; @@ -1712,7 +1973,7 @@ inline float CBaseUserCmdPB::leftmove() const { return _internal_leftmove(); } inline void CBaseUserCmdPB::_internal_set_leftmove(float value) { - _impl_._has_bits_[0] |= 0x00000040u; + _impl_._has_bits_[0] |= 0x00000080u; _impl_.leftmove_ = value; } inline void CBaseUserCmdPB::set_leftmove(float value) { @@ -1722,7 +1983,7 @@ inline void CBaseUserCmdPB::set_leftmove(float value) { // optional float upmove = 7; inline bool CBaseUserCmdPB::_internal_has_upmove() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; return value; } inline bool CBaseUserCmdPB::has_upmove() const { @@ -1730,7 +1991,7 @@ inline bool CBaseUserCmdPB::has_upmove() const { } inline void CBaseUserCmdPB::clear_upmove() { _impl_.upmove_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; + _impl_._has_bits_[0] &= ~0x00000100u; } inline float CBaseUserCmdPB::_internal_upmove() const { return _impl_.upmove_; @@ -1740,7 +2001,7 @@ inline float CBaseUserCmdPB::upmove() const { return _internal_upmove(); } inline void CBaseUserCmdPB::_internal_set_upmove(float value) { - _impl_._has_bits_[0] |= 0x00000080u; + _impl_._has_bits_[0] |= 0x00000100u; _impl_.upmove_ = value; } inline void CBaseUserCmdPB::set_upmove(float value) { @@ -1750,7 +2011,7 @@ inline void CBaseUserCmdPB::set_upmove(float value) { // optional int32 impulse = 8; inline bool CBaseUserCmdPB::_internal_has_impulse() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; return value; } inline bool CBaseUserCmdPB::has_impulse() const { @@ -1758,7 +2019,7 @@ inline bool CBaseUserCmdPB::has_impulse() const { } inline void CBaseUserCmdPB::clear_impulse() { _impl_.impulse_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; + _impl_._has_bits_[0] &= ~0x00000200u; } inline int32_t CBaseUserCmdPB::_internal_impulse() const { return _impl_.impulse_; @@ -1768,7 +2029,7 @@ inline int32_t CBaseUserCmdPB::impulse() const { return _internal_impulse(); } inline void CBaseUserCmdPB::_internal_set_impulse(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; + _impl_._has_bits_[0] |= 0x00000200u; _impl_.impulse_ = value; } inline void CBaseUserCmdPB::set_impulse(int32_t value) { @@ -1778,7 +2039,7 @@ inline void CBaseUserCmdPB::set_impulse(int32_t value) { // optional int32 weaponselect = 9; inline bool CBaseUserCmdPB::_internal_has_weaponselect() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; return value; } inline bool CBaseUserCmdPB::has_weaponselect() const { @@ -1786,7 +2047,7 @@ inline bool CBaseUserCmdPB::has_weaponselect() const { } inline void CBaseUserCmdPB::clear_weaponselect() { _impl_.weaponselect_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; + _impl_._has_bits_[0] &= ~0x00000400u; } inline int32_t CBaseUserCmdPB::_internal_weaponselect() const { return _impl_.weaponselect_; @@ -1796,7 +2057,7 @@ inline int32_t CBaseUserCmdPB::weaponselect() const { return _internal_weaponselect(); } inline void CBaseUserCmdPB::_internal_set_weaponselect(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; + _impl_._has_bits_[0] |= 0x00000400u; _impl_.weaponselect_ = value; } inline void CBaseUserCmdPB::set_weaponselect(int32_t value) { @@ -1806,7 +2067,7 @@ inline void CBaseUserCmdPB::set_weaponselect(int32_t value) { // optional int32 random_seed = 10; inline bool CBaseUserCmdPB::_internal_has_random_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; return value; } inline bool CBaseUserCmdPB::has_random_seed() const { @@ -1814,7 +2075,7 @@ inline bool CBaseUserCmdPB::has_random_seed() const { } inline void CBaseUserCmdPB::clear_random_seed() { _impl_.random_seed_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; + _impl_._has_bits_[0] &= ~0x00000800u; } inline int32_t CBaseUserCmdPB::_internal_random_seed() const { return _impl_.random_seed_; @@ -1824,7 +2085,7 @@ inline int32_t CBaseUserCmdPB::random_seed() const { return _internal_random_seed(); } inline void CBaseUserCmdPB::_internal_set_random_seed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; + _impl_._has_bits_[0] |= 0x00000800u; _impl_.random_seed_ = value; } inline void CBaseUserCmdPB::set_random_seed(int32_t value) { @@ -1834,7 +2095,7 @@ inline void CBaseUserCmdPB::set_random_seed(int32_t value) { // optional int32 mousedx = 11; inline bool CBaseUserCmdPB::_internal_has_mousedx() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; return value; } inline bool CBaseUserCmdPB::has_mousedx() const { @@ -1842,7 +2103,7 @@ inline bool CBaseUserCmdPB::has_mousedx() const { } inline void CBaseUserCmdPB::clear_mousedx() { _impl_.mousedx_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; + _impl_._has_bits_[0] &= ~0x00001000u; } inline int32_t CBaseUserCmdPB::_internal_mousedx() const { return _impl_.mousedx_; @@ -1852,7 +2113,7 @@ inline int32_t CBaseUserCmdPB::mousedx() const { return _internal_mousedx(); } inline void CBaseUserCmdPB::_internal_set_mousedx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; + _impl_._has_bits_[0] |= 0x00001000u; _impl_.mousedx_ = value; } inline void CBaseUserCmdPB::set_mousedx(int32_t value) { @@ -1862,7 +2123,7 @@ inline void CBaseUserCmdPB::set_mousedx(int32_t value) { // optional int32 mousedy = 12; inline bool CBaseUserCmdPB::_internal_has_mousedy() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; return value; } inline bool CBaseUserCmdPB::has_mousedy() const { @@ -1870,7 +2131,7 @@ inline bool CBaseUserCmdPB::has_mousedy() const { } inline void CBaseUserCmdPB::clear_mousedy() { _impl_.mousedy_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; + _impl_._has_bits_[0] &= ~0x00002000u; } inline int32_t CBaseUserCmdPB::_internal_mousedy() const { return _impl_.mousedy_; @@ -1880,7 +2141,7 @@ inline int32_t CBaseUserCmdPB::mousedy() const { return _internal_mousedy(); } inline void CBaseUserCmdPB::_internal_set_mousedy(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; + _impl_._has_bits_[0] |= 0x00002000u; _impl_.mousedy_ = value; } inline void CBaseUserCmdPB::set_mousedy(int32_t value) { @@ -1890,7 +2151,7 @@ inline void CBaseUserCmdPB::set_mousedy(int32_t value) { // optional uint32 pawn_entity_handle = 14 [default = 16777215]; inline bool CBaseUserCmdPB::_internal_has_pawn_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; return value; } inline bool CBaseUserCmdPB::has_pawn_entity_handle() const { @@ -1898,7 +2159,7 @@ inline bool CBaseUserCmdPB::has_pawn_entity_handle() const { } inline void CBaseUserCmdPB::clear_pawn_entity_handle() { _impl_.pawn_entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00010000u; + _impl_._has_bits_[0] &= ~0x00020000u; } inline uint32_t CBaseUserCmdPB::_internal_pawn_entity_handle() const { return _impl_.pawn_entity_handle_; @@ -1908,7 +2169,7 @@ inline uint32_t CBaseUserCmdPB::pawn_entity_handle() const { return _internal_pawn_entity_handle(); } inline void CBaseUserCmdPB::_internal_set_pawn_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; + _impl_._has_bits_[0] |= 0x00020000u; _impl_.pawn_entity_handle_ = value; } inline void CBaseUserCmdPB::set_pawn_entity_handle(uint32_t value) { @@ -2026,7 +2287,7 @@ inline void CBaseUserCmdPB::set_allocated_move_crc(std::string* move_crc) { // optional uint32 consumed_server_angle_changes = 20; inline bool CBaseUserCmdPB::_internal_has_consumed_server_angle_changes() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; return value; } inline bool CBaseUserCmdPB::has_consumed_server_angle_changes() const { @@ -2034,7 +2295,7 @@ inline bool CBaseUserCmdPB::has_consumed_server_angle_changes() const { } inline void CBaseUserCmdPB::clear_consumed_server_angle_changes() { _impl_.consumed_server_angle_changes_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; + _impl_._has_bits_[0] &= ~0x00008000u; } inline uint32_t CBaseUserCmdPB::_internal_consumed_server_angle_changes() const { return _impl_.consumed_server_angle_changes_; @@ -2044,7 +2305,7 @@ inline uint32_t CBaseUserCmdPB::consumed_server_angle_changes() const { return _internal_consumed_server_angle_changes(); } inline void CBaseUserCmdPB::_internal_set_consumed_server_angle_changes(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; + _impl_._has_bits_[0] |= 0x00008000u; _impl_.consumed_server_angle_changes_ = value; } inline void CBaseUserCmdPB::set_consumed_server_angle_changes(uint32_t value) { @@ -2054,7 +2315,7 @@ inline void CBaseUserCmdPB::set_consumed_server_angle_changes(uint32_t value) { // optional int32 cmd_flags = 21; inline bool CBaseUserCmdPB::_internal_has_cmd_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; return value; } inline bool CBaseUserCmdPB::has_cmd_flags() const { @@ -2062,7 +2323,7 @@ inline bool CBaseUserCmdPB::has_cmd_flags() const { } inline void CBaseUserCmdPB::clear_cmd_flags() { _impl_.cmd_flags_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; + _impl_._has_bits_[0] &= ~0x00010000u; } inline int32_t CBaseUserCmdPB::_internal_cmd_flags() const { return _impl_.cmd_flags_; @@ -2072,7 +2333,7 @@ inline int32_t CBaseUserCmdPB::cmd_flags() const { return _internal_cmd_flags(); } inline void CBaseUserCmdPB::_internal_set_cmd_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; + _impl_._has_bits_[0] |= 0x00010000u; _impl_.cmd_flags_ = value; } inline void CBaseUserCmdPB::set_cmd_flags(int32_t value) { @@ -2080,6 +2341,96 @@ inline void CBaseUserCmdPB::set_cmd_flags(int32_t value) { // @@protoc_insertion_point(field_set:CBaseUserCmdPB.cmd_flags) } +// optional .CBaseUserCmdExecutionNotes execution_notes = 22; +inline bool CBaseUserCmdPB::_internal_has_execution_notes() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.execution_notes_ != nullptr); + return value; +} +inline bool CBaseUserCmdPB::has_execution_notes() const { + return _internal_has_execution_notes(); +} +inline void CBaseUserCmdPB::clear_execution_notes() { + if (_impl_.execution_notes_ != nullptr) _impl_.execution_notes_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CBaseUserCmdExecutionNotes& CBaseUserCmdPB::_internal_execution_notes() const { + const ::CBaseUserCmdExecutionNotes* p = _impl_.execution_notes_; + return p != nullptr ? *p : reinterpret_cast( + ::_CBaseUserCmdExecutionNotes_default_instance_); +} +inline const ::CBaseUserCmdExecutionNotes& CBaseUserCmdPB::execution_notes() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.execution_notes) + return _internal_execution_notes(); +} +inline void CBaseUserCmdPB::unsafe_arena_set_allocated_execution_notes( + ::CBaseUserCmdExecutionNotes* execution_notes) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.execution_notes_); + } + _impl_.execution_notes_ = execution_notes; + if (execution_notes) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CBaseUserCmdPB.execution_notes) +} +inline ::CBaseUserCmdExecutionNotes* CBaseUserCmdPB::release_execution_notes() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CBaseUserCmdExecutionNotes* temp = _impl_.execution_notes_; + _impl_.execution_notes_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::CBaseUserCmdExecutionNotes* CBaseUserCmdPB::unsafe_arena_release_execution_notes() { + // @@protoc_insertion_point(field_release:CBaseUserCmdPB.execution_notes) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CBaseUserCmdExecutionNotes* temp = _impl_.execution_notes_; + _impl_.execution_notes_ = nullptr; + return temp; +} +inline ::CBaseUserCmdExecutionNotes* CBaseUserCmdPB::_internal_mutable_execution_notes() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.execution_notes_ == nullptr) { + auto* p = CreateMaybeMessage<::CBaseUserCmdExecutionNotes>(GetArenaForAllocation()); + _impl_.execution_notes_ = p; + } + return _impl_.execution_notes_; +} +inline ::CBaseUserCmdExecutionNotes* CBaseUserCmdPB::mutable_execution_notes() { + ::CBaseUserCmdExecutionNotes* _msg = _internal_mutable_execution_notes(); + // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.execution_notes) + return _msg; +} +inline void CBaseUserCmdPB::set_allocated_execution_notes(::CBaseUserCmdExecutionNotes* execution_notes) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.execution_notes_; + } + if (execution_notes) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(execution_notes); + if (message_arena != submessage_arena) { + execution_notes = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, execution_notes, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.execution_notes_ = execution_notes; + // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.execution_notes) +} + // ------------------------------------------------------------------- // CUserCmdBasePB @@ -2183,6 +2534,8 @@ inline void CUserCmdBasePB::set_allocated_base(::CBaseUserCmdPB* base) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc index 36441cb..2893185 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc @@ -3593,8 +3593,8 @@ const char descriptor_table_protodef_usermessages_2eproto[] PROTOBUF_SECTION_VAR "ion_DataDriven\022\020\n\010filename\030\001 \001(\t\022\034\n\020atta" "ch_ent_index\030\002 \001(\005:\002-1\022\020\n\010duration\030\003 \001(\002" "\"\252=\n\030CUserMsg_ParticleManager\022C\n\004type\030\001 " - "\002(\0162\021.PARTICLE_MESSAGE:\"GAME_PARTICLE_MA" - "NAGER_EVENT_CREATE\022\r\n\005index\030\002 \002(\r\022N\n\026rel" + "\001(\0162\021.PARTICLE_MESSAGE:\"GAME_PARTICLE_MA" + "NAGER_EVENT_CREATE\022\r\n\005index\030\002 \001(\r\022N\n\026rel" "ease_particle_index\030\003 \001(\0132..CUserMsg_Par" "ticleManager.ReleaseParticleIndex\022A\n\017cre" "ate_particle\030\004 \001(\0132(.CUserMsg_ParticleMa" @@ -25697,9 +25697,6 @@ class CUserMsg_ParticleManager::_Internal { static void set_has_remove_fan(HasBits* has_bits) { (*has_bits)[1] |= 64u; } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[1] & 0x00000180) ^ 0x00000180) != 0; - } }; const ::CUserMsg_ParticleManager_ReleaseParticleIndex& @@ -26334,7 +26331,7 @@ const char* CUserMsg_ParticleManager::_InternalParse(const char* ptr, ::_pbi::Pa uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + // optional .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); @@ -26347,7 +26344,7 @@ const char* CUserMsg_ParticleManager::_InternalParse(const char* ptr, ::_pbi::Pa } else goto handle_unusual; continue; - // required uint32 index = 2; + // optional uint32 index = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_index(&_impl_._has_bits_); @@ -26703,14 +26700,14 @@ uint8_t* CUserMsg_ParticleManager::_InternalSerialize( (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[1]; - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + // optional .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; if (cached_has_bits & 0x00000080u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 1, this->_internal_type(), target); } - // required uint32 index = 2; + // optional uint32 index = 2; if (cached_has_bits & 0x00000100u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_index(), target); @@ -27003,40 +27000,12 @@ uint8_t* CUserMsg_ParticleManager::_InternalSerialize( return target; } -size_t CUserMsg_ParticleManager::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CUserMsg_ParticleManager) - size_t total_size = 0; - - if (_internal_has_type()) { - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - if (_internal_has_index()) { - // required uint32 index = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - } - - return total_size; -} size_t CUserMsg_ParticleManager::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager) size_t total_size = 0; total_size += _impl_._extensions_.ByteSize(); - if (((_impl_._has_bits_[1] & 0x00000180) ^ 0x00000180) == 0) { // All required fields are present. - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - - // required uint32 index = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27275,7 +27244,7 @@ size_t CUserMsg_ParticleManager::ByteSizeLong() const { } cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x000000ffu) { // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; if (cached_has_bits & 0x00000001u) { total_size += 2 + @@ -27325,7 +27294,18 @@ size_t CUserMsg_ParticleManager::ByteSizeLong() const { *_impl_.remove_fan_); } + // optional .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); + } + } + // optional uint32 index = 2; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -27535,7 +27515,6 @@ bool CUserMsg_ParticleManager::IsInitialized() const { return false; } - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; return true; } diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h index 2ebd20f..aac2266 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h @@ -16952,7 +16952,7 @@ class CUserMsg_ParticleManager final : ::CUserMsg_ParticleManager_RemoveFan* remove_fan); ::CUserMsg_ParticleManager_RemoveFan* unsafe_arena_release_remove_fan(); - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + // optional .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; bool has_type() const; private: bool _internal_has_type() const; @@ -16965,7 +16965,7 @@ class CUserMsg_ParticleManager final : void _internal_set_type(::PARTICLE_MESSAGE value); public: - // required uint32 index = 2; + // optional uint32 index = 2; bool has_index() const; private: bool _internal_has_index() const; @@ -17172,9 +17172,6 @@ class CUserMsg_ParticleManager final : private: class _Internal; - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; @@ -33974,7 +33971,7 @@ inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::set_allocated_ori // CUserMsg_ParticleManager -// required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; +// optional .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; inline bool CUserMsg_ParticleManager::_internal_has_type() const { bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; return value; @@ -34003,7 +34000,7 @@ inline void CUserMsg_ParticleManager::set_type(::PARTICLE_MESSAGE value) { // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.type) } -// required uint32 index = 2; +// optional uint32 index = 2; inline bool CUserMsg_ParticleManager::_internal_has_index() const { bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; return value; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp index 6d59915..fa133ce 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp @@ -7,44 +7,68 @@ auto CFunctionList::OnInit() -> bool std::vector vPatterns = { &CGameEntitySystem_GetBaseEntity, - &CGameEntitySystem_GetLocalPlayerController, - &CCSInventoryManager_Get, - &CCSInventoryManager_EquipItemInLoadout, - &CCSPlayerInventory_GetItemInLoadout, - &CGCClientSharedObjectCache_CreateBaseTypeCache, - &CGCClientSharedObjectCache_FindTypeCache, - &CreateSharedObjectSubclassEconItem, - &CEconItemSchema_GetAttributeDefinitionInterface, - &CEconItem_SetDynamicAttributeValueUint, - &IGameEvent_GetName, - &IGameEvent_GetInt64, - &IGameEvent_GetPlayerController, - &IGameEvent_GetString, - &IGameEvent_SetString, - &C_EconItemView_GetStaticData, - &C_EconItemView_GetBasePlayerWeaponVData, - &C_BaseModelEntity_SetModel, - &CGameSceneNode_SetMeshGroupMask, - &C_CSWeaponBase_UpdateSubclass, - &C_CSWeaponBase_UpdateSkin, - &C_CSWeaponBase_UpdateCompositeMaterial, - &CEconItem_SerializeToProtoBufItem, - &C_BaseEntity_SetBodyGroup, - &CCSGO_HudWeaponSelection_ClearHudWeaponIcon, - &FindHudElement, - &GetCUserCmdTick, - &GetCUserCmdArray, - &GetCUserCmdBySequenceNumber, - &CTraceFilter_Constructor, - &C_BaseEntity_ComputeHitboxSurroundingBox, - &CSkeletonInstance_CalcWorldSpaceBones, - &C_BaseEntity_GetBoneIdByName, - &ScreenTransform, - &CreateSubtickMoveStep, - &ProtobufAddToRepeatedPtrElement, - &IGamePhysicsQuery_TraceShape, - &CCSGOInput_GetViewAngles, - &CCSGOInput_SetViewAngles, + & CGameEntitySystem_GetLocalPlayerController, + & CCSInventoryManager_Get, + & CCSInventoryManager_EquipItemInLoadout, + & CCSPlayerInventory_GetItemInLoadout, + & CGCClientSharedObjectCache_CreateBaseTypeCache, + & CGCClientSharedObjectCache_FindTypeCache, + & CreateSharedObjectSubclassEconItem, + & CEconItemSchema_GetAttributeDefinitionInterface, + & CEconItem_SetDynamicAttributeValueUint, + & IGameEvent_GetName, + & IGameEvent_GetInt64, + & IGameEvent_GetPlayerController, + & IGameEvent_GetString, + & IGameEvent_SetString, + & C_BaseEntity_ComputeHitboxSurroundingBox, + & C_EconItemView_GetStaticData, + & CSkeletonInstance_CalcWorldSpaceBones, + & C_BaseEntity_GetBoneIdByName, + & C_EconItemView_GetBasePlayerWeaponVData, + & KeyValues3_LoadKV3, + & IGamePhysicsQuery_TraceShape, + & CCSGOInput_GetViewAngles, + & CCSGOInput_SetViewAngles, + & LineGoesThroughSmoke, + & FindHudElement, + & C_CSWeaponBaseGun_GetInaccuracy, + & C_CSWeaponBaseGun_GetSpread, + & SetLocalPlayerReady, + & ScreenTransform, + & CreateSubtickMoveStep, + & ProtobufAddToRepeatedPtrElement, + & KeyValues_GetName, + & KeyValues_GetFirstSubKey, + & KeyValues_GetFirstTrueSubKey, + & KeyValues_GetNextTrueSubKey, + & KeyValues_GetNextKey, + & KeyValues_FindKey, + & KeyValues_GetInt, + & KeyValues_GetFloat, + & KeyValues_GetUint64, + & KeyValues_FindKeyAndParent, + & CKeyValues_Internal_GetString, + & KeyValues_Constructor, + & KeyValues_Destructor, + & KeyValues_LoadFromFile, + & KeyValues_Element, + & KeyValues_Count, + & C_EconItemView_GetCustomPaintKitIndex, + & C_BaseModelEntity_SetModel, + & CGameSceneNode_SetMeshGroupMask, + & C_CSWeaponBase_UpdateSubclass, + & C_CSWeaponBase_UpdateSkin, + & C_CSWeaponBase_UpdateCompositeMaterial, + & C_BaseEntity_SetBodyGroup, + & GetCUserCmdTick, + & GetCUserCmdArray, + & GetCUserCmdBySequenceNumber, + & CEconItem_SerializeToProtoBufItem, + & CUIEngineSource2_RunScript, + & CTraceFilter_Constructor, + & CCSGO_HudWeaponSelection_ClearHudWeaponIcon, + & C_BaseEntity_GetHitBoxSet, }; auto Searched = true; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp index ca66860..dc30eaf 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp @@ -25,13 +25,12 @@ public: CBasePattern CCSInventoryManager_Get = { VmpStr( "CCSInventoryManager::Get" ) , VmpStr( "E8 ? ? ? ? 48 8B D8 E8 ? ? ? ? 8B 70" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; /* String -> "\nLOADOUT ACTION BATCH #%i\n" */ - CBasePattern CCSInventoryManager_EquipItemInLoadout = { VmpStr( "CCSInventoryManager::EquipItemInLoadout" ) , VmpStr( "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 89 54 24 ? 57 41 54 41 55 41 56 41 57 48 83 EC ? 0F B7 F2" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - + CBasePattern CCSInventoryManager_EquipItemInLoadout = { VmpStr( "CCSInventoryManager::EquipItemInLoadout" ) , VmpStr( "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 89 54 24 ? 57 41 54 41 55 41 56 41 57 48 83 EC ? 0F B7 FA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + /* String -> "item_sub_position2" */ CBasePattern CCSPlayerInventory_GetItemInLoadout = { VmpStr( "CCSPlayerInventory::GetItemInLoadout" ) , VmpStr( "40 55 48 83 EC ? 49 63 E8" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - // 66 66 66 0F 1F 84 00 00 00 00 00 49 8B 42 28 0F B7 CF 48 8B 5C C8 08 49 8B CF 8B 53 30 E8 - /*E8 ? ? ? ? 33 ED C6 05 ? ? ? ? ? + /* 00007FF8EEEC826 | 666666:0F1F8400 00000000 | nop word ptr ds:[rax+rax],ax | 00007FF8EEEC827 | 49:8B42 28 | mov rax,qword ptr ds:[r10+0x28] | 00007FF8EEEC827 | 0FB7CF | movzx ecx,di | @@ -40,7 +39,7 @@ public: 00007FF8EEEC827 | 8B53 30 | mov edx,dword ptr ds:[rbx+0x30] | 00007FF8EEEC828 | E8 59FFFEFF | call | CreateBaseTypeCache */ - CBasePattern CGCClientSharedObjectCache_CreateBaseTypeCache = { VmpStr( "CGCClientSharedObjectCache::CreateBaseTypeCache" ) , VmpStr( "E8 ? ? ? ? 41 8B D5 49 8B CD 44 89 68 30" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern CGCClientSharedObjectCache_CreateBaseTypeCache = { VmpStr( "CGCClientSharedObjectCache::CreateBaseTypeCache" ) , VmpStr( "E8 ? ? ? ? 41 8B D5 49 8B CD" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; CBasePattern CGCClientSharedObjectCache_FindTypeCache = { VmpStr( "CGCClientSharedObjectCache::FindTypeCache" ) , VmpStr( "4C 8B 49 18 44 8B D2 4C 63 41 10 4F 8D 1C C1 49 8B C3" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; /* @@ -52,7 +51,7 @@ public: 00007FF866438B4 | 48:894424 28 | mov qword ptr ss:[rsp+0x28],rax | 00007FF866438B4 | 48:8D15 634AFBFF | lea rdx,qword ptr ds:[0x7FF8663ED5B0] | CreateSharedObjectSubclassEconItem */ - CBasePattern CreateSharedObjectSubclassEconItem = { VmpStr( "CreateSharedObjectSubclassEconItem" ) , VmpStr( "48 83 EC 28 B9 48 00 00 00 E8 ? ? ? ? 48 85 C0 74 3A 48 8D ? ? ? ? ? C7 40 32 00 00 FF 00 48 89 08 48 8D ? ? ? ? ? 48 89 48 08" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CreateSharedObjectSubclassEconItem = { VmpStr( "CreateSharedObjectSubclassEconItem" ) , VmpStr( "48 83 EC ? B9 ? ? ? ? E8 ? ? ? ? 48 85 C0 74 ? 48 8D 0D ? ? ? ? C7 40" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; /* 00007FF9D272C96 | 85D2 | test edx,edx | GetAttributeDefinitionInterface @@ -87,40 +86,61 @@ public: */ CBasePattern CEconItemSchema_GetAttributeDefinitionInterface = { VmpStr( "CEconItemSchema::GetAttributeDefinitionInterface" ) , VmpStr( "E8 ? ? ? ? 48 85 C0 74 ? E8 ? ? ? ? 0F B7 14 3B 48 8B C8 E8 ? ? ? ? 0F B6 48" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; CBasePattern CEconItem_SetDynamicAttributeValueUint = { VmpStr( "CEconItem::SetDynamicAttributeValueUint" ) , VmpStr( "E9 ? ? ? ? CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC 49 8B C0 48 8B CA 48 8B D0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; - CBasePattern IGameEvent_GetName = { VmpStr( "IGameEvent::GetName" ) , VmpStr( "8B 41 14 0F BA E0 1E 73 05 48 8D 41 18 C3" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern IGameEvent_GetInt64 = { VmpStr( "IGameEvent::GetInt64" ) , VmpStr( "48 89 5C 24 08 48 89 74 24 10 48 89 7C 24 18 41 56 48 83 EC 30 48 8B 01 41 8B F0 4C 8B F1 41 B0 01 48 8D 4C 24 20 48 8B DA 48 8B 78" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern IGameEvent_GetInt64 = { VmpStr( "IGameEvent::GetInt64" ) , VmpStr( "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8B 01 41 8B F0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern IGameEvent_GetPlayerController = { VmpStr( "IGameEvent::GetPlayerController" ) , VmpStr( "48 83 EC 38 8B 02 4C 8D 44 24 20" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern IGameEvent_GetString = { VmpStr( "IGameEvent::GetString" ) , VmpStr( "48 83 EC 38 8B 02 48 83 C1 58 89 44 24 20 8B 42 04 89 44 24 24 48 8B 42 08 48 8D 54 24 20 48 89 44 24 28 E8 ? ? ? ? 48 83 C4 38 C3 CC CC CC 33 C9" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern IGameEvent_SetString = { VmpStr( "IGameEvent::SetString" ) , VmpStr( "48 83 EC 38 8B 02 48 83 C1 58 89 44 24 20 41 B1 1A" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - - CBasePattern C_EconItemView_GetStaticData = { VmpStr( "C_EconItemView::GetStaticData" ) , VmpStr( "40 56 48 83 EC ? 48 89 5C 24 ? 48 8B F1 48 8B 1D ? ? ? ? 48 85 DB 75 ? B9 ? ? ? ? 48 89 7C 24 ? E8 ? ? ? ? 33 FF 48 8B D8 48 85 C0 74 ? 48 8D 05 ? ? ? ? 48 89 7B ? B9 ? ? ? ? 48 89 03 E8 ? ? ? ? 48 85 C0 74 ? 48 8B C8 E8 ? ? ? ? 48 8B F8 48 8D 05 ? ? ? ? 48 89 7B ? 48 89 03 EB ? 48 8B DF 48 8B 7C 24 ? 48 89 1D ? ? ? ? 48 8B 4B ? 48 8B 5C 24 ? 48 85 C9 75" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern C_EconItemView_GetBasePlayerWeaponVData = { VmpStr( "C_EconItemView::GetBasePlayerWeaponVData" ) , VmpStr( "48 81 EC ? ? ? ? 48 85 C9 75 ? 33 C0 48 81 C4 ? ? ? ? C3 48 89 9C 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern C_BaseModelEntity_SetModel = { VmpStr( "C_BaseModelEntity::SetModel" ) , VmpStr( "40 53 48 83 EC ? 48 8B D9 4C 8B C2 48 8B 0D ? ? ? ? 48 8D 54 24 40" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - - CBasePattern CGameSceneNode_SetMeshGroupMask = { VmpStr( "CGameSceneNode::SetMeshGroupMask" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8D 99 ? ? ? ? 48 8B 71" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - - CBasePattern C_CSWeaponBase_UpdateSubclass = { VmpStr( "C_CSWeaponBase::UpdateSubclass" ) , VmpStr( "40 53 48 83 EC 30 48 8B 41 10 48 8B D9 8B 50 30" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern C_CSWeaponBase_UpdateSkin = { VmpStr( "C_CSWeaponBase::UpdateSkin" ) , VmpStr( "48 89 5C 24 08 57 48 83 EC 20 8B DA 48 8B F9 E8 7C E9 0B 00 48 8D 8F E0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern C_CSWeaponBase_UpdateCompositeMaterial = { VmpStr( "C_CSWeaponBase::UpdateCompositeMaterial" ) , VmpStr( "E8 ? ? ? ? 48 8D 8B ? ? ? ? 48 89 BC 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; - - CBasePattern CEconItem_SerializeToProtoBufItem = { VmpStr( "CEconItem::SerializeToProtoBufItem" ) , VmpStr( "40 55 56 48 83 EC ? 48 8B 41 ? 48 8B F2" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern C_BaseEntity_SetBodyGroup = { VmpStr( "C_BaseEntity::SetBodyGroup" ) , VmpStr( "85 D2 0F 88 5C" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern CCSGO_HudWeaponSelection_ClearHudWeaponIcon = { VmpStr( "CCSGO_HudWeaponSelection::ClearHudWeaponIcon" ) , VmpStr( "E8 ? ? ? ? 8B F8 C6 84 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; - CBasePattern FindHudElement = { VmpStr( "FindHudElement" ) , VmpStr( "4C 8B DC 53 48 83 EC 50 48 8B 05" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern GetCUserCmdTick = { VmpStr( "GetCUserCmdTick" ) , VmpStr( "48 83 EC ? 4C 8B 0D ? ? ? ? 4C 8B DA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern GetCUserCmdArray = { VmpStr( "GetCUserCmdArray" ) , VmpStr( "48 89 4C 24 ? 41 56 41 57" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern GetCUserCmdBySequenceNumber = { VmpStr( "GetCUserCmdBySequenceNumber" ) , VmpStr( "40 53 48 83 EC ? 8B DA E8 ? ? ? ? 4C 8B C0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern CTraceFilter_Constructor = { VmpStr( "CTraceFilter::Constructor" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 0F B6 41 ? 33 FF 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern C_BaseEntity_ComputeHitboxSurroundingBox = { VmpStr( "C_BaseEntity::ComputeHitboxSurroundingBox" ) , VmpStr( "48 89 5C 24 10 48 89 6C 24 18 56 57 41 56 B8 A0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_EconItemView_GetStaticData = { VmpStr( "C_EconItemView::GetStaticData" ) , VmpStr( "40 56 48 83 EC ? 48 89 5C 24 ? 48 8B F1 48 8B 1D ? ? ? ? 48 85 DB 75 ? B9 ? ? ? ? 48 89 7C 24 ? E8 ? ? ? ? 33 FF 48 8B D8 48 85 C0 74 ? 48 8D 05 ? ? ? ? 48 89 7B ? B9 ? ? ? ? 48 89 03 E8 ? ? ? ? 48 85 C0 74 ? 48 8B C8 E8 ? ? ? ? 48 8B F8 48 8D 05 ? ? ? ? 48 89 7B ? 48 89 03 EB ? 48 8B DF 48 8B 7C 24 ? 48 89 1D ? ? ? ? 48 8B 4B ? 48 8B 5C 24 ? 48 85 C9 75" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern CSkeletonInstance_CalcWorldSpaceBones = { VmpStr( "CSkeletonInstance::CalcWorldSpaceBones" ) , VmpStr( "48 89 4C 24 ? 55 53 56 57 41 54 41 55 41 56 41 57 B8 ? ? ? ? E8 ? ? ? ? 48 2B E0 48 8D 6C 24 ? 48 8B 81" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern C_BaseEntity_GetBoneIdByName = { VmpStr( "C_BaseEntity::GetBoneIdByName" ) , VmpStr( "E8 ? ? ? ? 48 8B CF 85 C0 78 ? 44 8B C0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; - CBasePattern ScreenTransform = { VmpStr( "ScreenTransform" ) , VmpStr( "48 89 74 24 ? 57 48 83 EC ? 48 8B 05 ? ? ? ? 48 8B FA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; - CBasePattern CreateSubtickMoveStep = { VmpStr( "CreateSubtickMoveStep" ) , VmpStr( "E8 ? ? ? ? 48 8B D0 49 8D 4E 18 E8 ? ? ? ? 4C 8B C8 4C 8D 43 02 49 8B D1 48 8B CE E8 ? ? ? ? 48 8B D8 48 85 C0 0F 84 ? ? ? ? 48 3B 06 0F 83 ? ? ? ? 0F B7 00 66 C7 45 67 ? ? 66 3B 45 67 74 ? E9 ? ? ? ? 40 80 FF ? 0F 85 ? ? ? ? 41 83 4E 10 ?" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; - CBasePattern ProtobufAddToRepeatedPtrElement = { VmpStr( "ProtobufAddToRepeatedPtrElement" ) , VmpStr( "48 89 5C 24 ? 57 48 83 EC ? 48 8B D9 48 8B FA 48 8B 49 ? 48 85 C9 74 ? 8B 01" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_EconItemView_GetBasePlayerWeaponVData = { VmpStr( "C_EconItemView::GetBasePlayerWeaponVData" ) , VmpStr( "48 81 EC ? ? ? ? 48 85 C9 75 ? 33 C0 48 81 C4 ? ? ? ? C3 48 89 9C 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern KeyValues3_LoadKV3 = { VmpStr( "KeyValues3::LoadKV3" ) , VmpStr( "?LoadKV3@@YA_NPEAVKeyValues3@@PEAVCUtlString@@PEBDAEBUKV3ID_t@@2I@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; CBasePattern IGamePhysicsQuery_TraceShape = { VmpStr( "IGamePhysicsQuery::TraceShape" ) , VmpStr( "48 89 5C 24 ? 48 89 4C 24 ? 55 57" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; CBasePattern CCSGOInput_GetViewAngles = { VmpStr( "CCSGOInput::GetViewAngles" ) , VmpStr( "E8 ? ? ? ? EB ? 48 8B 01 48 8D 54 24 ?" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; CBasePattern CCSGOInput_SetViewAngles = { VmpStr( "CCSGOInput::SetViewAngles" ) , VmpStr( "85 D2 75 ? 48 63 81" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + // ___7___Func_impl_no_alloc_V_lambda_1___1__GetSmokeDensityLOS_SmokeVolume__AEAAMAEBV__Vec3D_M__0PEAV4__Z__NAEBV4_I_std__6B_ + CBasePattern LineGoesThroughSmoke = { VmpStr( "LineGoesThroughSmoke" ) , VmpStr( "48 8B C4 55 53 56 41 54" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + // [%d] Could not find Hud Element: %s\n + CBasePattern FindHudElement = { VmpStr( "FindHudElement" ) , VmpStr( "4C 8B DC 53 48 83 EC 50 48 8B 05" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBaseGun_GetInaccuracy = { VmpStr( "C_CSWeaponBaseGun::GetInaccuracy" ) , VmpStr( "48 89 5C 24 10 55 56 57 48 81 EC ? ? ? ? 44 0F 29 84 24 80 00 00 00" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBaseGun_GetSpread = { VmpStr( "C_CSWeaponBaseGun::GetSpread" ) , VmpStr( "48 83 EC ? 48 63 91 ? ? ? ? 48 8B 81 ? ? ? ? 0F 29 74 24 ? 85 D2" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern SetLocalPlayerReady = { VmpStr( "SetLocalPlayerReady" ) , VmpStr( "40 53 48 83 EC 20 48 8B DA 48 8D 15 ? ? ? ? 48 8B CB FF" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern ScreenTransform = { VmpStr( "ScreenTransform" ) , VmpStr( "48 89 5C 24 ? 57 48 83 EC ? 48 83 3D ? ? ? ? ? 48 8B DA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CreateSubtickMoveStep = { VmpStr( "CreateSubtickMoveStep" ) , VmpStr( "E8 ? ? ? ? 48 8B D0 49 8D 4E 18 E8 ? ? ? ? 4C 8B C8 4C 8D 43 02 49 8B D1 48 8B CE E8 ? ? ? ? 48 8B D8 48 85 C0 0F 84 ? ? ? ? 48 3B 06 0F 83 ? ? ? ? 0F B7 00 66 C7 45 67 ? ? 66 3B 45 67 74 ? E9 ? ? ? ? 40 80 FF ? 0F 85 ? ? ? ? 41 83 4E 10 ?" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern ProtobufAddToRepeatedPtrElement = { VmpStr( "ProtobufAddToRepeatedPtrElement" ) , VmpStr( "48 89 5C 24 ? 57 48 83 EC ? 48 8B D9 48 8B FA 48 8B 49 ? 48 85 C9 74 ? 8B 01" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern KeyValues_GetName = { VmpStr( "KeyValues::GetName" ) , VmpStr( "?GetName@KeyValues@@QEBAPEBDXZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetFirstSubKey = { VmpStr( "KeyValues::GetFirstSubKey" ) , VmpStr( "?GetFirstSubKey@KeyValues@@QEAAPEAV1@XZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetFirstTrueSubKey = { VmpStr( "KeyValues::GetFirstTrueSubKey" ) , VmpStr( "?GetFirstTrueSubKey@KeyValues@@QEAAPEAV1@XZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetNextTrueSubKey = { VmpStr( "KeyValues::GetNextTrueSubKey" ) , VmpStr( "?GetNextTrueSubKey@KeyValues@@QEAAPEAV1@XZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetNextKey = { VmpStr( "KeyValues::GetNextKey" ) , VmpStr( "?GetNextKey@KeyValues@@QEAAPEAV1@XZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_FindKey = { VmpStr( "KeyValues::FindKey" ) , VmpStr( "?FindKey@KeyValues@@QEBAPEBV1@PEBD@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetInt = { VmpStr( "KeyValues::GetInt" ) , VmpStr( "?GetInt@KeyValues@@QEBAHPEBDH@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetFloat = { VmpStr( "KeyValues::GetFloat" ) , VmpStr( "?GetFloat@KeyValues@@QEBAMPEBDM@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_GetUint64 = { VmpStr( "KeyValues::GetUint64" ) , VmpStr( "?GetUint64@KeyValues@@QEBA_KPEBD_K@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_FindKeyAndParent = { VmpStr( "KeyValues::FindKeyAndParent" ) , VmpStr( "?FindKeyAndParent@KeyValues@@QEAAPEAV1@PEBDPEAPEAV1@_N@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern CKeyValues_Internal_GetString = { VmpStr( "CKeyValues_Data::Internal_GetString" ) , VmpStr( "?Internal_GetString@CKeyValues_Data@@IEAAPEBDPEBDPEAD_K@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_Constructor = { VmpStr( "KeyValues::KeyValues" ) , VmpStr( "??0KeyValues@@QEAA@PEBDPEAVIKeyValuesSystem@@_N@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_Destructor = { VmpStr( "KeyValues::~KeyValues" ) , VmpStr( "??1KeyValues@@QEAA@XZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_LoadFromFile = { VmpStr( "KeyValues::LoadFromFile" ) , VmpStr( "?LoadFromFile@KeyValues@@QEAA_NPEAVIFileSystem@@PEBD1P6A_N1PEAX@Z21@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_Element = { VmpStr( "KeyValues::Element" ) , VmpStr( "?Element@KeyValues@@QEAAPEAV1@H@Z" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern KeyValues_Count = { VmpStr( "KeyValues::Count" ) , VmpStr( "?Count@KeyValues@@QEBAHXZ" ) , TIER0_DLL , 0 , SEARCH_TYPE_PROC }; + CBasePattern C_EconItemView_GetCustomPaintKitIndex = { VmpStr( "C_EconItemView::GetCustomPaintKitIndex" ) , VmpStr( "48 89 5C 24 ? 57 48 83 EC ? 8B 15 ? ? ? ? 48 8B F9 65 48 8B 04 25 ? ? ? ? B9 ? ? ? ? 48 8B 04 D0 8B 04 01 39 05 ? ? ? ? 0F 8F ? ? ? ? E8 ? ? ? ? 8B 58 ? 39 1D ? ? ? ? 74 ? E8 ? ? ? ? 48 8B 15 ? ? ? ? 48 8B C8 E8 ? ? ? ? 48 89 05 ? ? ? ? 89 1D ? ? ? ? EB ? 48 8B 05 ? ? ? ? 48 85 C0 74" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_BaseModelEntity_SetModel = { VmpStr( "C_BaseModelEntity::SetModel" ) , VmpStr( "40 53 48 83 EC ? 48 8B D9 4C 8B C2 48 8B 0D ? ? ? ? 48 8D 54 24 40" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CGameSceneNode_SetMeshGroupMask = { VmpStr( "CGameSceneNode::SetMeshGroupMask" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8D 99 ? ? ? ? 48 8B 71" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBase_UpdateSubclass = { VmpStr( "C_CSWeaponBase::UpdateSubclass" ) , VmpStr( "4C 8B DC 53 48 81 EC ? ? ? ? 48 8B 41" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBase_UpdateSkin = { VmpStr( "C_CSWeaponBase::UpdateSkin" ) , VmpStr( "48 89 5C 24 08 57 48 83 EC 20 8B DA 48 8B F9 E8 ? ? ? ? 48 8D 8F A0 1B 00 00 48 8B D7 E8 ? ? ? ? F6 C3 01 74 0A 33 D2 48 8B CF E8 ? ? ? ? 48 8D 8F 50 1C 00 00 48 8B D7 E8 ? ? ? ? 45 33 C0 BA 02 00 00 00 48 8B CF E8 ? ? ? ? 48 8B CF 48 8B 5C 24 30 48 83 C4 20 5F E9" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBase_UpdateCompositeMaterial = { VmpStr( "C_CSWeaponBase::UpdateCompositeMaterial" ) , VmpStr( "E8 ? ? ? ? 48 8D 8B ? ? ? ? 48 89 BC 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern C_BaseEntity_SetBodyGroup = { VmpStr( "C_BaseEntity::SetBodyGroup" ) , VmpStr( "85 D2 0F 88 5C" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern GetCUserCmdTick = { VmpStr( "GetCUserCmdTick" ) , VmpStr( "48 83 EC ? 4C 8B 0D ? ? ? ? 4C 8B DA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern GetCUserCmdArray = { VmpStr( "GetCUserCmdArray" ) , VmpStr( "48 89 4C 24 ? 41 56 41 57" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern GetCUserCmdBySequenceNumber = { VmpStr( "GetCUserCmdBySequenceNumber" ) , VmpStr( "40 53 48 83 EC ? 8B DA E8 ? ? ? ? 4C 8B C0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CEconItem_SerializeToProtoBufItem = { VmpStr( "CEconItem::SerializeToProtoBufItem" ) , VmpStr( "40 55 56 48 83 EC ? 48 8B 41 ? 48 8B F2" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CUIEngineSource2_RunScript = { VmpStr( "CUIEngineSource2::RunScript" ) , VmpStr( "48 89 5C 24 ? 4C 89 4C 24 ? 48 89 54 24 ? 55 56 57 41 54 41 55 41 56 41 57 48 8D 6C 24" ) , PANORAMA_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CTraceFilter_Constructor = { VmpStr( "CTraceFilter::Constructor" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 0F B6 41 ? 33 FF 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CCSGO_HudWeaponSelection_ClearHudWeaponIcon = { VmpStr( "CCSGO_HudWeaponSelection::ClearHudWeaponIcon" ) , VmpStr( "E8 ? ? ? ? 8B F8 C6 84 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern C_BaseEntity_GetHitBoxSet = { VmpStr( "C_BaseEntity::GetHitBoxSet" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 81 EC ? ? ? ? 8B DA 48 8B F9 E8 ? ? ? ? 48 8B F0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; }; auto GetFunctionList() -> CFunctionList*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp index 2e38fc4..c12ef19 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp @@ -20,26 +20,40 @@ class CGCClientSharedObjectCache; class CEconItem; class CEconItemSchema; class IGameEvent; -class CEconItemDefinition; -class CCSWeaponBaseVData; -class C_BaseModelEntity; class CGameSceneNode; -class C_CSWeaponBase; -class CCompositeMaterialOwner; class C_BaseEntity; -class CSOEconItem; -class CCSGO_HudWeaponSelection; +class CEconItemDefinition; +class CModel; +class CSkeletonInstance; +class C_CSPlayerPawn; +class C_BaseModelEntity; +class CCSWeaponBaseVData; +class KeyValues3; +class CUtlString; +struct KV3ID_t; +class CCSGOInput; +class C_CSWeaponBase; +class C_CSWeaponBaseGun; +class CSubtickMoveStep; +class KeyValues; +class IBaseFileSystem; +class CCompositeMaterialOwner; class CUserCmdArray; class CUserCmd; -class CTraceFilter; +class C_EnvSky; +class C_BaseCSGrenade; +class CGrenadeTrace; +class CSOEconItem; +struct TraceData_t; +struct HandleBulletPenetrationData_t; +class CTraceInfo; class CGameTrace; -class CSkeletonInstance; -class CSubtickMoveStep; -class IVPhysics2World; -class CCSGOInput; +class CUIPanel; struct Ray_t; - -// Declarations: +class CTraceFilter; +class IVPhysics2World; +class CCSGO_HudWeaponSelection; +class CHitBoxSet; DECLARATE_CS2_FUNCTION_SDK_FASTCALL( PVOID , CGameEntitySystem_GetBaseEntity , ( CGameEntitySystem* pGameEntitySystem , int iIndex ) , ( CGameEntitySystem* , int ) , ( pGameEntitySystem , iIndex ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSPlayerController* , CGameEntitySystem_GetLocalPlayerController , ( int Unk ) , ( int ) , ( Unk ) ); @@ -56,30 +70,56 @@ DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int64_t , IGameEvent_GetInt64 , ( IGameEven DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSPlayerController* , IGameEvent_GetPlayerController , ( IGameEvent* pIGameEvent , void* pEventNameHash ) , ( IGameEvent* , void* ) , ( pIGameEvent , pEventNameHash ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , IGameEvent_GetString , ( IGameEvent* pIGameEvent , void* pEventNameHash ) , ( IGameEvent* , void* , void* ) , ( pIGameEvent , pEventNameHash , nullptr ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , IGameEvent_SetString , ( IGameEvent* pIGameEvent , void* pEventNameHash , const char* pEventValue ) , ( IGameEvent* , void* , const char* , int ) , ( pIGameEvent , pEventNameHash , pEventValue , 0 ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CEconItemDefinition* , C_EconItemView_GetStaticData , ( C_EconItemView* pEconItemView ) , ( C_EconItemView* ) , ( pEconItemView ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSWeaponBaseVData* , C_EconItemView_GetBasePlayerWeaponVData , ( C_EconItemView* pC_EconItemView ) , ( C_EconItemView* ) , ( pC_EconItemView ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_BaseModelEntity_SetModel , ( C_BaseModelEntity* pBaseModelEntity , const char* szModelName ) , ( C_BaseModelEntity* , const char* ) , ( pBaseModelEntity , szModelName ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CGameSceneNode_SetMeshGroupMask , ( CGameSceneNode* pGameSceneNode , uint64_t MeshGroupMask ) , ( CGameSceneNode* , uint64_t ) , ( pGameSceneNode , MeshGroupMask ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateSubclass , ( C_CSWeaponBase* pWeaponBase ) , ( C_CSWeaponBase* ) , ( pWeaponBase ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateSkin , ( C_CSWeaponBase* pWeaponBase , uint32_t Update ) , ( C_CSWeaponBase* , uint32_t ) , ( pWeaponBase , Update ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateCompositeMaterial , ( CCompositeMaterialOwner* pCompositeMaterialOwner , bool unk1 ) , ( CCompositeMaterialOwner* , bool ) , ( pCompositeMaterialOwner , unk1 ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , CEconItem_SerializeToProtoBufItem , ( CEconItem* pCEconItem , CSOEconItem* pCSOEconItem ) , ( CEconItem* , CSOEconItem* ) , ( pCEconItem , pCSOEconItem ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_BaseEntity_SetBodyGroup , ( C_BaseEntity* pC_BaseEntity , int unk1 , unsigned int unk2 ) , ( C_BaseEntity* , int , unsigned int ) , ( pC_BaseEntity , unk1 , unk2 ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CCSGO_HudWeaponSelection_ClearHudWeaponIcon , ( CCSGO_HudWeaponSelection* pCCSGO_HudWeaponSelection , int unk1 , int64_t unk2 ) , ( CCSGO_HudWeaponSelection* , int , int64_t ) , ( pCCSGO_HudWeaponSelection , unk1 , unk2 ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , FindHudElement , ( const char* szHudName ) , ( const char* ) , ( szHudName ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , GetCUserCmdTick , ( CCSPlayerController* pPlayerController , int32_t* pOutputTick ) , ( CCSPlayerController* , int32_t* ) , ( pPlayerController , pOutputTick ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CUserCmdArray* , GetCUserCmdArray , ( CUserCmd** ppCUserCmd , int Tick ) , ( CUserCmd** , int ) , ( ppCUserCmd , Tick ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CUserCmd* , GetCUserCmdBySequenceNumber , ( CCSPlayerController* pPlayerController , uint32_t SequenceNumber ) , ( CCSPlayerController* , uint32_t ) , ( pPlayerController , SequenceNumber ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CTraceFilter_Constructor , ( CTraceFilter* pThis , uint64_t uMask , void* pSkip1 , int nLayer , uint16_t unkNum ) , ( CTraceFilter* , void* , uint64_t , int , uint16_t ) , ( pThis , pSkip1 , uMask , nLayer , unkNum ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , C_BaseEntity_ComputeHitboxSurroundingBox , ( C_BaseEntity* pBaseEntity , Vector3& mins , Vector3& maxs ) , ( C_BaseEntity* , Vector3& , Vector3& ) , ( pBaseEntity , mins , maxs ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CEconItemDefinition* , C_EconItemView_GetStaticData , ( C_EconItemView* pEconItemView ) , ( C_EconItemView* ) , ( pEconItemView ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CSkeletonInstance_CalcWorldSpaceBones , ( CSkeletonInstance* pCSkeletonInstance , unsigned int mask ) , ( CSkeletonInstance* , unsigned int ) , ( pCSkeletonInstance , mask ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int , C_BaseEntity_GetBoneIdByName , ( C_BaseEntity* pC_BaseEntity , const char* szName ) , ( C_BaseEntity* , const char* ) , ( pC_BaseEntity , szName ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , ScreenTransform , ( const Vector3& vOrigin , Vector3& vOut ) , ( const Vector3& , Vector3& ) , ( vOrigin , vOut ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CSubtickMoveStep* , CreateSubtickMoveStep , ( void* pArena ) , ( void* ) , ( pArena ) ); -DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , ProtobufAddToRepeatedPtrElement , ( void* pRepeatedPtrField_t , void* pElement ) , ( void* , void* ) , ( pRepeatedPtrField_t , pElement ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSWeaponBaseVData* , C_EconItemView_GetBasePlayerWeaponVData , ( C_EconItemView* pC_EconItemView ) , ( C_EconItemView* ) , ( pC_EconItemView ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , KeyValues3_LoadKV3 , ( KeyValues3* pKV3 , const char* vmatBuffer , KV3ID_t* pID ) , ( KeyValues3* , CUtlString* , const char* , KV3ID_t* , const char* , unsigned int ) , ( pKV3 , nullptr , vmatBuffer , pID , "" , 0 ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , IGamePhysicsQuery_TraceShape , ( IVPhysics2World** pIVPhysics2World , const Ray_t& ray , const Vector3& vecAbsStart , const Vector3& vecAbsEnd , const CTraceFilter* pFilter , CGameTrace* pTrace ) , ( IVPhysics2World** , const Ray_t& , const Vector3& , const Vector3& , const CTraceFilter* , CGameTrace* ) , ( pIVPhysics2World , ray , vecAbsStart , vecAbsEnd , pFilter , pTrace ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( QAngle* , CCSGOInput_GetViewAngles , ( CCSGOInput* pCCSGOInput , int32_t slot ) , ( CCSGOInput* , int32_t ) , ( pCCSGOInput , slot ) ); DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CCSGOInput_SetViewAngles , ( CCSGOInput* pCCSGOInput , int32_t slot , QAngle& Angles ) , ( CCSGOInput* , int32_t , QAngle& ) , ( pCCSGOInput , slot , Angles ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( float , LineGoesThroughSmoke , ( const Vector3& Start , const Vector3& End , int64 a3 ) , ( const Vector3& , const Vector3& , int64 ) , ( Start , End , a3 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , FindHudElement , ( const char* szHudName ) , ( const char* ) , ( szHudName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( float , C_CSWeaponBaseGun_GetInaccuracy , ( C_CSWeaponBaseGun* pC_CSWeaponBaseGun , float* unk1 = nullptr , float* unk2 = nullptr ) , ( C_CSWeaponBaseGun* , float* , float* ) , ( pC_CSWeaponBaseGun , unk1 , unk2 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( float , C_CSWeaponBaseGun_GetSpread , ( C_CSWeaponBaseGun* pC_CSWeaponBaseGun ) , ( C_CSWeaponBaseGun* ) , ( pC_CSWeaponBaseGun ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , SetLocalPlayerReady , ( const char* Reason ) , ( void* , const char* ) , ( nullptr , Reason ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , ScreenTransform , ( const Vector3& vOrigin , Vector3& vOut ) , ( const Vector3& , Vector3& ) , ( vOrigin , vOut ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CSubtickMoveStep* , CreateSubtickMoveStep , ( void* pArena ) , ( void* ) , ( pArena ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , ProtobufAddToRepeatedPtrElement , ( void* pRepeatedPtrField_t , void* pElement ) , ( void* , void* ) , ( pRepeatedPtrField_t , pElement ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , KeyValues_GetName , ( KeyValues* pThis ) , ( KeyValues* ) , ( pThis ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_GetFirstSubKey , ( KeyValues* pThis ) , ( KeyValues* ) , ( pThis ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_GetFirstTrueSubKey , ( KeyValues* pThis ) , ( KeyValues* ) , ( pThis ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_GetNextTrueSubKey , ( KeyValues* pThis ) , ( KeyValues* ) , ( pThis ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_GetNextKey , ( KeyValues* pThis ) , ( KeyValues* ) , ( pThis ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_FindKey , ( KeyValues* pThis , const char* szKeyName ) , ( KeyValues* , const char* ) , ( pThis , szKeyName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int , KeyValues_GetInt , ( KeyValues* pThis , const char* szKeyName , int DefaultValue ) , ( KeyValues* , const char* , int ) , ( pThis , szKeyName , DefaultValue ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( float , KeyValues_GetFloat , ( KeyValues* pThis , const char* szKeyName , float DefaultValue ) , ( KeyValues* , const char* , float ) , ( pThis , szKeyName , DefaultValue ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( uint64_t , KeyValues_GetUint64 , ( KeyValues* pThis , const char* szKeyName , uint64_t DefaultValue ) , ( KeyValues* , const char* , uint64_t ) , ( pThis , szKeyName , DefaultValue ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_FindKeyAndParent , ( KeyValues* pThis , const char* szKeyName , KeyValues** Parent , bool Unk1 ) , ( KeyValues* , const char* , KeyValues** , bool ) , ( pThis , szKeyName , Parent , Unk1 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , CKeyValues_Internal_GetString , ( KeyValues* pData , const char* DefaultValue ) , ( KeyValues* , const char* ) , ( pData , DefaultValue ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_Constructor , ( KeyValues* pThis , const char* szName , void* IKeyValuesSystem , bool Unk1 ) , ( KeyValues* , const char* , void* , bool ) , ( pThis , szName , IKeyValuesSystem , Unk1 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , KeyValues_Destructor , ( KeyValues* pKeyValues ) , ( KeyValues* ) , ( pKeyValues ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , KeyValues_LoadFromFile , ( KeyValues* pKeyValues , IBaseFileSystem* pFileSystem , const char* szResourceName , const char* PathID , void* pFunc , void* Unk1 , const char* Unk2 ) , ( KeyValues* , IBaseFileSystem* , const char* , const char* , void* , void* , const char* ) , ( pKeyValues , pFileSystem , szResourceName , PathID , pFunc , Unk1 , Unk2 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( KeyValues* , KeyValues_Element , ( KeyValues* pKeyValues , int Index ) , ( KeyValues* , int ) , ( pKeyValues , Index ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int , KeyValues_Count , ( KeyValues* pKeyValues ) , ( KeyValues* ) , ( pKeyValues ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int , C_EconItemView_GetCustomPaintKitIndex , ( C_EconItemView* pEconItemView ) , ( C_EconItemView* ) , ( pEconItemView ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_BaseModelEntity_SetModel , ( C_BaseModelEntity* pBaseModelEntity , const char* szModelName ) , ( C_BaseModelEntity* , const char* ) , ( pBaseModelEntity , szModelName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CGameSceneNode_SetMeshGroupMask , ( CGameSceneNode* pGameSceneNode , uint64_t MeshGroupMask ) , ( CGameSceneNode* , uint64_t ) , ( pGameSceneNode , MeshGroupMask ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateSubclass , ( C_CSWeaponBase* pWeaponBase ) , ( C_CSWeaponBase* ) , ( pWeaponBase ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateSkin , ( C_CSWeaponBase* pWeaponBase , bool Update ) , ( C_CSWeaponBase* , bool ) , ( pWeaponBase , Update ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateCompositeMaterial , ( CCompositeMaterialOwner* pCompositeMaterialOwner , bool unk1 ) , ( CCompositeMaterialOwner* , bool ) , ( pCompositeMaterialOwner , unk1 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_BaseEntity_SetBodyGroup , ( C_BaseEntity* pC_BaseEntity , int unk1 , unsigned int unk2 ) , ( C_BaseEntity* , int , unsigned int ) , ( pC_BaseEntity , unk1 , unk2 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , GetCUserCmdTick , ( CCSPlayerController* pPlayerController , int32_t* pOutputTick ) , ( CCSPlayerController* , int32_t* ) , ( pPlayerController , pOutputTick ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CUserCmdArray* , GetCUserCmdArray , ( CUserCmd** ppCUserCmd , int Tick ) , ( CUserCmd** , int ) , ( ppCUserCmd , Tick ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CUserCmd* , GetCUserCmdBySequenceNumber , ( CCSPlayerController* pPlayerController , uint32_t SequenceNumber ) , ( CCSPlayerController* , uint32_t ) , ( pPlayerController , SequenceNumber ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , CEconItem_SerializeToProtoBufItem , ( CEconItem* pCEconItem , CSOEconItem* pCSOEconItem ) , ( CEconItem* , CSOEconItem* ) , ( pCEconItem , pCSOEconItem ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CUIEngineSource2_RunScript , ( void* pThis , CUIPanel* pPanel , const char* pszScriptSrc , const char* szOriginFile , int Line ) , ( void* , CUIPanel* , const char* , const char* , int ) , ( pThis , pPanel , pszScriptSrc , szOriginFile , Line ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CTraceFilter_Constructor , ( CTraceFilter* pThis , uint64_t uMask , void* pSkip1 , int nLayer , uint16_t unkNum ) , ( CTraceFilter* , void* , uint64_t , int , uint16_t ) , ( pThis , pSkip1 , uMask , nLayer , unkNum ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CCSGO_HudWeaponSelection_ClearHudWeaponIcon , ( CCSGO_HudWeaponSelection* pCCSGO_HudWeaponSelection , int unk1 , int64_t unk2 ) , ( CCSGO_HudWeaponSelection* , int , int64_t ) , ( pCCSGO_HudWeaponSelection , unk1 , unk2 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CHitBoxSet* , C_BaseEntity_GetHitBoxSet , ( C_BaseEntity* pC_BaseEntity , uint32_t Index = 0 ) , ( C_BaseEntity* , uint32_t ) , ( pC_BaseEntity , Index ) ); + +// Helpers: namespace CCSGOHudElement { diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp index 095acdc..c499042 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp @@ -5,28 +5,16 @@ #include #include +#include #define SCHEMA_SYSTEM_INTERFACE_VERSION "SchemaSystem_001" -#pragma region CSchemaSystemIndex - -namespace index -{ - namespace CSchemaSystem - { - constexpr auto GlobalTypeScope = 11; - constexpr auto SchemaClassInfo = 42; - } -} - -#pragma endregion - #pragma region GeneratorOffset namespace GeneratorOffset { constexpr auto GetNumSchema = 0x74; - constexpr auto GetClassContainer = 0x580; // 49 8D 9F ? ? ? ? 48 8B CB E8 ? ? ? ? 48 8B 43 ? 48 8B CB 48 89 43 ? E8 ? ? ? ? 48 83 C3 ? 48 83 EF + constexpr auto GetClassContainer = 0x5C0; // 49 8D 9F ? ? ? ? 48 8B CB E8 ? ? ? ? 48 8B 43 ? 48 8B CB 48 89 43 ? E8 ? ? ? ? 48 83 C3 ? 48 83 EF } #pragma endregion @@ -145,7 +133,7 @@ public: auto GlobalTypeScope() -> CSchemaSystemTypeScope* { VirtualFn( CSchemaSystemTypeScope* )( CSchemaSystem* ); - return vget< Fn >( this , index::CSchemaSystem::GlobalTypeScope )( this ); + return vget< Fn >( this , SDK::VMT_Index::CSchemaSystem::GlobalTypeScope )( this ); } auto GetAllTypeScope() -> CSchemaSystemTypeScope** diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp index f9b8ed4..5d0ad90 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp @@ -115,9 +115,9 @@ public: namespace IEngineCVar_Search { - inline CBasePattern GetFirstCvarIteratorFn = { VmpStr( "IEngineCVar::GetFirstCvarIterator" ) , VmpStr( "48 89 74 24 10 57 48 83 EC 30 0F B7 41 50 48 8B F1 B9 FF FF 00 00" ) , TIER0_DLL }; - inline CBasePattern GetNextCvarIteratorFn = { VmpStr( "IEngineCVar::GetNextCvarIterator" ) , VmpStr( "48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 41 56 41 57 48 83 EC 30 BD FF FF 00 00 49 8B D8 4C 8B F2 48 8B F1 66 44 3B C5 74 5B 41 BF FF 7F 00 00 66 44 85 7E 42" ) , TIER0_DLL }; - inline CBasePattern FindVarByIndexFn = { VmpStr( "IEngineCVar::FindVarByIndex" ) , VmpStr( "B8 FF FF 00 00 66 3B D0 74 27 B8 FF 7F 00 00 66 85 41 42 75 0D 33 C9 0F B7 C2 48 03 C0 48 8B 04 C1 C3" ) , TIER0_DLL }; + inline CBasePattern GetFirstCvarIteratorFn = { VmpStr( "IEngineCVar::GetFirstCvarIterator" ) , VmpStr( "48 89 74 24 ? 48 89 7C 24 ? 41 56 48 83 EC ? 48 8B F2 48 8D B9" ) , TIER0_DLL }; + inline CBasePattern GetNextCvarIteratorFn = { VmpStr( "IEngineCVar::GetNextCvarIterator" ) , VmpStr( "40 53 55 56 41 56 41 57 48 83 EC ? 49 8B D8 48 8D B1 ? ? ? ? 4C 8B F2 48 8B E9 FF 15 ? ? ? ? 8B D0 39 46 ? 75 ? 66 FF 46 ? EB ? 8B 06 90 85 C0 75 ? B9 ? ? ? ? F0 0F B1 0E 75 ? 66 C7 46 ? ? ? 89 56 ? EB ? 48 8B CE E8 ? ? ? ? 41 BF ? ? ? ? 48 89 7C 24 ? 4C 89 6C 24 ? 66 41 3B DF 74 ? 41 BD ? ? ? ? 66 44 85 6D" ) , TIER0_DLL }; + inline CBasePattern FindVarByIndexFn = { VmpStr( "IEngineCVar::FindVarByIndex" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8B DA 48 8D B9 ? ? ? ? 48 8B F1 FF 15 ? ? ? ? 8B D0 39 47 ? 75 ? 66 FF 47 ? EB ? 8B 07 90 85 C0 75 ? B9 ? ? ? ? F0 0F B1 0F 75 ? 66 C7 47 ? ? ? 89 57 ? EB ? 48 8B CF E8 ? ? ? ? BA" ) , TIER0_DLL }; } class IEngineCVar @@ -126,7 +126,7 @@ public: DECLARATE_CS2_FUNCTION( void , GetFirstCvarIterator , ( uint64_t& idx ) , IEngineCVar , ( IEngineCVar* , uint64_t& ) , ( this , idx ) ); DECLARATE_CS2_FUNCTION( void , GetNextCvarIterator , ( uint64_t& idx ) , IEngineCVar , ( IEngineCVar* , uint64_t* , uint64_t ) , ( this , &idx , idx ) ); DECLARATE_CS2_FUNCTION( CConVar* , FindVarByIndex , ( uint64_t idx ) , IEngineCVar , ( IEngineCVar* , uint64_t ) , ( this , idx ) ); - + public: auto Find( const char* pszName ) -> CConVar* { diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp index 6653449..b43f5cb 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp @@ -4,6 +4,8 @@ #include #include +#include + #include #define IVENGINE_TO_CLIENT_INTERFACE_VERSION "Source2EngineToClient001" @@ -11,8 +13,8 @@ namespace IVEngineToClient_Search { inline CBasePattern IsInGameFn = { VmpStr( "IVEngineToClient::IsInGame" ) , VmpStr( "48 8B ? ? ? ? ? 48 85 C0 74 15 80 B8 ? ? ? ? ? 75 0C 83 B8 ? ? ? ? 06" ) , ENGINE2_DLL }; - inline CBasePattern GetLevelNameFn = { VmpStr( "IVEngineToClient::GetLevelName" ) , VmpStr( "48 83 EC 28 E8 ? ? ? ? 84 C0 74 0C 48 8D ? ? ? ? ? 48 83 C4 28 C3 48 8B ? ? ? ? ? 48 85 C9 74 23 83 B9 20 02 00 00 02 7C 1A 48 8B 89 00 02 00 00 48 8D ? ? ? ? ? 48 85 C9 48 0F 45 C1 48 83 C4 28 C3 48 8D ? ? ? ? ? 48 83 C4 28 C3" ) , ENGINE2_DLL }; - inline CBasePattern GetLevelNameShortFn = { VmpStr( "IVEngineToClient::GetLevelNameShort" ) , VmpStr( "48 83 EC 28 E8 ? ? ? ? 84 C0 74 0C 48 8D ? ? ? ? ? 48 83 C4 28 C3 48 8B ? ? ? ? ? 48 85 C9 74 23 83 B9 20 02 00 00 02 7C 1A 48 8B 89 08 02 00 00 48 8D ? ? ? ? ? 48 85 C9 48 0F 45 C1 48 83 C4 28 C3 48 8D ? ? ? ? ? 48 83 C4 28 C3" ) , ENGINE2_DLL }; + inline CBasePattern GetLevelNameFn = { VmpStr( "IVEngineToClient::GetLevelName" ) , VmpStr( "48 83 EC 28 E8 ? ? ? ? 84 C0 74 0C 48 8D ? ? ? ? ? 48 83 C4 28 C3 48 8B ? ? ? ? ? 48 85 C9 74 23 83 B9 30 02 00 00 02 7C 1A 48 8B 89 10 02 00 00 48 8D ? ? ? ? ? 48 85 C9 48 0F 45 C1 48 83 C4 28 C3 48 8D ? ? ? ? ? 48 83 C4 28 C3" ) , ENGINE2_DLL }; + inline CBasePattern GetLevelNameShortFn = { VmpStr( "IVEngineToClient::GetLevelNameShort" ) , VmpStr( "48 83 EC 28 E8 ? ? ? ? 84 C0 74 0C 48 8D ? ? ? ? ? 48 83 C4 28 C3 48 8B ? ? ? ? ? 48 85 C9 74 23 83 B9 30 02 00 00 02 7C 1A 48 8B 89 18 02 00 00 48 8D ? ? ? ? ? 48 85 C9 48 0F 45 C1 48 83 C4 28 C3 48 8D ? ? ? ? ? 48 83 C4 28 C3" ) , ENGINE2_DLL }; } class IVEngineToClient @@ -28,6 +30,6 @@ public: auto GetScreenSize( int& width , int& height ) -> void { VirtualFn( void )( IVEngineToClient* , int& , int& ); - return vget< Fn >( this , 59 )( this , width , height ); + return vget< Fn >( this , SDK::VMT_Index::IVEngineClient2::GetScreenSize )( this , width , height ); } }; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp index 878b18a..c2a5b01 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp @@ -243,7 +243,7 @@ GetGameEntitySystemPointer:; { if ( !g_ppCGlobalVarsBase ) { - auto ppCGlobalVarsBase = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B ? ? ? ? ? 44 8B B7 08 01 00 00 8B 70 04 B8 FF FF 00 00 89 B7 08 01 00 00 66 01 87 FC 00 00 00" ) ) ); + auto ppCGlobalVarsBase = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B ? ? ? ? ? 8B 48 04 FF C1 89 8B 88 06 00 00 48 8B CB E8 ? ? ? ? F3 0F 10 ? ? ? ? ? 48 8D 4C 24 60 E8 ? ? ? ? 45 8B CE" ) ) ); if ( !ppCGlobalVarsBase ) return nullptr; @@ -283,7 +283,7 @@ GetGameEntitySystemPointer:; { if ( !g_ppCUserCmd ) { - auto ppCUserCmd = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? E8 ? ? ? ? 48 8B CF 4C 8B F8" ) ) ); + auto ppCUserCmd = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? E8 ? ? ? ? 48 8B CF 48 8B F0" ) ) ); if ( !ppCUserCmd ) return nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp index 4dacda7..ea55c8a 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp @@ -17,6 +17,7 @@ #include #include +#include #include #include @@ -115,7 +116,7 @@ public: CSchemaClassBinding* pBinding = nullptr; VirtualFn( void )( CEntityInstance* , CSchemaClassBinding** ); - vget< Fn >( this , index::CSchemaSystem::SchemaClassInfo )( this , &pBinding ); + vget< Fn >( this , SDK::VMT_Index::CSchemaSystem::SchemaClassInfo )( this , &pBinding ); return pBinding; } diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp index f938900..3a5c605 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp @@ -1,10 +1,11 @@ #pragma once -static constexpr auto g_CDemorecorder_ParseMessage = 0x30; - // 0F B7 40 ? 48 83 C4 20 5B C3 33 C0 48 83 C4 20 5B C3 static constexpr auto g_CCollisionProperty_UnknownMask = 0x38; +// Hook_SendNetMessage,Hook_CDemoRecorder +static constexpr auto g_ProtobufMsgOffset = 0x30; + // Client.dll -> UpdateCompositeMaterial + offset == 48 81 C1 ? ? ? ? B2 ? E8 ? ? ? ? 48 8D 8B static constexpr auto g_CompositeMaterialOffset = 0x5F8; @@ -13,7 +14,7 @@ static constexpr auto g_CEconItemSchema_GetSortedItemDefinitionMap = 0x128; static constexpr auto g_CEconItemSchema_GetPaintKits = 0x2F0; // E8 ? ? ? ? 48 85 C0 74 ? 48 8B 40 ? 4C 8B C7 -static constexpr auto g_CEconItemSchema_GetMusicKitDefinitions = 0x4D8; +static constexpr auto g_CEconItemSchema_GetMusicKitDefinitions = 0x4D0; // Client.dll /* @@ -33,19 +34,19 @@ static constexpr auto g_CEconItemSchema_GetMusicKitDefinitions = 0x4D8; // 8B B0 ? ? ? ? 83 FD ? 75 70 83 FE ? 75 6B 48 8B CF E8 static constexpr auto g_CEconItemDefinition_GetLoadoutSlot = 0x338; -// Vmt Index -> "67" -> "mov rax, qword ptr ds:[rcx+0x3FC60]" -static constexpr auto g_CCSInventoryManager_GetLocalInventory = 0x3FC60; +// Vmt Index -> "70" -> "mov rax,qword ptr ds:[rcx+0x3F540]" +static constexpr auto g_CCSInventoryManager_GetLocalInventory = 0x3F540; static constexpr auto g_CCSPlayerInventory_CGCClientSharedObjectCache = 0x68; // 44 38 67 ? 0F 84 ? ? ? ? 48 8B 05 -static constexpr auto g_CCSGOInput_m_bInThirdPerson = 0x251; +static constexpr auto g_CCSGOInput_m_bInThirdPerson = 0x229; // 44 8B B0 ? ? ? ? 41 8B D6 -static constexpr auto g_CUserCmdArray_m_nSequenceNumber = 0x59A8; +static constexpr auto g_CUserCmdArray_m_nSequenceNumber = 0x5910; // 48 8B 8F ? ? ? ? 48 69 D0 -static constexpr auto g_CCSGOInput_m_pInputMoves = 0xB80; +static constexpr auto g_CCSGOInput_m_pInputMoves = 0xB58; // F2 0F 11 84 1F static constexpr auto g_CCSInputMoves_m_vecViewAngles = 0x430; @@ -61,8 +62,8 @@ static constexpr auto g_CCSInputMoves_m_vecViewAngles = 0x430; 00007FFD92B5A43 | 8B86 E8040000 | mov eax,dword ptr ds:[rsi+0x4E8] | */ // 48 8D 96 ? ? ? ? 48 8D 8E ? ? ? ? E8 ? ? ? ? EB 38 F2 0F 10 86 ? ? ? ? F2 0F 11 ? ? ? ? ? 8B 86 -static constexpr auto g_CViewSetup_vecOrigin = 0x04E0; -static constexpr auto g_CViewSetup_angView = 0x04F8; +static constexpr auto g_CViewSetup_vecOrigin = 0x04A0; +static constexpr auto g_CViewSetup_angView = 0x04B8; // client.dll -> FF 81 ? ? ? ? 48 85 D2 -static constexpr auto g_OFFSET_CGameEntitySystem_GetHighestEntityIndex = 0x20F0; +static constexpr auto g_OFFSET_CGameEntitySystem_GetHighestEntityIndex = 0x20A0; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/VMT_Index.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/VMT_Index.hpp new file mode 100644 index 0000000..7d14900 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/VMT_Index.hpp @@ -0,0 +1,14 @@ +#pragma once + +namespace SDK::VMT_Index +{ + enum CSchemaSystem : int + { + GlobalTypeScope = 11 , + SchemaClassInfo = 44 , + }; + enum IVEngineClient2 : int + { + GetScreenSize = 59 , + }; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp index 7b48f89..d67eefc 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp @@ -7,7 +7,7 @@ #define CONFIG_FILE "config.json" #define CHEAT_NAME "Andromeda CS2 Base" -#define CHEAT_VERSION "1.0.0" +#define CHEAT_VERSION "1.1.0" // Project Buid Config: