Riwmorld
RimWorld.CompRefuelable Class Reference
Inheritance diagram for RimWorld.CompRefuelable:
Verse.ThingComp

Public Member Functions

override IEnumerable< GizmoCompGetGizmosExtra ()
 
override string CompInspectStringExtra ()
 
override void CompTick ()
 
void ConsumeFuel (float amount)
 
int GetFuelCountToFullyRefuel ()
 
override void Initialize (CompProperties props)
 
void Notify_UsedThisTick ()
 
override void PostDestroy (DestroyMode mode, Map previousMap)
 
override void PostDraw ()
 
override void PostExposeData ()
 
void Refuel (Thing fuelThing)
 
- Public Member Functions inherited from Verse.ThingComp
virtual bool AllowStackWith (Thing other)
 
virtual IEnumerable< FloatMenuOptionCompFloatMenuOptions (Pawn selPawn)
 
virtual void CompPrintForPowerGrid (SectionLayer layer)
 
virtual void CompTickRare ()
 
virtual string GetDescriptionPart ()
 
virtual void PostDeSpawn (Map map)
 
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 PostPrintOnto (SectionLayer layer)
 
virtual void PostSpawnSetup ()
 
virtual void PostSplitOff (Thing piece)
 
virtual void PreAbsorbStack (Thing otherStack, int count)
 
virtual void PrePreTraded (TradeAction action, Pawn playerNegotiator, ITrader trader)
 
virtual void ReceiveCompSignal (string signal)
 
override string ToString ()
 
virtual string TransformLabel (string label)
 

Public Attributes

const string RefueledSignal = "Refueled"
 
const string RanOutOfFuelSignal = "RanOutOfFuel"
 
- Public Attributes inherited from Verse.ThingComp
ThingWithComps parent
 
CompProperties props
 

Properties

float Fuel [get]
 
float FuelPercentOfMax [get]
 
float FuelPercentOfTarget [get]
 
bool HasFuel [get]
 
bool IsFull [get]
 
CompProperties_Refuelable Props [get]
 
bool ShouldAutoRefuelNow [get]
 
float TargetFuelLevel [get, set]
 

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