![]() |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Structure representing a field reference. More...
#include <tags.h>
Public Member Functions | |
bool | IsValid (BlamTagFieldType expected_type) |
bool | GetBoolean () |
int8_t | GetInt8 () |
int16_t | GetInt16 () |
int32_t | GetInt32 () |
int64_t | GetInt64 () |
int8_t | GetEnum8 () |
int16_t | GetEnum16 () |
int32_t | GetEnum32 () |
bitfield8 | GetBitfield8 () |
bitfield16 | GetBitfield16 () |
bitfield32 | GetBitfield32 () |
real | GetReal () |
color | GetColor () |
vector2 | GetVector2 () |
vector3 | GetVector3 () |
vector4 | GetVector4 () |
Public Attributes | |
char | identifier [4] = { 'f','r','f','d' } |
BlamTagFieldType | referenced_field_type = BlamTagFieldType::Unspecified |
void * | field_address = nullptr |
uint32_t | file_offset = 0 |
Structure representing a field reference.
Field references allow for tags to self-reference other fields within a tag.
bitfield16 field_reference::GetBitfield16 | ( | ) |
bitfield32 field_reference::GetBitfield32 | ( | ) |
bitfield8 field_reference::GetBitfield8 | ( | ) |
bool field_reference::GetBoolean | ( | ) |
color field_reference::GetColor | ( | ) |
int16_t field_reference::GetEnum16 | ( | ) |
int32_t field_reference::GetEnum32 | ( | ) |
int8_t field_reference::GetEnum8 | ( | ) |
int16_t field_reference::GetInt16 | ( | ) |
int32_t field_reference::GetInt32 | ( | ) |
int64_t field_reference::GetInt64 | ( | ) |
int8_t field_reference::GetInt8 | ( | ) |
real field_reference::GetReal | ( | ) |
vector2 field_reference::GetVector2 | ( | ) |
vector3 field_reference::GetVector3 | ( | ) |
vector4 field_reference::GetVector4 | ( | ) |
bool field_reference::IsValid | ( | BlamTagFieldType | expected_type | ) |
void* field_reference::field_address = nullptr |
uint32_t field_reference::file_offset = 0 |
char field_reference::identifier[4] = { 'f','r','f','d' } |
BlamTagFieldType field_reference::referenced_field_type = BlamTagFieldType::Unspecified |