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

Public Member Functions

virtual void init ()
virtual bool setBlockTypeMode (::CommandBlockMode mode)
virtual bool setConditional (bool mode)
virtual bool setRedstone (bool mode)
virtual void saveAndExit ()
virtual::CommandBlockMode getCommandBlockTypeMode () const
virtual bool isConditionalMode () const
virtual bool isRedstoneMode () const
virtual bool getLastPerformedConditionalMode ()
virtual bool getLastPerformedRedstoneMode ()
virtual::CommandBlockMode getLastPerformedCBMode ()
virtual::BaseCommandBlock * getBaseCommandBlock ()
virtual ::std::unique_ptr<::CommandOrigingetCommandOrigin () const
virtual bool isMinecartCommandBlock () const
MCAPI CommandBlockManager (::Player &player, ::BlockPos pos, ::ActorUniqueID entityUniqueID)
MCAPI::CommandBlockActor * _getCommandBlockEntity ()
MCAPI void * $ctor (::Player &player, ::BlockPos pos, ::ActorUniqueID entityUniqueID)
MCAPI void $init ()
MCAPI bool $setBlockTypeMode (::CommandBlockMode mode)
MCAPI bool $setConditional (bool mode)
MCAPI bool $setRedstone (bool mode)
MCAPI void $saveAndExit ()
MCAPI::CommandBlockMode $getCommandBlockTypeMode () const
MCAPI bool $isConditionalMode () const
MCAPI bool $isRedstoneMode () const
MCAPI bool $getLastPerformedConditionalMode ()
MCAPI bool $getLastPerformedRedstoneMode ()
MCAPI::CommandBlockMode $getLastPerformedCBMode ()
MCAPI::BaseCommandBlock * $getBaseCommandBlock ()
MCAPI ::std::unique_ptr<::CommandOrigin$getCommandOrigin () const
MCFOLD bool $isMinecartCommandBlock () const
virtual bool setCommand (::std::string const &command)
virtual bool setHoverName (::Bedrock::Safety::RedactableString const &name)
virtual bool setTickDelay (uint delay)
virtual bool setShouldExecuteOnFirstTick (bool shouldExecute)
virtual bool setLastOutput (::std::string const &lastOutput)
virtual bool setTrackOutput (bool trackOutput)
virtual::std::string const & getCommand () const
virtual::std::string const & getOutput () const
virtual bool getTrackOutput () const
virtual::Bedrock::Safety::RedactableString const & getHoverName () const
virtual uint getTickDelay () const
virtual bool shouldExecuteOnFirstTick () const
MCAPI void _loadFromBaseCommandBlock ()
MCAPI void _saveToBaseCommandBlock (::BaseCommandBlock &baseCommandBlock)
MCAPI void $dtor ()
MCAPI bool $setCommand (::std::string const &command)
MCAPI bool $setHoverName (::Bedrock::Safety::RedactableString const &name)
MCAPI bool $setTickDelay (uint delay)
MCAPI bool $setShouldExecuteOnFirstTick (bool shouldExecute)
MCAPI bool $setLastOutput (::std::string const &lastOutput)
MCAPI bool $setTrackOutput (bool trackOutput)
MCFOLD::std::string const & $getCommand () const
MCFOLD::std::string const & $getOutput () const
MCAPI bool $getTrackOutput () const
MCFOLD::Bedrock::Safety::RedactableString const & $getHoverName () const
MCFOLD uint $getTickDelay () const
MCAPI bool $shouldExecuteOnFirstTick () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 2, 2, ::CommandBlockMode > mCBMode
::ll::TypedStorage< 1, 1, bool > mIsConditionalMode
::ll::TypedStorage< 1, 1, bool > mIsRedstoneMode
::ll::TypedStorage< 8, 8, ::Player & > mPlayer
::ll::TypedStorage< 4, 12, ::BlockPosmBlockPos
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmActorUniqueId
::ll::TypedStorage< 8, 32, ::std::string > mCommand
::ll::TypedStorage< 8, 32, ::std::string > mLastOutput
::ll::TypedStorage< 8, 72, ::Bedrock::Safety::RedactableStringmHoverName
::ll::TypedStorage< 4, 4, uint > mTickDelay
::ll::TypedStorage< 1, 1, bool > mExecuteOnFirstTick
::ll::TypedStorage< 1, 1, bool > mTrackOutput

Member Function Documentation

◆ init()

virtual void CommandBlockManager::init ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ setBlockTypeMode()

virtual bool CommandBlockManager::setBlockTypeMode ( ::CommandBlockMode mode)
virtual

Reimplemented from MinecartCommandBlockManager.

◆ setConditional()

virtual bool CommandBlockManager::setConditional ( bool mode)
virtual

Reimplemented from MinecartCommandBlockManager.

◆ setRedstone()

virtual bool CommandBlockManager::setRedstone ( bool mode)
virtual

Reimplemented from MinecartCommandBlockManager.

◆ saveAndExit()

virtual void CommandBlockManager::saveAndExit ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ isConditionalMode()

virtual bool CommandBlockManager::isConditionalMode ( ) const
virtual

Reimplemented from MinecartCommandBlockManager.

◆ isRedstoneMode()

virtual bool CommandBlockManager::isRedstoneMode ( ) const
virtual

Reimplemented from MinecartCommandBlockManager.

◆ getLastPerformedConditionalMode()

virtual bool CommandBlockManager::getLastPerformedConditionalMode ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ getLastPerformedRedstoneMode()

virtual bool CommandBlockManager::getLastPerformedRedstoneMode ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ isMinecartCommandBlock()

virtual bool CommandBlockManager::isMinecartCommandBlock ( ) const
virtual

Reimplemented from MinecartCommandBlockManager.

◆ $vftable()

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