Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ZoneTransition.cs
Go to the documentation of this file.
1using Newtonsoft.Json;
2
3public class ZoneTransition : EClass
4{
5 public enum EnterState
6 {
7 Auto,
8 Center,
10 Dir,
11 Top,
12 Right,
13 Bottom,
14 Left,
15 Dead,
16 Exact,
19 Down,
20 Up,
21 Return,
24 Region,
27 Fall
28 }
29
30 [JsonProperty]
31 public int uidLastZone;
32
33 [JsonProperty]
34 public int x;
35
36 [JsonProperty]
37 public int z;
38
39 [JsonProperty]
41
42 [JsonProperty]
43 public string idTele;
44
45 public float ratePos = -1f;
46
48
49 public static EnterState DirToState(int dir)
50 {
51 return dir switch
52 {
53 0 => EnterState.Top,
54 1 => EnterState.Right,
55 3 => EnterState.Bottom,
56 _ => EnterState.Left,
57 };
58 }
59}
Definition: EClass.cs:5
static Zone Get(int uid)
Definition: RefZone.cs:3
EnterState state
static EnterState DirToState(int dir)
Definition: Zone.cs:12