Elin Modding Docs Doc
All Classes Namespaces
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 ()
 
List< FactionBranchGetChildren ()
 
int CountWealth ()
 
int CountTerritories ()
 
int CountMembers ()
 
Hostility GetHostility ()
 
void ModRelation (int a)
 
bool HasMember (string id, bool includeReserve=true)
 
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()
 
int maxReserve = 3
 
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 4 of file Guild.cs.

Member Function Documentation

◆ GetCurrentGuild()

static Guild Guild.GetCurrentGuild ( )
static

Definition at line 84 of file Guild.cs.

◆ RefreshDevelopment()

void Guild.RefreshDevelopment ( )

Definition at line 106 of file Guild.cs.

Property Documentation

◆ Current

Guild Guild.Current
staticget

Definition at line 8 of file Guild.cs.

◆ CurrentQuest

QuestGuild Guild.CurrentQuest
staticget

Definition at line 70 of file Guild.cs.

◆ Fighter

GuildFighter Guild.Fighter
staticget

Definition at line 30 of file Guild.cs.

◆ IsCurrentZone

virtual bool Guild.IsCurrentZone
get

Definition at line 133 of file Guild.cs.

◆ IsMember

bool Guild.IsMember
get

Definition at line 143 of file Guild.cs.

◆ Mage

GuildMage Guild.Mage
staticget

Definition at line 40 of file Guild.cs.

◆ Merchant

GuildMerchant Guild.Merchant
staticget

Definition at line 60 of file Guild.cs.

◆ Quest

virtual QuestGuild Guild.Quest
get

Definition at line 123 of file Guild.cs.

◆ TextType

override string Guild.TextType
get

Definition at line 113 of file Guild.cs.

◆ Thief

GuildThief Guild.Thief
staticget

Definition at line 50 of file Guild.cs.


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