Elin Modding Docs Doc
Loading...
Searching...
No Matches
HomeResourceWorth Class Reference
Inheritance diagram for HomeResourceWorth:
HomeResourceRate BaseHomeResource EClass

Public Member Functions

void UpdateRank ()
 
override void Refresh ()
 
int GetPrice (Thing t, bool top=false)
 
override int GetDestValue ()
 
List< ThingListHeirloom ()
 
override void WriteNote (UINote n)
 
- Public Member Functions inherited from HomeResourceRate
override void OnAdvanceDay ()
 
- Public Member Functions inherited from BaseHomeResource
virtual T Create< T > (HomeResourceType _type, int _value)
 
virtual void Mod (int a, bool popText=true)
 
void OnRefreshEffect ()
 
virtual void OnAdvanceHour ()
 

Public Attributes

int bestRank
 
- Public Attributes inherited from BaseHomeResource
HomeResourceType type
 
int value
 
int lastValue
 
FactionBranch branch
 

Properties

override bool IsAvailable [get]
 
- Properties inherited from HomeResourceRate
override bool IsAvailable [get]
 
override BaseHomeResource.ResourceGroup Group [get]
 
- Properties inherited from BaseHomeResource
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 BaseHomeResource.ResourceGroup Group [get]
 
string Name [get]
 
Sprite Sprite [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 Types inherited from BaseHomeResource
enum  ResourceGroup { Currency , Skill , Rate , None }
 
- 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 inherited from EClass
static Core core
 

Detailed Description

Definition at line 7 of file HomeResourceWorth.cs.

Member Function Documentation

◆ GetDestValue()

override int HomeResourceWorth.GetDestValue ( )
virtual

Reimplemented from HomeResourceRate.

Definition at line 58 of file HomeResourceWorth.cs.

◆ GetPrice()

int HomeResourceWorth.GetPrice ( Thing t,
bool top = false )

Definition at line 43 of file HomeResourceWorth.cs.

◆ ListHeirloom()

List< Thing > HomeResourceWorth.ListHeirloom ( )

Definition at line 70 of file HomeResourceWorth.cs.

◆ Refresh()

override void HomeResourceWorth.Refresh ( )
virtual

Reimplemented from HomeResourceRate.

Definition at line 36 of file HomeResourceWorth.cs.

◆ UpdateRank()

void HomeResourceWorth.UpdateRank ( )

Definition at line 20 of file HomeResourceWorth.cs.

◆ WriteNote()

override void HomeResourceWorth.WriteNote ( UINote n)
virtual

Reimplemented from BaseHomeResource.

Definition at line 143 of file HomeResourceWorth.cs.

Member Data Documentation

◆ bestRank

int HomeResourceWorth.bestRank

Definition at line 167 of file HomeResourceWorth.cs.

Property Documentation

◆ IsAvailable

override bool HomeResourceWorth.IsAvailable
get

Definition at line 11 of file HomeResourceWorth.cs.


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