mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-25 07:45:52 +00:00
chore: generalize IAssetDumper interface
This commit is contained in:
@@ -395,7 +395,12 @@ namespace
|
||||
|
||||
namespace attachment
|
||||
{
|
||||
void JsonDumperIW5::DumpAsset(AssetDumpingContext& context, const XAssetInfo<WeaponAttachment>& asset)
|
||||
JsonDumperIW5::JsonDumperIW5(const AssetPool<AssetAttachment::Type>& pool)
|
||||
: AbstractAssetDumper(pool)
|
||||
{
|
||||
}
|
||||
|
||||
void JsonDumperIW5::DumpAsset(AssetDumpingContext& context, const XAssetInfo<AssetAttachment::Type>& asset)
|
||||
{
|
||||
const auto assetFile = context.OpenAssetFile(GetJsonFileNameForAssetName(asset.m_name));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user