Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
VirtualRoom Class Reference
Inheritance diagram for VirtualRoom:
BaseArea EClass IInspect

Public Member Functions

 VirtualRoom (Card t)
 
- 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< InteractionListInteractions ()
 
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 ()
 

Additional Inherited Members

- Public Types inherited from BaseArea
enum  AccessType { Public , Resident , 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)
 
- Public Attributes inherited from BaseArea
int uid
 
PointList points = new PointList()
 
AreaData data = new AreaData()
 
AreaType type = new AreaTypeRoom()
 
TraitRoomPlate plate
 
- Static Public Attributes inherited from EClass
static Core core
 
- 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
bool CanInspect [get]
 
string InspectName [get]
 
Point InspectPoint [get]
 
Vector3 InspectPosition [get]
 

Detailed Description

Definition at line 1 of file VirtualRoom.cs.

Constructor & Destructor Documentation

◆ VirtualRoom()

VirtualRoom.VirtualRoom ( Card  t)
inline

Definition at line 3 of file VirtualRoom.cs.

4 {
5 EClass._map.ForeachSphere(t.pos.x, t.pos.z, t.trait.radius, delegate(Point p)
6 {
7 points.Add(p.Copy());
8 });
9 }
PointList points
Definition: BaseArea.cs:26
Point pos
Definition: Card.cs:55
Trait trait
Definition: Card.cs:49
Definition: EClass.cs:5
static Map _map
Definition: EClass.cs:18
void ForeachSphere(int _x, int _z, float r, Action< Point > action)
Definition: Map.cs:2358
Definition: Point.cs:9
Point Copy()
Definition: Point.cs:467
int x
Definition: Point.cs:36
int z
Definition: Point.cs:39
virtual int radius
Definition: Trait.cs:88

References EClass._map, Point.Copy(), Map.ForeachSphere(), BaseArea.points, Card.pos, Trait.radius, Card.trait, Point.x, and Point.z.


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