Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetOwner (FactionBranch _branch) |
void | OnSimulateDay () |
void | TryAddPlans (string idResource, int lv) |
bool | IsListBarter (string idPlan) |
bool | HasPlan (string idPlan) |
bool | IsComplete (string id, int rank=-1) |
void | AddPlan (string id) |
void | AddPlan (ResearchPlan p) |
bool | CanCompletePlan (ResearchPlan p) |
void | CompletePlan (ResearchPlan p) |
void | ShowNewPlans (Action onComplete=null) |
Public Attributes | |
List< ResearchPlan > | plans = new List<ResearchPlan>() |
List< ResearchPlan > | finished = new List<ResearchPlan>() |
List< ResearchPlan > | newPlans = new List<ResearchPlan>() |
ResearchPlan | focused |
FactionBranch | branch |
Additional Inherited Members | |
![]() | |
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 Core | core |
![]() | |
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 ResearchManager.cs.
|
inline |
Definition at line 97 of file ResearchManager.cs.
References branch, ResearchPlan.Name, newPlans, plans, WidgetPopText.Say(), and ResearchPlan.SetOwner().
|
inline |
Definition at line 92 of file ResearchManager.cs.
References AddPlan(), and ResearchPlan.Create().
Referenced by AddPlan(), ShowNewPlans(), and TryAddPlans().
|
inline |
Definition at line 105 of file ResearchManager.cs.
References branch, HomeResourceManager.knowledge, FactionBranch.resources, ResearchPlan.source, and BaseHomeResource.value.
Referenced by ItemResearch.SetPlan().
|
inline |
Definition at line 114 of file ResearchManager.cs.
References finished, focused, ResearchPlan.Name, ResearchPlan.OnComplete(), plans, ResearchPlan.rank, WidgetPopText.Say(), and ResearchPlan.source.
|
inline |
Definition at line 58 of file ResearchManager.cs.
References finished, item, and plans.
Referenced by IsListBarter().
|
inline |
Definition at line 70 of file ResearchManager.cs.
References finished, item, plans, ResearchPlan.rank, and ResearchPlan.source.
|
inline |
Definition at line 48 of file ResearchManager.cs.
References branch, HasPlan(), SourceResearch.Row.id, SourceResearch.Row.money, FactionBranch.researches, SourceManager.researches, and EClass.sources.
|
inline |
Definition at line 35 of file ResearchManager.cs.
References newPlans.
Referenced by FactionBranch.OnSimulateDay().
|
inline |
Definition at line 22 of file ResearchManager.cs.
References branch, finished, item, plans, and ResearchPlan.SetOwner().
Referenced by FactionBranch.SetOwner().
|
inline |
Definition at line 136 of file ResearchManager.cs.
References AddPlan(), branch, EClass.core, ResearchPlan.Create(), EClass.game, item, ResearchPlan.Name, FactionBranch.researches, SourceManager.researches, Game.seed, FactionBranch.seedPlan, Rand.SetSeed(), EClass.sources, and Core.ui.
|
inline |
Definition at line 40 of file ResearchManager.cs.
References AddPlan(), item, SourceManager.researches, and EClass.sources.
FactionBranch ResearchManager.branch |
Definition at line 20 of file ResearchManager.cs.
Referenced by AddPlan(), CanCompletePlan(), IsListBarter(), SetOwner(), and ShowNewPlans().
List<ResearchPlan> ResearchManager.finished = new List<ResearchPlan>() |
Definition at line 12 of file ResearchManager.cs.
Referenced by CompletePlan(), HasPlan(), IsComplete(), LayerTech.RefreshTech(), LayerHome.RefreshTech(), and SetOwner().
ResearchPlan ResearchManager.focused |
Definition at line 18 of file ResearchManager.cs.
Referenced by CompletePlan(), LayerHome.RefreshFocus(), LayerTech.RefreshFocus(), and ItemResearch.SetPlan().
List<ResearchPlan> ResearchManager.newPlans = new List<ResearchPlan>() |
Definition at line 15 of file ResearchManager.cs.
Referenced by AddPlan(), OnSimulateDay(), and UIHomeInfo.RefreshReport().
List<ResearchPlan> ResearchManager.plans = new List<ResearchPlan>() |
Definition at line 9 of file ResearchManager.cs.
Referenced by AddPlan(), CompletePlan(), HasPlan(), IsComplete(), UIHomeInfo.RefreshReport(), LayerTech.RefreshTech(), LayerHome.RefreshTech(), SetOwner(), and ItemResearch.SetPlan().