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
10class CommandOrigin;
11class CommandOutput;
12namespace ScriptModuleMinecraft { class CommandClosureStorage; }
13namespace ScriptModuleMinecraft { class ParamStorageBase; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
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
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
31 // NOLINTEND
32
33public:
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
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
45
46
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
55
56} // namespace ScriptModuleMinecraft
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition Command.h:17
Definition CommandClosureStorage.h:16
Definition ParamStorageBase.h:10
Definition ScriptCustomCommand.h:18