Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
override string | ToString () |
void | OnLoad () |
void | AddPoint (Point p) |
void | OnRemove () |
void | Clean () |
void | Refresh () |
void | SetDirty () |
![]() | |
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 () |
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>() |
![]() | |
int | uid |
PointList | points = new PointList() |
AreaData | data = new AreaData() |
AreaType | type = new AreaTypeRoom() |
TraitRoomPlate | plate |
Properties | |
bool | HasRoof [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 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 Core | core |
|
inline |
Definition at line 46 of file Room.cs.
References lot, BaseArea.points, SetDirty(), and Lot.Void.
|
inline |
Definition at line 65 of file Room.cs.
References BaseArea.plate.
Referenced by OnRemove(), and Refresh().
|
inline |
Definition at line 36 of file Room.cs.
References EClass._map, RoomManager.mapIDs, BaseArea.points, Map.rooms, SetDirty(), and BaseArea.uid.
Referenced by RoomManager.OnLoad().
|
inline |
Definition at line 54 of file Room.cs.
References Clean(), and BaseArea.points.
Referenced by RoomManager.RemoveRoom().
|
inline |
Definition at line 70 of file Room.cs.
References EClass._map, AreaData.accessType, TraitRoomPlate.areaData, AreaData.atrium, Point.cell, Map.cells, Clean(), dirty, fullblock, AreaData.group, Cell.HasFullBlock, Cell.HasFullBlockOrWallOrFence, Cell.HasWall, TileType.IsFence, TileType.IsWall, Point.matBlock, mh, mx, mz, AreaData.name, BaseArea.plate, pointMaxX, pointMinX, BaseArea.points, roof, roofCount, Cell.room, BaseArea.SetRandomName(), MapBounds.Size, Point.sourceBlock, Cell.TopHeight, AreaData.type, BaseArea.type, Point.x, x, Point.z, and z.
|
inline |
Definition at line 213 of file Room.cs.
References dirty.
Referenced by AddPoint(), RoomManager.AddRoom(), Map.Burn(), OnLoad(), Map.SetBlock(), and Map.SetBridge().
|
inline |
Definition at line 31 of file Room.cs.
References BaseArea.uid.
Referenced by WidgetDebug.UpdateText().
bool Room.dirty |
Definition at line 15 of file Room.cs.
Referenced by Refresh(), and SetDirty().
Lot Room.lot |
Definition at line 21 of file Room.cs.
Referenced by AddPoint(), TraitHouseBoard.ApplyData(), BaseTileMap.Draw(), TileMapElona.Draw(), BaseTileMap.DrawRoof(), BaseTileMap.DrawTile(), TileMapElona.DrawTile(), GoalWork.FindWork(), ActorEx.GetVolume(), RoomManager.RebuildLots(), Zone.RefreshBGM(), AI_Idle.Run(), Lot.SetBaseRoom(), BaseTileMap.SetRoofHeight(), TraitHouseBoard.TrySetAct(), and GoalWork.ValidateHobby().
int Room.mh |
Definition at line 13 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), Refresh(), and Lot.SetBaseRoom().
int Room.mx |
Definition at line 9 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), RoomManager.RebuildLots(), Refresh(), and Lot.SetBaseRoom().
int Room.mz |
Definition at line 11 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), Refresh(), and Lot.SetBaseRoom().
Point Room.pointMaxX |
Definition at line 25 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), Refresh(), and Lot.SetBaseRoom().
Point Room.pointMinX |
Definition at line 23 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), Refresh(), and Lot.SetBaseRoom().
Dictionary<int, int> Room.roofCount = new Dictionary<int, int>() |
int Room.x |
Definition at line 5 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), RoomManager.RebuildLots(), Refresh(), and Lot.SetBaseRoom().
int Room.z |
Definition at line 7 of file Room.cs.
Referenced by Lot.AddConnectedRooms(), RoomManager.RebuildLots(), Refresh(), and Lot.SetBaseRoom().
|
get |
Definition at line 29 of file Room.cs.
Referenced by BaseGameScreen.Draw(), BaseTileMap.Draw(), BaseTileMap.DrawTile(), ActorEx.GetVolume(), BaseGameScreen.RefreshWeather(), and GameUpdater.Update100ms().