Finally finished asset lookup refactor (yeesh).
This commit is contained in:
@@ -31,13 +31,9 @@ private:
|
||||
|
||||
private:
|
||||
|
||||
void AddAssets(const TCHAR *Path, const UClass *Class, const TCHAR *NamePrefix);
|
||||
void AddAssets(const TCHAR *Path, UClass *Class, const TCHAR *NamePrefix);
|
||||
|
||||
static FString GetAssetPath(const UObject *Context, const UClass *Class, const FString &Name);
|
||||
|
||||
static void LogMaybeError(bool Error, const TCHAR *Message, const TCHAR *Path);
|
||||
|
||||
static FString UnderscoreC(const FString &Name) { return Name + FString(TEXT("_C")); }
|
||||
static UObject *LoadAsset(const UObject *Context, UClass *Class, UClass *ChildOf, const FString &Name, bool ErrorIfNotFound);
|
||||
|
||||
public:
|
||||
void RebuildIndex();
|
||||
|
||||
Reference in New Issue
Block a user