LeviLamina
Loading...
Searching...
No Matches
MinecraftCommands Class Reference

Public Member Functions

MinecraftCommandsoperator= (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::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_C::MCRESULT requestCommandExecution (::std::unique_ptr<::CommandOrigin > origin, ::std::string const &commandLine, int version, bool suppressOutput)
MCAPI_C void tick ()
MCAPI void * $ctor (::MinecraftCommandsArguments &&args)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::CommandOutputType getOutputType (::CommandOrigin const &origin)
static MCAPI void initBlockEnum (::CommandRegistry &registry, ::BaseGameVersion const &worldBaseGameVersion)
static MCAPI void initEntityEnum (::CommandRegistry &registry, ::ActorFactory const &actorFactory, ::Experiments const &experiments)
static MCAPI void initEntityPropertyEnum (::CommandRegistry &registry, ::Level const &level)
static MCAPI void initItemEnum (::ItemRegistryRef itemRegistry, ::CommandRegistry &registry, ::BaseGameVersion const &worldBaseGameVersion)
static MCAPI void initItemTagEnum (::ItemRegistryRef itemRegistry, ::CommandRegistry &registry)
static MCAPI void initStructureFeatureEnum (::CommandRegistry &registry, ::Experiments const &experiments, ::br::worldgen::StructureRegistry const &structureRegistry)
static MCAPI void initUnlockableRecipesEnum (::CommandRegistry &registry, ::Recipes const &recipes)
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

Member Function Documentation

◆ $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: