 |
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.
7 #ifdef GUERILLA_LIB_EXPORTS
8 #define GUERILLA_LIB_API __declspec(dllexport)
10 #define GUERILLA_LIB_API __declspec(dllimport)
49 void ParseCommentType(std::string comment_type_string);
55 bool ParseXMLData(rapidxml::xml_node<>* field_node)
override;
Class representing a tag field.
Definition: fields.h:202
virtual BlamTagField * GenerateTagField(BlamTag *tag)
Generates a new tag field from this plugin field.
Definition: BlamPluginField.cpp:40
virtual std::string GenerateXMLString()
Generates a string representing this plugin field.
Definition: BlamPluginField.cpp:60
std::string field_id
The ID of this field.
Definition: fields.h:213
BlamTagFieldType GetType()
Retrieves the type of this field.
Definition: BlamPluginField.cpp:30
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:24
@ Comment
Indicates that the field is a comment. These do not store any tag data.
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 Tag.
Definition: tags.h:232
bool visible
Whether or not the field is visible.
Definition: fields.h:69
virtual std::string GenerateCppStructString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:74
virtual bool ParseXMLData(rapidxml::xml_node<> *field_node)
Populates data within the plugin field from an XML node.
Definition: BlamPluginField.cpp:84
std::string field_id
The ID of the field.
Definition: fields.h:72
BlamPluginField * plugin_field
The plugin data associated with this field, if any.
Definition: fields.h:212
std::string description
An optional description of the field.
Definition: fields.h:71
BlamPlugin * GetPlugin()
Retrieves the plugin this field is associated with.
Definition: BlamPluginField.cpp:35
virtual std::string GenerateCppClassString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:79
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14