LeviLamina
Loading...
Searching...
No Matches
GameRuleCommand Class Reference
Inheritance diagram for GameRuleCommand:

Classes

struct  InitProxy

Public Member Functions

GameRuleCommandoperator= (GameRuleCommand const &)
 GameRuleCommand (GameRuleCommand const &)
virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void getGameRule (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void setGameRule (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void $execute (::CommandOrigin const &origin, ::CommandOutput &output) const
LLNDAPI std::string getCommandName () const
virtual bool collectOptionalArguments ()
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 MCAPI void createJsonIndex (::std::string const &ruleName, ::GameRule const &rule, ::Json::Value &json, ::std::string *value)
static MCAPI void setup (::CommandRegistry &registry, ::GameRuleCommand::InitProxy &&dependencies)
static MCAPI void ** $vftable ()
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 ()

Public Attributes

::ll::UntypedStorage< 8, 32 > mUnk8beb94
::ll::UntypedStorage< 4, 4 > mUnk429d60
::ll::UntypedStorage< 4, 4 > mUnk4140a0
::ll::UntypedStorage< 1, 1 > mUnk7e7790
::ll::UntypedStorage< 1, 1 > mUnk4dbe3f
::ll::UntypedStorage< 1, 1 > mUnkf282fd
::ll::UntypedStorage< 1, 1 > mUnke07538
::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

◆ execute()

virtual void GameRuleCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.

◆ $vftable()

MCAPI void ** GameRuleCommand::$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: