Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetOwner (FactionBranch _branch, FactionMemberType _type) |
void | OnAdvanceDay () |
void | OnRefreshEffect () |
int | GetTargetValue () |
string | GetText () |
int | CountMembers () |
void | WriteNote (UINote n) |
Public Attributes | |
int | value |
int | lastValue |
int | modPolicy |
FactionBranch | branch |
FactionMemberType | type |
Properties | |
string | Name [get] |
![]() | |
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 | |
![]() | |
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 Core | core |
Definition at line 4 of file Happiness.cs.
|
inline |
Definition at line 95 of file Happiness.cs.
References branch, FactionBranch.members, Chara.memberType, and type.
Referenced by GetText().
|
inline |
Definition at line 37 of file Happiness.cs.
References branch, HomeResourceManager.food, item, HomeResourceManager.list, PolicyManager.list, FactionBranch.members, modPolicy, FactionBranch.policies, FactionBranch.resources, and BaseHomeResource.value.
Referenced by OnAdvanceDay(), and WriteNote().
|
inline |
Definition at line 63 of file Happiness.cs.
References CountMembers(), lastValue, and value.
Referenced by ContentHomeReport.RefreshInfo(), and UIHomeInfo.RefreshInfo().
|
inline |
Definition at line 26 of file Happiness.cs.
References GetTargetValue(), lastValue, and value.
|
inline |
|
inline |
|
inline |
Definition at line 108 of file Happiness.cs.
References UINote.AddHeader(), UINote.AddText(), UINote.Build(), UINote.Clear(), GetTargetValue(), lastValue, modPolicy, Name, UINote.Space(), and value.
Referenced by ContentHomeReport.RefreshInfo(), and UIHomeInfo.RefreshInfo().
FactionBranch Happiness.branch |
Definition at line 14 of file Happiness.cs.
Referenced by CountMembers(), GetTargetValue(), and SetOwner().
int Happiness.lastValue |
Definition at line 10 of file Happiness.cs.
Referenced by GetText(), OnAdvanceDay(), and WriteNote().
int Happiness.modPolicy |
Definition at line 12 of file Happiness.cs.
Referenced by GetTargetValue(), OnRefreshEffect(), and WriteNote().
FactionMemberType Happiness.type |
Definition at line 16 of file Happiness.cs.
Referenced by CountMembers(), and SetOwner().
int Happiness.value |
Definition at line 7 of file Happiness.cs.
Referenced by GetText(), OnAdvanceDay(), and WriteNote().
|
get |
Definition at line 18 of file Happiness.cs.
Referenced by WriteNote().