Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | ResourceGroup { Currency , Skill , Rate , None } |
Public Member Functions | |
virtual T | Create< T > (HomeResourceType _type, int _value) |
virtual void | Mod (int a, bool popText=true) |
virtual void | Refresh () |
void | OnRefreshEffect () |
virtual void | OnAdvanceHour () |
virtual void | OnAdvanceDay () |
virtual void | WriteNote (UINote n) |
Public Attributes | |
HomeResourceType | type |
int | value |
int | lastValue |
FactionBranch | branch |
Properties | |
SourceHomeResource.Row | source [get] |
virtual int | Min [get] |
virtual int | Max [get] |
bool | IsCurrency [get] |
bool | IsRate [get] |
bool | IsSkill [get] |
virtual bool | IsAvailable [get] |
virtual float | ExpRatio [get] |
virtual ResourceGroup | Group [get] |
string | Name [get] |
Sprite | Sprite [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 BaseHomeResource.cs.
|
inlinevirtual |
T | : | BaseHomeResource |
Definition at line 47 of file BaseHomeResource.cs.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in HomeResource, and HomeResourceRate.
Definition at line 70 of file BaseHomeResource.cs.
|
inlinevirtual |
Definition at line 66 of file BaseHomeResource.cs.
|
inline |
Definition at line 62 of file BaseHomeResource.cs.
Referenced by PolicyManager.RefreshEffects().
|
inlinevirtual |
Reimplemented in HomeResourceRate, HomeResourceSkill, and HomeResourceWorth.
Definition at line 58 of file BaseHomeResource.cs.
|
inlinevirtual |
Reimplemented in HomeResourceSkill, and HomeResourceWorth.
Definition at line 74 of file BaseHomeResource.cs.
References UINote.AddHeader(), UINote.AddTopic(), UINote.Build(), UINote.Clear(), Name, and value.
Referenced by ItemHomeResource.SetResource().
FactionBranch BaseHomeResource.branch |
Definition at line 23 of file BaseHomeResource.cs.
Referenced by HomeResourceEducation.GetDestValue(), HomeResourceSafety.GetDestValue(), HomeResourceWorth.GetPrice(), HomeResourceWorth.ListHeirloom(), HomeResourceWorth.UpdateRank(), and HomeResourceWorth.WriteNote().
int BaseHomeResource.lastValue |
Definition at line 21 of file BaseHomeResource.cs.
Referenced by HomeResource.OnAdvanceDay(), HomeResourceRate.Refresh(), and ItemHomeResource.SetResource().
HomeResourceType BaseHomeResource.type |
Definition at line 15 of file BaseHomeResource.cs.
Referenced by Create< T >().
int BaseHomeResource.value |
Definition at line 18 of file BaseHomeResource.cs.
Referenced by HomeResource.AddResource(), HomeResourceSkill.ApplyModifier(), UICurrency.Build(), ResearchManager.CanCompletePlan(), HomeResource.CostList.CanPay(), Create< T >(), Happiness.GetTargetValue(), HomeResource.CostList.GetText(), InvOwner.Transaction.IsValid(), HomeResource.Mod(), HomeResource.OnAdvanceDay(), HomeResourceRate.Refresh(), HomeResourceSkill.Refresh(), ItemResearch.SetPlan(), ItemHomeResource.SetResource(), UIFactionInfo.SetZone(), WriteNote(), HomeResourceSkill.WriteNote(), and HomeResourceWorth.WriteNote().
|
get |
Definition at line 39 of file BaseHomeResource.cs.
Referenced by ItemHomeResource.SetResource().
|
get |
Definition at line 41 of file BaseHomeResource.cs.
Referenced by ItemHomeResource.SetResource().
|
get |
Definition at line 37 of file BaseHomeResource.cs.
Referenced by UICurrency.Build(), and UIHomeInfo.RefreshResources().
|
get |
Definition at line 31 of file BaseHomeResource.cs.
|
get |
Definition at line 33 of file BaseHomeResource.cs.
Referenced by ContentHomeReport.RefreshResources(), and UIHomeInfo.RefreshResources().
|
get |
Definition at line 35 of file BaseHomeResource.cs.
Referenced by UIHomeInfo.RefreshResources(), and ItemHomeResource.SetResource().
|
get |
Definition at line 29 of file BaseHomeResource.cs.
|
get |
Definition at line 27 of file BaseHomeResource.cs.
|
get |
Definition at line 43 of file BaseHomeResource.cs.
Referenced by UICurrency.Build(), and WriteNote().
|
get |
Definition at line 25 of file BaseHomeResource.cs.
|
get |
Definition at line 45 of file BaseHomeResource.cs.
Referenced by UICurrency.Build(), and ItemHomeResource.SetResource().