LeviLamina
Loading...
Searching...
No Matches
ScriptCustomCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/Command.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
CommandOrigin
;
11
class
CommandOutput
;
12
namespace
ScriptModuleMinecraft {
class
CommandClosureStorage
; }
13
namespace
ScriptModuleMinecraft {
class
ParamStorageBase
; }
14
// clang-format on
15
16
namespace
ScriptModuleMinecraft {
17
18
class
ScriptCustomCommand
:
public
::Command
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptModuleMinecraft::CommandClosureStorage>> mClosureStorage;
23
::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ScriptModuleMinecraft::ParamStorageBase>>>
24
mParamStorage;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
31
// NOLINTEND
32
33
public
:
34
// static functions
35
// NOLINTBEGIN
36
MCAPI
static
bool
* getParamStorageIsSet(
::Command
* cmd,
int
index);
37
38
MCAPI
static
void
* getParamStorageValue(
::Command
* cmd,
int
index);
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
45
46
47
// NOLINTEND
48
49
public
:
50
// vftables
51
// NOLINTBEGIN
52
MCNAPI
static
void
**
$vftable
();
53
// NOLINTEND
54
};
55
56
}
// namespace ScriptModuleMinecraft
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
Command
Definition
Command.h:17
ScriptModuleMinecraft::CommandClosureStorage
Definition
CommandClosureStorage.h:16
ScriptModuleMinecraft::ParamStorageBase
Definition
ParamStorageBase.h:10
ScriptModuleMinecraft::ScriptCustomCommand
Definition
ScriptCustomCommand.h:18
ScriptModuleMinecraft::ScriptCustomCommand::$vftable
static MCAPI void ** $vftable()
src
mc
scripting
modules
minecraft
commands
ScriptCustomCommand.h
Generated on
for LeviLamina by
1.16.1