Riwmorld
RimWorld.CompPowerBattery Class Reference
Inheritance diagram for RimWorld.CompPowerBattery:
RimWorld.CompPower Verse.ThingComp

Public Member Functions

void AddEnergy (float amount)
 
override string CompInspectStringExtra ()
 
void DrawPower (float amount)
 
override void PostExposeData ()
 
override void ReceiveCompSignal (string signal)
 
- Public Member Functions inherited from RimWorld.CompPower
override IEnumerable< GizmoCompGetGizmosExtra ()
 
override void CompPrintForPowerGrid (SectionLayer layer)
 
void ConnectToTransmitter (CompPower transmitter, bool reconnectingAfterLoading=false)
 
virtual void LostConnectParent ()
 
override void PostDeSpawn (Map map)
 
override void PostPrintOnto (SectionLayer layer)
 
override void PostSpawnSetup ()
 
virtual void ResetPowerVars ()
 
virtual void SetUpPowerVars ()
 
- 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 PostDraw ()
 
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)
 

Properties

float AmountCanAccept [get]
 
new CompProperties_Battery Props [get]
 
float StoredEnergy [get]
 
- Properties inherited from RimWorld.CompPower
RimWorld.PowerNet PowerNet [get]
 
CompProperties_Power Props [get]
 
bool TransmitsPowerNow [get]
 

Additional Inherited Members

- Public Attributes inherited from RimWorld.CompPower
RimWorld.PowerNet transNet
 
CompPower connectParent
 
List< CompPowerconnectChildren
 
- Public Attributes inherited from Verse.ThingComp
ThingWithComps parent
 
CompProperties props
 
- Static Public Attributes inherited from RimWorld.CompPower
static readonly float WattsToWattDaysPerTick
 

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