+1
-1
@@ -174,7 +174,7 @@ auto CInventoryItemsManager::ScanAllItems() -> void
|
||||
|
||||
dumpedSkin.m_ID = pPaintKit->nID;
|
||||
dumpedSkin.m_Rarity = pPaintKit->nRarity;
|
||||
dumpedSkin.m_bLegacyModel = pPaintKit->m_use_legacy_model();
|
||||
dumpedSkin.m_bLegacyModel = pPaintKit->IsUseLegacyModel();
|
||||
dumpedSkin.m_PaintKitName = pPaintKit->sName;
|
||||
|
||||
// Get skin name for UI
|
||||
|
||||
@@ -3,5 +3,4 @@
|
||||
auto Hook_IsLoadoutAllowed() -> bool
|
||||
{
|
||||
return true;
|
||||
return IsLoadoutAllowed_o();
|
||||
}
|
||||
|
||||
@@ -22,9 +22,9 @@ public:
|
||||
char pad4[0x4]; // no idea
|
||||
int nRarity;
|
||||
|
||||
uint8_t m_use_legacy_model()
|
||||
uint8_t IsUseLegacyModel()
|
||||
{
|
||||
return *reinterpret_cast<uint8_t*>( (std::uintptr_t)this + 0xAE );
|
||||
return *reinterpret_cast<uint8_t*>( (uintptr_t)this + g_CCPaintKit_IsUseLegacyModel );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -66,3 +66,5 @@ static constexpr auto g_CViewSetup_angView = 0x04B8;
|
||||
|
||||
// client.dll -> FF 81 ? ? ? ? 48 85 D2
|
||||
static constexpr auto g_OFFSET_CGameEntitySystem_GetHighestEntityIndex = 0x20A0;
|
||||
|
||||
static constexpr auto g_CCPaintKit_IsUseLegacyModel = 0xAE;
|
||||
|
||||
Reference in New Issue
Block a user