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

Public Member Functions

bool CanLinkTo (Thing facility)
 
bool CanPotentiallyLinkTo (ThingDef facilityDef, IntVec3 facilityPos, Rot4 facilityRot)
 
void DrawRedLineToPotentiallySupplantedFacility (ThingDef facilityDef, IntVec3 facilityPos, Rot4 facilityRot)
 
float GetStatOffset (StatDef stat)
 
void GetStatsExplanation (StatDef stat, StringBuilder sb)
 
bool IsFacilityActive (Thing facility)
 
bool IsValidFacilityForMe (Thing facility)
 
void Notify_FacilityDespawned ()
 
void Notify_LinkRemoved (Thing thing)
 
void Notify_LOSBlockerSpawnedOrDespawned ()
 
void Notify_NewLink (Thing facility)
 
void Notify_ThingChanged ()
 
override void PostDeSpawn (Map map)
 
override void PostDrawExtraSelectionOverlays ()
 
override void PostSpawnSetup ()
 
- Public Member Functions inherited from Verse.ThingComp
virtual bool AllowStackWith (Thing other)
 
virtual IEnumerable< FloatMenuOptionCompFloatMenuOptions (Pawn selPawn)
 
virtual IEnumerable< GizmoCompGetGizmosExtra ()
 
virtual string CompInspectStringExtra ()
 
virtual void CompPrintForPowerGrid (SectionLayer layer)
 
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 PostExposeData ()
 
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 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)
 

Static Public Member Functions

static bool CanPotentiallyLinkTo_Static (Thing facility, ThingDef myDef, IntVec3 myPos, Rot4 myRot)
 
static bool CanPotentiallyLinkTo_Static (ThingDef facilityDef, IntVec3 facilityPos, Rot4 facilityRot, ThingDef myDef, IntVec3 myPos, Rot4 myRot)
 
static void DrawLinesToPotentialThingsToLinkTo (ThingDef myDef, IntVec3 myPos, Rot4 myRot, Map map)
 
static IEnumerable< ThingPotentialThingsToLinkTo (ThingDef myDef, IntVec3 myPos, Rot4 myRot, Map map)
 

Public Attributes

const float MaxDistToLinkToFacility = 8f
 
- Public Attributes inherited from Verse.ThingComp
ThingWithComps parent
 
CompProperties props
 

Static Public Attributes

static Material InactiveFacilityLineMat
 

Properties

List< ThingLinkedFacilitiesListForReading [get]
 

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