Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
Blamite Game Engine - Guerilla (Library)
00378.04.17.23.1319.blamite
The tag editor for the Blamite Game Engine.
comment.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include "../fields.h"
6
7
#ifdef GUERILLA_LIB_EXPORTS
8
#define GUERILLA_LIB_API __declspec(dllexport)
9
#else
10
#define GUERILLA_LIB_API __declspec(dllimport)
11
#endif
12
16
enum class
BlamCommentType
17
{
18
None
,
19
Info
,
20
Warning
,
21
Error
22
};
23
30
class
GUERILLA_LIB_API
BlamTagField_Comment
:
public
BlamTagField
31
{
32
private
:
33
34
public
:
40
BlamTagField_Comment
(
BlamTag
* _tag);
41
42
std::string
GenerateXMLString
();
43
std::vector<char>
GetValueAsBytes
();
44
};
45
52
class
GUERILLA_LIB_API
BlamPluginField_Comment
:
public
BlamPluginField
53
{
54
private
:
55
56
public
:
57
BlamCommentType
comment_type =
BlamCommentType::None
;
58
64
BlamPluginField_Comment
(
BlamPluginField
* base_field);
65
71
void
ParseCommentType(std::string comment_type_string);
72
};
BlamTagField
Class representing a tag field.
Definition:
fields.h:226
GUERILLA_LIB_API
#define GUERILLA_LIB_API
Definition:
comment.h:10
BlamCommentType::Info
@ Info
Indicates that the comment should be presented as an informative message.
BlamCommentType::Warning
@ Warning
Indicates that the comment should be presented as a warning message.
BlamCommentType
BlamCommentType
Enumerator used to identify the type of comment being displayed.
Definition:
comment.h:16
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
BlamPluginField
Class representing a plugin field.
Definition:
fields.h:139
BlamPluginField_Comment
Class representing a comment plugin field.
Definition:
comment.h:52
BlamTag
Class representing a Tag.
Definition:
tags.h:152
BlamCommentType::Error
@ Error
Indicates that the comment should be presented as an error message.
BlamTagField_Comment
Class representing a comment tag field.
Definition:
comment.h:30
BlamTagField::GetValueAsBytes
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition:
BlamTagField.cpp:14
BlamCommentType::None
@ None
Default value. The comment will be given the standard appearance.
HEKGuerilla
components
tags
fields
comment
comment.h
Generated on Mon Apr 17 2023 13:46:27 for Blamite Game Engine - Guerilla (Library) by
1.8.17