34class MinecraftCommands {
38 ::ll::TypedStorage<8, 8, ::ICommandsContextProvider&> mContextProvider;
39 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandRegistry>> mRegistry;
40 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandOutputSender>> mOutputSender;
41 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> mOpPermissionLevel;
42 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mChatPermissionsCallback;
43 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::unique_ptr<::Command>>> mCompiledCommandMap;
44 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::DeferredCommandBase>>> mDeferredCommands;
45 ::ll::TypedStorage<8, 8, uint64> mDeferredScriptCommandCount;
50 MinecraftCommands& operator=(MinecraftCommands
const&);
51 MinecraftCommands(MinecraftCommands
const&);
57 virtual ~MinecraftCommands();
65 MCAPI ::Command* compileCommand(
68 ::CurrentCmdVersion commandVersion,
69 ::std::function<
void(::std::string
const&)> onParserError
72 MCAPI
void enqueueDeferredCommand(
73 ::std::unique_ptr<::CommandContext>
context,
83 MCAPI
void initCoreEnums(
91 MCAPI
void initCoreEnumsServer(
99 MCAPI_C ::MCRESULT requestCommandExecution(
100 ::std::unique_ptr<::CommandOrigin> origin,
101 ::std::string
const& commandLine,
112 MCAPI static ::CommandOutputType getOutputType(
::CommandOrigin const& origin);
121 MCAPI
static void initItemEnum(
129 MCAPI
static void initStructureFeatureEnum(
Definition CommandContext.h:10
Definition ICommandsContextProvider.h:15