Forgot function to actually retrieve root folder pointer hehe
This commit is contained in:
parent
ffc55c5e0c
commit
087cbcabaf
|
@ -343,7 +343,12 @@ namespace SHADE
|
|||
return newAsset.id;
|
||||
}
|
||||
|
||||
bool SHAssetManager::IsRecognised(char const* ext) noexcept
|
||||
FolderPointer SHAssetManager::GetRootFolder() noexcept
|
||||
{
|
||||
return folderRoot;
|
||||
}
|
||||
|
||||
bool SHAssetManager::IsRecognised(char const* ext) noexcept
|
||||
{
|
||||
for (auto const& e : EXTENSIONS)
|
||||
{
|
||||
|
|
|
@ -88,6 +88,8 @@ namespace SHADE
|
|||
static std::vector<SHAsset> GetAllRecordOfType(AssetType type) noexcept;
|
||||
|
||||
static AssetID CompileAsset(AssetPath const& path) noexcept;
|
||||
|
||||
static FolderPointer GetRootFolder() noexcept;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in New Issue