33class MinecraftCommands {
37 ::ll::TypedStorage<8, 8, ::ICommandsContextProvider&> mContextProvider;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandRegistry>> mRegistry;
39 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandOutputSender>> mOutputSender;
40 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> mOpPermissionLevel;
41 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mChatPermissionsCallback;
42 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::std::unique_ptr<::Command>>> mCompiledCommandMap;
43 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::DeferredCommandBase>>> mDeferredCommands;
44 ::ll::TypedStorage<8, 8, uint64> mDeferredScriptCommandCount;
49 MinecraftCommands& operator=(MinecraftCommands
const&);
50 MinecraftCommands(MinecraftCommands
const&);
56 virtual ~MinecraftCommands() =
default;
64 MCAPI ::Command* compileCommand(
67 ::CurrentCmdVersion commandVersion,
68 ::std::function<
void(::std::string
const&)> onParserError
72 ::std::unique_ptr<::CommandContext>
context,
100 MCNAPI
void registerChatPermissionsCallback(::std::function<
bool()> callback);
107 ::std::unique_ptr<::CommandOrigin> origin,
108 ::std::string
const& commandLine,
Definition CommandContext.h:10
Definition ICommandsContextProvider.h:15
MCAPI void initCoreEnums(::ItemRegistryRef itemRegistry, ::Level const &level, ::ActorFactory const &actorFactory, ::Experiments const &experiments, ::BaseGameVersion const &worldBaseGameVersion)