Elin Modding Docs Doc
Loading...
Searching...
No Matches
EloMap Class Reference
Inheritance diagram for EloMap:
EClass

Classes

class  Cell
 
class  TileInfo
 

Public Member Functions

void Init (EloMapActor _actor)
 
void SetZone (int gx, int gy, Zone z, bool updateMesh=false)
 
EloMap.Cell GetCell (Point pos)
 
EloMap.Cell GetCell (int gx, int gy)
 
EloMap.TileInfo GetTileInfo (int gx, int gy)
 
List< SourceGlobalTile.RowGetSources (int gx, int gy)
 
bool CanBuildSite (int gx, int gy, int radius=0, ElomapSiteType type=ElomapSiteType.Nefia)
 
bool IsSnow (int gx, int gy)
 
Zone GetZone (Point p)
 
Zone GetZone (int gx, int gy)
 
int GetRoadDist (int gx, int gy)
 
void AddLight (int gx, int gy, string id="elolight")
 
void RemoveLight (int gx, int gy)
 

Public Attributes

int[,] _ints
 
EloMap.Cell[,] cells
 
TilemapGroup group
 
STETilemap fogmap
 
STETilemap seaMap
 
STETilemap objScatterMap
 
STETilemap objmap
 
STETilemap extramap
 
STETilemap cloudmap
 
int w
 
int h
 
int minX
 
int minY
 
bool initialized
 
EloMapActor actor
 

Properties

Region region [get]
 
string idMap [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 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)
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 9 of file EloMap.cs.

Member Function Documentation

◆ AddLight()

void EloMap.AddLight ( int gx,
int gy,
string id = "elolight" )

Definition at line 382 of file EloMap.cs.

◆ CanBuildSite()

bool EloMap.CanBuildSite ( int gx,
int gy,
int radius = 0,
ElomapSiteType type = ElomapSiteType::Nefia )

Definition at line 289 of file EloMap.cs.

◆ GetCell() [1/2]

EloMap.Cell EloMap.GetCell ( int gx,
int gy )

Definition at line 193 of file EloMap.cs.

◆ GetCell() [2/2]

EloMap.Cell EloMap.GetCell ( Point pos)

Definition at line 187 of file EloMap.cs.

◆ GetRoadDist()

int EloMap.GetRoadDist ( int gx,
int gy )

Definition at line 350 of file EloMap.cs.

◆ GetSources()

List< SourceGlobalTile.Row > EloMap.GetSources ( int gx,
int gy )

Definition at line 271 of file EloMap.cs.

◆ GetTileInfo()

EloMap.TileInfo EloMap.GetTileInfo ( int gx,
int gy )

Definition at line 203 of file EloMap.cs.

◆ GetZone() [1/2]

Zone EloMap.GetZone ( int gx,
int gy )

Definition at line 332 of file EloMap.cs.

◆ GetZone() [2/2]

Zone EloMap.GetZone ( Point p)

Definition at line 326 of file EloMap.cs.

◆ Init()

void EloMap.Init ( EloMapActor _actor)

Definition at line 68 of file EloMap.cs.

◆ IsSnow()

bool EloMap.IsSnow ( int gx,
int gy )

Definition at line 315 of file EloMap.cs.

◆ RemoveLight()

void EloMap.RemoveLight ( int gx,
int gy )

Definition at line 396 of file EloMap.cs.

◆ SetZone()

void EloMap.SetZone ( int gx,
int gy,
Zone z,
bool updateMesh = false )

Definition at line 146 of file EloMap.cs.

Member Data Documentation

◆ _ints

int [,] EloMap._ints

Definition at line 411 of file EloMap.cs.

◆ actor

EloMapActor EloMap.actor

Definition at line 453 of file EloMap.cs.

◆ cells

EloMap.Cell [,] EloMap.cells

Definition at line 414 of file EloMap.cs.

◆ cloudmap

STETilemap EloMap.cloudmap

Definition at line 435 of file EloMap.cs.

◆ extramap

STETilemap EloMap.extramap

Definition at line 432 of file EloMap.cs.

◆ fogmap

STETilemap EloMap.fogmap

Definition at line 420 of file EloMap.cs.

◆ group

TilemapGroup EloMap.group

Definition at line 417 of file EloMap.cs.

◆ h

int EloMap.h

Definition at line 441 of file EloMap.cs.

◆ initialized

bool EloMap.initialized

Definition at line 450 of file EloMap.cs.

◆ minX

int EloMap.minX

Definition at line 444 of file EloMap.cs.

◆ minY

int EloMap.minY

Definition at line 447 of file EloMap.cs.

◆ objmap

STETilemap EloMap.objmap

Definition at line 429 of file EloMap.cs.

◆ objScatterMap

STETilemap EloMap.objScatterMap

Definition at line 426 of file EloMap.cs.

◆ seaMap

STETilemap EloMap.seaMap

Definition at line 423 of file EloMap.cs.

◆ w

int EloMap.w

Definition at line 438 of file EloMap.cs.

Property Documentation

◆ idMap

string EloMap.idMap
get

Definition at line 23 of file EloMap.cs.

◆ region

Region EloMap.region
get

Definition at line 13 of file EloMap.cs.


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