Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MinecraftCommands Class Reference

Public Member Functions

MinecraftCommands & operator= (MinecraftCommands const &)
 MinecraftCommands (MinecraftCommands const &)
MCAPI MinecraftCommands (::MinecraftCommandsArguments &&args)
MCAPI::Command * compileCommand (::HashedString const &commandStr, ::CommandOrigin &origin, ::CurrentCmdVersion commandVersion, ::std::function< void(::std::string const &)> onParserError)
MCAPI void enqueueDeferredCommand (::std::unique_ptr<::CommandContext > context, bool suppressOutput, bool isRequest, ::std::function< void(::MCRESULT)> callback)
MCAPI void enqueueDeferredCompiledCommand (::gsl::not_null<::Command * > command, ::std::unique_ptr<::CommandOrigin > origin)
MCAPI::MCRESULT executeCommand (::CommandContext &context, bool suppressOutput) const
MCAPI void handleOutput (::CommandOrigin const &origin, ::CommandOutput const &output) const
MCAPI void initCoreEnums (::ItemRegistryRef itemRegistry, ::Level const &level, ::ActorFactory const &actorFactory, ::Experiments const &experiments, ::BaseGameVersion const &worldBaseGameVersion)
MCAPI void initCoreEnumsServer (::ActorDefinitionGroup const &actorDefinitionGroup, ::CameraPresets const &cameraPresets, ::Recipes const &recipes)
MCAPI::MCRESULT requestCommandExecution (::CommandContext &context, bool suppressOutput)
MCAPI void runCommand (::HashedString const &commandStr, ::CommandOrigin &origin, ::CurrentCmdVersion commandVersion)
MCAPI void tick ()
MCAPI void * $ctor (::MinecraftCommandsArguments &&args)

Static Public Member Functions

static MCAPI ::CommandOutputType getOutputType (::CommandOrigin const &origin)
static MCAPI void registerSharedClientServerEnums (::CommandRegistry &registry)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ICommandsContextProvider & > mContextProvider
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CommandRegistry > > mRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CommandOutputSender > > mOutputSender
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mOpPermissionLevel
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mChatPermissionsCallback
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::unique_ptr<::Command > > > mCompiledCommandMap
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::DeferredCommandBase > > > mDeferredCommands
::ll::TypedStorage< 8, 8, uint64 > mDeferredScriptCommandCount

Constructor & Destructor Documentation

◆ MinecraftCommands()

MCAPI MinecraftCommands::MinecraftCommands ( ::MinecraftCommandsArguments && args)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ enqueueDeferredCommand()

MCAPI void MinecraftCommands::enqueueDeferredCommand ( ::std::unique_ptr<::CommandContext > context,
bool suppressOutput,
bool isRequest,
::std::function< void(::MCRESULT)> callback )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ enqueueDeferredCompiledCommand()

MCAPI void MinecraftCommands::enqueueDeferredCompiledCommand ( ::gsl::not_null<::Command * > command,
::std::unique_ptr<::CommandOrigin > origin )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initCoreEnums()

MCAPI void MinecraftCommands::initCoreEnums ( ::ItemRegistryRef itemRegistry,
::Level const & level,
::ActorFactory const & actorFactory,
::Experiments const & experiments,
::BaseGameVersion const & worldBaseGameVersion )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initCoreEnumsServer()

MCAPI void MinecraftCommands::initCoreEnumsServer ( ::ActorDefinitionGroup const & actorDefinitionGroup,
::CameraPresets const & cameraPresets,
::Recipes const & recipes )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ requestCommandExecution()

MCAPI::MCRESULT MinecraftCommands::requestCommandExecution ( ::CommandContext & context,
bool suppressOutput )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tick()

MCAPI void MinecraftCommands::tick ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getOutputType()

MCAPI ::CommandOutputType MinecraftCommands::getOutputType ( ::CommandOrigin const & origin)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ registerSharedClientServerEnums()

MCAPI void MinecraftCommands::registerSharedClientServerEnums ( ::CommandRegistry & registry)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * MinecraftCommands::$ctor ( ::MinecraftCommandsArguments && args)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** MinecraftCommands::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: