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

Public Member Functions

virtual bool canConsumePowerAnyDirection () const
virtual bool allowConnection (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
virtual bool addSource (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)
virtual::CircuitComponentType getCircuitComponentType () const
MCFOLD bool $canConsumePowerAnyDirection () const
MCFOLD bool $allowConnection (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
MCAPI bool $addSource (::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)
MCAPI::CircuitComponentType $getCircuitComponentType () const
virtual bool evaluate (::CircuitSystem &system, ::BlockPos const &pos)
virtual bool canConsumerPower () const
virtual bool isSecondaryPowered () const
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI bool $evaluate (::CircuitSystem &system, ::BlockPos const &pos)
MCFOLD bool $canConsumerPower () const
MCAPI bool $isSecondaryPowered () const
virtual int getStrength () const
virtual int getDirection () const
virtual void setStrength (int strength)
virtual void setDirection (uchar direction)
virtual void setConsumePowerAnyDirection (bool canConsumePowerAnyDirection)
virtual bool canStopPower () const
virtual void setStopPower (bool bPower)
virtual void removeSource (::BlockPos const &posSource, ::BaseCircuitComponent const *pComponent)
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 void removeFromAnySourceList (::BaseCircuitComponent const *component)
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)
MCFOLD int $getStrength () const
MCFOLD int $getDirection () const
MCFOLD void $setStrength (int strength)
MCAPI void $setDirection (uchar direction)
MCFOLD void $setConsumePowerAnyDirection (bool canConsumePowerAnyDirection)
MCFOLD bool $canStopPower () const
MCFOLD void $setStopPower (bool bPower)
MCAPI void $removeSource (::BlockPos const &posSource, ::BaseCircuitComponent const *pComponent)
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
MCAPI void $removeFromAnySourceList (::BaseCircuitComponent const *component)
MCAPI::CircuitComponentType $getCircuitComponentGroupType () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, uchar > mBlockedFace
::ll::TypedStorage< 8, 8, ::CircuitComponentType const > mCircuitComponentType
::ll::TypedStorage< 1, 1, bool > mSecondaryPowered
::ll::TypedStorage< 1, 1, bool > mPropagatePower
::ll::TypedStorage< 1, 1, bool > mPromotedToProducer
::ll::TypedStorage< 1, 1, bool > mAcceptHalfPulse
::ll::TypedStorage< 1, 1, bool > mAcceptSameDirection
::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

◆ canConsumePowerAnyDirection()

virtual bool PistonConsumer::canConsumePowerAnyDirection ( ) const
virtual

Reimplemented from BaseCircuitComponent.

◆ allowConnection()

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

Reimplemented from ConsumerComponent.

◆ addSource()

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

Reimplemented from ConsumerComponent.

◆ evaluate()

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

Reimplemented from BaseCircuitComponent.

◆ canConsumerPower()

virtual bool ConsumerComponent::canConsumerPower ( ) const
virtualinherited

Reimplemented from BaseCircuitComponent.

◆ isSecondaryPowered()

virtual bool ConsumerComponent::isSecondaryPowered ( ) const
virtualinherited

Reimplemented from BaseCircuitComponent.


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