Riwmorld
RimWorld.IncidentDef Class Reference
Inheritance diagram for RimWorld.IncidentDef:
Verse.Def Verse.Editable

Public Member Functions

override IEnumerable< string > ConfigErrors ()
 
bool TargetAllowed (IIncidentTarget target)
 
bool TargetTypeAllowed (IncidentTargetType target)
 
- Public Member Functions inherited from Verse.Def
virtual void ClearCachedData ()
 
override IEnumerable< string > ConfigErrors ()
 
override int GetHashCode ()
 
virtual IEnumerable< StatDrawEntrySpecialDisplayStats ()
 
override string ToString ()
 
- Public Member Functions inherited from Verse.Editable
virtual void PostLoad ()
 
virtual void ResolveReferences ()
 

Static Public Member Functions

static IncidentDef Named (string defName)
 

Public Attributes

Type workerClass
 
IncidentTargetType targetType
 
float baseChance
 
IncidentCategory category = IncidentCategory.Misc
 
IncidentPopulationEffect populationEffect = IncidentPopulationEffect.None
 
int earliestDay
 
int minRefireDays
 
int minDifficulty
 
bool pointsScaleable
 
float minThreatPoints = -1f
 
List< BiomeDefallowedBiomes
 
List< string > tags
 
List< string > refireCheckTags
 
string letterText
 
string letterLabel
 
LetterType letterType
 
MapConditionDef mapCondition
 
FloatRange durationDays
 
List< PawnKindDefpawnKinds
 
HediffDef diseaseIncident
 
FloatRange diseaseVictimFractionRange = new FloatRange(0f, 0.49f)
 
int diseaseMaxVictims = 99999
 
List< BiomeDiseaseRecorddiseaseBiomeRecords
 
List< BodyPartDefdiseasePartsToAffect
 
ThingDef shipPart
 
List< MTBByBiomemtbDaysByBiome
 
- Public Attributes inherited from Verse.Def
const string DefaultDefName = "UnnamedDef"
 
string defName = "UnnamedDef"
 
string label
 
string description
 
ushort shortHash
 
ushort index = 65535
 
ushort debugRandomId = (ushort)Rand.RangeInclusive(0, 65535)
 

Properties

bool NeedsParms [get]
 
List< IncidentDefRefireCheckIncidents [get]
 
IncidentWorker Worker [get]
 
- Properties inherited from Verse.Def
string LabelCap [get]
 

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