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

Static Public Member Functions

static Zone Get (int uid)
 
static int Set (Zone zone)
 
- 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)
 

Additional Inherited Members

- 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 1 of file RefZone.cs.

Member Function Documentation

◆ Get()

static Zone RefZone.Get ( int  uid)
inlinestatic

Definition at line 3 of file RefZone.cs.

4 {
5 if (uid != 0)
6 {
7 return EClass.game.spatials.map.TryGetValue(uid) as Zone;
8 }
9 return null;
10 }
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
SpatialManager spatials
Definition: Game.cs:152
GlobalSpatialList map
Definition: Zone.cs:12

References EClass.game, SpatialManager.map, and Game.spatials.

◆ Set()

static int RefZone.Set ( Zone  zone)
inlinestatic

Definition at line 12 of file RefZone.cs.

13 {
14 return zone?.uid ?? 0;
15 }
int uid
Definition: Spatial.cs:70

References Spatial.uid.


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