LeviLamina
Loading...
Searching...
No Matches
DeferredCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/DeferredCommandBase.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandContext;
12struct MCRESULT;
13// clang-format on
14
15class DeferredCommand : public ::DeferredCommandBase {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandContext>> mContext;
20 ::ll::TypedStorage<1, 1, bool> mSuppressOutput;
21 ::ll::TypedStorage<1, 1, bool> mIsRequest;
22 ::ll::TypedStorage<8, 64, ::std::function<void(::MCRESULT)>> mCallback;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 DeferredCommand();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~DeferredCommand() /*override*/ = default;
33
34 virtual void execute(::MinecraftCommands& commands) /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI DeferredCommand(
41 ::std::unique_ptr<::CommandContext> context,
42 bool suppressOutput,
43 bool isRequest,
44 ::std::function<void(::MCRESULT)> callback
45 );
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(
52 ::std::unique_ptr<::CommandContext> context,
53 bool suppressOutput,
54 bool isRequest,
55 ::std::function<void(::MCRESULT)> callback
56 );
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI void $execute(::MinecraftCommands& commands);
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition CommandContext.h:10
Definition DeferredCommandBase.h:10
static MCAPI void ** $vftable()
Definition MinecraftCommands.h:34
Definition MCRESULT.h:8
Definition context.h:5