Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GlobalGoalExplore Class Reference
Inheritance diagram for GlobalGoalExplore:
GlobalGoalVisitAndStay GlobalGoal EClass

Public Member Functions

override Zone GetDestZone ()
 
- Public Member Functions inherited from GlobalGoalVisitAndStay
override void OnAdvanceHour ()
 
virtual void OnStay ()
 
virtual void OnTravel ()
 
virtual Zone GetDestZone ()
 
- Public Member Functions inherited from GlobalGoal
void SetOwner (Chara c)
 
void Start ()
 
virtual void OnStart ()
 
void AdvanceHour ()
 
virtual void OnAdvanceHour ()
 
void Kill ()
 
void Complete ()
 
virtual void OnComplete ()
 

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)
 
- Public Attributes inherited from GlobalGoalVisitAndStay
int uidZone
 
- Public Attributes inherited from GlobalGoal
int hours
 
Chara owner
 
- Static Public Attributes inherited from EClass
static Core core
 
- Properties inherited from GlobalGoalVisitAndStay
Zone destZone [get]
 
- 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 3 of file GlobalGoalExplore.cs.

Member Function Documentation

◆ GetDestZone()

override Zone GlobalGoalExplore.GetDestZone ( )
inlinevirtual

Reimplemented from GlobalGoalVisitAndStay.

Definition at line 5 of file GlobalGoalExplore.cs.

6 {
7 foreach (Spatial item in EClass.world.region.children.Where((Spatial a) => (a as Zone).IsExplorable).ToList().Shuffle())
8 {
10 {
11 return item as Zone;
12 }
13 }
14 return base.GetDestZone();
15 }
Zone currentZone
Definition: Chara.cs:240
Definition: EClass.cs:5
static World world
Definition: EClass.cs:40
Chara owner
Definition: GlobalGoal.cs:8
List< Spatial > children
Definition: Spatial.cs:37
Region region
Definition: World.cs:23
Definition: Zone.cs:12

References Spatial.children, Chara.currentZone, item, GlobalGoal.owner, World.region, and EClass.world.


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