Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
data_reference Struct Reference

Structure representing a data reference. More...

#include <tags.h>

Public Member Functions

 data_reference ()
 Initializes a new data_reference. More...
 

Public Attributes

char identifier [8]
 Dataref identifier. Will always be drfd followed by 4 null bytes. More...
 
void * data_address = nullptr
 The address of the referenced data. More...
 
int data_size = 0
 The size of the referenced data. More...
 
char padding0 [4]
 Empty padding. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ data_reference()

data_reference::data_reference ( )
inline

Initializes a new data_reference.

Member Data Documentation

◆ data_address

void* data_reference::data_address = nullptr

The address of the referenced data.

◆ data_size

int data_reference::data_size = 0

The size of the referenced data.

◆ identifier

char data_reference::identifier[8]

Dataref identifier. Will always be drfd followed by 4 null bytes.

◆ padding0

char data_reference::padding0[4]

Empty padding.


The documentation for this struct was generated from the following file: