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

Public Member Functions

MCAPI MinecraftCommands (::Minecraft &minecraft)
 
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 isRequest, bool callback, ::std::function< void(::MCRESULT)> suppressOutput)
 
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 * $ctor (::Minecraft &minecraft)
 
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 &structureRegistry, ::br::worldgen::StructureRegistry const &experiments)
 
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, ::std::unique_ptr<::CommandOutputSender > > mOutputSender
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CommandRegistry > > mRegistry
 
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mOpPermissionLevel
 
::ll::TypedStorage< 8, 8, ::Minecraft & > mMinecraft
 
::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
 

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