Riwmorld
RimWorld.StatDrawEntry Class Reference

Public Member Functions

 StatDrawEntry (StatCategoryDef category, StatDef stat, float value, StatRequest optionalReq, ToStringNumberSense numberSense=0)
 
 StatDrawEntry (StatCategoryDef category, string label, string valueString, int displayPriorityWithinCategory=0)
 
float Draw (float x, float y, float width, bool selected, Action clickedCallback)
 
string GetExplanationText (StatRequest optionalReq)
 
override string ToString ()
 

Public Attributes

StatCategoryDef category
 
StatDef stat
 
StatRequest optionalReq
 
bool hasOptionalReq
 
string overrideReportText
 

Properties

int DisplayPriorityWithinCategory [get]
 
string LabelCap [get]
 
bool ShouldDisplay [get]
 
string ValueString [get]
 

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