 |
Blamite Game Engine - Guerilla (Library)
00386.06.16.23.0646.blamite
The tag editor for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #ifdef GUERILLA_LIB_EXPORTS
6 #define GUERILLA_LIB_API __declspec(dllexport)
8 #define GUERILLA_LIB_API __declspec(dllimport)
37 void* data_address =
nullptr;
55 std::vector<char> GetReferencedDataAsBytes();
Class representing a tag field.
Definition: fields.h:202
#define GUERILLA_LIB_API
Definition: dataref.h:8
virtual BlamTagField * GenerateTagField(BlamTag *tag)
Generates a new tag field from this plugin field.
Definition: BlamPluginField.cpp:40
BlamTagField_Dataref(BlamTag *_tag)
Constructs a new dataref tag field.
Definition: BlamTagField_Dataref.cpp:8
std::vector< char > GetReferencedDataAsBytes()
Compiles the referenced data into a list of bytes.
Definition: BlamTagField_Dataref.cpp:46
std::string field_id
The ID of this field.
Definition: fields.h:213
@ Dataref
Indicates that the field is a data reference.
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:24
std::string GenerateCppStructString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Dataref.cpp:8
virtual std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField.cpp:9
std::string display_name
The display name of the field.
Definition: fields.h:70
Class representing a plugin field.
Definition: fields.h:60
Class representing a dataref tag field.
Definition: dataref.h:34
Class representing a Tag.
Definition: tags.h:232
Class representing a dataref plugin field.
Definition: dataref.h:17
virtual std::string GenerateCppStructString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:74
int data_size
The size of the referenced data.
Definition: dataref.h:38
std::string field_id
The ID of the field.
Definition: fields.h:72
BlamPluginField_Dataref(BlamPluginField *base_field)
Definition: BlamPluginField_Dataref.cpp:3
void * data_address
The address of the referenced data.
Definition: dataref.h:37
BlamPluginField * plugin_field
The plugin data associated with this field, if any.
Definition: fields.h:212
BlamTagField * GenerateTagField(BlamTag *tag, void *address) override
Generates a new tag field from this plugin field.
Definition: BlamPluginField_Dataref.cpp:18
std::string description
An optional description of the field.
Definition: fields.h:71
std::string GenerateXMLString() override
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField_Dataref.cpp:13
virtual std::string GenerateCppClassString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:79
std::vector< char > GetValueAsBytes() override
Retrieves the field value as a list of bytes.
Definition: BlamTagField_Dataref.cpp:28
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14
std::string GenerateCppClassString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Dataref.cpp:13