Elin Modding Docs Doc
Loading...
Searching...
No Matches
StatsBurden Class Reference
Inheritance diagram for StatsBurden:
Stats BaseStats EClass

Public Member Functions

override int GetPhase ()
 
- 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)
 
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 (SkinColorProfile c)
 
Color GetColor ()
 
virtual string GetPhaseStr ()
 
virtual Sprite GetSprite ()
 
virtual void SetText (UIText t, SkinColorProfile cols=null)
 
void PopText ()
 
virtual void WriteNote (UINote n, Action< UINote > onWriteNote=null)
 
virtual void _WriteNote (UINote n, bool asChild=false)
 

Static Public Member Functions

static int GetPhase (int value)
 
- 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 None = 0
 
const new int Burden = 1
 
const int BurdenHeavy = 2
 
const int OverWeight = 3
 
const int Squashed = 4
 
- 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 Stats 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 bool TrackPhaseChange [get]
 
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 Attributes inherited from Stats
int rawIndex
 
int[] raw
 
- Public Attributes inherited from BaseStats
int id
 
SourceStat.Row _source
 

Detailed Description

Definition at line 4 of file StatsBurden.cs.

Member Function Documentation

◆ GetPhase() [1/2]

override int StatsBurden.GetPhase ( )
virtual

Reimplemented from Stats.

Definition at line 27 of file StatsBurden.cs.

◆ GetPhase() [2/2]

static int StatsBurden.GetPhase ( int value)
static

Definition at line 38 of file StatsBurden.cs.

Member Data Documentation

◆ Burden

const new int StatsBurden.Burden = 1
static

Definition at line 52 of file StatsBurden.cs.

◆ BurdenHeavy

const int StatsBurden.BurdenHeavy = 2
static

Definition at line 55 of file StatsBurden.cs.

◆ None

const int StatsBurden.None = 0
static

Definition at line 49 of file StatsBurden.cs.

◆ OverWeight

const int StatsBurden.OverWeight = 3
static

Definition at line 58 of file StatsBurden.cs.

◆ Squashed

const int StatsBurden.Squashed = 4
static

Definition at line 61 of file StatsBurden.cs.

Property Documentation

◆ max

override int StatsBurden.max
get

Definition at line 18 of file StatsBurden.cs.

◆ TrackPhaseChange

override bool StatsBurden.TrackPhaseChange
get

Definition at line 8 of file StatsBurden.cs.


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