Forums
Discord
Guides
Blamite Homepage
Helpcenter
Blamite Game Engine - API
00406.12.10.23.1457.blamite
The API for the Blamite Game Engine.
comment.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
blam/api/v1/types/plugins/fields/BlamTagClassField.h
>
4
5
#ifdef BLAM_EXPORTS
6
#define BLAM_EXT_API __declspec(dllexport)
7
#else
8
#define BLAM_EXT_API __declspec(dllimport)
9
#endif
10
14
enum class
BlamCommentStyle
15
{
16
None
,
17
Info
,
18
Warning
,
19
Error
20
};
21
29
class
BLAM_EXT_API
CommentField
:
public
BlamTagClassField
30
{
31
private
:
32
BlamCommentStyle
style =
BlamCommentStyle::None
;
33
34
public
:
35
CommentField
(std::string _display_name);
36
37
CommentField
(std::string _display_name, std::string _extra_info);
38
39
CommentField
(std::string _display_name, std::string _extra_info,
BlamCommentStyle
_style);
40
41
void
ShowImPropertyControl
();
42
43
std::string
GetFieldXMLString
(
int
offset);
44
};
BlamTagClassField.h
BlamTagClassField::GetFieldXMLString
virtual std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition:
BlamTagClassField.cpp:32
BlamCommentStyle::None
@ None
The comment will be given the default appearance.
BlamTagClassField
Base class representing a plugin field.
Definition:
BlamTagClassField.h:28
BlamCommentStyle::Warning
@ Warning
The comment will be given a warning message appearance.
BLAM_EXT_API
#define BLAM_EXT_API
Definition:
comment.h:8
BlamCommentStyle
BlamCommentStyle
The style to use for the comment.
Definition:
comment.h:14
BlamCommentStyle::Info
@ Info
The comment will be given an information message appearance.
BlamCommentStyle::Error
@ Error
The comment will be given an error message appearance.
BlamTagClassField::ShowImPropertyControl
virtual void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition:
BlamTagClassField.cpp:22
CommentField
Class representing a comment field.
Definition:
comment.h:29
blam
api
v1
types
plugins
fields
comment
comment.h
Generated on Sun Dec 10 2023 18:13:30 for Blamite Game Engine - API by
1.8.17