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

Public Member Functions

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 *)
virtual void removeFromAnySourceList (::BaseCircuitComponent const *component)
MCAPI void _removeSideSource (::BlockPos const &posSource)
MCAPI void $dtor ()
MCFOLD uchar $getPoweroutDirection () const
MCFOLD bool $allowConnection (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
MCFOLD bool $canConsumePowerAnyDirection () const
MCFOLD bool $canConsumerPower () const
MCAPI void $removeSource (::BlockPos const &posSource, ::BaseCircuitComponent const *)
MCAPI void $removeFromAnySourceList (::BaseCircuitComponent const *component)
virtual::CircuitComponentType getCircuitComponentType () const
MCAPI::CircuitComponentType $getCircuitComponentType () const
virtual bool evaluate (::CircuitSystem &system, ::BlockPos const &pos)
virtual void setStrength (int strength)
virtual bool canStopPower () const
virtual void setStopPower (bool bPower)
MCFOLD void allowAttachments (bool bAttached)
MCAPI void * $ctor ()
MCAPI bool $evaluate (::CircuitSystem &system, ::BlockPos const &pos)
MCAPI void $setStrength (int strength)
MCAPI bool $canStopPower () const
MCAPI void $setStopPower (bool bPower)
virtual int getStrength () const
virtual int getDirection () const
virtual void setOldStrength (short strength)
virtual void setDirection (uchar direction)
virtual void setConsumePowerAnyDirection (bool canConsumePowerAnyDirection)
virtual bool needsUpdate ()
virtual bool addSource (::CircuitSceneGraph &, ::CircuitTrackingInfo const &, int &, bool &)
virtual void checkLock (::CircuitSystem &system, ::BlockPos const &pos)
virtual void cacheValues (::CircuitSystem &system, ::BlockPos const &pos)
virtual void updateDependencies (::CircuitSceneGraph &system, ::BlockPos const &pos)
virtual::RedstoneLogicExecutionFlags getLogicExecutionFlags () const
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 short getOldStrength () const
MCFOLD bool isRemoved () const
MCAPI ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::CircuitComponentList::Item > > > removeFromSourceAndDestinationList (::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::CircuitComponentList::Item > > > iter)
MCFOLD void setRemoved ()
MCAPI bool trackPowerSource (::CircuitTrackingInfo const &info, int dampening, bool directlyPowered, int data, bool isDirectional)
MCFOLD int $getStrength () const
MCFOLD int $getDirection () const
MCAPI void $setOldStrength (short strength)
MCFOLD void $setDirection (uchar direction)
MCFOLD void $setConsumePowerAnyDirection (bool canConsumePowerAnyDirection)
MCAPI bool $needsUpdate ()
MCFOLD bool $addSource (::CircuitSceneGraph &, ::CircuitTrackingInfo const &, int &, bool &)
MCFOLD void $checkLock (::CircuitSystem &system, ::BlockPos const &pos)
MCFOLD void $cacheValues (::CircuitSystem &system, ::BlockPos const &pos)
MCFOLD void $updateDependencies (::CircuitSceneGraph &system, ::BlockPos const &pos)
MCFOLD::RedstoneLogicExecutionFlags $getLogicExecutionFlags () const
MCFOLD bool $allowIndirect () const
MCFOLD bool $isHalfPulse () const
MCAPI bool $hasSource (::BaseCircuitComponent const &source) const
MCFOLD bool $hasChildrenSource () const
MCFOLD bool $isSecondaryPowered () const
MCAPI::CircuitComponentType $getCircuitComponentGroupType () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::CircuitComponentListmSideComponents
::ll::TypedStorage< 8, 8, ::CircuitComponentType const > mCircuitComponentType
::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< 2, 2, short > mStrength
::ll::TypedStorage< 2, 2, short > mOldStrength
::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

◆ getPoweroutDirection()

virtual uchar SidePoweredComponent::getPoweroutDirection ( ) const
virtual

Reimplemented from CapacitorComponent.

◆ allowConnection()

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

Reimplemented from ProducerComponent.

◆ canConsumePowerAnyDirection()

virtual bool SidePoweredComponent::canConsumePowerAnyDirection ( ) const
virtual

Reimplemented from BaseCircuitComponent.

◆ canConsumerPower()

virtual bool SidePoweredComponent::canConsumerPower ( ) const
virtual

Reimplemented from BaseCircuitComponent.

◆ removeSource()

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

Reimplemented from BaseCircuitComponent.

◆ removeFromAnySourceList()

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

Reimplemented from BaseCircuitComponent.

◆ evaluate()

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

Reimplemented from BaseCircuitComponent.

◆ setStrength()

virtual void ProducerComponent::setStrength ( int strength)
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ canStopPower()

virtual bool ProducerComponent::canStopPower ( ) const
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ setStopPower()

virtual void ProducerComponent::setStopPower ( bool bPower)
virtualinherited

Reimplemented from BaseCircuitComponent.


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