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

Public Types

enum class  BossbarAction : int {
  Add = 0 , Get = 1 , List = 2 , Remove = 3 ,
  Set = 4
}
enum class  BossbarGetOption : int { Max = 0 , Players = 1 , Value = 2 , Visible = 3 }
enum class  BossbarSetOption : int {
  Color = 0 , Max = 1 , Name = 2 , Players = 3 ,
  Value = 4 , Visible = 5
}

Public Member Functions

virtual void execute (::CommandOrigin const &, ::CommandOutput &) 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
MCFOLD bool $collectOptionalArguments ()

Static Public Member Functions

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)

Public Attributes

::ll::TypedStorage< 4, 4, ::BossbarCommand::BossbarAction > mAction
::ll::TypedStorage< 4, 4, ::BossbarCommand::BossbarGetOption > mGetOption
::ll::TypedStorage< 4, 4, ::BossbarCommand::BossbarSetOption > mSetOption
::ll::TypedStorage< 8, 32, ::std::string > mId
::ll::TypedStorage< 8, 16, ::Json::Value > mName
::ll::TypedStorage< 1, 1, ::BossBarColor > mColor
::ll::TypedStorage< 4, 4, int > mMax
::ll::TypedStorage< 8, 200, ::CommandSelector<::Player > > mTargets
::ll::TypedStorage< 4, 4, int > mValue
::ll::TypedStorage< 1, 1, bool > mVisible
::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, ::CommandFlag > mFlags

Member Function Documentation

◆ execute()

virtual void BossbarCommand::execute ( ::CommandOrigin const & ,
::CommandOutput &  ) const
virtual

Implements Command.


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