mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-07 09:17:26 +00:00
Calculate StructuredDataDef sizes and offsets
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <cstddef>
|
||||
|
||||
#include "Domain/CommonStructuredDataDef.h"
|
||||
|
||||
@@ -15,6 +17,7 @@ namespace sdd
|
||||
CommonStructuredDataDef* m_current_def;
|
||||
CommonStructuredDataDefEnum* m_current_enum;
|
||||
CommonStructuredDataDefStruct* m_current_struct;
|
||||
size_t m_current_struct_offset_in_bits;
|
||||
|
||||
std::map<std::string, CommonStructuredDataDefType> m_def_types_by_name;
|
||||
std::map<CommonStructuredDataDefIndexedArray, size_t> m_def_indexed_arrays;
|
||||
|
Reference in New Issue
Block a user