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

Public Member Functions

override string ToString ()
 
void OnLoad ()
 
void AddPoint (Point p)
 
void OnRemove ()
 
void Clean ()
 
void Refresh ()
 
void SetDirty ()
 
- 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

Public Attributes

int x
 
int z
 
int mx
 
int mz
 
int mh
 
bool dirty
 
bool roof
 
bool fullblock
 
Lot lot
 
Point pointMinX
 
Point pointMaxX
 
Dictionary< int, int > roofCount = new Dictionary<int, int>()
 
- Public Attributes inherited from BaseArea
int uid
 
PointList points = new PointList()
 
AreaData data = new AreaData()
 
AreaType type = new AreaTypeRoom()
 
TraitRoomPlate plate
 

Properties

bool HasRoof [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 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)
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 5 of file Room.cs.

Member Function Documentation

◆ AddPoint()

void Room.AddPoint ( Point p)

Definition at line 35 of file Room.cs.

◆ Clean()

void Room.Clean ( )

Definition at line 56 of file Room.cs.

◆ OnLoad()

void Room.OnLoad ( )

Definition at line 24 of file Room.cs.

◆ OnRemove()

void Room.OnRemove ( )

Definition at line 44 of file Room.cs.

◆ Refresh()

void Room.Refresh ( )

Definition at line 62 of file Room.cs.

◆ SetDirty()

void Room.SetDirty ( )

Definition at line 205 of file Room.cs.

◆ ToString()

override string Room.ToString ( )

Definition at line 18 of file Room.cs.

Member Data Documentation

◆ dirty

bool Room.dirty

Definition at line 227 of file Room.cs.

◆ fullblock

bool Room.fullblock

Definition at line 233 of file Room.cs.

◆ lot

Lot Room.lot

Definition at line 236 of file Room.cs.

◆ mh

int Room.mh

Definition at line 224 of file Room.cs.

◆ mx

int Room.mx

Definition at line 218 of file Room.cs.

◆ mz

int Room.mz

Definition at line 221 of file Room.cs.

◆ pointMaxX

Point Room.pointMaxX

Definition at line 242 of file Room.cs.

◆ pointMinX

Point Room.pointMinX

Definition at line 239 of file Room.cs.

◆ roof

bool Room.roof

Definition at line 230 of file Room.cs.

◆ roofCount

Dictionary<int, int> Room.roofCount = new Dictionary<int, int>()

Definition at line 245 of file Room.cs.

◆ x

int Room.x

Definition at line 212 of file Room.cs.

◆ z

int Room.z

Definition at line 215 of file Room.cs.

Property Documentation

◆ HasRoof

bool Room.HasRoof
get

Definition at line 9 of file Room.cs.


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