mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-23 21:27:52 -05:00
IW5 menu dumping initial commit
This commit is contained in:
17
src/ObjWriting/Game/IW5/AssetDumpers/AssetDumperMenuDef.h
Normal file
17
src/ObjWriting/Game/IW5/AssetDumpers/AssetDumperMenuDef.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "Dumping/AbstractAssetDumper.h"
|
||||
#include "Game/IW5/IW5.h"
|
||||
|
||||
namespace IW5
|
||||
{
|
||||
class AssetDumperMenuDef final : public AbstractAssetDumper<menuDef_t>
|
||||
{
|
||||
static const MenuList* GetParentMenuList(XAssetInfo<menuDef_t>* asset);
|
||||
static std::string GetPathForMenu(XAssetInfo<menuDef_t>* asset);
|
||||
|
||||
protected:
|
||||
bool ShouldDump(XAssetInfo<menuDef_t>* asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, XAssetInfo<menuDef_t>* asset) override;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user