mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-04 10:11:53 +00:00
Move common structureddatadef classes to objcommon
This commit is contained in:
24
src/ObjCommon/StructuredDataDef/CommonStructuredDataDef.h
Normal file
24
src/ObjCommon/StructuredDataDef/CommonStructuredDataDef.h
Normal file
@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "CommonStructuredDataEnum.h"
|
||||
#include "CommonStructuredDataStruct.h"
|
||||
|
||||
class CommonStructuredDataDef
|
||||
{
|
||||
public:
|
||||
std::vector<std::unique_ptr<CommonStructuredDataEnum>> m_enums;
|
||||
std::vector<std::unique_ptr<CommonStructuredDataStruct>> m_structs;
|
||||
std::vector<CommonStructuredDataIndexedArray> m_indexed_arrays;
|
||||
std::vector<CommonStructuredDataEnumedArray> m_enumed_arrays;
|
||||
|
||||
int m_version;
|
||||
size_t m_checksum;
|
||||
CommonStructuredDataType m_root_type;
|
||||
size_t m_size_in_byte;
|
||||
|
||||
CommonStructuredDataDef();
|
||||
explicit CommonStructuredDataDef(int version);
|
||||
};
|
Reference in New Issue
Block a user