2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-14 19:33:02 +00:00

refactor: do not nest asset namespaces in game namespaces

* Duplicated namespace names are kind of annoying
This commit is contained in:
Jan Laupetin
2025-08-06 00:50:35 +02:00
parent 33c09dfe61
commit 46fb919a52
336 changed files with 1430 additions and 1480 deletions

View File

@@ -10,7 +10,6 @@
#include <type_traits>
using namespace T6;
using namespace ::attachment;
namespace
{
@@ -66,14 +65,14 @@ namespace
}
} // namespace
namespace T6::attachment
namespace attachment
{
bool Dumper::ShouldDump(XAssetInfo<WeaponAttachment>* asset)
bool DumperT6::ShouldDump(XAssetInfo<WeaponAttachment>* asset)
{
return true;
}
void Dumper::DumpAsset(AssetDumpingContext& context, XAssetInfo<WeaponAttachment>* asset)
void DumperT6::DumpAsset(AssetDumpingContext& context, XAssetInfo<WeaponAttachment>* asset)
{
// Only dump raw when no gdt available
if (context.m_gdt)
@@ -96,4 +95,4 @@ namespace T6::attachment
stream.write(stringValue.c_str(), stringValue.size());
}
}
} // namespace T6::attachment
} // namespace attachment