Elin Decompiled Documentation EA 23.102 Nightly
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
ExpeditionManager Class Reference
Inheritance diagram for ExpeditionManager:
EClass

Public Member Functions

void SetOwner (FactionBranch _branch)
 
void Add (Expedition ex)
 
void OnSimulateHour ()
 

Public Attributes

Dictionary< int, Expeditiondict = new Dictionary<int, Expedition>()
 
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 5 of file ExpeditionManager.cs.

Member Function Documentation

◆ Add()

void ExpeditionManager.Add ( Expedition  ex)
inline

Definition at line 21 of file ExpeditionManager.cs.

22 {
23 dict[ex.uidChara] = ex;
24 ex.Start();
25 }
Dictionary< int, Expedition > dict
int uidChara
Definition: Expedition.cs:9
void Start()
Definition: Expedition.cs:54

References dict, Expedition.Start(), and Expedition.uidChara.

Referenced by ListPeopleExpedition.OnClick(), and Chara.TryWorkOutside().

◆ OnSimulateHour()

void ExpeditionManager.OnSimulateHour ( )
inline

Definition at line 27 of file ExpeditionManager.cs.

28 {
29 dict.Values.ToList().ForeachReverse(delegate(Expedition e)
30 {
31 e.OnAdvanceHour();
32 });
33 }
void OnAdvanceHour()
Definition: Expedition.cs:67

References dict, and Expedition.OnAdvanceHour().

◆ SetOwner()

void ExpeditionManager.SetOwner ( FactionBranch  _branch)
inline

Definition at line 12 of file ExpeditionManager.cs.

13 {
14 branch = _branch;
15 foreach (Expedition value in dict.Values)
16 {
17 value.SetOwner(branch);
18 }
19 }
FactionBranch branch
void SetOwner(FactionBranch _branch)
Definition: Expedition.cs:26

References branch, dict, and Expedition.SetOwner().

Referenced by FactionBranch.SetOwner().

Member Data Documentation

◆ branch

FactionBranch ExpeditionManager.branch

Definition at line 10 of file ExpeditionManager.cs.

Referenced by SetOwner().

◆ dict

Dictionary<int, Expedition> ExpeditionManager.dict = new Dictionary<int, Expedition>()

Definition at line 8 of file ExpeditionManager.cs.

Referenced by Add(), Expedition.End(), OnSimulateHour(), and SetOwner().


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