Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
CommandMessage.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/CommandMessageParams.h"
7
#include "mc/server/commands/CommandSelector.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
CommandOrigin
;
13
struct
GenerateMessageResult
;
14
// clang-format on
15
16
class
CommandMessage
{
17
public
:
18
// CommandMessage inner types declare
19
// clang-format off
20
struct
MessageComponent
;
21
// clang-format on
22
23
// CommandMessage inner types define
24
struct
MessageComponent
{
25
public
:
26
// member variables
27
// NOLINTBEGIN
28
::ll::TypedStorage<8, 32, ::std::string> string;
29
::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandSelector<::Actor>>> selection;
30
// NOLINTEND
31
};
32
33
public
:
34
// member variables
35
// NOLINTBEGIN
36
::ll::TypedStorage<8, 24, ::std::vector<::CommandMessage::MessageComponent>> mData;
37
::ll::TypedStorage<1, 1, ::CommandMessageParams const> mParameters;
38
// NOLINTEND
39
40
public
:
41
// member functions
42
// NOLINTBEGIN
43
MCAPI ::GenerateMessageResult generateMessage(
::CommandOrigin
const
& origin,
int
maxLength)
const
;
44
// NOLINTEND
45
};
46
47
// clang-format off
48
template
<>
49
MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::CommandMessage>();
50
// clang-format on
Actor
Definition
Actor.h:116
CommandMessage
Definition
CommandMessage.h:16
CommandOrigin
Definition
CommandOrigin.h:32
CommandMessage::MessageComponent
Definition
CommandMessage.h:24
GenerateMessageResult
Definition
GenerateMessageResult.h:5
src
mc
server
commands
CommandMessage.h
Generated on
for LeviLamina by
1.16.1