mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
18 lines
599 B
C++
18 lines
599 B
C++
#pragma once
|
|
|
|
#include "AssetLoading/BasicAssetLoader.h"
|
|
#include "Game/IW4/IW4.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
|
|
namespace IW4
|
|
{
|
|
class AssetLoaderStringTable final : public BasicAssetLoader<AssetStringTable>
|
|
{
|
|
public:
|
|
_NODISCARD void* CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) override;
|
|
_NODISCARD bool CanLoadFromRaw() const override;
|
|
bool
|
|
LoadFromRaw(const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager, Zone* zone) const override;
|
|
};
|
|
} // namespace IW4
|