chore: add asset structs for all games containing enum entry and type

This commit is contained in:
Jan
2024-04-22 23:14:29 +02:00
parent 3e2315aca5
commit 0b61fc6e81
6 changed files with 208 additions and 0 deletions

14
src/Common/Game/IAsset.h Normal file
View File

@ -0,0 +1,14 @@
#pragma once
#include "Zone/ZoneTypes.h"
struct IAssetBase
{
};
template<asset_type_t AssetTypeEnum, typename AssetType> class Asset : IAssetBase
{
public:
static constexpr auto EnumEntry = AssetTypeEnum;
using Type = AssetType;
};