![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Structure representing a data reference. More...
#include <tags.h>
Public Member Functions | |
| std::string | GetValueAsString () |
| Retrieves the value of the dataref as a string. More... | |
Public Attributes | |
| char | identifier [4] = {'d','r','f','d'} |
Dataref identifier. Will always be drfd. More... | |
| char | padding0 [4] |
| Empty padding. More... | |
| void * | data_address = nullptr |
| The address of the referenced data. More... | |
| int | data_size = 0 |
| The size of the referenced data. More... | |
| char | value_hint [4] |
| The value hint providing context on what type of data is stored. Used in Editing Kit. More... | |
| char | padding1 [8] |
| Empty padding. More... | |
Structure representing a data reference.
Data references allow for tags to store variable-sized, arbitrary data. This data can be anything from a string of text, audio data, or anything else that requires the storage of generic data within a tag.
| std::string data_reference::GetValueAsString | ( | ) |
Retrieves the value of the dataref as a string.
Here is the caller graph for this function:| void* data_reference::data_address = nullptr |
The address of the referenced data.
| int data_reference::data_size = 0 |
The size of the referenced data.
| char data_reference::identifier[4] = {'d','r','f','d'} |
Dataref identifier. Will always be drfd.
| char data_reference::padding0[4] |
Empty padding.
| char data_reference::padding1[8] |
Empty padding.
| char data_reference::value_hint[4] |
The value hint providing context on what type of data is stored. Used in Editing Kit.