Add asset loading states per zone for the usecase of saving loaded menus and menu functions

This commit is contained in:
Jan
2021-11-13 22:18:44 +01:00
parent b1e5fc70a6
commit 4552a4fe4a
14 changed files with 106 additions and 2 deletions

View File

@ -0,0 +1,17 @@
#pragma once
#include "AssetLoading/IZoneAssetLoaderState.h"
#include "Domain/CommonFunctionDef.h"
#include "Domain/CommonMenuDef.h"
namespace menu
{
class MenuAssetZoneState final : public IZoneAssetLoaderState
{
public:
std::vector<std::unique_ptr<CommonFunctionDef>> m_functions;
std::vector<std::unique_ptr<CommonMenuDef>> m_menus;
MenuAssetZoneState() = default;
};
}