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

Classes

class  Result
 

Public Types

enum  ApplyMode { Render , HitTest , Apply , Evaluate }
 

Public Member Functions

void Rotate ()
 
void ClearMarkedCells ()
 
unsafe void Apply (Point _point, PartialMap.ApplyMode mode)
 
int FixWall (Cell c)
 
void Update ()
 
void Save (int _x, int _z, int _w, int _h)
 
void _Load ()
 

Static Public Member Functions

static PartialMap Apply (string path, Point pos)
 
static PartialMap Load (string path=null)
 
static void Delete (string path)
 
static void ExportDialog (string dir=null)
 
static void SavePreview (string path, string pathDest)
 
- 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)
 

Public Attributes

string name
 
int offsetX
 
int offsetZ
 
int w
 
int h
 
int dir
 
int baseHeight
 
int baseHeightWater
 
int value
 
bool allowRotate
 
bool ignoreBlock
 
int localOffsetX
 
int localOffsetZ
 
int destX
 
int destZ
 
string path
 
bool editMode
 
bool procedural
 
float ruinChance
 
Map map
 
ZoneExportData exportData
 
List< CellcellsMarked = new List<Cell>()
 
HashSet< int > validPoints = new HashSet<int>()
 
PartialMap.Result result = new PartialMap.Result()
 

Static Public Attributes

static bool relative
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

static string PathTemp [get]
 
bool altDirPosition [get]
 
string ID [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]
 

Detailed Description

Definition at line 10 of file PartialMap.cs.

Member Enumeration Documentation

◆ ApplyMode

enum PartialMap.ApplyMode

Definition at line 598 of file PartialMap.cs.

Member Function Documentation

◆ _Load()

void PartialMap._Load ( )

Definition at line 423 of file PartialMap.cs.

◆ Apply() [1/2]

unsafe void PartialMap.Apply ( Point _point,
PartialMap.ApplyMode mode )

Definition at line 65 of file PartialMap.cs.

◆ Apply() [2/2]

static PartialMap PartialMap.Apply ( string path,
Point pos )
static

Definition at line 387 of file PartialMap.cs.

◆ ClearMarkedCells()

void PartialMap.ClearMarkedCells ( )

Definition at line 55 of file PartialMap.cs.

◆ Delete()

static void PartialMap.Delete ( string path)
static

Definition at line 457 of file PartialMap.cs.

◆ ExportDialog()

static void PartialMap.ExportDialog ( string dir = null)
static

Definition at line 466 of file PartialMap.cs.

◆ FixWall()

int PartialMap.FixWall ( Cell c)

Definition at line 314 of file PartialMap.cs.

◆ Load()

static PartialMap PartialMap.Load ( string path = null)
static

Definition at line 396 of file PartialMap.cs.

◆ Rotate()

void PartialMap.Rotate ( )

Definition at line 43 of file PartialMap.cs.

◆ Save()

void PartialMap.Save ( int _x,
int _z,
int _w,
int _h )

Definition at line 357 of file PartialMap.cs.

◆ SavePreview()

static void PartialMap.SavePreview ( string path,
string pathDest )
static

Definition at line 480 of file PartialMap.cs.

◆ Update()

void PartialMap.Update ( )

Definition at line 347 of file PartialMap.cs.

Member Data Documentation

◆ allowRotate

bool PartialMap.allowRotate

Definition at line 552 of file PartialMap.cs.

◆ baseHeight

int PartialMap.baseHeight

Definition at line 540 of file PartialMap.cs.

◆ baseHeightWater

int PartialMap.baseHeightWater

Definition at line 544 of file PartialMap.cs.

◆ cellsMarked

List<Cell> PartialMap.cellsMarked = new List<Cell>()

Definition at line 589 of file PartialMap.cs.

◆ destX

int PartialMap.destX

Definition at line 565 of file PartialMap.cs.

◆ destZ

int PartialMap.destZ

Definition at line 568 of file PartialMap.cs.

◆ dir

int PartialMap.dir

Definition at line 536 of file PartialMap.cs.

◆ editMode

bool PartialMap.editMode

Definition at line 574 of file PartialMap.cs.

◆ exportData

ZoneExportData PartialMap.exportData

Definition at line 586 of file PartialMap.cs.

◆ h

int PartialMap.h

Definition at line 532 of file PartialMap.cs.

◆ ignoreBlock

bool PartialMap.ignoreBlock

Definition at line 556 of file PartialMap.cs.

◆ localOffsetX

int PartialMap.localOffsetX

Definition at line 559 of file PartialMap.cs.

◆ localOffsetZ

int PartialMap.localOffsetZ

Definition at line 562 of file PartialMap.cs.

◆ map

Map PartialMap.map

Definition at line 583 of file PartialMap.cs.

◆ name

string PartialMap.name

Definition at line 516 of file PartialMap.cs.

◆ offsetX

int PartialMap.offsetX

Definition at line 520 of file PartialMap.cs.

◆ offsetZ

int PartialMap.offsetZ

Definition at line 524 of file PartialMap.cs.

◆ path

string PartialMap.path

Definition at line 571 of file PartialMap.cs.

◆ procedural

bool PartialMap.procedural

Definition at line 577 of file PartialMap.cs.

◆ relative

bool PartialMap.relative
static

Definition at line 512 of file PartialMap.cs.

◆ result

PartialMap.Result PartialMap.result = new PartialMap.Result()

Definition at line 595 of file PartialMap.cs.

◆ ruinChance

float PartialMap.ruinChance

Definition at line 580 of file PartialMap.cs.

◆ validPoints

HashSet<int> PartialMap.validPoints = new HashSet<int>()

Definition at line 592 of file PartialMap.cs.

◆ value

int PartialMap.value

Definition at line 548 of file PartialMap.cs.

◆ w

int PartialMap.w

Definition at line 528 of file PartialMap.cs.

Property Documentation

◆ altDirPosition

bool PartialMap.altDirPosition
get

Definition at line 24 of file PartialMap.cs.

◆ ID

string PartialMap.ID
get

Definition at line 34 of file PartialMap.cs.

◆ PathTemp

string PartialMap.PathTemp
staticget

Definition at line 14 of file PartialMap.cs.


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