mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
23 lines
490 B
C++
23 lines
490 B
C++
#pragma once
|
|
|
|
#include "TypeDeclaration.h"
|
|
#include "Utils/ClassUtils.h"
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
class Variable
|
|
{
|
|
public:
|
|
std::string m_name;
|
|
bool m_has_alignment_override;
|
|
unsigned m_alignment_override;
|
|
unsigned m_offset;
|
|
std::unique_ptr<TypeDeclaration> m_type_declaration;
|
|
|
|
Variable(std::string name, std::unique_ptr<TypeDeclaration> typeDeclaration);
|
|
|
|
_NODISCARD unsigned GetAlignment() const;
|
|
_NODISCARD bool GetForceAlignment() const;
|
|
};
|