Elin Decompiled Documentation EA 23.153 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 | rndSeed (int a, int seed) |
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 123 of file FACTION.cs.
|
inline |
Definition at line 318 of file FACTION.cs.
References Name, relation, Msg.Say(), and FactionRelation.type.
Referenced by AI_Shopping.Buy(), CoreDebug.ModContribution(), ShopTransaction.OnEndTransaction(), and TraitBaseSpellbook.OnRead().
|
inline |
Definition at line 437 of file FACTION.cs.
References globalPolicies.
Referenced by PolicyManager.AddPolicy().
|
inline |
Definition at line 327 of file FACTION.cs.
References EClass.Branch, Chara.currentZone, World.date, Date.GetRaw(), Chara.homeBranch, Chara.IsHomeMember(), Chara.IsPCParty, item, listReserve, Chara.memberType, Chara.party, EClass.pc, Zone.RemoveCard(), Party.RemoveMember(), FactionBranch.RemoveMemeber(), BaseCard.SetInt(), Card.uid, FactionBranch.uidMaid, and EClass.world.
Referenced by ItemGachaResult.Confirm(), and BaseListPeople.OnClick().
|
inline |
Definition at line 242 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 550 of file FACTION.cs.
References GetChildren(), PolicyManager.IsActive(), and FactionBranch.policies.
Referenced by FactionBranch.OnClaimZone(), and ContentPolicy.RefreshPolicyList().
|
inline |
Definition at line 229 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 215 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 156 of file FACTION.cs.
Referenced by FactionManager.OnCreateGame().
|
inline |
Definition at line 528 of file FACTION.cs.
References FactionBranch.Evalue(), and GetChildren().
Referenced by GetBaseTax(), and GetFameTax().
|
inline |
Definition at line 425 of file FACTION.cs.
References GetChildren(), and FactionBranch.members.
Referenced by FactionBranch.AddMemeber().
|
inline |
Definition at line 510 of file FACTION.cs.
References EvadeTax(), EClass.game, Game.Prologue, and Prologue.year.
Referenced by GetTotalTax(), and SetTaxTooltip().
|
inline |
Definition at line 202 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 491 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 517 of file FACTION.cs.
References EClass.curve(), EvadeTax(), Player.fame, and EClass.player.
Referenced by GetTotalTax(), and SetTaxTooltip().
|
inline |
Definition at line 177 of file FACTION.cs.
|
inline |
Definition at line 255 of file FACTION.cs.
References FactionRelation.affinity, EClass.Home, and relation.
Referenced by Chara.SetFaction().
|
inline |
Definition at line 192 of file FACTION.cs.
References GetChildren(), and FactionBranch.lv.
Referenced by BaseListPeople.OnClick().
|
inline |
Definition at line 477 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 463 of file FACTION.cs.
References Lang._currency(), GetChildren(), FactionBranch.GetResidentTax(), and Msg.Say().
Referenced by OnAdvanceMonth().
|
inline |
Definition at line 182 of file FACTION.cs.
References source.
|
inline |
Definition at line 505 of file FACTION.cs.
References Player.extraTax, GetBaseTax(), GetFameTax(), and EClass.player.
Referenced by OnAdvanceMonth(), and UIHomeInfo.RefreshReport().
|
inline |
Definition at line 277 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 164 of file FACTION.cs.
References FactionManager.AssignUID(), Game.factions, EClass.game, name, and source.
Referenced by Create().
|
inline |
Definition at line 442 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 299 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 272 of file FACTION.cs.
|
inline |
Definition at line 368 of file FACTION.cs.
References GetChildren(), and FactionBranch.OnAdvanceDay().
Referenced by GameDate.AdvanceDay().
|
inline |
Definition at line 376 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 172 of file FACTION.cs.
Referenced by FactionManager.OnLoad().
|
inline |
Definition at line 357 of file FACTION.cs.
References HireInfo.chara, listReserve, and Card.uid.
Referenced by FactionBranch.AddMemeber().
|
inline |
Definition at line 455 of file FACTION.cs.
References GetChildren(), FactionBranch.policies, and PolicyManager.SetActive().
Referenced by FactionBranch.ValidateUpgradePolicies().
|
inline |
Definition at line 542 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 413 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 148 of file FACTION.cs.
ElementContainerFaction Faction.charaElements = new ElementContainerFaction() |
Definition at line 146 of file FACTION.cs.
Referenced by Element._WriteNote(), FactionBranch.AddMemeber(), CharaBody.Equip(), AttackProcess.GetWeaponEnc(), 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 141 of file FACTION.cs.
Referenced by FactionBranch.Evalue(), FactionBranch.OnUnclaimZone(), and FactionBranch.Upgrade().
HashSet<int> Faction.globalPolicies = new HashSet<int>() |
Definition at line 144 of file FACTION.cs.
Referenced by AddGlobalPolicy(), and FactionBranch.ValidateUpgradePolicies().
string Faction.id |
Definition at line 129 of file FACTION.cs.
Referenced by FactionManager.AssignUID(), Create(), FactionManager.Find(), Game.OnLoad(), and ContentFaction.RefreshFactions().
Definition at line 138 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 135 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 126 of file FACTION.cs.
Referenced by AddContribution(), DramaCustomSequence.Build(), GameLang.ConvertDrama(), QuestGuild.GetDetailText(), GetFactionSalary(), GetHostility(), QuestGuild.GetTrackerText(), DramaOutcome.guild_promote(), GuildFighter.HasBounty(), CalcPlat.Learn(), LayerFactions.RefreshFactions(), ContentFaction.RefreshFactions(), UIFactionInfo.SetFaction(), and CalcPlat.Train().
string Faction.uid |
Definition at line 132 of file FACTION.cs.
Referenced by FactionManager.AssignUID(), and RefFaction.RefFaction().
|
get |
Definition at line 150 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 152 of file FACTION.cs.
Referenced by GetSprite(), and Init().
|
get |
Definition at line 154 of file FACTION.cs.
Referenced by LayerFactions.RefreshFactions(), ContentFaction.RefreshFactions(), and UIFactionInfo.SetFaction().