mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-16 09:48:00 -05:00
chore: add asset structs for all games containing enum entry and type
This commit is contained in:
14
src/Common/Game/IAsset.h
Normal file
14
src/Common/Game/IAsset.h
Normal 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;
|
||||
};
|
Reference in New Issue
Block a user