mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-08 05:48:19 -05:00
29 lines
632 B
C++
29 lines
632 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "Utils/ClassUtils.h"
|
|
|
|
struct CommonStructuredDataEnumEntry
|
|
{
|
|
std::string m_name;
|
|
size_t m_value;
|
|
|
|
CommonStructuredDataEnumEntry();
|
|
CommonStructuredDataEnumEntry(std::string name, size_t value);
|
|
};
|
|
|
|
struct CommonStructuredDataEnum
|
|
{
|
|
std::string m_name;
|
|
int m_reserved_entry_count;
|
|
std::vector<CommonStructuredDataEnumEntry> m_entries;
|
|
|
|
CommonStructuredDataEnum();
|
|
explicit CommonStructuredDataEnum(std::string name);
|
|
CommonStructuredDataEnum(std::string name, int reservedEntryCount);
|
|
|
|
_NODISCARD size_t ElementCount() const;
|
|
};
|