Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
virtual void | OnLoad () |
void | AddPoint (Point point, bool onLoad=false) |
void | RemovePoint (Point point) |
virtual void | OnRemovePoint (Point point) |
virtual void | OnInstallCard (Card t) |
virtual void | OnUninstallCard (Card t) |
void | OnHoverArea (MeshPass pass) |
virtual byte | GetTile (int index) |
virtual void | Update () |
void | OnRemove () |
![]() | |
Point | GetRandomFreePos () |
Thing | GetEmptySeat () |
virtual Point | GetRandomPoint (bool walkable=true, bool allowChara=true) |
void | ChangeType (string _id) |
void | SetRandomName (int seed=-1) |
string | GetRandomName (int seed=-1) |
HashSet< string > | ListRoomNames () |
int | GetSortVal (UIList.SortMode m) |
List< Interaction > | ListInteractions () |
void | OnInspect () |
void | WriteNote (UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null) |
void | WriteNote (UINote n, Action< UINote > onWriteNote=null, NoteMode mode=NoteMode.Default, Recipe recipe=null) |
void | OnInspect () |
Static Public Member Functions | |
static Area | Create (string id) |
![]() | |
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 | |
TaskList< Task > | taskList = new TaskList<Task>() |
bool | isDestroyed |
![]() | |
int | uid |
PointList | points = new PointList() |
AreaData | data = new AreaData() |
AreaType | type = new AreaTypeRoom() |
TraitRoomPlate | plate |
Properties | |
virtual bool | isListable [get] |
virtual bool | AutoTask [get] |
RoomManager | manager [get] |
![]() | |
virtual string | Name [get] |
bool | IsPrivate [get] |
SourceArea.Row | source [get] |
bool | CanInspect [get] |
string | InspectName [get] |
Point | InspectPoint [get] |
Vector3 | InspectPosition [get] |
![]() | |
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] |
![]() | |
bool | CanInspect [get] |
string | InspectName [get] |
Point | InspectPoint [get] |
Vector3 | InspectPosition [get] |
Additional Inherited Members | |
![]() | |
enum | AccessType { Public , Resident , Private } |
![]() | |
enum | NoteMode { Default , Recipe , Product , Info } |
![]() | |
static Core | core |
|
inline |
Definition at line 27 of file Area.cs.
References CellDetail.area, Point.cell, Cell.GetOrCreateDetail(), and BaseArea.points.
Referenced by RoomManager.AddArea(), OnLoad(), AM_ExpandArea.OnProcessTiles(), and RoomManager.TryAddArea().
|
inlinestatic |
Definition at line 104 of file Area.cs.
References EClass._map, RoomManager.AssignUID(), BaseArea.ChangeType(), and Map.rooms.
Referenced by AM_CreateArea.CreateNew(), BuildMenu.RefreshCategoryArea(), and RoomManager.TryAddArea().
|
inlinevirtual |
Definition at line 75 of file Area.cs.
Referenced by BaseTileMap.DrawTile(), and TileMapElona.DrawTile().
|
inline |
Definition at line 67 of file Area.cs.
References Scene.actionMode, ActionMode.AreaHihlight, BaseArea.points, and EClass.scene.
Referenced by BaseTileSelector.OnUpdate().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 16 of file Area.cs.
References AddPoint(), manager, RoomManager.mapIDs, TaskList< T >.OnLoad(), BaseArea.points, taskList, and BaseArea.uid.
|
inline |
Definition at line 84 of file Area.cs.
References Point.cell, Task.Destroy(), isDestroyed, TaskList< T >.items, OnRemovePoint(), BaseArea.points, taskList, and Cell.TryDespawnDetail().
Referenced by RoomManager.RemoveArea().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 36 of file Area.cs.
References Point.cell, Point.Equals(), OnRemovePoint(), BaseArea.points, and Cell.TryDespawnDetail().
Referenced by AM_ExpandArea.OnProcessTiles().
bool Area.isDestroyed |
Definition at line 8 of file Area.cs.
Referenced by OnRemove(), and GoalTask.TryAssignTask().
Definition at line 6 of file Area.cs.
Referenced by OnLoad(), OnRemove(), and GoalTask.TryAssignAreaTask().
|
get |