Riwmorld
RimWorld.CompPowerTrader Class Reference
Inheritance diagram for RimWorld.CompPowerTrader:
RimWorld.CompPower Verse.ThingComp RimWorld.CompPowerPlant RimWorld.CompPowerPlantSolar RimWorld.CompPowerPlantSteam RimWorld.CompPowerPlantWind

Public Member Functions

override string CompInspectStringExtra ()
 
override void LostConnectParent ()
 
override void PostDeSpawn (Map map)
 
override void PostDraw ()
 
override void PostExposeData ()
 
override void PostSpawnSetup ()
 
override void ReceiveCompSignal (string signal)
 
override void ResetPowerVars ()
 
override void SetUpPowerVars ()
 
- Public Member Functions inherited from RimWorld.CompPower
override IEnumerable< GizmoCompGetGizmosExtra ()
 
override void CompPrintForPowerGrid (SectionLayer layer)
 
void ConnectToTransmitter (CompPower transmitter, bool reconnectingAfterLoading=false)
 
override void PostPrintOnto (SectionLayer layer)
 
- Public Member Functions inherited from Verse.ThingComp
virtual bool AllowStackWith (Thing other)
 
virtual IEnumerable< FloatMenuOptionCompFloatMenuOptions (Pawn selPawn)
 
virtual void CompTick ()
 
virtual void CompTickRare ()
 
virtual string GetDescriptionPart ()
 
virtual void Initialize (CompProperties props)
 
virtual void PostDestroy (DestroyMode mode, Map previousMap)
 
virtual void PostDrawExtraSelectionOverlays ()
 
virtual void PostIngested (Pawn ingester)
 
virtual void PostPostApplyDamage (DamageInfo dinfo, float totalDamageDealt)
 
virtual void PostPreApplyDamage (DamageInfo dinfo, out bool absorbed)
 
virtual void PostSplitOff (Thing piece)
 
virtual void PreAbsorbStack (Thing otherStack, int count)
 
virtual void PrePreTraded (TradeAction action, Pawn playerNegotiator, ITrader trader)
 
override string ToString ()
 
virtual string TransformLabel (string label)
 

Public Attributes

const string PowerTurnedOnSignal = "PowerTurnedOn"
 
const string PowerTurnedOffSignal = "PowerTurnedOff"
 
Action powerStartedAction
 
Action powerStoppedAction
 
float powerOutputInt
 
- Public Attributes inherited from RimWorld.CompPower
RimWorld.PowerNet transNet
 
CompPower connectParent
 
List< CompPowerconnectChildren
 
- Public Attributes inherited from Verse.ThingComp
ThingWithComps parent
 
CompProperties props
 

Protected Attributes

CompFlickable flickableComp
 

Properties

string DebugString [get]
 
bool DesirePowerOn [get]
 
float EnergyOutputPerTick [get]
 
bool PowerOn [get, set]
 
float PowerOutput [get, set]
 
- Properties inherited from RimWorld.CompPower
RimWorld.PowerNet PowerNet [get]
 
CompProperties_Power Props [get]
 
bool TransmitsPowerNow [get]
 

Additional Inherited Members

- Static Public Attributes inherited from RimWorld.CompPower
static readonly float WattsToWattDaysPerTick
 

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