Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Member |
class | Result |
Public Types | |
enum | MoveType { Surface , Block } |
enum | StartType { Surface , Block } |
Public Member Functions | |
bool | CrawlUntil (Map map, Func< Point > onStart, int tries, Func< Result, bool > canComplete, Action onFail=null) |
void | Crawl (Map map) |
Result | Crawl (Map map, Point _start, Action< Point > onNewVisit=null) |
Static Public Member Functions | |
static Crawler | Create (string id) |
![]() | |
static int | rnd (int a) |
Public Attributes | |
int | life |
int | member |
int | radius |
int | repeat |
bool | stickToStartBiome |
bool | skipBorder |
StartType | startType |
MoveType | moveType |
int | Size |
List< Member > | members = new List<Member>() |
Static Public Attributes | |
static int[,] | mapping = new int[0, 0] |
static int | sync |
Definition at line 5 of file Crawler.cs.
enum Crawler.MoveType |
Enumerator | |
---|---|
Surface | |
Block |
Definition at line 19 of file Crawler.cs.
enum Crawler.StartType |
|
inline |
Definition at line 107 of file Crawler.cs.
References Cell.biome, Point.cell, Crawl(), MapBounds.GetRandomSurface(), BiomeProfile.Populate(), repeat, and Map.sizeModifier.
Referenced by Crawl(), and CrawlUntil().
Definition at line 118 of file Crawler.cs.
References Cell._block, Cell.biome, Point.cell, Cell.cells, Point.Clamp(), Point.Copy(), Cell.Installed, Cell.IsTopWater, life, mapping, member, members, moveType, Crawler.Member.pos, radius, EScriptable.rnd(), Point.Set(), Size, MapBounds.Size, skipBorder, Cell.sourceBlock, stickToStartBiome, and sync.
|
inline |
Definition at line 57 of file Crawler.cs.
References Crawl(), Debug, Point.HasBlock, Point.Installed, Point.sourceBlock, and startType.
Referenced by MapGenDungen.OnGenerateTerrain(), MapGen.Populate(), Zone.SpawnAltar(), and Zone.TryGenerateOre().
|
inlinestatic |
Definition at line 190 of file Crawler.cs.
Referenced by MapGenDungen.OnGenerateTerrain(), MapGen.Populate(), and Zone.TryGenerateOre().
int Crawler.life |
Definition at line 35 of file Crawler.cs.
Referenced by Crawl().
|
static |
Definition at line 31 of file Crawler.cs.
Referenced by Crawl().
int Crawler.member |
Definition at line 37 of file Crawler.cs.
Referenced by Crawl().
Definition at line 55 of file Crawler.cs.
Referenced by Crawl().
MoveType Crawler.moveType |
Definition at line 49 of file Crawler.cs.
Referenced by Crawl().
int Crawler.radius |
Definition at line 39 of file Crawler.cs.
Referenced by Crawl().
int Crawler.repeat |
Definition at line 41 of file Crawler.cs.
Referenced by Crawl().
int Crawler.Size |
Definition at line 52 of file Crawler.cs.
Referenced by Crawl().
bool Crawler.skipBorder |
Definition at line 45 of file Crawler.cs.
Referenced by Crawl().
StartType Crawler.startType |
Definition at line 47 of file Crawler.cs.
Referenced by CrawlUntil().
bool Crawler.stickToStartBiome |
Definition at line 43 of file Crawler.cs.
Referenced by Crawl().
|
static |
Definition at line 33 of file Crawler.cs.
Referenced by Crawl().