mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
someone fix 12.00 floor loot spawn please
This commit is contained in:
@@ -12,6 +12,24 @@ struct UField : UObject
|
||||
// void* pad; void* pad2;
|
||||
};
|
||||
|
||||
template <typename PropertyType = void>
|
||||
static inline PropertyType* GetNext(void* Field)
|
||||
{
|
||||
return Fortnite_Version >= 12.10 ? *(PropertyType**)(__int64(Field) + 0x20) : ((UField*)Field)->Next;
|
||||
}
|
||||
|
||||
static inline FName* GetFNameOfProp(void* Property)
|
||||
{
|
||||
FName* NamePrivate = nullptr;
|
||||
|
||||
if (Fortnite_Version >= 12.10)
|
||||
NamePrivate = (FName*)(__int64(Property) + 0x28);
|
||||
else
|
||||
NamePrivate = &((UField*)Property)->NamePrivate;
|
||||
|
||||
return NamePrivate;
|
||||
}
|
||||
|
||||
class UStruct : public UField
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user