Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GuildMage Class Reference
Inheritance diagram for GuildMage:
Guild Faction EClass

Public Member Functions

int BuySpellbookPrice (int a)
 
- Public Member Functions inherited from Guild
void RefreshDevelopment ()
 
- Public Member Functions inherited from Faction
void Init ()
 
void OnLoad ()
 
float GetHappiness ()
 
Sprite GetSprite ()
 
int CountTax ()
 
int GetMaxReserve ()
 
List< FactionBranchGetChildren ()
 
int CountWealth ()
 
int CountTerritories ()
 
int CountMembers ()
 
Hostility GetHostility ()
 
void ModRelation (int a)
 
bool HasMember (string id, bool includeReserve=true)
 
bool IsWearingPanty (Chara c)
 
void AddContribution (int a)
 
void AddReserve (Chara c)
 
void RemoveReserve (Chara c)
 
void OnAdvanceDay ()
 
void OnAdvanceMonth ()
 
void TryPayBill (Thing bill)
 
FactionBranch FindBranch (Chara c)
 
void AddGlobalPolicy (int id)
 
bool IsGlobalPolicyActive (int id)
 
void SetGlobalPolicyActive (int id, bool active)
 
int GetResidentTax ()
 
int GetRankIncome ()
 
int GetFactionSalary ()
 
int GetTotalTax (bool evasion)
 
int GetBaseTax (bool evasion)
 
int GetFameTax (bool evasion)
 
int EvadeTax (int v, bool evasion)
 
void SetTaxTooltip (UINote n)
 
int CountTaxFreeLand ()
 

Properties

override QuestGuild Quest [get]
 
override bool IsCurrentZone [get]
 
- Properties inherited from Guild
static Guild Current [get]
 
static GuildFighter Fighter [get]
 
static GuildMage Mage [get]
 
static GuildThief Thief [get]
 
static GuildMerchant Merchant [get]
 
static QuestGuild CurrentQuest [get]
 
override string TextType [get]
 
virtual QuestGuild Quest [get]
 
virtual bool IsCurrentZone [get]
 
bool IsMember [get]
 
- Properties inherited from Faction
string Name [get]
 
SourceFaction.Row source [get]
 
virtual string TextType [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

- Static Public Member Functions inherited from Guild
static Guild GetCurrentGuild ()
 
- Static Public Member Functions inherited from Faction
static Faction Create (SourceFaction.Row r)
 
- 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)
 
- Public Attributes inherited from Faction
FactionRelation relation = new FactionRelation()
 
string id
 
string uid
 
string name
 
List< HireInfolistReserve = new List<HireInfo>()
 
ElementContainerZone elements = new ElementContainerZone()
 
HashSet< int > globalPolicies = new HashSet<int>()
 
ElementContainerFaction charaElements = new ElementContainerFaction()
 
SourceFaction.Row _source
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 1 of file GuildMage.cs.

Member Function Documentation

◆ BuySpellbookPrice()

int GuildMage.BuySpellbookPrice ( int  a)
inline

Definition at line 17 of file GuildMage.cs.

18 {
19 if (!base.IsMember)
20 {
21 return a;
22 }
23 return a * 100 / (120 + relation.rank / 2);
24 }

Referenced by Card.GetPrice().

Property Documentation

◆ IsCurrentZone

override bool GuildMage.IsCurrentZone
get

Definition at line 5 of file GuildMage.cs.

6 {
7 get
8 {
9 if (EClass._zone.id == "lumiest")
10 {
11 return EClass._zone.lv == -1;
12 }
13 return false;
14 }
15 }
Definition: EClass.cs:5
static Zone _zone
Definition: EClass.cs:20
string id
Definition: Spatial.cs:13

Referenced by Guild.GetCurrentGuild().

◆ Quest

override QuestGuild GuildMage.Quest
get

Definition at line 3 of file GuildMage.cs.


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