LeviLamina
Loading...
Searching...
No Matches
DeferredScriptCommand.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/deps/scripting/script_engine/Promise.h"
8#include "mc/server/commands/DeferredCommandBase.h"
9
10// auto generated forward declare list
11// clang-format off
12class CommandContext;
14class ScriptCommand;
15namespace ScriptModuleMinecraft { struct ScriptCommandError; }
16namespace ScriptModuleMinecraft { struct ScriptCommandResult; }
17namespace Scripting { class WeakLifetimeScope; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~DeferredScriptCommand() /*override*/;
41
42 // vIndex: 1
43 virtual void execute(::MinecraftCommands& commands) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
50 ::std::unique_ptr<::ScriptCommand> scriptCommand,
51 ::std::unique_ptr<::CommandContext> commandContext,
56 void> promise
57 );
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(
64 ::std::unique_ptr<::ScriptCommand> scriptCommand,
65 ::std::unique_ptr<::CommandContext> commandContext,
70 void> promise
71 );
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $execute(::MinecraftCommands& commands);
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCAPI static void** $vftable();
90 // NOLINTEND
91};
Definition CommandContext.h:10
Definition DeferredCommandBase.h:10
Definition DeferredScriptCommand.h:20
Definition MinecraftCommands.h:33
Definition ScriptCommand.h:5
Definition Promise.h:8
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ScriptCommandError.h:16
Definition Alias.h:14