Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
StatsHygiene Class Reference
Inheritance diagram for StatsHygiene:
Stats BaseStats EClass

Static Public Member Functions

static int GetAffinityMod (int phase)
 
- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 

Static Public Attributes

const int VeryClean = 5
 
const int Clean = 4
 
const int Normal = 3
 
const int Dirty = 2
 
const int Filthy = 1
 
const int Garbage = 0
 
static int[] listMod = new int[6] { 10, 50, 80, 100, 110, 115 }
 
- Static Public Attributes inherited from Stats
static StatsHunger Hunger
 
static StatsBurden Burden
 
static StatsStamina Stamina
 
static StatsSleepiness Sleepiness
 
static Stats Depression
 
static Stats Bladder
 
static StatsHygiene Hygiene
 
static StatsMana Mana
 
static StatsSAN SAN
 
- Static Public Attributes inherited from BaseStats
static Chara CC
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

override int max [get]
 
- Properties inherited from Stats
virtual int value [get, set]
 
virtual int max [get, set]
 
string name [get]
 
virtual bool TrackPhaseChange [get]
 
virtual int min [get]
 
- Properties inherited from BaseStats
SourceStat.Row source [get]
 
virtual Emo2 EmoIcon [get]
 
virtual ConditionType Type [get]
 
virtual string idSprite [get]
 
virtual bool ShowInWidget [get]
 
virtual Chara Owner [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Public Member Functions inherited from Stats
override int GetValue ()
 
override string ToString ()
 
override string GetText ()
 
override Color GetColor (Gradient g)
 
Stats Set (int[] _raw, int _rawIndex, Chara _CC)
 
override int GetPhase ()
 
virtual void Set (int a)
 
virtual void Mod (int a)
 
virtual void OnChangePhase (int phase, int lastPhase)
 
- Public Member Functions inherited from BaseStats
virtual Color GetColor (Gradient gradient)
 
virtual Color GetColor (SkinColorProfile c)
 
Color GetColor ()
 
virtual string GetText ()
 
virtual string GetPhaseStr ()
 
virtual int GetValue ()
 
virtual Sprite GetSprite ()
 
virtual void SetText (UIText t, SkinColorProfile cols=null)
 
virtual int GetPhase ()
 
void PopText ()
 
virtual void WriteNote (UINote n, Action< UINote > onWriteNote=null)
 
virtual void _WriteNote (UINote n, bool asChild=false)
 
- Public Attributes inherited from Stats
int rawIndex
 
int[] raw
 
- Public Attributes inherited from BaseStats
int id
 
SourceStat.Row _source
 

Detailed Description

Definition at line 1 of file StatsHygiene.cs.

Member Function Documentation

◆ GetAffinityMod()

static int StatsHygiene.GetAffinityMod ( int  phase)
inlinestatic

Definition at line 19 of file StatsHygiene.cs.

20 {
21 return listMod.TryGet(phase);
22 }
static int[] listMod
Definition: StatsHygiene.cs:15

References listMod.

Referenced by Chara.ModAffinity().

Member Data Documentation

◆ Clean

const int StatsHygiene.Clean = 4
static

Definition at line 5 of file StatsHygiene.cs.

◆ Dirty

const int StatsHygiene.Dirty = 2
static

Definition at line 9 of file StatsHygiene.cs.

◆ Filthy

const int StatsHygiene.Filthy = 1
static

Definition at line 11 of file StatsHygiene.cs.

◆ Garbage

const int StatsHygiene.Garbage = 0
static

Definition at line 13 of file StatsHygiene.cs.

◆ listMod

int [] StatsHygiene.listMod = new int[6] { 10, 50, 80, 100, 110, 115 }
static

Definition at line 15 of file StatsHygiene.cs.

Referenced by GetAffinityMod().

◆ Normal

const int StatsHygiene.Normal = 3
static

Definition at line 7 of file StatsHygiene.cs.

◆ VeryClean

const int StatsHygiene.VeryClean = 5
static

Definition at line 3 of file StatsHygiene.cs.

Property Documentation

◆ max

override int StatsHygiene.max
get

Definition at line 17 of file StatsHygiene.cs.


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