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
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 DeferredCommand& operator=(DeferredCommand const&);
28 DeferredCommand(DeferredCommand const&);
29 DeferredCommand();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~DeferredCommand() /*override*/ = default;
35
36 virtual void execute(::MinecraftCommands& commands) /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
43 ::std::unique_ptr<::CommandContext> context,
44 bool suppressOutput,
45 bool isRequest,
46 ::std::function<void(::MCRESULT)> callback
47 );
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(
54 ::std::unique_ptr<::CommandContext> context,
55 bool suppressOutput,
56 bool isRequest,
57 ::std::function<void(::MCRESULT)> callback
58 );
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI void $execute(::MinecraftCommands& commands);
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition CommandContext.h:10
Definition DeferredCommandBase.h:10
MCAPI void $execute(::MinecraftCommands &commands)
MCAPI void * $ctor(::std::unique_ptr<::CommandContext > context, bool suppressOutput, bool isRequest, ::std::function< void(::MCRESULT)> callback)
MCAPI DeferredCommand(::std::unique_ptr<::CommandContext > context, bool suppressOutput, bool isRequest, ::std::function< void(::MCRESULT)> callback)
static MCAPI void ** $vftable()
Definition MinecraftCommands.h:34
Definition MCRESULT.h:8
Definition context.h:5
Definition Alias.h:14