Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | Init () |
void | OnLoad () |
float | GetHappiness () |
Sprite | GetSprite () |
int | CountTax () |
int | GetMaxReserve () |
List< FactionBranch > | GetChildren () |
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 Faction | Create (SourceFaction.Row r) |
![]() | |
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() |
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] |
![]() | |
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 Core | core |
Definition at line 121 of file FACTION.cs.
|
inline |
Definition at line 316 of file FACTION.cs.
References Name, relation, Msg.Say(), and FactionRelation.type.
Referenced by AI_Shopping.Buy(), Card.DamageHP(), CoreDebug.ModContribution(), ShopTransaction.OnEndTransaction(), and TraitBaseSpellbook.OnRead().
|
inline |
Definition at line 431 of file FACTION.cs.
References globalPolicies.
Referenced by PolicyManager.AddPolicy().
|
inline |
Definition at line 325 of file FACTION.cs.
References EClass.Branch, Chara.currentZone, World.date, Date.GetRaw(), Chara.homeBranch, Chara.IsHomeMember(), item, listReserve, Chara.memberType, Zone.RemoveCard(), FactionBranch.RemoveMemeber(), BaseCard.SetInt(), Card.uid, FactionBranch.uidMaid, and EClass.world.
Referenced by ItemGachaResult.Confirm(), and BaseListPeople.OnClick().
|
inline |
Definition at line 240 of file FACTION.cs.
References Game.cards, Card.Chara, Chara.faction, EClass.game, and CardManager.globalCharas.
Referenced by LayerGlobalMap.RefreshSummary().
|
inline |
|
inline |
Definition at line 544 of file FACTION.cs.
References GetChildren(), PolicyManager.IsActive(), and FactionBranch.policies.
Referenced by FactionBranch.OnClaimZone(), and ContentPolicy.RefreshPolicyList().
|
inline |
Definition at line 227 of file FACTION.cs.
References EClass.game, Spatial.mainFaction, SpatialManager.map, and Game.spatials.
Referenced by WindowChara.RefreshProfile(), and LayerGlobalMap.RefreshSummary().
|
inline |
Definition at line 213 of file FACTION.cs.
References EClass._zone, Zone.branch, GetChildren(), Zone.IsPCFaction, HomeResourceManager.Refresh(), FactionBranch.resources, and FactionBranch.Worth.
Referenced by CountTax(), and LayerGlobalMap.RefreshSummary().
|
inlinestatic |
Definition at line 154 of file FACTION.cs.
Referenced by FactionManager.OnCreateGame().
|
inline |
Definition at line 522 of file FACTION.cs.
References FactionBranch.Evalue(), and GetChildren().
Referenced by GetBaseTax(), and GetFameTax().
|
inline |
Definition at line 419 of file FACTION.cs.
References GetChildren(), and FactionBranch.members.
Referenced by FactionBranch.AddMemeber().
|
inline |
Definition at line 504 of file FACTION.cs.
References EvadeTax(), EClass.game, Game.Prologue, and Prologue.year.
Referenced by GetTotalTax(), and SetTaxTooltip().
|
inline |
Definition at line 200 of file FACTION.cs.
References EClass.game, Spatial.mainFaction, SpatialManager.map, and Game.spatials.
Referenced by CountTaxFreeLand(), CountWealth(), EvadeTax(), FindBranch(), RankedZoneManager.GetIncome(), GetMaxReserve(), GetRankIncome(), GetResidentTax(), IsGlobalPolicyActive(), OnAdvanceDay(), OnAdvanceMonth(), Game.OnLoad(), TraitBookSkill.OnRead(), TraitDeedRelocate.OnRead(), Card.PurgeDuplicateArtifact(), SetGlobalPolicyActive(), Player.SimulateFaction(), and TraitBookPlan.WriteNote().
|
inline |
Definition at line 485 of file FACTION.cs.
References Lang._currency(), FactionManager.dictAll, Game.factions, EClass.game, FactionRelation.GetSalary(), relation, and Msg.Say().
Referenced by OnAdvanceMonth().
|
inline |
Definition at line 511 of file FACTION.cs.
References EClass.curve(), EvadeTax(), Player.fame, and EClass.player.
Referenced by GetTotalTax(), and SetTaxTooltip().
|
inline |
Definition at line 175 of file FACTION.cs.
|
inline |
Definition at line 253 of file FACTION.cs.
References FactionRelation.affinity, EClass.Home, and relation.
Referenced by Chara.SetFaction().
|
inline |
Definition at line 190 of file FACTION.cs.
References GetChildren(), and FactionBranch.lv.
Referenced by BaseListPeople.OnClick().
|
inline |
Definition at line 471 of file FACTION.cs.
References Lang._currency(), EClass.game, GetChildren(), RankedZoneManager.GetIncome(), FactionBranch.owner, SpatialManager.ranks, Msg.Say(), and Game.spatials.
Referenced by OnAdvanceMonth().
|
inline |
Definition at line 457 of file FACTION.cs.
References Lang._currency(), GetChildren(), FactionBranch.GetResidentTax(), and Msg.Say().
Referenced by OnAdvanceMonth().
|
inline |
Definition at line 180 of file FACTION.cs.
References source.
|
inline |
Definition at line 499 of file FACTION.cs.
References Player.extraTax, GetBaseTax(), GetFameTax(), and EClass.player.
Referenced by OnAdvanceMonth(), and UIHomeInfo.RefreshReport().
|
inline |
Definition at line 275 of file FACTION.cs.
References Game.cards, EClass.game, CardManager.globalCharas, Card.id, Chara.IsHomeMember(), item, and listReserve.
Referenced by QuestDialog.CanStartQuest().
|
inline |
Definition at line 162 of file FACTION.cs.
References FactionManager.AssignUID(), Game.factions, EClass.game, name, and source.
Referenced by Create().
|
inline |
Definition at line 436 of file FACTION.cs.
References GetChildren(), PolicyManager.IsActive(), and FactionBranch.policies.
Referenced by FactionBranch.DailyOutcome(), FortuneRollData.GetPrizeList(), IsWearingPanty(), TryPayBill(), and FactionBranch.ValidateUpgradePolicies().
|
inline |
Definition at line 297 of file FACTION.cs.
References Card.bio, Game.cards, EClass.game, Biography.gender, CardManager.globalCharas, Card.id, IsGlobalPolicyActive(), Chara.IsHomeMember(), Card.IsUnique, Chara.race, and Chara.trait.
|
inline |
Definition at line 270 of file FACTION.cs.
|
inline |
Definition at line 362 of file FACTION.cs.
References GetChildren(), and FactionBranch.OnAdvanceDay().
Referenced by GameDate.AdvanceDay().
|
inline |
Definition at line 370 of file FACTION.cs.
References Lang._currency(), Game.cards, CardManager.container_deposit, ThingGen.Create(), ThingGen.CreateBill(), ThingGen.CreateParcel(), EClass.debug, Player.extraTax, EClass.game, GetChildren(), Card.GetCurrency(), GetFactionSalary(), GetRankIncome(), GetResidentTax(), GetTotalTax(), CoreDebug.godMode, Chara.homeBranch, PolicyManager.IsActive(), ThingContainer.IsFull(), Card.ModCurrency(), Player.ModKarma(), EClass.pc, EClass.player, FactionBranch.policies, Game.principal, Msg.Say(), World.SendPackage(), BaseCard.SetInt(), Card.SetNum(), GamePrincipal.tax, Player.taxBills, Card.things, TryPayBill(), and EClass.world.
Referenced by GameDate.AdvanceMonth().
|
inline |
Definition at line 170 of file FACTION.cs.
Referenced by FactionManager.OnLoad().
|
inline |
Definition at line 351 of file FACTION.cs.
References HireInfo.chara, listReserve, and Card.uid.
Referenced by FactionBranch.AddMemeber().
|
inline |
Definition at line 449 of file FACTION.cs.
References GetChildren(), FactionBranch.policies, and PolicyManager.SetActive().
Referenced by FactionBranch.ValidateUpgradePolicies().
|
inline |
Definition at line 536 of file FACTION.cs.
References Lang._currency(), UINote.AddHeader(), UINote.AddTopic(), Player.extraTax, GetBaseTax(), GetFameTax(), and EClass.player.
Referenced by UIHomeInfo.RefreshReport().
|
inline |
Definition at line 407 of file FACTION.cs.
References bill, Game.cards, CardManager.container_deposit, EClass.game, Card.GetCurrency(), IsGlobalPolicyActive(), InvOwnerDeliver.PayBill(), World.SendPackage(), and EClass.world.
Referenced by OnAdvanceMonth(), and GameDate.ShipPackages().
SourceFaction.Row Faction._source |
Definition at line 146 of file FACTION.cs.
ElementContainerFaction Faction.charaElements = new ElementContainerFaction() |
Definition at line 144 of file FACTION.cs.
Referenced by Element._WriteNote(), FactionBranch.AddMemeber(), ActMelee.Attack(), CharaBody.Equip(), Element.IsFactionElement(), Religion.JoinFaith(), Religion.LeaveFaith(), ElementContainer.ListElements(), ActRanged.Perform(), AttackProcess.Perform(), FactionBranch.RemoveMemeber(), FactionBranch.SetOwner(), CharaBody.Unequip(), ElementContainer.Value(), ElementContainerCard.ValueBonus(), and Element.BonusInfo.WriteNote().
ElementContainerZone Faction.elements = new ElementContainerZone() |
Definition at line 139 of file FACTION.cs.
Referenced by FactionBranch.Evalue(), FactionBranch.OnUnclaimZone(), and FactionBranch.Upgrade().
HashSet<int> Faction.globalPolicies = new HashSet<int>() |
Definition at line 142 of file FACTION.cs.
Referenced by AddGlobalPolicy(), and FactionBranch.ValidateUpgradePolicies().
string Faction.id |
Definition at line 127 of file FACTION.cs.
Referenced by FactionManager.AssignUID(), Create(), FactionManager.Find(), Game.OnLoad(), and ContentFaction.RefreshFactions().
Definition at line 136 of file FACTION.cs.
Referenced by AddReserve(), ListPeopleCallReserve.GetInfo(), ListPeopleSelect.GetInfo(), HasMember(), BaseListPeople.OnClick(), ListPeopleCallReserve.OnList(), LayerHire.Refresh(), and RemoveReserve().
string Faction.name |
Definition at line 133 of file FACTION.cs.
Referenced by GameIndex.Create(), Init(), CoreDebug.LOG_Spatials(), ContentTop.OnSwitchContent(), LayerFactions.RefreshFactions(), ContentFaction.RefreshFactions(), ContentHomeReport.RefreshInfo(), UIHomeInfo.RefreshInfo(), WindowChara.RefreshInfo(), UIZoneInfo.SetZone(), ContentRanking.SwitchRanking(), and EloPos.WriteNote().
FactionRelation Faction.relation = new FactionRelation() |
Definition at line 124 of file FACTION.cs.
Referenced by AddContribution(), DramaCustomSequence.Build(), GameLang.ConvertDrama(), QuestGuild.GetDetailText(), GetFactionSalary(), GetHostility(), QuestGuild.GetTrackerText(), DramaOutcome.guild_promote(), GuildFighter.HasBounty(), GuildMerchant.InvestPrice(), CalcPlat.Learn(), LayerFactions.RefreshFactions(), ContentFaction.RefreshFactions(), UIFactionInfo.SetFaction(), and CalcPlat.Train().
string Faction.uid |
Definition at line 130 of file FACTION.cs.
Referenced by FactionManager.AssignUID(), and RefFaction.RefFaction().
|
get |
Definition at line 148 of file FACTION.cs.
Referenced by AddContribution(), GameLang.ConvertDrama(), QuestGuild.GetDetailText(), RankedZone.GetFactionName(), DramaOutcome.guild_join(), UIHomeInfo.RefreshInfo(), UIFactionInfo.SetFaction(), and UIFactionInfo.SetZone().
|
get |
Definition at line 150 of file FACTION.cs.
Referenced by GetSprite(), and Init().
|
get |
Definition at line 152 of file FACTION.cs.
Referenced by LayerFactions.RefreshFactions(), ContentFaction.RefreshFactions(), and UIFactionInfo.SetFaction().