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:
15
src/ObjWriting/Game/IW4/Vehicle/VehicleDumperIW4.h
Normal file
15
src/ObjWriting/Game/IW4/Vehicle/VehicleDumperIW4.h
Normal 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
|
||||
Reference in New Issue
Block a user