Add dumping of T6 physconstraints

This commit is contained in:
Jan
2020-10-25 13:14:16 +01:00
parent a925bd505d
commit eb97560e0d
4 changed files with 183 additions and 1 deletions

View File

@ -0,0 +1,17 @@
#pragma once
#include "Dumping/AbstractAssetDumper.h"
#include "Game/T6/T6.h"
namespace T6
{
class AssetDumperPhysConstraints final : public AbstractAssetDumper<PhysConstraints>
{
static cspField_t phys_constraints_fields[];
protected:
bool ShouldDump(XAssetInfo<PhysConstraints>* asset) override;
std::string GetFileNameForAsset(Zone* zone, XAssetInfo<PhysConstraints>* asset) override;
void DumpAsset(Zone* zone, XAssetInfo<PhysConstraints>* asset, FileAPI::File* out) override;
};
}