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/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/server/commands/Command.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13namespace ScriptModuleMinecraft { class ScriptCustomCommandOrigin; }
14namespace Scripting { class WeakLifetimeScope; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20public:
21 // member variables
22 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 2
37 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
38
39 // vIndex: 0
40 virtual ~ScriptCustomCommand() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomCommandOrigin>
47 _createCustomCommandOrigin(::CommandOrigin const& origin, ::Scripting::WeakLifetimeScope const& scope) const;
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static bool* getParamStorageIsSet(::Command* cmd, int index);
54
55 MCAPI static void* getParamStorageValue(::Command* cmd, int index);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
70
71} // namespace ScriptModuleMinecraft
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition Command.h:17
Definition ScriptCustomCommand.h:19
Definition WeakLifetimeScope.h:12
Definition Alias.h:14