LeviLamina
Loading...
Searching...
No Matches
ll::command::RuntimeCommand Class Referenceabstract
Inheritance diagram for ll::command::RuntimeCommand:

Public Types

using Fn = std::function<void(CommandOrigin const&, CommandOutput&, RuntimeCommand const&)>

Public Member Functions

void execute (CommandOrigin const &, CommandOutput &) const override
LLNDAPI ParamStorageType const & operator[] (std::string_view name) const
LLNDAPI ParamStorageType const & operator[] (size_t idx) const
LLNDAPI std::string getCommandName () const
virtual bool collectOptionalArguments ()
virtual void execute (::CommandOrigin const &, ::CommandOutput &) const =0
MCAPI void run (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void sendTelemetry (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI bool shouldSendTelemetry (::CommandOrigin const &origin) const
MCFOLD void $dtor ()
MCFOLD bool $collectOptionalArguments ()

Static Public Member Functions

static void * operator new (size_t)=delete
static LLNDAPI void * operator new (size_t, uint paramCount)
static LLAPI void operator delete (void *, uint paramCount)
static LLAPI void operator delete (void *)
static MCAPI bool isTemplateLockedAction (::CommandOrigin const &origin)
static MCAPI bool isWildcard (::CommandSelectorBase const &selector)
static MCAPI bool shouldUseCommandOriginRotation (::CommandOrigin const &origin, int version)
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
static MCAPI bool validRange (float input, float low, float high, ::CommandOutput &output)
static MCAPI ::std::string const & WILDCARD_TOKEN ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 8, 8, ::CommandRegistry const * > mRegistry
::ll::TypedStorage< 4, 4, int > mCommandSymbol
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mPermissionLevel
::ll::TypedStorage< 2, 2, ::CommandFlagmFlags

Member Function Documentation

◆ $vftable()

MCAPI void ** Command::$vftable ( )
staticinherited
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: