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

Public Member Functions

void CreateNew (int size, bool setReference=true)
 
void SetZone (Zone _zone)
 
void SetReference ()
 
void OnDeactivate ()
 
void Resize (int newSize)
 
void Shift (Vector2Int offset)
 
void Reload ()
 
void ReloadRoom ()
 
void Reset ()
 
void ResetEditorPos ()
 
void Save (string path, ZoneExportData export=null, PartialMap partial=null)
 
void Load (string path, bool import=false, PartialMap partial=null)
 
void ValidateVersion ()
 
void OnLoad ()
 
void OnImport (ZoneExportData data)
 
void ExportMetaData (string _path, string id, PartialMap partial=null)
 
void AddCardOnActivate (Card c)
 
void OnCardAddedToZone (Card t, int x, int z)
 
void OnCardRemovedFromZone (Card t)
 
void MoveCard (Point p, Card t)
 
void _AddCard (int x, int z, Card t, bool onAddToZone)
 
void _RemoveCard (Card t)
 
Cell GetCell (int index)
 
void SetSeen (int x, int z, bool seen=true, bool refresh=true)
 
void RevealAll (bool reveal=true)
 
void Reveal (Point center, int power=100)
 
void RefreshFOV (int x, int z, int radius=6, bool recalculate=false)
 
void RefreshFOVAll ()
 
void SetFloor (int x, int z, int idMat=0, int idFloor=0)
 
void SetFloor (int x, int z, int idMat, int idFloor, int dir)
 
void SetBridge (int x, int z, int height=0, int idMat=0, int idBridge=0, int dir=0)
 
void SetRoofBlock (int x, int z, int idMat, int idBlock, int dir, int height)
 
void SetBlock (int x, int z, int idMat=0, int idBlock=0)
 
void SetBlock (int x, int z, int idMat, int idBlock, int dir)
 
void OnSetBlockOrDoor (int x, int z)
 
void TryRemoveRoom (int x, int z)
 
void TryAddRoom (int x, int z)
 
void SetBlockDir (int x, int z, int dir)
 
void ModFire (int x, int z, int amount)
 
void TryShatter (Point pos, int ele, int power)
 
void Burn (int x, int z, bool instant=false)
 
void SetLiquid (int x, int z, CellEffect effect=null)
 
void SetLiquid (int x, int z, int id, int value=1)
 
void SetEffect (int x, int z, CellEffect effect=null)
 
void ModLiquid (int x, int z, int amount)
 
void ClearRainAndDecal ()
 
void SetObj (int x, int z, int id=0, int value=1, int dir=0)
 
void SetObj (int x, int z, int idMat, int idObj, int value, int dir)
 
void AddBackerTree ()
 
SourceBacker.Row GetBackerObj (Point p)
 
void ApplyBackerObj (Point p, int id=-1)
 
void DropBlockComponent (Point point, TileRow r, SourceMaterial.Row mat, bool recoverBlock, bool isPlatform=false, Chara c=null)
 
void MineBlock (Point point, bool recoverBlock=false, Chara c=null)
 
void MineRamp (Point point, int ramp, bool recoverBlock=false)
 
void MineFloor (Point point, Chara c=null, bool recoverBlock=false, bool removePlatform=true)
 
void RefreshShadow (int x, int z)
 
void TrySmoothPick (Cell cell, Thing t, Chara c)
 
void TrySmoothPick (Point p, Thing t, Chara c)
 
void DestroyObj (Point point)
 
void MineObj (Point point, Task task=null, Chara c=null)
 
void MineObjSound (Point point)
 
PlantData TryGetPlant (Point p)
 
PlantData TryGetPlant (Cell c)
 
PlantData AddPlant (Point pos, Thing seed)
 
void RemovePlant (Point pos)
 
void ValidateInstalled (Point p)
 
void _ValidateInstalled (int x, int y)
 
void RemoveLonelyRamps (Cell cell)
 
void DestroyBlock (int x, int z)
 
void AddDecal (int x, int z, int id, int amount=1, bool refresh=true)
 
void SetDecal (int x, int z, int id=0, int amount=1, bool refresh=true)
 
void SetFoormark (Point pos, int id, int angle, int offset=0)
 
int AngleToIndex (int a)
 
void RefreshSingleTile (int x, int z)
 
void RefreshAllTiles ()
 
void RefreshNeighborTiles (int x, int z)
 
void QuickRefreshTile (int x, int z)
 
int GetRampDir (int x, int z, TileType blockType=null)
 
Cell GetDependedRamp (Cell cell)
 
Point GetRandomPoint (Point center, int radius, int tries=100, bool mustBeWalkable=true, bool requireLos=true)
 
new Point GetRandomEdge (int r=3)
 
Point GetNearbyResourcePoint (Point center)
 
List< PointListPointsInCircle (Point center, float radius, bool mustBeWalkable=true, bool los=true)
 
List< CharaListCharasInCircle (Point center, float radius, bool los=true)
 
List< PointListPointsInArc (Point center, Point to, int radius, float angle)
 
List< PointListPointsInLine (Point center, Point to, int radius)
 
void SetBounds (int size)
 
void SetBounds (MapBounds b)
 
new void ForeachCell (Action< Cell > action)
 
new void ForeachPoint (Action< Point > action)
 
new void ForeachXYZ (Action< int, int > action)
 
void ForeachSphere (int _x, int _z, float r, Action< Point > action)
 
void ForeachNeighbor (Point center, Action< Point > action)
 
void Quake ()
 
int CountChara (Faction faction)
 
int CountGuest ()
 
int CountHostile ()
 
int CountWildAnimal ()
 
int CountNonHostile ()
 
List< CharaListChara (Faction faction)
 
List< ThingListThing< T > ()
 
bool PutAway (Card c)
 
Chara FindChara (string id)
 
Chara FindChara (int uid)
 
Thing FindThing (Func< Thing, bool > func)
 
Thing FindThing (int uid)
 
FindThing< T > ()
 
Thing FindThing (Type type, Chara c=null)
 
Thing FindThing (Type type, BaseArea area1, BaseArea area2=null)
 
Thing FindThing (string workTag, BaseArea area1=null, BaseArea area2=null)
 
Thing FindThing (string workTag, Chara c)
 
BaseArea FindPublicArea ()
 
void RefreshSunMap ()
 
- Public Member Functions inherited from MapBounds
void SetBounds (int _x, int _z, int _maxX, int _maxZ)
 
bool Contains (int dx, int dz)
 
bool Contains (Point p)
 
Point GetCenterPos ()
 
Point GetRandomTopPos ()
 
Point GetRandomRightPos ()
 
Point GetRandomBottomPos ()
 
Point GetRandomLeftPos ()
 
Point GetTopPos (float rate=-1f)
 
Point GetRightPos (float rate=-1f)
 
Point GetBottomPos (float rate=-1f)
 
Point GetLeftPos (float rate=-1f)
 
Point GetRandomPoint ()
 
Point GetSpawnPos (int x, int z, int maxX, int maxZ)
 
bool CanExpand (int a)
 
void Expand (int a)
 
Point GetSurface (int x, int z, bool walkable=true)
 
Point GetRandomSurface (int x, int z, int radius, bool walkable=true, bool allowWater=false)
 
Point GetRandomSurface (bool centered=false, bool walkable=true, bool allowWater=false)
 
Point GetRandomSpawnPos ()
 
Point GetRandomEdge (int r=3)
 
Point GetRandomSpace (int width, int height, int tries=100)
 
void ForeachCell (Action< Cell > action)
 
void ForeachPoint (Action< Point > action)
 
void ForeachXYZ (Action< int, int > action)
 

Static Public Member Functions

static MapMetaData GetMetaData (string pathZip)
 
static void UpdateMetaData (string pathZip, PartialMap partial=null)
 
- 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

int seed
 
int _bits
 
global::Version version
 
RoomManager rooms = new RoomManager()
 
TaskManager tasks = new TaskManager()
 
MapConfig config = new MapConfig()
 
CustomData custom
 
List< CharaserializedCharas = new List<Chara>()
 
List< CharadeadCharas = new List<Chara>()
 
List< Thingthings = new List<Thing>()
 
MapBounds bounds = new MapBounds()
 
List< int > _plDay = new List<int>()
 
List< int > _plNight = new List<int>()
 
Dictionary< int, int > gatherCounts = new Dictionary<int, int>()
 
Dictionary< int, CellEffectcellEffects = new Dictionary<int, CellEffect>()
 
Dictionary< int, int > backerObjs = new Dictionary<int, int>()
 
Dictionary< int, PlantDataplants = new Dictionary<int, PlantData>()
 
BitArray32 bits
 
Playlist plDay
 
Playlist plNight
 
List< Characharas = new List<Chara>()
 
List< TransAnimepointAnimes = new List<TransAnime>()
 
Cell[,] cells
 
Zone zone
 
CellEffectManager effectManager = new CellEffectManager()
 
PropsManager props = new PropsManager()
 
FloodSpiller flood = new FloodSpiller()
 
BiomeProfile[,] biomes
 
POIMap poiMap
 
List< Footmarkfootmarks = new List<Footmark>()
 
FowProfile fowProfile
 
bool revealed
 
- Public Attributes inherited from MapBounds
int x
 
int z
 
int maxX
 
int maxZ
 
int Size
 

Static Public Attributes

static HashSet< int > sunMap = new HashSet<int>()
 
static bool isDirtySunMap
 
- Static Public Attributes inherited from EClass
static Core core
 

Protected Member Functions

virtual void OnSerializing ()
 

Properties

bool isBreakerDown [get, set]
 
PropsStocked Stocked [get]
 
PropsInstalled Installed [get]
 
PropsRoaming Roaming [get]
 
float sizeModifier [get]
 
bool isGenerated [get]
 
bool IsIndoor [get]
 
int SizeXZ [get]
 
IEnumerable< CardCards [get]
 
- Properties inherited from MapBounds
int CenterX [get]
 
int CenterZ [get]
 
int Width [get]
 
int Height [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 14 of file Map.cs.

Member Function Documentation

◆ _AddCard()

void Map._AddCard ( int x,
int z,
Card t,
bool onAddToZone )

Definition at line 821 of file Map.cs.

◆ _RemoveCard()

void Map._RemoveCard ( Card t)

Definition at line 847 of file Map.cs.

◆ _ValidateInstalled()

void Map._ValidateInstalled ( int x,
int y )

Definition at line 2016 of file Map.cs.

◆ AddBackerTree()

void Map.AddBackerTree ( )

Definition at line 1550 of file Map.cs.

◆ AddCardOnActivate()

void Map.AddCardOnActivate ( Card c)

Definition at line 767 of file Map.cs.

◆ AddDecal()

void Map.AddDecal ( int x,
int z,
int id,
int amount = 1,
bool refresh = true )

Definition at line 2070 of file Map.cs.

◆ AddPlant()

PlantData Map.AddPlant ( Point pos,
Thing seed )

Definition at line 1989 of file Map.cs.

◆ AngleToIndex()

int Map.AngleToIndex ( int a)

Definition at line 2123 of file Map.cs.

◆ ApplyBackerObj()

void Map.ApplyBackerObj ( Point p,
int id = -1 )

Definition at line 1596 of file Map.cs.

◆ Burn()

void Map.Burn ( int x,
int z,
bool instant = false )

Definition at line 1378 of file Map.cs.

◆ ClearRainAndDecal()

void Map.ClearRainAndDecal ( )

Definition at line 1502 of file Map.cs.

◆ CountChara()

int Map.CountChara ( Faction faction)

Definition at line 2545 of file Map.cs.

◆ CountGuest()

int Map.CountGuest ( )

Definition at line 2562 of file Map.cs.

◆ CountHostile()

int Map.CountHostile ( )

Definition at line 2579 of file Map.cs.

◆ CountNonHostile()

int Map.CountNonHostile ( )

Definition at line 2607 of file Map.cs.

◆ CountWildAnimal()

int Map.CountWildAnimal ( )

Definition at line 2593 of file Map.cs.

◆ CreateNew()

void Map.CreateNew ( int size,
bool setReference = true )

Definition at line 131 of file Map.cs.

◆ DestroyBlock()

void Map.DestroyBlock ( int x,
int z )

Definition at line 2064 of file Map.cs.

◆ DestroyObj()

void Map.DestroyObj ( Point point)

Definition at line 1823 of file Map.cs.

◆ DropBlockComponent()

void Map.DropBlockComponent ( Point point,
TileRow r,
SourceMaterial.Row mat,
bool recoverBlock,
bool isPlatform = false,
Chara c = null )

Definition at line 1623 of file Map.cs.

◆ ExportMetaData()

void Map.ExportMetaData ( string _path,
string id,
PartialMap partial = null )

Definition at line 691 of file Map.cs.

◆ FindChara() [1/2]

Chara Map.FindChara ( int uid)

Definition at line 2702 of file Map.cs.

◆ FindChara() [2/2]

Chara Map.FindChara ( string id)

Definition at line 2689 of file Map.cs.

◆ FindPublicArea()

BaseArea Map.FindPublicArea ( )

Definition at line 2836 of file Map.cs.

◆ FindThing() [1/6]

Thing Map.FindThing ( Func< Thing, bool > func)

Definition at line 2715 of file Map.cs.

◆ FindThing() [2/6]

Thing Map.FindThing ( int uid)

Definition at line 2728 of file Map.cs.

◆ FindThing() [3/6]

Thing Map.FindThing ( string workTag,
BaseArea area1 = null,
BaseArea area2 = null )

Definition at line 2790 of file Map.cs.

◆ FindThing() [4/6]

Thing Map.FindThing ( string workTag,
Chara c )

Definition at line 2822 of file Map.cs.

◆ FindThing() [5/6]

Thing Map.FindThing ( Type type,
BaseArea area1,
BaseArea area2 = null )

Definition at line 2772 of file Map.cs.

◆ FindThing() [6/6]

Thing Map.FindThing ( Type type,
Chara c = null )

Definition at line 2754 of file Map.cs.

◆ FindThing< T >()

T Map.FindThing< T > ( )
Type Constraints
T :Trait 

Definition at line 2741 of file Map.cs.

◆ ForeachCell()

new void Map.ForeachCell ( Action< Cell > action)

Definition at line 2448 of file Map.cs.

◆ ForeachNeighbor()

void Map.ForeachNeighbor ( Point center,
Action< Point > action )

Definition at line 2506 of file Map.cs.

◆ ForeachPoint()

new void Map.ForeachPoint ( Action< Point > action)

Definition at line 2460 of file Map.cs.

◆ ForeachSphere()

void Map.ForeachSphere ( int _x,
int _z,
float r,
Action< Point > action )

Definition at line 2485 of file Map.cs.

◆ ForeachXYZ()

new void Map.ForeachXYZ ( Action< int, int > action)

Definition at line 2473 of file Map.cs.

◆ GetBackerObj()

SourceBacker.Row Map.GetBackerObj ( Point p)

Definition at line 1586 of file Map.cs.

◆ GetCell()

Cell Map.GetCell ( int index)

Definition at line 864 of file Map.cs.

◆ GetDependedRamp()

Cell Map.GetDependedRamp ( Cell cell)

Definition at line 2283 of file Map.cs.

◆ GetMetaData()

static MapMetaData Map.GetMetaData ( string pathZip)
static

Definition at line 710 of file Map.cs.

◆ GetNearbyResourcePoint()

Point Map.GetNearbyResourcePoint ( Point center)

Definition at line 2354 of file Map.cs.

◆ GetRampDir()

int Map.GetRampDir ( int x,
int z,
TileType blockType = null )

Definition at line 2245 of file Map.cs.

◆ GetRandomEdge()

new Point Map.GetRandomEdge ( int r = 3)

Definition at line 2328 of file Map.cs.

◆ GetRandomPoint()

Point Map.GetRandomPoint ( Point center,
int radius,
int tries = 100,
bool mustBeWalkable = true,
bool requireLos = true )

Definition at line 2309 of file Map.cs.

◆ ListChara()

List< Chara > Map.ListChara ( Faction faction)

Definition at line 2621 of file Map.cs.

◆ ListCharasInCircle()

List< Chara > Map.ListCharasInCircle ( Point center,
float radius,
bool los = true )

Definition at line 2389 of file Map.cs.

◆ ListPointsInArc()

List< Point > Map.ListPointsInArc ( Point center,
Point to,
int radius,
float angle )

Definition at line 2407 of file Map.cs.

◆ ListPointsInCircle()

List< Point > Map.ListPointsInCircle ( Point center,
float radius,
bool mustBeWalkable = true,
bool los = true )

Definition at line 2375 of file Map.cs.

◆ ListPointsInLine()

List< Point > Map.ListPointsInLine ( Point center,
Point to,
int radius )

Definition at line 2425 of file Map.cs.

◆ ListThing< T >()

List< Thing > Map.ListThing< T > ( )
Type Constraints
T :Trait 

Definition at line 2635 of file Map.cs.

◆ Load()

void Map.Load ( string path,
bool import = false,
PartialMap partial = null )

Definition at line 525 of file Map.cs.

◆ MineBlock()

void Map.MineBlock ( Point point,
bool recoverBlock = false,
Chara c = null )

Definition at line 1666 of file Map.cs.

◆ MineFloor()

void Map.MineFloor ( Point point,
Chara c = null,
bool recoverBlock = false,
bool removePlatform = true )

Definition at line 1747 of file Map.cs.

◆ MineObj()

void Map.MineObj ( Point point,
Task task = null,
Chara c = null )

Definition at line 1838 of file Map.cs.

◆ MineObjSound()

void Map.MineObjSound ( Point point)

Definition at line 1971 of file Map.cs.

◆ MineRamp()

void Map.MineRamp ( Point point,
int ramp,
bool recoverBlock = false )

Definition at line 1729 of file Map.cs.

◆ ModFire()

void Map.ModFire ( int x,
int z,
int amount )

Definition at line 1174 of file Map.cs.

◆ ModLiquid()

void Map.ModLiquid ( int x,
int z,
int amount )

Definition at line 1487 of file Map.cs.

◆ MoveCard()

void Map.MoveCard ( Point p,
Card t )

Definition at line 815 of file Map.cs.

◆ OnCardAddedToZone()

void Map.OnCardAddedToZone ( Card t,
int x,
int z )

Definition at line 780 of file Map.cs.

◆ OnCardRemovedFromZone()

void Map.OnCardRemovedFromZone ( Card t)

Definition at line 800 of file Map.cs.

◆ OnDeactivate()

void Map.OnDeactivate ( )

Definition at line 190 of file Map.cs.

◆ OnImport()

void Map.OnImport ( ZoneExportData data)

Definition at line 684 of file Map.cs.

◆ OnLoad()

void Map.OnLoad ( )

Definition at line 677 of file Map.cs.

◆ OnSerializing()

virtual void Map.OnSerializing ( )
protectedvirtual

Definition at line 119 of file Map.cs.

◆ OnSetBlockOrDoor()

void Map.OnSetBlockOrDoor ( int x,
int z )

Definition at line 1018 of file Map.cs.

◆ PutAway()

bool Map.PutAway ( Card c)

Definition at line 2649 of file Map.cs.

◆ Quake()

void Map.Quake ( )

Definition at line 2528 of file Map.cs.

◆ QuickRefreshTile()

void Map.QuickRefreshTile ( int x,
int z )

Definition at line 2229 of file Map.cs.

◆ RefreshAllTiles()

void Map.RefreshAllTiles ( )

Definition at line 2198 of file Map.cs.

◆ RefreshFOV()

void Map.RefreshFOV ( int x,
int z,
int radius = 6,
bool recalculate = false )

Definition at line 911 of file Map.cs.

◆ RefreshFOVAll()

void Map.RefreshFOVAll ( )

Definition at line 936 of file Map.cs.

◆ RefreshNeighborTiles()

void Map.RefreshNeighborTiles ( int x,
int z )

Definition at line 2210 of file Map.cs.

◆ RefreshShadow()

void Map.RefreshShadow ( int x,
int z )

Definition at line 1796 of file Map.cs.

◆ RefreshSingleTile()

void Map.RefreshSingleTile ( int x,
int z )

Definition at line 2192 of file Map.cs.

◆ RefreshSunMap()

void Map.RefreshSunMap ( )

Definition at line 2844 of file Map.cs.

◆ Reload()

void Map.Reload ( )

Definition at line 299 of file Map.cs.

◆ ReloadRoom()

void Map.ReloadRoom ( )

Definition at line 315 of file Map.cs.

◆ RemoveLonelyRamps()

void Map.RemoveLonelyRamps ( Cell cell)

Definition at line 2050 of file Map.cs.

◆ RemovePlant()

void Map.RemovePlant ( Point pos)

Definition at line 2000 of file Map.cs.

◆ Reset()

void Map.Reset ( )

Definition at line 336 of file Map.cs.

◆ ResetEditorPos()

void Map.ResetEditorPos ( )

Definition at line 349 of file Map.cs.

◆ Resize()

void Map.Resize ( int newSize)

Definition at line 212 of file Map.cs.

◆ Reveal()

void Map.Reveal ( Point center,
int power = 100 )

Definition at line 899 of file Map.cs.

◆ RevealAll()

void Map.RevealAll ( bool reveal = true)

Definition at line 885 of file Map.cs.

◆ Save()

void Map.Save ( string path,
ZoneExportData export = null,
PartialMap partial = null )

Definition at line 369 of file Map.cs.

◆ SetBlock() [1/2]

void Map.SetBlock ( int x,
int z,
int idMat,
int idBlock,
int dir )

Definition at line 994 of file Map.cs.

◆ SetBlock() [2/2]

void Map.SetBlock ( int x,
int z,
int idMat = 0,
int idBlock = 0 )

Definition at line 988 of file Map.cs.

◆ SetBlockDir()

void Map.SetBlockDir ( int x,
int z,
int dir )

Definition at line 1166 of file Map.cs.

◆ SetBounds() [1/2]

void Map.SetBounds ( int size)

Definition at line 2431 of file Map.cs.

◆ SetBounds() [2/2]

void Map.SetBounds ( MapBounds b)

Definition at line 2441 of file Map.cs.

◆ SetBridge()

void Map.SetBridge ( int x,
int z,
int height = 0,
int idMat = 0,
int idBridge = 0,
int dir = 0 )

Definition at line 962 of file Map.cs.

◆ SetDecal()

void Map.SetDecal ( int x,
int z,
int id = 0,
int amount = 1,
bool refresh = true )

Definition at line 2098 of file Map.cs.

◆ SetEffect()

void Map.SetEffect ( int x,
int z,
CellEffect effect = null )

Definition at line 1481 of file Map.cs.

◆ SetFloor() [1/2]

void Map.SetFloor ( int x,
int z,
int idMat,
int idFloor,
int dir )

Definition at line 951 of file Map.cs.

◆ SetFloor() [2/2]

void Map.SetFloor ( int x,
int z,
int idMat = 0,
int idFloor = 0 )

Definition at line 945 of file Map.cs.

◆ SetFoormark()

void Map.SetFoormark ( Point pos,
int id,
int angle,
int offset = 0 )

Definition at line 2108 of file Map.cs.

◆ SetLiquid() [1/2]

void Map.SetLiquid ( int x,
int z,
CellEffect effect = null )

Definition at line 1446 of file Map.cs.

◆ SetLiquid() [2/2]

void Map.SetLiquid ( int x,
int z,
int id,
int value = 1 )

Definition at line 1457 of file Map.cs.

◆ SetObj() [1/2]

void Map.SetObj ( int x,
int z,
int id = 0,
int value = 1,
int dir = 0 )

Definition at line 1512 of file Map.cs.

◆ SetObj() [2/2]

void Map.SetObj ( int x,
int z,
int idMat,
int idObj,
int value,
int dir )

Definition at line 1518 of file Map.cs.

◆ SetReference()

void Map.SetReference ( )

Definition at line 175 of file Map.cs.

◆ SetRoofBlock()

void Map.SetRoofBlock ( int x,
int z,
int idMat,
int idBlock,
int dir,
int height )

Definition at line 978 of file Map.cs.

◆ SetSeen()

void Map.SetSeen ( int x,
int z,
bool seen = true,
bool refresh = true )

Definition at line 870 of file Map.cs.

◆ SetZone()

void Map.SetZone ( Zone _zone)

Definition at line 160 of file Map.cs.

◆ Shift()

void Map.Shift ( Vector2Int offset)

Definition at line 242 of file Map.cs.

◆ TryAddRoom()

void Map.TryAddRoom ( int x,
int z )

Definition at line 1081 of file Map.cs.

◆ TryGetPlant() [1/2]

PlantData Map.TryGetPlant ( Cell c)

Definition at line 1983 of file Map.cs.

◆ TryGetPlant() [2/2]

PlantData Map.TryGetPlant ( Point p)

Definition at line 1977 of file Map.cs.

◆ TryRemoveRoom()

void Map.TryRemoveRoom ( int x,
int z )

Definition at line 1067 of file Map.cs.

◆ TryShatter()

void Map.TryShatter ( Point pos,
int ele,
int power )

Definition at line 1205 of file Map.cs.

◆ TrySmoothPick() [1/2]

void Map.TrySmoothPick ( Cell cell,
Thing t,
Chara c )

Definition at line 1801 of file Map.cs.

◆ TrySmoothPick() [2/2]

void Map.TrySmoothPick ( Point p,
Thing t,
Chara c )

Definition at line 1807 of file Map.cs.

◆ UpdateMetaData()

static void Map.UpdateMetaData ( string pathZip,
PartialMap partial = null )
static

Definition at line 739 of file Map.cs.

◆ ValidateInstalled()

void Map.ValidateInstalled ( Point p)

Definition at line 2006 of file Map.cs.

◆ ValidateVersion()

void Map.ValidateVersion ( )

Definition at line 671 of file Map.cs.

Member Data Documentation

◆ _bits

int Map._bits

Definition at line 2910 of file Map.cs.

◆ _plDay

List<int> Map._plDay = new List<int>()

Definition at line 2950 of file Map.cs.

◆ _plNight

List<int> Map._plNight = new List<int>()

Definition at line 2954 of file Map.cs.

◆ backerObjs

Dictionary<int, int> Map.backerObjs = new Dictionary<int, int>()

Definition at line 2966 of file Map.cs.

◆ biomes

BiomeProfile [,] Map.biomes

Definition at line 3003 of file Map.cs.

◆ bits

BitArray32 Map.bits

Definition at line 2973 of file Map.cs.

◆ bounds

MapBounds Map.bounds = new MapBounds()

Definition at line 2946 of file Map.cs.

◆ cellEffects

Dictionary<int, CellEffect> Map.cellEffects = new Dictionary<int, CellEffect>()

Definition at line 2962 of file Map.cs.

◆ cells

Cell [,] Map.cells

Definition at line 2988 of file Map.cs.

◆ charas

List<Chara> Map.charas = new List<Chara>()

Definition at line 2982 of file Map.cs.

◆ config

MapConfig Map.config = new MapConfig()

Definition at line 2926 of file Map.cs.

◆ custom

CustomData Map.custom

Definition at line 2930 of file Map.cs.

◆ deadCharas

List<Chara> Map.deadCharas = new List<Chara>()

Definition at line 2938 of file Map.cs.

◆ effectManager

CellEffectManager Map.effectManager = new CellEffectManager()

Definition at line 2994 of file Map.cs.

◆ flood

FloodSpiller Map.flood = new FloodSpiller()

Definition at line 3000 of file Map.cs.

◆ footmarks

List<Footmark> Map.footmarks = new List<Footmark>()

Definition at line 3009 of file Map.cs.

◆ fowProfile

FowProfile Map.fowProfile

Definition at line 3012 of file Map.cs.

◆ gatherCounts

Dictionary<int, int> Map.gatherCounts = new Dictionary<int, int>()

Definition at line 2958 of file Map.cs.

◆ isDirtySunMap

bool Map.isDirtySunMap
static

Definition at line 2902 of file Map.cs.

◆ plants

Dictionary<int, PlantData> Map.plants = new Dictionary<int, PlantData>()

Definition at line 2970 of file Map.cs.

◆ plDay

Playlist Map.plDay

Definition at line 2976 of file Map.cs.

◆ plNight

Playlist Map.plNight

Definition at line 2979 of file Map.cs.

◆ poiMap

POIMap Map.poiMap

Definition at line 3006 of file Map.cs.

◆ pointAnimes

List<TransAnime> Map.pointAnimes = new List<TransAnime>()

Definition at line 2985 of file Map.cs.

◆ props

PropsManager Map.props = new PropsManager()

Definition at line 2997 of file Map.cs.

◆ revealed

bool Map.revealed

Definition at line 3015 of file Map.cs.

◆ rooms

RoomManager Map.rooms = new RoomManager()

Definition at line 2918 of file Map.cs.

◆ seed

int Map.seed

Definition at line 2906 of file Map.cs.

◆ serializedCharas

List<Chara> Map.serializedCharas = new List<Chara>()

Definition at line 2934 of file Map.cs.

◆ sunMap

HashSet<int> Map.sunMap = new HashSet<int>()
static

Definition at line 2899 of file Map.cs.

◆ tasks

TaskManager Map.tasks = new TaskManager()

Definition at line 2922 of file Map.cs.

◆ things

List<Thing> Map.things = new List<Thing>()

Definition at line 2942 of file Map.cs.

◆ version

global.Version Map.version

Definition at line 2914 of file Map.cs.

◆ zone

Zone Map.zone

Definition at line 2991 of file Map.cs.

Property Documentation

◆ Cards

IEnumerable<Card> Map.Cards
get

Definition at line 103 of file Map.cs.

◆ Installed

PropsInstalled Map.Installed
get

Definition at line 43 of file Map.cs.

◆ isBreakerDown

bool Map.isBreakerDown
getset

Definition at line 19 of file Map.cs.

◆ isGenerated

bool Map.isGenerated
get

Definition at line 73 of file Map.cs.

◆ IsIndoor

bool Map.IsIndoor
get

Definition at line 83 of file Map.cs.

◆ Roaming

PropsRoaming Map.Roaming
get

Definition at line 53 of file Map.cs.

◆ sizeModifier

float Map.sizeModifier
get

Definition at line 63 of file Map.cs.

◆ SizeXZ

int Map.SizeXZ
get

Definition at line 93 of file Map.cs.

◆ Stocked

PropsStocked Map.Stocked
get

Definition at line 33 of file Map.cs.


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