Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
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
14
class
STRINGS_API
BlamPluginField_Tagref
:
public
BlamPluginField
15
{
16
public
:
17
std::vector<std::string>
allowed_classes
;
18
19
BlamPluginField_Tagref
(
BlamPluginField
* base_field);
20
};
21
22
class
STRINGS_API
BlamTagField_Tagref
:
public
BlamTagField
23
{
24
public
:
25
std::string referenced_tag_path =
""
;
26
std::string referenced_tag_class =
""
;
27
28
BlamTagField_Tagref
(
BlamTag
* _tag);
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
Strings
editor
guerilla
tags
fields
tagref
tagref.h
Generated on Thu May 27 2021 00:40:23 for Blamite Game Engine - Strings by
1.8.17