mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-02-14 19:33:02 +00:00
chore: generalize IAssetDumper interface
This commit is contained in:
@@ -2,13 +2,15 @@
|
||||
|
||||
#include "Dumping/AbstractAssetDumper.h"
|
||||
#include "Game/T6/T6.h"
|
||||
#include "InfoString/InfoString.h"
|
||||
|
||||
namespace attachment_unique
|
||||
{
|
||||
class DumperT6 final : public AbstractAssetDumper<T6::WeaponAttachmentUnique>
|
||||
class DumperT6 final : public AbstractAssetDumper<T6::AssetAttachmentUnique>
|
||||
{
|
||||
public:
|
||||
explicit DumperT6(const AssetPool<T6::AssetAttachmentUnique::Type>& pool);
|
||||
|
||||
protected:
|
||||
void DumpAsset(AssetDumpingContext& context, const XAssetInfo<T6::WeaponAttachmentUnique>& asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, const XAssetInfo<T6::AssetAttachmentUnique::Type>& asset) override;
|
||||
};
|
||||
} // namespace attachment_unique
|
||||
|
||||
Reference in New Issue
Block a user