2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-10-24 23:35:52 +00:00

refactor: streamline vehicle dumping

This commit is contained in:
Jan Laupetin
2025-07-31 19:24:28 +01:00
parent d05f4fd43e
commit ab118f3528
9 changed files with 130 additions and 103 deletions

View File

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