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

Public Types

enum  EnterState {
  Auto , Center , Encounter , Dir ,
  Top , Right , Bottom , Left ,
  Dead , Exact , PortalReturn , RandomVisit ,
  Down , Up , Return , Teleport ,
  Elevator , Region , UndergroundOrSky , Moongate ,
  Fall
}
 

Static Public Member Functions

static EnterState DirToState (int dir)
 
- 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

int uidLastZone
 
int x
 
int z
 
EnterState state
 
string idTele
 
float ratePos = -1f
 

Properties

Zone lastZone [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]
 

Additional Inherited Members

- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 3 of file ZoneTransition.cs.

Member Enumeration Documentation

◆ EnterState

Member Function Documentation

◆ DirToState()

static EnterState ZoneTransition.DirToState ( int  dir)
inlinestatic

Definition at line 49 of file ZoneTransition.cs.

50 {
51 return dir switch
52 {
53 0 => EnterState.Top,
54 1 => EnterState.Right,
55 3 => EnterState.Bottom,
56 _ => EnterState.Left,
57 };
58 }

Referenced by Player.EnterLocalZone(), and LayerTravel.Refresh().

Member Data Documentation

◆ idTele

string ZoneTransition.idTele

Definition at line 43 of file ZoneTransition.cs.

Referenced by Zone.GetSpawnPos().

◆ ratePos

float ZoneTransition.ratePos = -1f

Definition at line 45 of file ZoneTransition.cs.

Referenced by Zone.GetSpawnPos().

◆ state

EnterState ZoneTransition.state

Definition at line 40 of file ZoneTransition.cs.

Referenced by Zone.GetSpawnPos(), and Scene.OnUpdate().

◆ uidLastZone

int ZoneTransition.uidLastZone

Definition at line 31 of file ZoneTransition.cs.

◆ x

int ZoneTransition.x

Definition at line 34 of file ZoneTransition.cs.

Referenced by Zone.GetSpawnPos().

◆ z

int ZoneTransition.z

Definition at line 37 of file ZoneTransition.cs.

Referenced by Zone.GetSpawnPos().

Property Documentation

◆ lastZone

Zone ZoneTransition.lastZone
get

Definition at line 47 of file ZoneTransition.cs.

Referenced by Zone.GetSpawnPos(), and Scene.OnUpdate().


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