[fix] Update , [add] More Pattern , offset , small improveds
This commit is contained in:
@@ -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<LPVOID*>( &SOCacheSubscribed_o ) },
|
||||
{ { XorStr( "Hook::SOCacheSubscribed" ) , XorStr( "4C 8B DC 55 56 41 56 49 8D 6B" ) , CLIENT_DLL } , &Hook_SOCacheSubscribed , reinterpret_cast<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &FireEventClientSide_o ) },
|
||||
{ { XorStr( "Hook::FireEventClientSide" ) , XorStr( "40 53 41 54 41 56 48 83 EC ? 4C 8B F2" ) , CLIENT_DLL } , &Hook_FireEventClientSide , reinterpret_cast<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &FrameStageNotify_o ) },
|
||||
{ { XorStr( "Hook::GetMatricesForView" ) , XorStr( "40 53 48 81 EC ? ? ? ? 49 8B C1" ) , CLIENT_DLL } , &Hook_GetMatricesForView , reinterpret_cast<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &GetMatricesForView_o ) },
|
||||
{ { XorStr( "Hook::CreateMove" ) , XorStr( "85 D2 0F 85 ? ? ? ? 48 8B C4 44 88 40 18" ) , CLIENT_DLL } , &Hook_CreateMove , reinterpret_cast<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &OnClientOutput_o ) },
|
||||
{ { XorStr( "Hook::CDemoRecorder" ) , XorStr( "40 56 57 41 57 48 83 EC ? 4C 8B F9" ) , ENGINE2_DLL } , &Hook_CDemoRecorder , reinterpret_cast<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &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<LPVOID*>( &AntiTamper_o ) },
|
||||
};
|
||||
|
||||
return InstallHooks();
|
||||
|
||||
@@ -12,7 +12,7 @@ auto Hook_CDemoRecorder( CDemoRecorder* pDemoRecorder , CNetworkSerializerPB* pS
|
||||
{
|
||||
if ( pSerializer->messageID == GE_SosStartSoundEvent )
|
||||
{
|
||||
CMsgSosStartSoundEvent* pMessage = reinterpret_cast<CMsgSosStartSoundEvent*>( (PBYTE)pNetMessage + g_CDemorecorder_ParseMessage );
|
||||
CMsgSosStartSoundEvent* pMessage = reinterpret_cast<CMsgSosStartSoundEvent*>( (PBYTE)pNetMessage + g_ProtobufMsgOffset );
|
||||
|
||||
if ( pMessage )
|
||||
{
|
||||
|
||||
@@ -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<uint8_t>(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<uint8_t>(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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 <typename T> 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;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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<size_t>(reinterpret_cast<char*>(&_impl_.server_start_tick_) -
|
||||
reinterpret_cast<char*>(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_));
|
||||
reinterpret_cast<char*>(&_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<size_t>(
|
||||
::memset(&_impl_.patch_version_, 0, static_cast<size_t>(
|
||||
reinterpret_cast<char*>(&_impl_.server_start_tick_) -
|
||||
reinterpret_cast<char*>(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_));
|
||||
reinterpret_cast<char*>(&_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<uint8_t>(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<char*>(&_impl_.network_protocol_),
|
||||
reinterpret_cast<char*>(&other->_impl_.network_protocol_));
|
||||
- PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.patch_version_)>(
|
||||
reinterpret_cast<char*>(&_impl_.patch_version_),
|
||||
reinterpret_cast<char*>(&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<CDemoSpawnGroupsHLTVBroadcast>()._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<uint8_t>(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<CDemoSpawnGroupsHLTVBroadcast*>(&to_msg);
|
||||
auto& from = static_cast<const CDemoSpawnGroupsHLTVBroadcast&>(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<CDemoRecovery_DemoInitialSpawnGroupEntry>()._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);
|
||||
|
||||
@@ -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<const CDemoSpawnGroupsHLTVBroadcast*>(
|
||||
&_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<CDemoSpawnGroupsHLTVBroadcast>(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 <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
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 <typename T> 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 <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void CDemoSpawnGroupsHLTVBroadcast::set_data(ArgT0&& arg0, ArgT... args) {
|
||||
_impl_._has_bits_[0] |= 0x00000001u;
|
||||
_impl_.data_.SetBytes(static_cast<ArgT0 &&>(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)
|
||||
|
||||
|
||||
@@ -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<k_EGCItemCustomizationNot"
|
||||
"ification_ClientRedeemMissionReward\020\371G\022>"
|
||||
"\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<k_EGCItemCustomizationNotific"
|
||||
"ation_ClientRedeemMissionReward\020\371G\022>\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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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<uint8_t>(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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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<CBaseUserCmdExecutionNotes>()._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<uint8_t>(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<int>(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<CBaseUserCmdExecutionNotes*>(&to_msg);
|
||||
auto& from = static_cast<const CBaseUserCmdExecutionNotes&>(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<CBaseUserCmdPB>()._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<size_t>(reinterpret_cast<char*>(&_impl_.pawn_entity_handle_) -
|
||||
reinterpret_cast<char*>(&_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<size_t>(
|
||||
reinterpret_cast<char*>(&_impl_.upmove_) -
|
||||
reinterpret_cast<char*>(&_impl_.legacy_command_number_)) + sizeof(_impl_.upmove_));
|
||||
reinterpret_cast<char*>(&_impl_.leftmove_) -
|
||||
reinterpret_cast<char*>(&_impl_.legacy_command_number_)) + sizeof(_impl_.leftmove_));
|
||||
}
|
||||
if (cached_has_bits & 0x0000ff00u) {
|
||||
::memset(&_impl_.impulse_, 0, static_cast<size_t>(
|
||||
reinterpret_cast<char*>(&_impl_.cmd_flags_) -
|
||||
reinterpret_cast<char*>(&_impl_.impulse_)) + sizeof(_impl_.cmd_flags_));
|
||||
::memset(&_impl_.upmove_, 0, static_cast<size_t>(
|
||||
reinterpret_cast<char*>(&_impl_.consumed_server_angle_changes_) -
|
||||
reinterpret_cast<char*>(&_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<uint8_t>(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);
|
||||
|
||||
@@ -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<const CBaseUserCmdExecutionNotes*>(
|
||||
&_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<CBaseUserCmdExecutionNotes>(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 <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
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 <typename T> 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 <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void CBaseUserCmdExecutionNotes::set_ignored_reason(ArgT0&& arg0, ArgT... args) {
|
||||
_impl_._has_bits_[0] |= 0x00000001u;
|
||||
_impl_.ignored_reason_.Set(static_cast<ArgT0 &&>(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<const ::CBaseUserCmdExecutionNotes&>(
|
||||
::_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)
|
||||
|
||||
|
||||
@@ -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<uint8_t>(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<uint8_t>(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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 <typename T> 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;
|
||||
|
||||
@@ -7,44 +7,68 @@ auto CFunctionList::OnInit() -> bool
|
||||
std::vector<CBasePattern*> 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;
|
||||
|
||||
@@ -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 <client.sub_7FF8EEEB81E0> | 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*;
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -5,28 +5,16 @@
|
||||
|
||||
#include <CS2/CBasePattern.hpp>
|
||||
#include <CS2/SDK/SDK.hpp>
|
||||
#include <CS2/SDK/Update/VMT_Index.hpp>
|
||||
|
||||
#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**
|
||||
|
||||
@@ -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*
|
||||
{
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include <Common/MemoryEngine.hpp>
|
||||
|
||||
#include <CS2/SDK/SDK.hpp>
|
||||
#include <CS2/SDK/Update/VMT_Index.hpp>
|
||||
|
||||
#include <CS2/CBasePattern.hpp>
|
||||
|
||||
#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 );
|
||||
}
|
||||
};
|
||||
|
||||
@@ -243,7 +243,7 @@ GetGameEntitySystemPointer:;
|
||||
{
|
||||
if ( !g_ppCGlobalVarsBase )
|
||||
{
|
||||
auto ppCGlobalVarsBase = reinterpret_cast<uintptr_t>( 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<uintptr_t>( 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<uintptr_t>( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? E8 ? ? ? ? 48 8B CF 4C 8B F8" ) ) );
|
||||
auto ppCUserCmd = reinterpret_cast<uintptr_t>( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? E8 ? ? ? ? 48 8B CF 48 8B F0" ) ) );
|
||||
|
||||
if ( !ppCUserCmd )
|
||||
return nullptr;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <CS2/SDK/Math/Rect_t.hpp>
|
||||
#include <CS2/SDK/Update/Offsets.hpp>
|
||||
#include <CS2/SDK/Update/VMT_Index.hpp>
|
||||
#include <CS2/SDK/CSchemaOffset.hpp>
|
||||
#include <CS2/SDK/Interface/CShemaSystemSDK.hpp>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
namespace SDK::VMT_Index
|
||||
{
|
||||
enum CSchemaSystem : int
|
||||
{
|
||||
GlobalTypeScope = 11 ,
|
||||
SchemaClassInfo = 44 ,
|
||||
};
|
||||
enum IVEngineClient2 : int
|
||||
{
|
||||
GetScreenSize = 59 ,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user