2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-04 07:47:25 +00:00

refactor: restructure light def dumper

This commit is contained in:
Jan Laupetin
2025-07-28 21:51:12 +01:00
parent 5fefdef0a6
commit 9a6f0c8919
9 changed files with 62 additions and 50 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include "Dumping/AbstractAssetDumper.h"
#include "Game/IW4/IW4.h"
namespace IW4::light_def
{
class Dumper final : public AbstractAssetDumper<GfxLightDef>
{
protected:
bool ShouldDump(XAssetInfo<GfxLightDef>* asset) override;
void DumpAsset(AssetDumpingContext& context, XAssetInfo<GfxLightDef>* asset) override;
};
} // namespace IW4