Elin Modding Docs Doc
Loading...
Searching...
No Matches
ResearchManager Class Reference
Inheritance diagram for ResearchManager:
EClass

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< ResearchPlanplans = new List<ResearchPlan>()
 
List< ResearchPlanfinished = new List<ResearchPlan>()
 
List< ResearchPlannewPlans = new List<ResearchPlan>()
 
ResearchPlan focused
 
FactionBranch branch
 

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]
 

Detailed Description

Definition at line 7 of file ResearchManager.cs.

Member Function Documentation

◆ AddPlan() [1/2]

void ResearchManager.AddPlan ( ResearchPlan p)

Definition at line 101 of file ResearchManager.cs.

◆ AddPlan() [2/2]

void ResearchManager.AddPlan ( string id)

Definition at line 95 of file ResearchManager.cs.

◆ CanCompletePlan()

bool ResearchManager.CanCompletePlan ( ResearchPlan p)

Definition at line 110 of file ResearchManager.cs.

◆ CompletePlan()

void ResearchManager.CompletePlan ( ResearchPlan p)

Definition at line 116 of file ResearchManager.cs.

◆ HasPlan()

bool ResearchManager.HasPlan ( string idPlan)

Definition at line 53 of file ResearchManager.cs.

◆ IsComplete()

bool ResearchManager.IsComplete ( string id,
int rank = -1 )

Definition at line 69 of file ResearchManager.cs.

◆ IsListBarter()

bool ResearchManager.IsListBarter ( string idPlan)

Definition at line 46 of file ResearchManager.cs.

◆ OnSimulateDay()

void ResearchManager.OnSimulateDay ( )

Definition at line 24 of file ResearchManager.cs.

◆ SetOwner()

void ResearchManager.SetOwner ( FactionBranch _branch)

Definition at line 10 of file ResearchManager.cs.

◆ ShowNewPlans()

void ResearchManager.ShowNewPlans ( Action onComplete = null)

Definition at line 137 of file ResearchManager.cs.

◆ TryAddPlans()

void ResearchManager.TryAddPlans ( string idResource,
int lv )

Definition at line 30 of file ResearchManager.cs.

Member Data Documentation

◆ branch

FactionBranch ResearchManager.branch

Definition at line 181 of file ResearchManager.cs.

◆ finished

List<ResearchPlan> ResearchManager.finished = new List<ResearchPlan>()

Definition at line 170 of file ResearchManager.cs.

◆ focused

ResearchPlan ResearchManager.focused

Definition at line 178 of file ResearchManager.cs.

◆ newPlans

List<ResearchPlan> ResearchManager.newPlans = new List<ResearchPlan>()

Definition at line 174 of file ResearchManager.cs.

◆ plans

List<ResearchPlan> ResearchManager.plans = new List<ResearchPlan>()

Definition at line 166 of file ResearchManager.cs.


The documentation for this class was generated from the following file: