mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a bit of stuff
toys, ammo in bottom right kinda, fix lootin speeds, being inaccurate, playlist looting kindof, or some things just not working.
This commit is contained in:
@@ -19,6 +19,19 @@ struct TSoftObjectPtr
|
||||
public:
|
||||
FSoftObjectPtr SoftObjectPtr;
|
||||
|
||||
bool IsValid()
|
||||
{
|
||||
if (Engine_Version <= 416)
|
||||
{
|
||||
auto& AssetPtr = *(TAssetPtr<T>*)this;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return SoftObjectPtr.ObjectID.AssetPathName.ComparisonIndex.Value;
|
||||
}
|
||||
}
|
||||
|
||||
T* Get(UClass* ClassToLoad = nullptr, bool bTryToLoad = false)
|
||||
{
|
||||
if (Engine_Version <= 416)
|
||||
|
||||
Reference in New Issue
Block a user