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/lifetime_registry/WeakLifetimeScope.h"
8#include "mc/deps/scripting/script_engine/Promise.h"
9#include "mc/server/commands/DeferredCommandBase.h"
10
11// auto generated forward declare list
12// clang-format off
13class CommandContext;
16namespace ScriptModuleMinecraft { struct ScriptCommandError; }
17namespace ScriptModuleMinecraft { struct ScriptCommandResult; }
18// clang-format on
19
20class DeferredScriptCommand : public ::DeferredCommandBase {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptCommandOutput>> mScriptCommandOutput;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandContext>> mCommandContext;
26 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
27 ::ll::TypedStorage<
28 8,
29 80,
33 mPromise;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 DeferredScriptCommand();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~DeferredScriptCommand() /*override*/;
44
45 virtual void execute(::MinecraftCommands& commands) /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI DeferredScriptCommand(
52 ::std::unique_ptr<::ScriptCommandOutput> scriptCommandOutput,
53 ::std::unique_ptr<::CommandContext> commandContext,
58 );
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(
65 ::std::unique_ptr<::ScriptCommandOutput> scriptCommandOutput,
66 ::std::unique_ptr<::CommandContext> commandContext,
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
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition CommandContext.h:10
Definition DeferredCommandBase.h:10
static MCAPI void ** $vftable()
Definition MinecraftCommands.h:36
Definition ScriptCommandOutput.h:5
Definition Promise.h:8
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:14
Definition ScriptCommandError.h:16
Definition ScriptCommandResult.h:12