refactor: use asset_type_t for ZoneDefinition

This commit is contained in:
Jan
2024-09-29 16:35:09 +02:00
parent d2b4b2dc38
commit b156c7348a
68 changed files with 725 additions and 632 deletions

View File

@ -1,12 +1,13 @@
#include "AssetList.h"
AssetListEntry::AssetListEntry()
: m_is_reference(false)
: m_type(0u),
m_is_reference(false)
{
}
AssetListEntry::AssetListEntry(std::string type, std::string name, const bool isReference)
: m_type(std::move(type)),
AssetListEntry::AssetListEntry(const asset_type_t type, std::string name, const bool isReference)
: m_type(type),
m_name(std::move(name)),
m_is_reference(isReference)
{