Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00378.04.17.23.1319.blamite
The tag editor for the Blamite Game Engine.
vector.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../fields.h"
4 #include <Strings/components/classes/vector/vector.h>
5 
6 #ifdef GUERILLA_LIB_EXPORTS
7 #define GUERILLA_LIB_API __declspec(dllexport)
8 #else
9 #define GUERILLA_LIB_API __declspec(dllimport)
10 #endif
11 
19 {
20 private:
21 
22 public:
23  BlamVector4 value = { 0.0f, 0.0f, 0.0f, 0.0f };
24 
32 
33  std::string GenerateXMLString();
34  std::vector<char> GetValueAsBytes();
35 
36  BlamVector2 GetVector2();
37  BlamVector3 GetVector3();
38 };
BlamTagField
Class representing a tag field.
Definition: fields.h:226
BlamTagFieldType
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:103
BlamTagField::GenerateXMLString
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
BlamTag
Class representing a Tag.
Definition: tags.h:152
BlamTagField_Vector
Class representing a vector tag field.
Definition: vector.h:18
GUERILLA_LIB_API
#define GUERILLA_LIB_API
Definition: vector.h:9
BlamTagField::GetValueAsBytes
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14