Riwmorld
RimWorld.SkillRecord Class Reference
Inheritance diagram for RimWorld.SkillRecord:
Verse.IExposable

Public Member Functions

 SkillRecord (Pawn pawn)
 
 SkillRecord (Pawn pawn, SkillDef def)
 
void ExposeData ()
 
void Interval ()
 
void Learn (float xp, bool direct=false)
 
float LearnRateFactor (bool direct=false)
 
void Notify_SkillDisablesChanged ()
 
override string ToString ()
 
float XpRequiredToLevelUpFrom (int startingLevel)
 

Public Attributes

const int IntervalTicks = 200
 
const int MinLevel = 0
 
const int MaxLevel = 20
 
const int MaxFullRateXpPerDay = 4000
 
const float SaturatedLearningFactor = 0.2f
 
const float LearnFactorPassionNone = 0.333f
 
const float LearnFactorPassionMinor = 1f
 
const float LearnFactorPassionMajor = 1.5f
 
SkillDef def
 
int levelInt
 
Passion passion
 
float xpSinceLastLevel
 
float xpSinceMidnight
 

Properties

bool LearningSaturatedToday [get]
 
int Level [get, set]
 
string LevelDescriptor [get]
 
bool TotallyDisabled [get]
 
float XpProgressPercent [get]
 
float XpRequiredForLevelUp [get]
 
float XpTotalEarned [get]
 

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