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:
Milxnor
2023-04-01 15:54:47 -04:00
parent a03c1cef2b
commit 701d3ad0d0
23 changed files with 437 additions and 149 deletions

View File

@@ -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)