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

Public Types

enum class  CameraCommandOption : uchar {
  None = 0 , Set = 1 , Ease = 2 , Pos = 3 ,
  Rot = 4 , FovSet = 5 , FovClear = 6 , Facing = 7 ,
  AttachToEntity = 8 , DetachFromEntity = 9 , PlaySpline = 10 , TargetEntity = 11 ,
  TargetOffset = 12 , RemoveTarget = 13 , ViewOffset = 14 , EntityOffset = 15 ,
  Default = 16 , Clear = 17 , Fade = 18 , Time = 19 ,
  Color = 20
}

Public Member Functions

virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void forEachSelectedPlayersCameraStates (::CommandOrigin const &origin, ::std::function< void(::ServerCameraStatesComponent &)> callback) const
MCAPI bool prepareInstruction (::CameraInstruction &cameraInstruction, ::CameraPresets const &cameraPresets, ::CommandOrigin const &origin, ::CommandOutput &output, ::Experiments const &experiments, ::BaseGameVersion const &baseGameVersion) const
MCAPI void * $ctor ()
MCAPI void $dtor ()
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 bool $collectOptionalArguments ()

Static Public Member Functions

static MCAPI bool resolveInheritance (::std::string &currentPresetName, ::std::string const &parentToStopAt, ::std::vector<::SharedTypes::v1_21_90::CameraPreset > const &presetList)
static MCAPI void setup (::CommandRegistry &registry)
static MCAPI ::BaseGameVersion const & REMOVE_IGNORE_STARTING_VALUE_COMPONENT_VERSION ()
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::TypedStorage< 8, 200, ::CommandSelector<::Player > > mPlayerTargets
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mCommandMode
::ll::TypedStorage< 8, 32, ::std::string > mCameraPresetName
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mEasingOption
::ll::TypedStorage< 4, 4, ::EasingType > mEasingType
::ll::TypedStorage< 4, 4, float > mEasingTime
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mPosOption
::ll::TypedStorage< 4, 16, ::CommandPositionFloatmPos
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mRotOption
::ll::TypedStorage< 4, 8, ::RelativeFloatmRotX
::ll::TypedStorage< 4, 8, ::RelativeFloatmRotY
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mFacingOption
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mFacingEntity
::ll::TypedStorage< 4, 16, ::CommandPositionFloatmFacingPos
::ll::TypedStorage< 1, 1, bool > mFacingIsPosition
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mDefaultOption
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mViewOffsetOption
::ll::TypedStorage< 4, 4, float > mViewOffsetX
::ll::TypedStorage< 4, 4, float > mViewOffsetY
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mEntityOffsetOption
::ll::TypedStorage< 4, 4, float > mEntityOffsetX
::ll::TypedStorage< 4, 4, float > mEntityOffsetY
::ll::TypedStorage< 4, 4, float > mEntityOffsetZ
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mAttachOption
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mAttachToEntity
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mTargetEntityOption
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mTargetOffsetOption
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mTargetEntity
::ll::TypedStorage< 4, 4, float > mTargetCenterOffsetX
::ll::TypedStorage< 4, 4, float > mTargetCenterOffsetY
::ll::TypedStorage< 4, 4, float > mTargetCenterOffsetZ
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mTimeOption
::ll::TypedStorage< 4, 4, float > mFadeInSeconds
::ll::TypedStorage< 4, 4, float > mHoldSeconds
::ll::TypedStorage< 4, 4, float > mFadeOutSeconds
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mColorOption
::ll::TypedStorage< 4, 4, int > mFadeColorR
::ll::TypedStorage< 4, 4, int > mFadeColorG
::ll::TypedStorage< 4, 4, int > mFadeColorB
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mFovOption
::ll::TypedStorage< 4, 4, ::EasingType > mFovEasingType
::ll::TypedStorage< 4, 4, float > mFieldOfView
::ll::TypedStorage< 4, 4, float > mFovEasingTime
::ll::TypedStorage< 1, 1, ::CameraCommand::CameraCommandOption > mSplineOption
::ll::TypedStorage< 8, 32, ::std::string > mSplineName
::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 CameraCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.

◆ $vftable()

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