|
Elin Decompiled Documentation EA 23.244 Nightly
|
Classes | |
| class | Result |
Public Types | |
| enum | ApplyMode { Render , HitTest , Apply , Evaluate } |
Public Member Functions | |
| void | Rotate () |
| void | ClearMarkedCells () |
| void | Apply (Point _point, 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 | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| static int | rnd (int a) |
| static int | curve (int _a, int start, int step, int rate=75) |
| static int | sqrt (int a) |
| 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< Cell > | cellsMarked = new List<Cell>() |
| HashSet< int > | validPoints = new HashSet<int>() |
| Result | result = new 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] |
Definition at line 8 of file PartialMap.cs.
| enum PartialMap.ApplyMode |
|
inline |
Definition at line 474 of file PartialMap.cs.
References EClass._map, EClass._zone, baseHeight, baseHeightWater, Map.cells, Debug, h, Cell.height, Cell.IsFloorWater, Map.Load(), map, name, PathTemp, Zone.pathTemp, Map.SetReference(), and w.
Referenced by Load().
Definition at line 112 of file PartialMap.cs.
References Cell._block, Cell._blockMat, Cell._bridge, Cell._bridgeMat, Cell._dirs, Cell._floor, Cell._floorMat, EClass._map, Cell._roofBlock, Cell._roofBlockMat, EClass._zone, MeshPass.Add(), altDirPosition, baseHeight, baseHeightWater, Zone.biome, BiomeProfile.TileGroup.block, Cell.blockDir, Cell.bridgeHeight, Cell.bridgePillar, Trait.CanBeDestroyed, card, SerializedCards.cards, SourceManager.cards, Point.cell, Map.cells, cellsMarked, ClearMarkedCells(), MapBounds.Contains(), ActionMode.Copy, Cell.decal, Card.Destroy(), destX, destZ, dir, editMode, exportData, BiomeProfile.exterior, FixWall(), BiomeProfile.TileGroup.floor, Cell.floorDir, Card.GetCurrency(), ActionMode.GetGuidePass(), Recipe.GetOrCreate(), h, Cell.HasWall, Cell.height, BiomeProfile.Tile.id, TileRow.id, Point.index, BiomeProfile.interior, Cell.isFloating, localOffsetX, localOffsetZ, map, SourceCard.map, BiomeProfile.Tile.mat, Cell.obj, Cell.objDir, Cell.objMat, Cell.objVal, offsetX, offsetZ, Recipe.OnRenderMarker(), EClass.pc, Card.pos, Point.Position(), procedural, Rand.Range(), Critter.RebuildCritter(), RenderRow.RecipeID, Map.RefreshAllTiles(), relative, Render, SerializedCards.Restore(), result, ruinChance, PartialMap.Result.ruined, ZoneExportData.serializedCards, Point.Set(), Map.SetReference(), Cell.sourceBlock, Cell.sourceBridge, Cell.sourceFloor, Cell.sourceObj, EClass.sources, Map.things, Card.trait, validPoints, value, w, Point.x, and Point.z.
Referenced by Apply(), AM_Copy.OnAfterProcessTiles(), AM_Copy.OnRenderTile(), ZoneEventHarvest.OnVisit(), and GenBounds.TryAddMapPiece().
|
inlinestatic |
Definition at line 440 of file PartialMap.cs.
References Apply(), Load(), CorePath.MapPieceSave, and path.
|
inline |
Definition at line 103 of file PartialMap.cs.
References cellsMarked, and item.
Referenced by Apply(), AM_Copy.Clear(), and AM_Copy.OnDeactivate().
|
inlinestatic |
Definition at line 507 of file PartialMap.cs.
References path.
Referenced by UIScreenshot.Activate(), and AM_Copy.RefreshMenu().
|
inlinestatic |
Definition at line 515 of file PartialMap.cs.
References EClass.core, dir, if(), CorePath.MapPieceSaveUser, PathTemp, SFB.StandaloneFileBrowser.SaveFilePanel(), SavePreview(), Msg.SayRaw(), and BaseCore.WaitForEndOfFrame().
Referenced by AM_Copy.OnUpdateInput().
|
inline |
Definition at line 371 of file PartialMap.cs.
References Cell.blockDir, and dir.
Referenced by Apply().
|
inlinestatic |
Definition at line 448 of file PartialMap.cs.
References _Load(), EClass._zone, Map.GetMetaData(), Zone.Import(), MapMetaData.partial, path, and PathTemp.
Referenced by Apply(), MapPiece.GetMap(), AM_Copy.Import(), and AM_Copy.OnAfterProcessTiles().
|
inline |
Definition at line 92 of file PartialMap.cs.
References dir, localOffsetX, and localOffsetZ.
Referenced by AM_Copy.RotateUnderMouse().
|
inline |
Definition at line 411 of file PartialMap.cs.
References EClass._map, EClass._zone, Trait.CanCopyInBlueprint, Map.cells, Zone.Export(), Card.GetPrice(), Card.GetTilePrice(), h, Card.IsInstalled, Cell.matBlock, Cell.matBridge, Cell.matFloor, Cell.matObj, Cell.matRoofBlock, Card.Num, offsetX, offsetZ, PathTemp, Card.pos, Cell.sourceBlock, Cell.sourceBridge, Cell.sourceFloor, Cell.sourceObj, Cell.sourceRoofBlock, Map.things, Card.trait, value, w, and Point.Within().
Referenced by AM_Copy.OnAfterProcessTiles().
|
inlinestatic |
Definition at line 528 of file PartialMap.cs.
References BaseCore.actionsNextFrame, EClass.core, and path.
Referenced by ExportDialog().
|
inline |
Definition at line 403 of file PartialMap.cs.
References path, and Map.UpdateMetaData().
Referenced by PartialMapMenu.RefreshOptions().
| bool PartialMap.allowRotate |
Definition at line 55 of file PartialMap.cs.
Referenced by MapPiece.GetMap(), PartialMapMenu.RefreshOptions(), and AM_Copy.RotateUnderMouse().
| int PartialMap.baseHeight |
Definition at line 46 of file PartialMap.cs.
| int PartialMap.baseHeightWater |
Definition at line 49 of file PartialMap.cs.
Definition at line 80 of file PartialMap.cs.
Referenced by Apply(), and ClearMarkedCells().
| int PartialMap.destX |
Definition at line 64 of file PartialMap.cs.
Referenced by Apply().
| int PartialMap.destZ |
Definition at line 66 of file PartialMap.cs.
Referenced by Apply().
| int PartialMap.dir |
Definition at line 43 of file PartialMap.cs.
Referenced by Apply(), ExportDialog(), FixWall(), and Rotate().
| bool PartialMap.editMode |
Definition at line 70 of file PartialMap.cs.
Referenced by Apply().
| ZoneExportData PartialMap.exportData |
Definition at line 78 of file PartialMap.cs.
Referenced by Apply().
| int PartialMap.h |
Definition at line 40 of file PartialMap.cs.
Referenced by _Load(), Apply(), Save(), and GenBounds.TryAddMapPiece().
| bool PartialMap.ignoreBlock |
Definition at line 58 of file PartialMap.cs.
Referenced by PartialMapMenu.RefreshOptions(), and GenBounds.TryAddMapPiece().
| int PartialMap.localOffsetX |
Definition at line 60 of file PartialMap.cs.
| int PartialMap.localOffsetZ |
Definition at line 62 of file PartialMap.cs.
| Map PartialMap.map |
Definition at line 76 of file PartialMap.cs.
| string PartialMap.name |
Definition at line 28 of file PartialMap.cs.
Referenced by _Load(), UIScreenshot.Activate(), and AM_Blueprint.OnSave().
| int PartialMap.offsetX |
Definition at line 31 of file PartialMap.cs.
| int PartialMap.offsetZ |
Definition at line 34 of file PartialMap.cs.
| string PartialMap.path |
Definition at line 68 of file PartialMap.cs.
Referenced by UIScreenshot.Activate(), Apply(), Delete(), Load(), AM_Blueprint.OnSave(), AM_Copy.RefreshMenu(), SavePreview(), GenBounds.TryAddMapPiece(), and Update().
| bool PartialMap.procedural |
Definition at line 72 of file PartialMap.cs.
Referenced by Apply().
|
static |
Definition at line 25 of file PartialMap.cs.
Referenced by Apply(), AM_Copy.OnClickSubMenu(), and AM_Copy.OnSetSubMenuButton().
Definition at line 84 of file PartialMap.cs.
Referenced by Apply(), and GenRoom.Populate().
| float PartialMap.ruinChance |
Definition at line 74 of file PartialMap.cs.
Referenced by Apply().
| HashSet<int> PartialMap.validPoints = new HashSet<int>() |
Definition at line 82 of file PartialMap.cs.
Referenced by Apply().
| int PartialMap.value |
Definition at line 52 of file PartialMap.cs.
Referenced by Apply(), PartialMapMenu.Refresh(), and Save().
| int PartialMap.w |
Definition at line 37 of file PartialMap.cs.
Referenced by _Load(), Apply(), Save(), and GenBounds.TryAddMapPiece().
|
get |
Definition at line 88 of file PartialMap.cs.
Referenced by Apply().
|
get |
Definition at line 90 of file PartialMap.cs.
|
staticget |
Definition at line 86 of file PartialMap.cs.
Referenced by _Load(), UIScreenshot.Activate(), ExportDialog(), Load(), AM_Copy.OnAfterProcessTiles(), and Save().