2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-28 15:27:47 +00:00

chore: add modman bind for getting assets from a zone

This commit is contained in:
Jan Laupetin
2025-10-21 00:10:41 +01:00
parent 23f5ad67e9
commit 3995596e6c
15 changed files with 1070 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#include "Game/CommonAsset.h"
namespace IW4
{
class CommonAssetTypeMapper final : public ICommonAssetTypeMapper
{
public:
CommonAssetTypeMapper();
[[nodiscard]] CommonAssetType GameToCommonAssetType(asset_type_t gameAssetType) const override;
[[nodiscard]] std::optional<asset_type_t> CommonToGameAssetType(CommonAssetType commonAssetType) const override;
};
} // namespace IW4