Elaztek Developer Hub
Blamite Game Engine - Strings  00315.05.27.21.0015.blamite
A library containing general purpose utilities and classes for use in multiple projects.
tagref.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 #include <string>
5 
6 #include "../fields.h"
7 
8 #ifdef STRINGS_EXPORTS
9 #define STRINGS_API __declspec(dllexport)
10 #else
11 #define STRINGS_API __declspec(dllimport)
12 #endif
13 
15 {
16 public:
17  std::vector<std::string> allowed_classes;
18 
20 };
21 
23 {
24 public:
25  std::string referenced_tag_path = "";
26  std::string referenced_tag_class = "";
27 
29 
30  std::string GenerateXMLString();
31  std::vector<char> GetValueAsBytes();
32 
33  std::vector<char> GetReferencedTagPathAsBytes();
34 };
BlamTagField
Class representing a tag field.
Definition: fields.h:138
BlamPluginField_Tagref
Definition: tagref.h:14
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
BlamTagField_Tagref
Definition: tagref.h:22
BlamPluginField
Class representing a plugin field.
Definition: fields.h:53
BlamTag
Class representing a Tag.
Definition: tags.h:125
STRINGS_API
#define STRINGS_API
Definition: tagref.h:11
BlamPluginField_Tagref::allowed_classes
std::vector< std::string > allowed_classes
Definition: tagref.h:17
BlamTagField::GetValueAsBytes
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14