|
Elin Modding Docs Doc
|
Public Member Functions | |
| void | Init () |
| void | OnLoad () |
| float | GetHappiness () |
| Sprite | GetSprite () |
| int | CountTax () |
| List< FactionBranch > | GetChildren () |
| 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 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 | |
| FactionRelation | relation = new FactionRelation() |
| int | maxReserve = 3 |
| string | id |
| string | uid |
| string | name |
| List< HireInfo > | listReserve = new List<HireInfo>() |
| ElementContainerZone | elements = new ElementContainerZone() |
| HashSet< int > | globalPolicies = new HashSet<int>() |
| ElementContainerFaction | charaElements = new ElementContainerFaction() |
| SourceFaction.Row | _source |
Properties | |
| 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 Attributes inherited from EClass | |
| static Core | core |
Definition at line 7 of file Faction.2.cs.
| void Faction.AddContribution | ( | int | a | ) |
Definition at line 200 of file Faction.2.cs.
| void Faction.AddGlobalPolicy | ( | int | id | ) |
Definition at line 315 of file Faction.2.cs.
| void Faction.AddReserve | ( | Chara | c | ) |
Definition at line 211 of file Faction.2.cs.
| int Faction.CountMembers | ( | ) |
Definition at line 133 of file Faction.2.cs.
| int Faction.CountTax | ( | ) |
Definition at line 81 of file Faction.2.cs.
| int Faction.CountTaxFreeLand | ( | ) |
Definition at line 437 of file Faction.2.cs.
| int Faction.CountTerritories | ( | ) |
Definition at line 116 of file Faction.2.cs.
| int Faction.CountWealth | ( | ) |
Definition at line 101 of file Faction.2.cs.
|
static |
Definition at line 45 of file Faction.2.cs.
| int Faction.EvadeTax | ( | int | v, |
| bool | evasion ) |
Definition at line 413 of file Faction.2.cs.
| FactionBranch Faction.FindBranch | ( | Chara | c | ) |
Definition at line 302 of file Faction.2.cs.
| int Faction.GetBaseTax | ( | bool | evasion | ) |
Definition at line 398 of file Faction.2.cs.
| List< FactionBranch > Faction.GetChildren | ( | ) |
Definition at line 87 of file Faction.2.cs.
| int Faction.GetFactionSalary | ( | ) |
Definition at line 377 of file Faction.2.cs.
| int Faction.GetFameTax | ( | bool | evasion | ) |
Definition at line 406 of file Faction.2.cs.
| float Faction.GetHappiness | ( | ) |
Definition at line 69 of file Faction.2.cs.
| Hostility Faction.GetHostility | ( | ) |
Definition at line 150 of file Faction.2.cs.
| int Faction.GetRankIncome | ( | ) |
Definition at line 362 of file Faction.2.cs.
| int Faction.GetResidentTax | ( | ) |
Definition at line 347 of file Faction.2.cs.
| Sprite Faction.GetSprite | ( | ) |
Definition at line 75 of file Faction.2.cs.
| int Faction.GetTotalTax | ( | bool | evasion | ) |
Definition at line 392 of file Faction.2.cs.
| bool Faction.HasMember | ( | string | id, |
| bool | includeReserve = true ) |
Definition at line 174 of file Faction.2.cs.
| void Faction.Init | ( | ) |
Definition at line 54 of file Faction.2.cs.
| bool Faction.IsGlobalPolicyActive | ( | int | id | ) |
Definition at line 321 of file Faction.2.cs.
| void Faction.ModRelation | ( | int | a | ) |
Definition at line 168 of file Faction.2.cs.
| void Faction.OnAdvanceDay | ( | ) |
Definition at line 250 of file Faction.2.cs.
| void Faction.OnAdvanceMonth | ( | ) |
Definition at line 259 of file Faction.2.cs.
| void Faction.OnLoad | ( | ) |
Definition at line 63 of file Faction.2.cs.
| void Faction.RemoveReserve | ( | Chara | c | ) |
Definition at line 238 of file Faction.2.cs.
| void Faction.SetGlobalPolicyActive | ( | int | id, |
| bool | active ) |
Definition at line 338 of file Faction.2.cs.
| void Faction.SetTaxTooltip | ( | UINote | n | ) |
Definition at line 428 of file Faction.2.cs.
| void Faction.TryPayBill | ( | Thing | bill | ) |
Definition at line 291 of file Faction.2.cs.
| SourceFaction.Row Faction._source |
Definition at line 489 of file Faction.2.cs.
| ElementContainerFaction Faction.charaElements = new ElementContainerFaction() |
Definition at line 486 of file Faction.2.cs.
| ElementContainerZone Faction.elements = new ElementContainerZone() |
Definition at line 479 of file Faction.2.cs.
| HashSet<int> Faction.globalPolicies = new HashSet<int>() |
Definition at line 483 of file Faction.2.cs.
| string Faction.id |
Definition at line 463 of file Faction.2.cs.
Definition at line 475 of file Faction.2.cs.
| int Faction.maxReserve = 3 |
Definition at line 459 of file Faction.2.cs.
| string Faction.name |
Definition at line 471 of file Faction.2.cs.
| FactionRelation Faction.relation = new FactionRelation() |
Definition at line 455 of file Faction.2.cs.
| string Faction.uid |
Definition at line 467 of file Faction.2.cs.
|
get |
Definition at line 11 of file Faction.2.cs.
|
get |
Definition at line 21 of file Faction.2.cs.
|
get |
Definition at line 36 of file Faction.2.cs.