|
Elin Decompiled Documentation EA 23.236 Nightly Patch 1
|
Public Member Functions | |
| void | SetOwner (FactionBranch _owner) |
| void | AddPolicy (string id) |
| Policy | AddPolicy (int id, bool show=true) |
| void | Activate (int id) |
| void | SetActive (int id, bool active) |
| bool | IsActive (int id, int days=-1) |
| bool | HasPolicy (int id) |
| void | OnSimulateHour (VirtualDate date) |
| int | GetValue (int id) |
| int | CurrentAP () |
| void | RefreshEffects () |
| void | Validate () |
Public Attributes | |
| List< Policy > | list = new List<Policy>() |
| FactionBranch | owner |
Additional Inherited Members | |
Static Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| 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) |
Static Public Attributes inherited from EClass | |
| static Core | core |
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] |
Definition at line 4 of file PolicyManager.cs.
|
inline |
Definition at line 49 of file PolicyManager.cs.
Referenced by FactionBranch.OnClaimZone().
|
inline |
Definition at line 26 of file PolicyManager.cs.
References Faction.AddGlobalPolicy(), FactionBranch.elements, SourceManager.elements, Chara.faction, ElementContainer.GetElement(), Policy.id, list, owner, EClass.pc, WidgetPopText.Say(), ElementContainer.SetBase(), Policy.SetOwner(), Policy.source, and EClass.sources.
|
inline |
Definition at line 21 of file PolicyManager.cs.
References AddPolicy(), SourceManager.elements, and EClass.sources.
Referenced by AddPolicy(), FactionBranch.OnClaimZone(), TraitBookSkill.OnRead(), ResearchPlan.ParseReward(), and FactionBranch.ValidateUpgradePolicies().
|
inline |
Definition at line 126 of file PolicyManager.cs.
Referenced by UICurrency.Build(), ContentPolicy.RefreshPolicyIcons(), LayerPolicy.RefreshPolicyIcons(), and LayerPolicy.RefreshPolicyList().
|
inline |
|
inline |
Definition at line 83 of file PolicyManager.cs.
Referenced by TraitBookSkill.OnRead(), and FactionBranch.ValidateUpgradePolicies().
|
inline |
Definition at line 71 of file PolicyManager.cs.
Referenced by FactionBranch.CalcInnIncome(), FactionBranch.CalcTourismIncome(), Faction.CountTaxFreeLand(), Card.GetPrice(), HomeResourceWorth.GetPrice(), FactionBranch.GetResidentTax(), Zone.GrowPlants(), Faction.IsGlobalPolicyActive(), FactionBranch.ModExp(), Faction.OnAdvanceMonth(), AI_Idle.Run(), GameDate.ShipRandomPackages(), AI_Shopping.TryShop(), and Chara.TryTakeSharedItems().
|
inline |
Definition at line 95 of file PolicyManager.cs.
|
inline |
Definition at line 139 of file PolicyManager.cs.
References Policy.active, FactionBranch.happiness, item, HappinessManager.list, HomeResourceManager.list, list, BaseHomeResource.OnRefreshEffect(), owner, Policy.RefreshEffect(), FactionBranch.resources, and HomeResourceManager.SetDirty().
Referenced by ContentPolicy.RefreshPolicyList(), and SetOwner().
|
inline |
Definition at line 60 of file PolicyManager.cs.
Referenced by Faction.SetGlobalPolicyActive().
|
inline |
Definition at line 11 of file PolicyManager.cs.
References item, list, owner, and RefreshEffects().
Referenced by FactionBranch.SetOwner().
|
inline |
Definition at line 159 of file PolicyManager.cs.
Referenced by Party.AddMemeber(), FactionBranch.ChangeMemberType(), Chara.MoveHome(), ContentPolicy.OnSwitchContent(), and FactionBranch.RemoveMemeber().
Definition at line 7 of file PolicyManager.cs.
Referenced by Activate(), AddPolicy(), CurrentAP(), Happiness.GetTargetValue(), GetValue(), HasPolicy(), IsActive(), OnSimulateHour(), RefreshEffects(), ContentPolicy.RefreshPolicyList(), LayerPolicy.RefreshPolicyList(), SetActive(), and SetOwner().
| FactionBranch PolicyManager.owner |
Definition at line 9 of file PolicyManager.cs.
Referenced by AddPolicy(), RefreshEffects(), and SetOwner().