LeviLamina
Loading...
Searching...
No Matches
GameRuleCommand.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
class
CommandRegistry
;
13
class
GameRule
;
14
namespace
Json {
class
Value; }
15
// clang-format on
16
17
class
GameRuleCommand
:
public
::Command
{
18
public
:
19
// GameRuleCommand inner types declare
20
// clang-format off
21
struct
InitProxy
;
22
// clang-format on
23
24
// GameRuleCommand inner types define
25
struct
InitProxy
{
26
public
:
27
// member variables
28
// NOLINTBEGIN
29
::ll::UntypedStorage<8, 8>
mUnk895cad;
30
// NOLINTEND
31
32
public
:
33
// prevent constructor by default
34
InitProxy
& operator=(
InitProxy
const
&);
35
InitProxy
(
InitProxy
const
&);
36
InitProxy
();
37
};
38
39
public
:
40
// member variables
41
// NOLINTBEGIN
42
::ll::UntypedStorage<8, 32>
mUnk8beb94;
43
::ll::UntypedStorage<4, 4>
mUnk429d60;
44
::ll::UntypedStorage<4, 4>
mUnk4140a0;
45
::ll::UntypedStorage<1, 1>
mUnk7e7790;
46
::ll::UntypedStorage<1, 1>
mUnk4dbe3f;
47
::ll::UntypedStorage<1, 1>
mUnkf282fd;
48
::ll::UntypedStorage<1, 1>
mUnke07538;
49
// NOLINTEND
50
51
public
:
52
// prevent constructor by default
53
GameRuleCommand
& operator=(
GameRuleCommand
const
&);
54
GameRuleCommand
(
GameRuleCommand
const
&);
55
GameRuleCommand
();
56
57
public
:
58
// virtual functions
59
// NOLINTBEGIN
60
// vIndex: 2
61
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
62
63
// vIndex: 0
64
virtual
~GameRuleCommand
()
/*override*/
=
default
;
65
// NOLINTEND
66
67
public
:
68
// member functions
69
// NOLINTBEGIN
70
MCAPI
void
getGameRule(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
71
72
MCAPI
void
setGameRule(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
73
// NOLINTEND
74
75
public
:
76
// static functions
77
// NOLINTBEGIN
78
MCAPI
static
void
79
createJsonIndex(::std::string
const
& ruleName,
::GameRule
const
& rule,
::Json::Value
& json, ::std::string* value);
80
81
MCAPI
static
void
setup(
::CommandRegistry
& registry,
::GameRuleCommand::InitProxy
&& dependencies);
82
// NOLINTEND
83
84
public
:
85
// destructor thunk
86
// NOLINTBEGIN
87
88
// NOLINTEND
89
90
public
:
91
// virtual function thunks
92
// NOLINTBEGIN
93
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
94
// NOLINTEND
95
96
public
:
97
// vftables
98
// NOLINTBEGIN
99
MCAPI
static
void
** $vftable();
100
// NOLINTEND
101
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:19
CommandRegistry
Definition
CommandRegistry.h:44
Command
Definition
Command.h:17
GameRuleCommand
Definition
GameRuleCommand.h:17
GameRule
Definition
GameRule.h:10
Json::Value
Definition
Value.h:16
GameRuleCommand::InitProxy
Definition
GameRuleCommand.h:25
ll::UntypedStorage
Definition
Alias.h:14
src
mc
server
commands
standard
GameRuleCommand.h
Generated on Sat Apr 26 2025 05:55:56 for LeviLamina by
1.12.0