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

Public Member Functions

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 ()
 

Static Public Member Functions

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)
 

Properties

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

- 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 Guild.cs.

Member Function Documentation

◆ GetCurrentGuild()

static Guild Guild.GetCurrentGuild ( )
inlinestatic

Definition at line 41 of file Guild.cs.

42 {
44 {
45 return Fighter;
46 }
48 {
49 return Mage;
50 }
52 {
53 return Thief;
54 }
56 {
57 return Merchant;
58 }
59 return null;
60 }
override bool IsCurrentZone
Definition: GuildFighter.cs:6
override bool IsCurrentZone
Definition: GuildMage.cs:6
override bool IsCurrentZone
Definition: GuildMerchant.cs:5
override bool IsCurrentZone
Definition: GuildThief.cs:6
static GuildMerchant Merchant
Definition: Guild.cs:29
static GuildMage Mage
Definition: Guild.cs:25
static GuildFighter Fighter
Definition: Guild.cs:23
static GuildThief Thief
Definition: Guild.cs:27

References Fighter, GuildFighter.IsCurrentZone, GuildMage.IsCurrentZone, GuildMerchant.IsCurrentZone, GuildThief.IsCurrentZone, Mage, Merchant, and Thief.

Referenced by DramaCustomSequence.Build(), DramaOutcome.guild_promote(), and CoreDebug.ModContribution().

◆ RefreshDevelopment()

void Guild.RefreshDevelopment ( )
inline

Definition at line 62 of file Guild.cs.

63 {
64 EClass._zone.development = (10 + relation.rank * 5) * 10;
65 }

Referenced by DramaOutcome.guild_promote().

Property Documentation

◆ Current

Guild Guild.Current
staticget

Definition at line 3 of file Guild.cs.

4 {
5 get
6 {
7 if (!(EClass._zone.id == "guild_merchant"))
8 {
9 if (!(EClass._zone.id == "lumiest"))
10 {
11 if (!(EClass._zone.id == "derphy"))
12 {
14 }
16 }
17 return EClass.game.factions.Mage;
18 }
20 }
21 }
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
static Zone _zone
Definition: EClass.cs:20
GuildMerchant Merchant
GuildThief Thief
GuildMage Mage
GuildFighter Fighter
FactionManager factions
Definition: Game.cs:161
string id
Definition: Spatial.cs:13

Referenced by GameLang.ConvertDrama(), DramaOutcome.guild_join(), DramaOutcome.guild_promote(), DramaOutcome.guild_trial(), CalcPlat.Learn(), and CalcPlat.Train().

◆ CurrentQuest

QuestGuild Guild.CurrentQuest
staticget

Definition at line 31 of file Guild.cs.

Referenced by DramaOutcome.guild_join(), and DramaOutcome.guild_mageTrial().

◆ Fighter

◆ IsCurrentZone

virtual bool Guild.IsCurrentZone
get

Definition at line 37 of file Guild.cs.

◆ IsMember

bool Guild.IsMember
get

Definition at line 39 of file Guild.cs.

Referenced by Card.GetPrice().

◆ Mage

GuildMage Guild.Mage
staticget

◆ Merchant

GuildMerchant Guild.Merchant
staticget

◆ Quest

virtual QuestGuild Guild.Quest
get

Definition at line 35 of file Guild.cs.

◆ TextType

override string Guild.TextType
get

Definition at line 33 of file Guild.cs.

◆ Thief


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