Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
fields.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "api/v1/types/tags.h"
5 
6 #ifndef BLAM
7 #define BLAM
8 #endif
9 
10 namespace Blam::Content::Tags
11 {
19  BLAM std::string GetFieldName(BlamTagFieldType type);
20 
29 }
Blam::Content::Tags
Namespace containing functions related to tag data.
Definition: bitmap.h:195
BLAM
#define BLAM
Definition: fields.h:7
BlamTagFieldType::Bitfield16
@ Bitfield16
Indicates that the field is a Bitfield16.
BlamTagFieldType::Bitfield8
@ Bitfield8
Indicates that the field is a Bitfield8.
Blam::Content::Tags::GetFieldSize
BLAM int GetFieldSize(BlamTagFieldType type)
Retrieves the standard field size of a plugin field type.
Definition: fields.cpp:100
tag_block< void >
BlamTagFieldType::Comment
@ Comment
Indicates that the field is a comment. These do not store any tag data.
ascii
char ascii[128]
Typedef for an ascii field, used in tag data definitions.
Definition: tags.h:410
BlamTagFieldType::TagReference
@ TagReference
Indicates that the field is a tag reference.
bitfield32
Typedef for a bitfield32 field, used in tag data definitions.
Definition: tags.h:371
BlamTagFieldType::Real
@ Real
Indicates that the field is a Float32.
BlamTagFieldType::Bitfield32
@ Bitfield32
Indicates that the field is a Bitfield32.
BlamTagFieldType::Unspecified
@ Unspecified
Indicates that the field's type is not specified. Fields with this type should be considered invalid.
BlamTagFieldType::Int16
@ Int16
Indicates that the field is a 16-bit integer.
BlamTagFieldType::Int8
@ Int8
Indicates that the field is an 8-bit integer.
BlamTagFieldType
BlamTagFieldType
Enumerator listing all possible plugin field types.
Definition: tags.h:87
int8_t
signed char int8_t
Definition: stdint.h:11
bitfield8
Typedef for a bitfield8 field, used in tag data definitions.
Definition: tags.h:332
BlamTagFieldType::Int64
@ Int64
Indicates that the field is a 32-bit integer.
int32_t
int int32_t
Definition: stdint.h:13
BlamTagFieldType::Ascii
@ Ascii
Indicates that the field is a string of text.
BlamTagFieldType::Int32
@ Int32
Indicates that the field is a 32-bit integer.
tag_reference
Structure representing a tag reference.
Definition: tags.h:272
field_reference
Structure representing a field reference.
Definition: tags.h:424
Blam::Content::Tags::GetFieldName
BLAM std::string GetFieldName(BlamTagFieldType type)
Retrieves a string representation of a plugin field type.
Definition: fields.cpp:3
int64_t
long long int64_t
Definition: stdint.h:14
BlamTagFieldType::Color
@ Color
Indicates that the field is a color.
real
float real
Typedef for a 'real', aka a float.
Definition: tags.h:412
BlamTagFieldType::Boolean
@ Boolean
Indicates that the field is a boolean.
BlamTagFieldType::Enum32
@ Enum32
Indicates that the field is an Enum32.
fields.h
BlamTagFieldType::Vector2
@ Vector2
Indicates that the field is a vector2.
BlamTagFieldType::Enum8
@ Enum8
Indicates that the field is an Enum8.
bitfield16
Typedef for a bitfield16 field, used in tag data definitions.
Definition: tags.h:347
data_reference
Structure representing a data reference.
Definition: tags.h:318
BlamTagFieldType::Block
@ Block
Indicates that the field is a tag block.
BlamTagFieldType::Vector4
@ Vector4
Indicates that the field is a vector4.
tags.h
tags.h
int16_t
short int16_t
Definition: stdint.h:12
BlamTagFieldType::Vector3
@ Vector3
Indicates that the field is a vector3.
BlamTagFieldType::Enum16
@ Enum16
Indicates that the field is an Enum16.
BlamTagFieldType::DataReference
@ DataReference
Indicates that the field is a data reference.
BlamTagFieldType::FieldReference
@ FieldReference
Indicates that the field is a fieldref.