Elin Decompiled Documentation EA 23.219 Nightly
Loading...
Searching...
No Matches
ZoneEventSurvival.cs
Go to the documentation of this file.
2{
3 public override void OnTickRound()
4 {
5 if (EClass._map.cells.GetLength(0) <= 100)
6 {
7 return;
8 }
9 Cell cell = EClass._map.cells[100, 100];
10 if (!cell.HasObj)
11 {
12 EClass._map.SetObj(cell.x, cell.z, 46);
13 }
15 {
17 if (traitVoidgate != null)
18 {
19 traitVoidgate.owner.isOn = EClass.game.survival.IsInRaid;
20 }
22 {
24 _ = 0;
25 }
26 }
27 }
28}
Definition: Cell.cs:7
byte z
Definition: Cell.cs:58
byte x
Definition: Cell.cs:56
bool HasObj
Definition: Cell.cs:641
int GetRemainingHours(int rawDeadLine)
Definition: Date.cs:337
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
static World world
Definition: EClass.cs:40
static Map _map
Definition: EClass.cs:18
SurvivalManager survival
Definition: Game.cs:224
Thing FindThing(Func< Thing, bool > func)
Definition: Map.cs:2592
Cell[,] cells
Definition: Map.cs:85
void SetObj(int x, int z, int id=0, int value=1, int dir=0)
Definition: Map.cs:1535
GameDate date
Definition: World.cs:6
override void OnTickRound()