mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-02-10 17:43:03 +00:00
chore: generalize IAssetDumper interface
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
|
||||
#include "Dumping/AbstractAssetDumper.h"
|
||||
#include "Game/IW4/IW4.h"
|
||||
#include "StructuredDataDef/CommonStructuredDataDef.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace structured_data_def
|
||||
{
|
||||
class DumperIW4 final : public AbstractAssetDumper<IW4::StructuredDataDefSet>
|
||||
class DumperIW4 final : public AbstractAssetDumper<IW4::AssetStructuredDataDef>
|
||||
{
|
||||
public:
|
||||
explicit DumperIW4(const AssetPool<IW4::AssetStructuredDataDef::Type>& pool);
|
||||
|
||||
protected:
|
||||
void DumpAsset(AssetDumpingContext& context, const XAssetInfo<IW4::StructuredDataDefSet>& asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, const XAssetInfo<IW4::AssetStructuredDataDef::Type>& asset) override;
|
||||
};
|
||||
} // namespace structured_data_def
|
||||
|
||||
Reference in New Issue
Block a user