![]() |
Blamite Game Engine - Guerilla (Library)
00378.04.17.23.1319.blamite
The tag editor for the Blamite Game Engine.
|
Class representing a block plugin field. More...
#include <block.h>
Public Member Functions | |
BlamPluginField_Block (BlamPluginField *base_field) | |
Constructs a new block plugin field from an existing generic plugin field. More... | |
~BlamPluginField_Block () | |
BlamPluginField * | GetField (std::string id) |
BlamPluginField * | GetField (std::string id, BlamTagFieldType type) |
![]() | |
BlamPluginField (BlamPlugin *_plugin, BlamTagFieldType _type) | |
Constructs a new plugin field. More... | |
BlamPluginField (BlamPluginField *_old_field) | |
Constructs a new plugin field. More... | |
BlamTagFieldType | GetType () |
Retrieves the type of this field. More... | |
BlamPlugin * | GetPlugin () |
Retrieves the plugin this field is associated with. More... | |
virtual BlamTagField * | GenerateTagField (BlamTag *tag) |
Generates a new tag field from this plugin field. More... | |
virtual BlamTagField * | GenerateTagField (BlamTagField *existing_tag_field) |
Generates a new tag field from this plugin field. More... | |
virtual BlamTagField * | GenerateTagField (BlamTag *tag, void *address) |
Generates a new tag field from this plugin field. More... | |
Public Attributes | |
int | entry_size = 0 |
The size of a each block entry. More... | |
std::vector< BlamPluginField * > | fields |
The list of fields within the tag block. More... | |
int | c_entry_count = 0 |
The entry count. Used in tag decompilation. More... | |
int | c_entry_offset = 0 |
The offset of the entry data. Used in tag decompilation. More... | |
![]() | |
int | offset = 0x0 |
The offset of the field data. More... | |
int | length = 0x0 |
The length of the field data. More... | |
bool | visible = true |
Whether or not the field is visible. More... | |
std::string | display_name = "" |
The display name of the field. More... | |
std::string | description = "" |
An optional description of the field. More... | |
std::string | field_id = "" |
The ID of the field. More... | |
std::string | input_hint = "" |
An additional piece of short text that can be used to suggest valid input for a field. More... | |
bool | require_unused_visible = false |
If enabled, this field will only be visible when "Show Unused Fields" is enabled. More... | |
Class representing a block plugin field.
Tag blocks act as a container for other tag fields. Each block can contain a series of "entries". Each entry will always have the same fields available (and thus be the same size), but the values of each field within an entry can differ.
Plugin block fields store the list of valid fields for any entries, as well as the size of each entry.
BlamPluginField_Block::BlamPluginField_Block | ( | BlamPluginField * | base_field | ) |
Constructs a new block plugin field from an existing generic plugin field.
base_field | - The base plugin data to use for this field. |
BlamPluginField_Block::~BlamPluginField_Block | ( | ) |
BlamPluginField * BlamPluginField_Block::GetField | ( | std::string | id | ) |
BlamPluginField * BlamPluginField_Block::GetField | ( | std::string | id, |
BlamTagFieldType | type | ||
) |
int BlamPluginField_Block::c_entry_count = 0 |
The entry count. Used in tag decompilation.
int BlamPluginField_Block::c_entry_offset = 0 |
The offset of the entry data. Used in tag decompilation.
int BlamPluginField_Block::entry_size = 0 |
The size of a each block entry.
std::vector<BlamPluginField*> BlamPluginField_Block::fields |
The list of fields within the tag block.