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

Public Types

enum class  Mode : int { Add = 0 , Clear = 1 , AddInfinite = 2 }
 

Public Member Functions

EffectCommandoperator= (EffectCommand const &)
 
 EffectCommand (EffectCommand const &)
 
virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
 
MCAPI void _add (::CommandSelectorResults<::Actor > &targets, ::CommandOutput &output, ::EffectDuration duration) const
 
MCAPI bool _checkIsValidAmplifierRange (::CommandOutput &output) const
 
MCAPI bool _checkIsValidDuration (::CommandOutput &output) const
 
MCAPI void _clearAllEffects (::CommandSelectorResults<::Actor > &targets, ::CommandOutput &output) const
 
MCAPI void _clearEffect (::CommandSelectorResults<::Actor > &targets, ::CommandOutput &output, ::MobEffect const &effect, bool throwsErrorOnNoEffect) 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 setup (::CommandRegistry &registry)
 
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 (float input, float low, float high, ::CommandOutput &output)
 
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
 
static MCAPI ::std::string const & WILDCARD_TOKEN ()
 

Public Attributes

::ll::UntypedStorage< 8, 200 > mUnk85cfae
 
::ll::UntypedStorage< 4, 4 > mUnkf69413
 
::ll::UntypedStorage< 8, 8 > mUnkf22c7d
 
::ll::UntypedStorage< 4, 4 > mUnkfd7f67
 
::ll::UntypedStorage< 4, 4 > mUnk1dc2c6
 
::ll::UntypedStorage< 1, 1 > mUnkfc96bd
 
::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 EffectCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.


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