Add AssetDumperContext to bundle context fields for dumping

(cherry picked from commit ed8331280392ef3a2b4657c5dbd0880463d85f2c)
This commit is contained in:
Jan
2021-03-05 18:11:56 +01:00
parent 88c48e8107
commit abb268a819
56 changed files with 191 additions and 156 deletions

View File

@ -1,13 +1,18 @@
#pragma once
#include "Zone/Zone.h"
#include "AssetDumpingContext.h"
#include "Pool/AssetPool.h"
template<class T>
class IAssetDumper
{
public:
IAssetDumper() = default;
virtual ~IAssetDumper() = default;
IAssetDumper(const IAssetDumper& other) = default;
IAssetDumper(IAssetDumper&& other) noexcept = default;
IAssetDumper& operator=(const IAssetDumper& other) = default;
IAssetDumper& operator=(IAssetDumper&& other) noexcept = default;
virtual void DumpPool(Zone* zone, AssetPool<T>* pool, const std::string& basePath) = 0;
virtual void DumpPool(AssetDumpingContext& context, AssetPool<T>* pool) = 0;
};