mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Add asset loading states per zone for the usecase of saving loaded menus and menu functions
This commit is contained in:
17
src/ObjLoading/Parsing/Menu/MenuAssetZoneState.h
Normal file
17
src/ObjLoading/Parsing/Menu/MenuAssetZoneState.h
Normal 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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user