mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-03-07 05:23:02 +00:00
refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
#include "Dumping/AbstractAssetDumper.h"
|
||||
#include "Game/IW5/IW5.h"
|
||||
|
||||
namespace IW5::string_table
|
||||
namespace string_table
|
||||
{
|
||||
class Dumper final : public AbstractAssetDumper<StringTable>
|
||||
class DumperIW5 final : public AbstractAssetDumper<IW5::StringTable>
|
||||
{
|
||||
protected:
|
||||
bool ShouldDump(XAssetInfo<StringTable>* asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, XAssetInfo<StringTable>* asset) override;
|
||||
bool ShouldDump(XAssetInfo<IW5::StringTable>* asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, XAssetInfo<IW5::StringTable>* asset) override;
|
||||
};
|
||||
} // namespace IW5::string_table
|
||||
} // namespace string_table
|
||||
|
||||
Reference in New Issue
Block a user