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

Classes

struct  CommandInfo

Public Types

enum class  FacingResult : int { HaveFacing = 0 , NoFacing = 1 , Error = 2 }
enum class  Mode : int {
  Attack = 0 , Collect = 1 , Create = 2 , Detect = 3 ,
  DetectRedstone = 4 , Drop = 5 , DropAll = 6 , GetItemCount = 7 ,
  GetItemDetail = 8 , GetItemSpace = 9 , GetPosition = 10 , InspectData = 11 ,
  Move = 12 , Place = 13 , SetItem = 14 , Till = 15 ,
  Tp = 16 , Transfer = 17 , Turn = 18
}

Public Member Functions

AgentCommandoperator= (AgentCommand const &)
 AgentCommand (AgentCommand const &)
virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void collect (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void createAgent (::Player &player, ::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void createAgentOutputSuccess (::CommandOutput &output, bool wasSpawned) const
MCAPI void directionCommand (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void drop (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void getPosition (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void itemCommand (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void place (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void reportSuccess (bool success, ::CommandOutput &output) const
MCAPI void setItem (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void tpAgent (::Player &player, ::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void transfer (::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 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 (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< 4, 4 > mUnkc34d46
::ll::UntypedStorage< 1, 1 > mUnk7e8cf7
::ll::UntypedStorage< 1, 1 > mUnk17065b
::ll::UntypedStorage< 8, 8 > mUnke3d3be
::ll::UntypedStorage< 4, 4 > mUnkbc3fab
::ll::UntypedStorage< 4, 4 > mUnk5b16fb
::ll::UntypedStorage< 4, 4 > mUnk4cecef
::ll::UntypedStorage< 4, 4 > mUnkd2d3fb
::ll::UntypedStorage< 4, 16 > mUnkbc9d56
::ll::UntypedStorage< 4, 16 > mUnkc5efec
::ll::UntypedStorage< 1, 1 > mUnk5875e3
::ll::UntypedStorage< 4, 4 > mUnk374735
::ll::UntypedStorage< 4, 4 > mUnk51861d
::ll::UntypedStorage< 1, 1 > mUnk9050a1
::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 AgentCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.

◆ $vftable()

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