Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | UpdateRank () |
override void | Refresh () |
int | GetPrice (Thing t, bool top=false) |
override int | GetDestValue () |
List< Thing > | ListHeirloom () |
override void | WriteNote (UINote n) |
![]() | |
override void | Refresh () |
override void | OnAdvanceDay () |
virtual int | GetDestValue () |
![]() | |
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 | |
int | bestRank |
![]() | |
HomeResourceType | type |
int | value |
int | lastValue |
FactionBranch | branch |
Properties | |
override bool | IsAvailable [get] |
![]() | |
override bool | IsAvailable [get] |
override ResourceGroup | Group [get] |
![]() | |
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 | |
![]() | |
enum | ResourceGroup { Currency , Skill , Rate , None } |
![]() | |
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 6 of file HomeResourceWorth.cs.
|
inlinevirtual |
Reimplemented from HomeResourceRate.
Definition at line 48 of file HomeResourceWorth.cs.
References GetPrice(), item, and ListHeirloom().
|
inline |
Definition at line 34 of file HomeResourceWorth.cs.
References BaseHomeResource.branch, FactionBranch.Evalue(), Card.GetPrice(), PolicyManager.IsActive(), Card.noSell, and FactionBranch.policies.
Referenced by GetDestValue(), ListHeirloom(), and WriteNote().
|
inline |
Definition at line 59 of file HomeResourceWorth.cs.
References EClass._map, BaseHomeResource.branch, Card.c_idRefCard, FactionBranch.Evalue(), GetPrice(), Card.HasTag(), Card.idSkin, Point.index, Card.IsFurniture, Card.IsInstalled, item, Card.pos, Map.SizeXZ, Card.sortVal, Map.things, and Card.trait.
Referenced by GetDestValue(), and WriteNote().
|
inlinevirtual |
Reimplemented from HomeResourceRate.
Definition at line 28 of file HomeResourceWorth.cs.
References UpdateRank().
|
inline |
Definition at line 13 of file HomeResourceWorth.cs.
References bestRank, BaseHomeResource.branch, EClass.game, RankedZoneManager.GetRank(), RankedZoneManager.GetRankText(), FactionBranch.owner, SpatialManager.ranks, Msg.Say(), EClass.Sound, and Game.spatials.
Referenced by Refresh().
|
inlinevirtual |
Reimplemented from BaseHomeResource.
Definition at line 133 of file HomeResourceWorth.cs.
References UINote.AddHeader(), UINote.AddText(), UINote.AddTopic(), BaseHomeResource.branch, UINote.Build(), UINote.Clear(), EClass.debug, GetPrice(), ListHeirloom(), Card.Name, FactionBranch.NumHeirloom, CoreDebug.showExtra, UINote.Space(), FactionBranch.tourism, and BaseHomeResource.value.
Referenced by UIHomeInfo.RefreshInfo().
int HomeResourceWorth.bestRank |
Definition at line 9 of file HomeResourceWorth.cs.
Referenced by TraitCoreZone.TrySetAct(), and UpdateRank().
|
get |
Definition at line 11 of file HomeResourceWorth.cs.