Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00386.06.16.23.0646.blamite
The tag editor for the Blamite Game Engine.
fields.h File Reference
#include <string>
#include <vector>
#include <blam/api/v1/types/tags.h>
#include <Strings/components/3rdparty/rapidxml/rapidxml.hpp>
+ Include dependency graph for fields.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BlamPluginField
 Class representing a plugin field. More...
 
class  BlamTagField
 Class representing a tag field. More...
 

Namespaces

 Guerilla
 
 Guerilla::Tags
 Namespace containing functions relating to tags and plugins.
 
 Guerilla::Tags::Fields
 Namespace containing functions relating to tag fields.
 

Macros

#define GUERILLA_LIB_INTERNAL
 
#define GUERILLA_LIB_API   __declspec(dllimport)
 

Enumerations

enum  BlamTagFieldType {
  BlamTagFieldType::Ascii, BlamTagFieldType::StringId, BlamTagFieldType::Int8, BlamTagFieldType::Int16,
  BlamTagFieldType::Int32, BlamTagFieldType::Int64, BlamTagFieldType::Real, BlamTagFieldType::Bitfield8,
  BlamTagFieldType::Bitfield16, BlamTagFieldType::Bitfield32, BlamTagFieldType::Enum8, BlamTagFieldType::Enum16,
  BlamTagFieldType::Enum32, BlamTagFieldType::Block, BlamTagFieldType::Dataref, BlamTagFieldType::Tagref,
  BlamTagFieldType::Comment, BlamTagFieldType::Color, BlamTagFieldType::Vector2, BlamTagFieldType::Vector3,
  BlamTagFieldType::Vector4, BlamTagFieldType::Unspecified
}
 Enumerator containing all possible tag field types. More...
 

Functions

GUERILLA_LIB_API int Guerilla::Tags::Fields::GetStandardFieldLength (BlamTagFieldType type)
 Retrieves the length of a tag field. More...
 
GUERILLA_LIB_API BlamTagFieldType Guerilla::Tags::Fields::DetermineFieldType (std::string node_name)
 Determines the field type from a string, used to determine the field type when parsing XML tags and plugins. More...
 
GUERILLA_LIB_API std::string Guerilla::Tags::Fields::GetFieldTypeName (BlamTagFieldType type)
 Generates a string name based on the provided tag field type. More...
 

Macro Definition Documentation

◆ GUERILLA_LIB_API

#define GUERILLA_LIB_API   __declspec(dllimport)

◆ GUERILLA_LIB_INTERNAL

#define GUERILLA_LIB_INTERNAL

Enumeration Type Documentation

◆ BlamTagFieldType

enum BlamTagFieldType
strong

Enumerator containing all possible tag field types.

Enumerator
Ascii 

Indicates that the field is a string of text.

StringId 

Indicates that the field is a String ID.

Int8 

Indicates that the field is an 8-bit integer.

Int16 

Indicates that the field is a 16-bit integer.

Int32 

Indicates that the field is a 32-bit integer.

Int64 

Indicates that the field is a 32-bit integer.

Real 

Indicates that the field is a Float32.

Bitfield8 

Indicates that the field is a Bitfield8.

Bitfield16 

Indicates that the field is a Bitfield16.

Bitfield32 

Indicates that the field is a Bitfield32.

Enum8 

Indicates that the field is an Enum8.

Enum16 

Indicates that the field is an Enum16.

Enum32 

Indicates that the field is an Enum32.

Block 

Indicates that the field is a tag block.

Dataref 

Indicates that the field is a data reference.

Tagref 

Indicates that the field is a tag reference.

Comment 

Indicates that the field is a comment. These do not store any tag data.

Color 

Indicates that the field is a color.

Vector2 

Indicates that the field is a vector2.

Vector3 

Indicates that the field is a vector3.

Vector4 

Indicates that the field is a vector4.

Unspecified 

Indicates that the field's type is not specified. Fields with this type should be considered invalid.