GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
GDCore
Extensions
Metadata
InstructionOrExpressionGroupMetadata.h
1
/*
2
* GDevelop Core
3
* Copyright 2008-2022 Florian Rival (
[email protected]
). All rights
4
* reserved. This project is released under the MIT License.
5
*/
6
#pragma once
7
#include "GDCore/String.h"
8
9
namespace
gd
{
14
class
GD_CORE_API
InstructionOrExpressionGroupMetadata
{
15
public
:
16
InstructionOrExpressionGroupMetadata
(){};
17
21
InstructionOrExpressionGroupMetadata
&
SetIcon
(
const
gd::String
& icon_) {
22
icon = icon_;
23
return
*
this
;
24
};
25
26
const
gd::String
& GetIcon()
const
{
return
icon; };
27
28
private
:
29
gd::String
icon;
30
};
31
}
// namespace gd
gd::InstructionOrExpressionGroupMetadata
Contains information about how to display a group of instructions to the user.
Definition:
InstructionOrExpressionGroupMetadata.h:14
gd::InstructionOrExpressionGroupMetadata::SetIcon
InstructionOrExpressionGroupMetadata & SetIcon(const gd::String &icon_)
Sets the icon shown to users.
Definition:
InstructionOrExpressionGroupMetadata.h:21
gd::String
String represents an UTF8 encoded string.
Definition:
String.h:33
gd
Definition:
CommonTools.h:24
Generated by
1.9.1