 |
Blamite Game Engine - Guerilla (Library)
00402.09.29.23.0627.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)
21 std::string
GenerateCppStructString(std::string line_prefix =
"",
bool generate_doxygen_comments =
true)
override;
Class representing a tag field.
Definition: fields.h:231
BlamTagFieldType GetType()
Retrieves the type of this field.
Definition: BlamTagField.cpp:19
virtual BlamTagField * GenerateTagField(BlamTag *tag)
Generates a new tag field from this plugin field.
Definition: BlamPluginField.cpp:41
BlamTagField_Int(BlamTag *_tag, BlamTagFieldType _type)
Constructs a new integer tag field.
Definition: BlamTagField_Int.cpp:8
#define GUERILLA_LIB_API
Definition: int.h:8
BlamTag * GetTag()
Retrieves the tag associated with this field.
Definition: BlamTagField.cpp:24
BlamTagField * GenerateTagField(BlamTag *tag, void *address) override
Generates a new tag field from this plugin field.
Definition: BlamPluginField_Int.cpp:62
std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField_Int.cpp:13
std::string default_value
The default text value for the field.
Definition: fields.h:86
std::string field_id
The ID of this field.
Definition: fields.h:243
BlamTagFieldType GetType()
Retrieves the type of this field.
Definition: BlamPluginField.cpp:31
Class representing an integer plugin field.
Definition: int.h:16
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
BlamPluginField_Int(BlamPluginField *base_field)
Definition: BlamPluginField_Int.cpp:6
std::string display_name
The display name of the field.
Definition: fields.h:81
Class representing a plugin field.
Definition: fields.h:71
Class representing a Tag.
Definition: tags.h:277
std::string GenerateCppClassString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Int.cpp:40
std::string field_id
The ID of the field.
Definition: fields.h:83
Class representing an integer tag field.
Definition: int.h:32
BlamPluginField * plugin_field
The plugin data associated with this field, if any.
Definition: fields.h:242
std::string description
An optional description of the field.
Definition: fields.h:82
int64_t value
The value of the field, represented as a 32-bit integer.
Definition: int.h:37
virtual std::string GenerateCppClassString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:101
int length
The length of the field data.
Definition: fields.h:79
std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField_Int.cpp:42
virtual std::string GenerateCppStructString(std::string line_prefix="", bool generate_doxygen_comments=true)
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:96
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14
std::string GenerateCppStructString(std::string line_prefix="", bool generate_doxygen_comments=true) override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Int.cpp:11