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

Public Types

enum class  States : int { Off = 0 , On = 1 , OffLocked = 2 , OnLocked = 3 }
 

Public Member Functions

virtual bool addSource (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)
 
virtual void updateDependencies (::CircuitSceneGraph &system, ::BlockPos const &pos)
 
virtual void checkLock (::CircuitSystem &system, ::BlockPos const &pos)
 
virtual bool evaluate (::CircuitSystem &system, ::BlockPos const &pos)
 
virtual void cacheValues (::CircuitSystem &system, ::BlockPos const &pos)
 
virtual void setStrength (int strength)
 
virtual int getStrength () const
 
virtual::RedstoneLogicExecutionFlags getLogicExecutionFlags () const
 
virtual::CircuitComponentType getCircuitComponentType () const
 
MCAPI bool $addSource (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)
 
MCAPI void $updateDependencies (::CircuitSceneGraph &system, ::BlockPos const &pos)
 
MCAPI void $checkLock (::CircuitSystem &system, ::BlockPos const &pos)
 
MCAPI bool $evaluate (::CircuitSystem &system, ::BlockPos const &pos)
 
MCAPI void $cacheValues (::CircuitSystem &system, ::BlockPos const &pos)
 
MCAPI void $setStrength (int strength)
 
MCAPI int $getStrength () const
 
MCAPI::RedstoneLogicExecutionFlags $getLogicExecutionFlags () const
 
MCAPI::CircuitComponentType $getCircuitComponentType () const
 
virtual uchar getPoweroutDirection () const
 
virtual bool allowConnection (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
 
virtual bool canConsumePowerAnyDirection () const
 
virtual bool canConsumerPower () const
 
virtual void removeSource (::BlockPos const &posSource, ::BaseCircuitComponent const *pComponent)
 
virtual void removeFromAnySourceList (::BaseCircuitComponent const *component)
 
MCAPI void _removeSideSource (::BlockPos const &posSource)
 
MCAPI void $dtor ()
 
MCAPI uchar $getPoweroutDirection () const
 
MCAPI bool $allowConnection (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
 
MCAPI bool $canConsumePowerAnyDirection () const
 
MCAPI bool $canConsumerPower () const
 
MCAPI void $removeSource (::BlockPos const &posSource, ::BaseCircuitComponent const *pComponent)
 
MCAPI void $removeFromAnySourceList (::BaseCircuitComponent const *component)
 
MCAPI void * $ctor ()
 
virtual bool canStopPower () const
 
virtual void setStopPower (bool bPower)
 
MCAPI bool $canStopPower () const
 
MCAPI void $setStopPower (bool bPower)
 
virtual int getDirection () const
 
virtual void setDirection (uchar direction)
 
virtual void setConsumePowerAnyDirection (bool canConsumePowerAnyDirection)
 
virtual bool allowIndirect () const
 
virtual bool isHalfPulse () const
 
virtual bool hasSource (::BaseCircuitComponent const &source) const
 
virtual bool hasChildrenSource () const
 
virtual bool isSecondaryPowered () const
 
virtual::CircuitComponentType getCircuitComponentGroupType () const
 
MCAPI void addSourceItem (::CircuitComponentList::Item const &item)
 
MCAPI bool trackPowerSource (::CircuitTrackingInfo const &info, int dampening, bool directlyPowered, int data, bool isDirectional)
 
MCAPI int $getDirection () const
 
MCAPI void $setDirection (uchar direction)
 
MCAPI void $setConsumePowerAnyDirection (bool canConsumePowerAnyDirection)
 
MCAPI bool $allowIndirect () const
 
MCAPI bool $isHalfPulse () const
 
MCAPI bool $hasSource (::BaseCircuitComponent const &source) const
 
MCAPI bool $hasChildrenSource () const
 
MCAPI bool $isSecondaryPowered () const
 
MCAPI::CircuitComponentType $getCircuitComponentGroupType () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 4, 20, ::RepeaterCapacitor::States[5]> mOnStates
 
::ll::TypedStorage< 4, 4, int > mInsertAt
 
::ll::TypedStorage< 1, 1, bool > mPowered
 
::ll::TypedStorage< 1, 1, bool > mNextPower
 
::ll::TypedStorage< 1, 1, bool > mLocked
 
::ll::TypedStorage< 4, 4, int > mPulseCount
 
::ll::TypedStorage< 1, 1, bool > mPulse
 
::ll::TypedStorage< 1, 1, bool > mNextPulse
 
::ll::TypedStorage< 8, 8, ::CircuitComponentType const > mCircuitComponentType
 
::ll::TypedStorage< 8, 24, ::CircuitComponentListmSideComponents
 
::ll::TypedStorage< 4, 4, int > mNextStrength
 
::ll::TypedStorage< 1, 1, bool > mAttachedAllowed
 
::ll::TypedStorage< 1, 1, bool > mStopPower
 
::ll::TypedStorage< 8, 24, ::CircuitComponentListmSources
 
::ll::TypedStorage< 8, 16, ::Core::RefCountedSet<::BaseCircuitComponent * > > mDestinations
 
::ll::TypedStorage< 1, 1, bool > mIgnoreFirstUpdate
 
::ll::TypedStorage< 1, 1, bool > mIsFirstTime
 
::ll::TypedStorage< 1, 1, bool > mNeedsUpdate
 
::ll::TypedStorage< 4, 12, ::BlockPosmPos
 
::ll::TypedStorage< 4, 12, ::BlockPosmChunkPosition
 
::ll::TypedStorage< 1, 1, bool > mShouldEvaluate
 
::ll::TypedStorage< 4, 4, int > mStrength
 
::ll::TypedStorage< 1, 1, uchar > mDirection
 
::ll::TypedStorage< 1, 1, bool > mAllowPowerUp
 
::ll::TypedStorage< 1, 1, bool > mAllowPowerDown
 
::ll::TypedStorage< 1, 1, bool > mRemoved
 
::ll::TypedStorage< 1, 1, bool > mConsumePowerAnyDirection
 

Member Function Documentation

◆ addSource()

virtual bool RepeaterCapacitor::addSource ( ::CircuitSceneGraph & graph,
::CircuitTrackingInfo const & info,
int & dampening,
bool & bDirectlyPowered )
virtual

Reimplemented from BaseCircuitComponent.

◆ updateDependencies()

virtual void RepeaterCapacitor::updateDependencies ( ::CircuitSceneGraph & system,
::BlockPos const & pos )
virtual

Reimplemented from BaseCircuitComponent.

◆ checkLock()

virtual void RepeaterCapacitor::checkLock ( ::CircuitSystem & system,
::BlockPos const & pos )
virtual

Reimplemented from BaseCircuitComponent.

◆ evaluate()

virtual bool RepeaterCapacitor::evaluate ( ::CircuitSystem & system,
::BlockPos const & pos )
virtual

Reimplemented from ProducerComponent.

◆ cacheValues()

virtual void RepeaterCapacitor::cacheValues ( ::CircuitSystem & system,
::BlockPos const & pos )
virtual

Reimplemented from BaseCircuitComponent.

◆ setStrength()

virtual void RepeaterCapacitor::setStrength ( int strength)
virtual

Reimplemented from ProducerComponent.

◆ getStrength()

virtual int RepeaterCapacitor::getStrength ( ) const
virtual

Reimplemented from BaseCircuitComponent.

◆ $addSource()

MCAPI bool RepeaterCapacitor::$addSource ( ::CircuitSceneGraph & graph,
::CircuitTrackingInfo const & info,
int & dampening,
bool & bDirectlyPowered )
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.

◆ $updateDependencies()

MCAPI void RepeaterCapacitor::$updateDependencies ( ::CircuitSceneGraph & system,
::BlockPos const & pos )
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.

◆ $checkLock()

MCAPI void RepeaterCapacitor::$checkLock ( ::CircuitSystem & system,
::BlockPos const & pos )
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.

◆ $evaluate()

MCAPI bool RepeaterCapacitor::$evaluate ( ::CircuitSystem & system,
::BlockPos const & pos )
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.

◆ $cacheValues()

MCAPI void RepeaterCapacitor::$cacheValues ( ::CircuitSystem & system,
::BlockPos const & pos )
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.

◆ $setStrength()

MCAPI void RepeaterCapacitor::$setStrength ( int strength)
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.

◆ $getStrength()

MCAPI int RepeaterCapacitor::$getStrength ( ) const
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.

◆ $getLogicExecutionFlags()

MCAPI::RedstoneLogicExecutionFlags RepeaterCapacitor::$getLogicExecutionFlags ( ) const
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.

◆ $getCircuitComponentType()

MCAPI::CircuitComponentType RepeaterCapacitor::$getCircuitComponentType ( ) const
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.

◆ $vftable()

static MCAPI void ** RepeaterCapacitor::$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.

◆ getPoweroutDirection()

virtual uchar SidePoweredComponent::getPoweroutDirection ( ) const
virtualinherited

Reimplemented from CapacitorComponent.

◆ allowConnection()

virtual bool SidePoweredComponent::allowConnection ( ::CircuitSceneGraph & graph,
::CircuitTrackingInfo const & info,
bool & bDirectlyPowered )
virtualinherited

Reimplemented from ProducerComponent.

◆ canConsumePowerAnyDirection()

virtual bool SidePoweredComponent::canConsumePowerAnyDirection ( ) const
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ canConsumerPower()

virtual bool SidePoweredComponent::canConsumerPower ( ) const
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ removeSource()

virtual void SidePoweredComponent::removeSource ( ::BlockPos const & posSource,
::BaseCircuitComponent const * pComponent )
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ removeFromAnySourceList()

virtual void SidePoweredComponent::removeFromAnySourceList ( ::BaseCircuitComponent const * component)
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ _removeSideSource()

MCAPI void SidePoweredComponent::_removeSideSource ( ::BlockPos const & posSource)
inherited
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.

◆ $dtor()

MCAPI void SidePoweredComponent::$dtor ( )
inherited
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.

◆ $getPoweroutDirection()

MCAPI uchar SidePoweredComponent::$getPoweroutDirection ( ) const
inherited
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.

◆ $allowConnection()

MCAPI bool SidePoweredComponent::$allowConnection ( ::CircuitSceneGraph & graph,
::CircuitTrackingInfo const & info,
bool & bDirectlyPowered )
inherited
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.

◆ $canConsumePowerAnyDirection()

MCAPI bool SidePoweredComponent::$canConsumePowerAnyDirection ( ) const
inherited
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.

◆ $canConsumerPower()

MCAPI bool SidePoweredComponent::$canConsumerPower ( ) const
inherited
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.

◆ $removeSource()

MCAPI void SidePoweredComponent::$removeSource ( ::BlockPos const & posSource,
::BaseCircuitComponent const * pComponent )
inherited
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.

◆ $removeFromAnySourceList()

MCAPI void SidePoweredComponent::$removeFromAnySourceList ( ::BaseCircuitComponent const * component)
inherited
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.

◆ $ctor()

MCAPI void * CapacitorComponent::$ctor ( )
inherited
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.

◆ canStopPower()

virtual bool ProducerComponent::canStopPower ( ) const
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ setStopPower()

virtual void ProducerComponent::setStopPower ( bool bPower)
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ $canStopPower()

MCAPI bool ProducerComponent::$canStopPower ( ) const
inherited
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.

◆ $setStopPower()

MCAPI void ProducerComponent::$setStopPower ( bool bPower)
inherited
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.

◆ addSourceItem()

MCAPI void BaseCircuitComponent::addSourceItem ( ::CircuitComponentList::Item const & item)
inherited
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.

◆ trackPowerSource()

MCAPI bool BaseCircuitComponent::trackPowerSource ( ::CircuitTrackingInfo const & info,
int dampening,
bool directlyPowered,
int data,
bool isDirectional )
inherited
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.

◆ $getDirection()

MCAPI int BaseCircuitComponent::$getDirection ( ) const
inherited
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.

◆ $setDirection()

MCAPI void BaseCircuitComponent::$setDirection ( uchar direction)
inherited
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.

◆ $setConsumePowerAnyDirection()

MCAPI void BaseCircuitComponent::$setConsumePowerAnyDirection ( bool canConsumePowerAnyDirection)
inherited
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.

◆ $allowIndirect()

MCAPI bool BaseCircuitComponent::$allowIndirect ( ) const
inherited
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.

◆ $isHalfPulse()

MCAPI bool BaseCircuitComponent::$isHalfPulse ( ) const
inherited
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.

◆ $hasSource()

MCAPI bool BaseCircuitComponent::$hasSource ( ::BaseCircuitComponent const & source) const
inherited
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.

◆ $hasChildrenSource()

MCAPI bool BaseCircuitComponent::$hasChildrenSource ( ) const
inherited
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.

◆ $isSecondaryPowered()

MCAPI bool BaseCircuitComponent::$isSecondaryPowered ( ) const
inherited
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.

◆ $getCircuitComponentGroupType()

MCAPI::CircuitComponentType BaseCircuitComponent::$getCircuitComponentGroupType ( ) const
inherited
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: