mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 07:48:16 -05:00
Restructure ZoneDefinitionWriting
This commit is contained in:
22
src/ZoneCommon/Zone/Definition/ZoneDefinition.h
Normal file
22
src/ZoneCommon/Zone/Definition/ZoneDefinition.h
Normal file
@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
class ZoneDefinitionEntry
|
||||
{
|
||||
public:
|
||||
std::string m_asset_type;
|
||||
std::string m_asset_name;
|
||||
bool m_is_reference;
|
||||
|
||||
ZoneDefinitionEntry();
|
||||
ZoneDefinitionEntry(std::string type, std::string name, bool isReference);
|
||||
};
|
||||
|
||||
class ZoneDefinition
|
||||
{
|
||||
public:
|
||||
std::unordered_map<std::string, std::string> m_metadata;
|
||||
std::vector<ZoneDefinitionEntry> m_assets;
|
||||
};
|
Reference in New Issue
Block a user