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

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 ()
 
- Public Member Functions inherited from BaseArea
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< BaseArea.InteractionListInteractions ()
 
void OnInspect ()
 
void WriteNote (UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null)
 
- Public Member Functions inherited from IInspect

Static Public Member Functions

static Area Create (string id)
 
- 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

TaskList< TasktaskList = new TaskList<Task>()
 
bool isDestroyed
 
- Public Attributes inherited from BaseArea
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]
 
- Properties inherited from BaseArea
virtual string Name [get]
 
bool IsPrivate [get]
 
SourceArea.Row source [get]
 
bool CanInspect [get]
 
string InspectName [get]
 
Point InspectPoint [get]
 
Vector3 InspectPosition [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]
 
- Properties inherited from IInspect

Additional Inherited Members

- Public Types inherited from BaseArea
enum  AccessType { Public , Private }
 
- Public Types inherited from IInspect
enum  NoteMode { Default , Recipe , Product , Info }
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 5 of file Area.cs.

Member Function Documentation

◆ AddPoint()

void Area.AddPoint ( Point point,
bool onLoad = false )

Definition at line 50 of file Area.cs.

◆ Create()

static Area Area.Create ( string id)
static

Definition at line 136 of file Area.cs.

◆ GetTile()

virtual byte Area.GetTile ( int index)
virtual

Definition at line 104 of file Area.cs.

◆ OnHoverArea()

void Area.OnHoverArea ( MeshPass pass)

Definition at line 95 of file Area.cs.

◆ OnInstallCard()

virtual void Area.OnInstallCard ( Card t)
virtual

Definition at line 85 of file Area.cs.

◆ OnLoad()

virtual void Area.OnLoad ( )
virtual

Definition at line 38 of file Area.cs.

◆ OnRemove()

void Area.OnRemove ( )

Definition at line 115 of file Area.cs.

◆ OnRemovePoint()

virtual void Area.OnRemovePoint ( Point point)
virtual

Definition at line 80 of file Area.cs.

◆ OnUninstallCard()

virtual void Area.OnUninstallCard ( Card t)
virtual

Definition at line 90 of file Area.cs.

◆ RemovePoint()

void Area.RemovePoint ( Point point)

Definition at line 60 of file Area.cs.

◆ Update()

virtual void Area.Update ( )
virtual

Definition at line 110 of file Area.cs.

Member Data Documentation

◆ isDestroyed

bool Area.isDestroyed

Definition at line 149 of file Area.cs.

◆ taskList

TaskList<Task> Area.taskList = new TaskList<Task>()

Definition at line 146 of file Area.cs.

Property Documentation

◆ AutoTask

virtual bool Area.AutoTask
get

Definition at line 19 of file Area.cs.

◆ isListable

virtual bool Area.isListable
get

Definition at line 9 of file Area.cs.

◆ manager

RoomManager Area.manager
get

Definition at line 29 of file Area.cs.


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