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

Public Member Functions

override IEnumerable< string > ConfigErrors ()
 
string ValueToString (float val, ToStringNumberSense numberSense=1)
 
- 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 StatDef Named (string defName)
 

Public Attributes

StatCategoryDef category
 
Type workerClass = typeof(StatWorker)
 
float hideAtValue = -2.14748365E+09f
 
bool showIfUndefined = true
 
bool showOnPawns = true
 
bool showOnHumanlikes = true
 
bool showOnAnimals = true
 
bool showOnMechanoids = true
 
int displayPriorityInCategory
 
ToStringNumberSense toStringNumberSense = ToStringNumberSense.Absolute
 
ToStringStyle toStringStyle
 
string formatString
 
float defaultBaseValue = 1f
 
float minValue
 
float maxValue = 9999999f
 
bool roundValue
 
float roundToFiveOver = Single.MaxValue
 
List< StatDefstatFactors
 
bool applyFactorsIfNegative = true
 
List< SkillNeedskillNeedFactors
 
List< PawnCapacityFactorcapacityFactors
 
SimpleCurve postProcessCurve
 
List< StatPartparts
 
- 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

StatWorker Worker [get]
 
- Properties inherited from Verse.Def
string LabelCap [get]
 

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