2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-10 17:43:03 +00:00

refactor: streamline structured data def dumping

This commit is contained in:
Jan Laupetin
2025-08-04 21:24:45 +02:00
parent e9a7f43348
commit 408746c54a
5 changed files with 227 additions and 236 deletions

View File

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