mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Add random defaults 1.7.2, some other internal stuff
This commit is contained in:
@@ -66,16 +66,22 @@ public:
|
||||
return Get<AFortPawn*>(MyFortPawnOffset);
|
||||
}
|
||||
|
||||
FFortAthenaLoadout* GetCosmeticLoadout()
|
||||
int GetCosmeticLoadoutOffset()
|
||||
{
|
||||
static auto CosmeticLoadoutPCOffset = this->GetOffset("CosmeticLoadoutPC", false);
|
||||
|
||||
if (CosmeticLoadoutPCOffset == -1)
|
||||
CosmeticLoadoutPCOffset = this->GetOffset("CustomizationLoadout");
|
||||
CosmeticLoadoutPCOffset = this->GetOffset("CustomizationLoadout", false);
|
||||
|
||||
if (CosmeticLoadoutPCOffset == -1)
|
||||
return nullptr;
|
||||
return -1;
|
||||
|
||||
return CosmeticLoadoutPCOffset;
|
||||
}
|
||||
|
||||
FFortAthenaLoadout* GetCosmeticLoadout()
|
||||
{
|
||||
static auto CosmeticLoadoutPCOffset = GetCosmeticLoadoutOffset();
|
||||
auto CosmeticLoadout = this->GetPtr<FFortAthenaLoadout>(CosmeticLoadoutPCOffset);
|
||||
|
||||
return CosmeticLoadout;
|
||||
|
||||
Reference in New Issue
Block a user