|
Elin Modding Docs Doc
|
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 | 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 6 of file PolicyManager.cs.
| void PolicyManager.Activate | ( | int | id | ) |
Definition at line 50 of file PolicyManager.cs.
| Policy PolicyManager.AddPolicy | ( | int | id, |
| bool | show = true ) |
Definition at line 26 of file PolicyManager.cs.
| void PolicyManager.AddPolicy | ( | string | id | ) |
Definition at line 20 of file PolicyManager.cs.
| int PolicyManager.CurrentAP | ( | ) |
Definition at line 136 of file PolicyManager.cs.
| int PolicyManager.GetValue | ( | int | id | ) |
Definition at line 123 of file PolicyManager.cs.
| bool PolicyManager.HasPolicy | ( | int | id | ) |
Definition at line 87 of file PolicyManager.cs.
| bool PolicyManager.IsActive | ( | int | id, |
| int | days = -1 ) |
Definition at line 74 of file PolicyManager.cs.
| void PolicyManager.OnSimulateHour | ( | VirtualDate | date | ) |
Definition at line 103 of file PolicyManager.cs.
| void PolicyManager.RefreshEffects | ( | ) |
Definition at line 150 of file PolicyManager.cs.
| void PolicyManager.SetActive | ( | int | id, |
| bool | active ) |
Definition at line 62 of file PolicyManager.cs.
| void PolicyManager.SetOwner | ( | FactionBranch | _owner | ) |
Definition at line 9 of file PolicyManager.cs.
| void PolicyManager.Validate | ( | ) |
Definition at line 171 of file PolicyManager.cs.
Definition at line 177 of file PolicyManager.cs.
| FactionBranch PolicyManager.owner |
Definition at line 180 of file PolicyManager.cs.