mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +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:
@@ -90,6 +90,25 @@ public:
|
||||
|
||||
void AddToRoot();
|
||||
bool IsValidLowLevel();
|
||||
FORCEINLINE bool IsPendingKill() const;
|
||||
|
||||
// static class UClass* StaticClass();
|
||||
};
|
||||
};
|
||||
|
||||
/* struct FInternalUObjectBaseUtilityIsValidFlagsChecker
|
||||
{
|
||||
FORCEINLINE static bool CheckObjectValidBasedOnItsFlags(const UObject* Test)
|
||||
{
|
||||
// Here we don't really check if the flags match but if the end result is the same
|
||||
checkSlow(GUObjectArray.IndexToObject(Test->InternalIndex)->HasAnyFlags(EInternalObjectFlags::PendingKill | EInternalObjectFlags::Garbage) == Test->HasAnyFlags(RF_InternalPendingKill | RF_InternalGarbage));
|
||||
return !Test->HasAnyFlags(RF_InternalPendingKill | RF_InternalGarbage);
|
||||
}
|
||||
}; */
|
||||
|
||||
FORCEINLINE bool IsValidChecked(const UObject* Test)
|
||||
{
|
||||
// if (!Test)
|
||||
// return false;
|
||||
|
||||
return true; // FInternalUObjectBaseUtilityIsValidFlagsChecker::CheckObjectValidBasedOnItsFlags(Test);
|
||||
}
|
||||
Reference in New Issue
Block a user