|
Elin Decompiled Documentation EA 23.229 Stable 1st Anniversary Patch 2
|
Classes | |
| class | Cell |
Public Member Functions | |
| void | Init (int _mapSize, int _cellSize) |
| void | Reset () |
| Point | GetCenterOfEmptyCell (int tries=100) |
| Cell | GetCenterCell (int radius=1) |
| Cell | GetEmptyCell () |
| void | ForeachCenterOfEmptyCell (Action< Point > action) |
| void | OccyupyPOI (Point p, int radius=0) |
| void | OccyupyPOI (int _x, int _z, int radius) |
Public Attributes | |
| Cell[,] | cells |
Static Public Attributes | |
| static int | cellSize |
| static int | mapSize |
Properties | |
| int | length [get] |
|
inline |
|
inline |
Definition at line 65 of file POIMap.cs.
References cells, length, and EClass.rnd().
Referenced by Zone.SpawnAltar().
|
inline |
Definition at line 50 of file POIMap.cs.
References cells, POIMap.Cell.GetCenter(), Point.Invalid, length, and EClass.rnd().
|
inline |
Definition at line 70 of file POIMap.cs.
References cells, length, and EClass.rnd().
|
inline |
|
inline |
Definition at line 104 of file POIMap.cs.
References cells, cellSize, length, and POIMap.Cell.occupied.
|
inline |
Definition at line 99 of file POIMap.cs.
References OccyupyPOI(), Point.x, and Point.z.
Referenced by OccyupyPOI(), and Zone.SpawnAltar().
|
inline |
Definition at line 35 of file POIMap.cs.
Referenced by Init(), MapGen.OnGenerateTerrain(), MapGenDungen.OnGenerateTerrain(), and MapGenRegion.OnGenerateTerrain().
| Cell [,] POIMap.cells |
Definition at line 23 of file POIMap.cs.
Referenced by ForeachCenterOfEmptyCell(), GetCenterCell(), GetCenterOfEmptyCell(), GetEmptyCell(), Init(), OccyupyPOI(), and Reset().
|
static |
Definition at line 19 of file POIMap.cs.
Referenced by POIMap.Cell.GetCenter(), Init(), and OccyupyPOI().
|
static |
Definition at line 21 of file POIMap.cs.
Referenced by Init(), and BaseMapGen.SetSize().
|
get |
Definition at line 25 of file POIMap.cs.
Referenced by ForeachCenterOfEmptyCell(), GetCenterCell(), GetCenterOfEmptyCell(), GetEmptyCell(), Init(), OccyupyPOI(), and Reset().