17class ConsumerComponent :
public ::BaseCircuitComponent {
21 ::ll::TypedStorage<8, 24, ::std::vector<::ConsumerComponent*>> mMultiBlockPartConsumers;
22 ::ll::TypedStorage<1, 1, bool> mSecondaryPowered;
23 ::ll::TypedStorage<1, 1, bool> mPropagatePower;
24 ::ll::TypedStorage<1, 1, bool> mPromotedToProducer;
25 ::ll::TypedStorage<1, 1, bool> mAcceptHalfPulse;
26 ::ll::TypedStorage<1, 1, bool> mAcceptSameDirection;
27 ::ll::TypedStorage<1, 1, bool> mUpdatedByOtherConsumer;
28 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
39 virtual bool addSource(
42 int& bDirectlyPowered,
46 virtual bool canConsumerPower()
const ;
48 virtual bool isSecondaryPowered()
const ;
50 virtual bool needsUpdate() ;
52 virtual ::CircuitComponentType getCircuitComponentType()
const ;
58 MCAPI ConsumerComponent();
77 MCFOLD
bool $canConsumerPower()
const;
79 MCFOLD
bool $isSecondaryPowered()
const;
81 MCAPI
bool $needsUpdate();
83 MCFOLD ::CircuitComponentType $getCircuitComponentType()
const;
91 MCAPI
static void** $vftable();