mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
too much stuff
fix s3, fix health + backpack bug on 1.11, change replciation, fix 7.20 & 12.61, fix backpack on >S9, probably some other stuff i forgot
This commit is contained in:
@@ -10,12 +10,29 @@
|
||||
|
||||
struct FFortAthenaLoadout
|
||||
{
|
||||
static UStruct* GetStruct()
|
||||
{
|
||||
static auto Struct = FindObject<UStruct>("/Script/FortniteGame.FortAthenaLoadout");
|
||||
return Struct;
|
||||
}
|
||||
|
||||
static int GetStructSize()
|
||||
{
|
||||
return GetStruct()->GetPropertiesSize();
|
||||
}
|
||||
|
||||
UObject*& GetCharacter()
|
||||
{
|
||||
static auto CharacterOffset = FindOffsetStruct("/Script/FortniteGame.FortAthenaLoadout", "Character");
|
||||
return *(UObject**)(__int64(this) + CharacterOffset);
|
||||
}
|
||||
|
||||
UObject*& GetBackpack()
|
||||
{
|
||||
static auto BackpackOffset = FindOffsetStruct("/Script/FortniteGame.FortAthenaLoadout", "Backpack");
|
||||
return *(UObject**)(__int64(this) + BackpackOffset);
|
||||
}
|
||||
|
||||
UObject*& GetPickaxe()
|
||||
{
|
||||
static auto PickaxeOffset = FindOffsetStruct("/Script/FortniteGame.FortAthenaLoadout", "Pickaxe");
|
||||
|
||||
Reference in New Issue
Block a user