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

Public Types

enum class  ReplaceMode : int { Destroy = 0 , Keep = 1 }
 
enum class  TargetType : int { Block = 0 , Entity = 1 , Undefined = 2 }
 

Public Member Functions

ReplaceItemCommandoperator= (ReplaceItemCommand const &)
 
 ReplaceItemCommand (ReplaceItemCommand const &)
 
virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
 
MCAPI void _outputError (::CommandOutput &output, ::Util::ReplacementResults errorDetails, ::std::string const &itemName) 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< 4, 4 > mUnk6bda8f
 
::ll::UntypedStorage< 8, 200 > mUnkb10f21
 
::ll::UntypedStorage< 4, 16 > mUnkbda761
 
::ll::UntypedStorage< 4, 4 > mUnk9efdb3
 
::ll::UntypedStorage< 4, 4 > mUnka83d6b
 
::ll::UntypedStorage< 4, 4 > mUnka988eb
 
::ll::UntypedStorage< 8, 8 > mUnkdbbbdc
 
::ll::UntypedStorage< 4, 4 > mUnk75667f
 
::ll::UntypedStorage< 4, 4 > mUnk81ecf3
 
::ll::UntypedStorage< 4, 4 > mUnk4dead2
 
::ll::UntypedStorage< 8, 16 > mUnke1eaec
 
::ll::UntypedStorage< 1, 1 > mUnkf5c953
 
::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 ReplaceItemCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.


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