Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00378.04.17.23.1319.blamite
The tag editor for the Blamite Game Engine.
color.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../fields.h"
4 #include <Strings/components/resources/color/BlamColor.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 
18 {
19 private:
20 
21 public:
22  BlamColor value = { 255, 255, 255, 255 };
23 
31 
32  std::string GenerateXMLString();
33  std::vector<char> GetValueAsBytes();
34 };
BlamTagField
Class representing a tag field.
Definition: fields.h:226
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
GUERILLA_LIB_API
#define GUERILLA_LIB_API
Definition: color.h:9
BlamTagField::GetValueAsBytes
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14
BlamTagField_Color
Class representing a color tag field.
Definition: color.h:17