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

Classes

class  Interaction
 

Public Types

enum  AccessType { Public , Private }
 
- Public Types inherited from IInspect
enum  NoteMode { Default , Recipe , Product , Info }
 

Public Member Functions

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 uid
 
PointList points = new PointList()
 
AreaData data = new AreaData()
 
AreaType type = new AreaTypeRoom()
 
TraitRoomPlate plate
 

Properties

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

- 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 7 of file BaseArea.cs.

Member Enumeration Documentation

◆ AccessType

enum BaseArea.AccessType

Definition at line 355 of file BaseArea.cs.

Member Function Documentation

◆ ChangeType()

void BaseArea.ChangeType ( string _id)

Definition at line 93 of file BaseArea.cs.

◆ GetEmptySeat()

Thing BaseArea.GetEmptySeat ( )

Definition at line 58 of file BaseArea.cs.

◆ GetRandomFreePos()

Point BaseArea.GetRandomFreePos ( )

Definition at line 44 of file BaseArea.cs.

◆ GetRandomName()

string BaseArea.GetRandomName ( int seed = -1)

Definition at line 111 of file BaseArea.cs.

◆ GetRandomPoint()

virtual Point BaseArea.GetRandomPoint ( bool walkable = true,
bool allowChara = true )
virtual

Definition at line 74 of file BaseArea.cs.

◆ GetSortVal()

int BaseArea.GetSortVal ( UIList.SortMode m)

Definition at line 151 of file BaseArea.cs.

◆ ListInteractions()

List< BaseArea.Interaction > BaseArea.ListInteractions ( )

Definition at line 157 of file BaseArea.cs.

◆ ListRoomNames()

HashSet< string > BaseArea.ListRoomNames ( )

Definition at line 127 of file BaseArea.cs.

◆ OnInspect()

void BaseArea.OnInspect ( )

Implements IInspect.

Definition at line 283 of file BaseArea.cs.

◆ SetRandomName()

void BaseArea.SetRandomName ( int seed = -1)

Definition at line 105 of file BaseArea.cs.

◆ WriteNote()

void BaseArea.WriteNote ( UINote n,
Action< UINote > onWriteNote = null,
IInspect.NoteMode mode = IInspect::NoteMode::Default,
Recipe recipe = null )

Implements IInspect.

Definition at line 318 of file BaseArea.cs.

Member Data Documentation

◆ data

AreaData BaseArea.data = new AreaData()

Definition at line 345 of file BaseArea.cs.

◆ plate

TraitRoomPlate BaseArea.plate

Definition at line 352 of file BaseArea.cs.

◆ points

PointList BaseArea.points = new PointList()

Definition at line 341 of file BaseArea.cs.

◆ type

AreaType BaseArea.type = new AreaTypeRoom()

Definition at line 349 of file BaseArea.cs.

◆ uid

int BaseArea.uid

Definition at line 337 of file BaseArea.cs.

Property Documentation

◆ CanInspect

bool BaseArea.CanInspect
get

Implements IInspect.

Definition at line 289 of file BaseArea.cs.

◆ InspectName

string BaseArea.InspectName
get

Implements IInspect.

Definition at line 299 of file BaseArea.cs.

◆ InspectPoint

Point BaseArea.InspectPoint
get

Implements IInspect.

Definition at line 309 of file BaseArea.cs.

◆ InspectPosition

Vector3 BaseArea.InspectPosition
get

Implements IInspect.

Definition at line 327 of file BaseArea.cs.

◆ IsPrivate

bool BaseArea.IsPrivate
get

Definition at line 25 of file BaseArea.cs.

◆ Name

virtual string BaseArea.Name
get

Definition at line 11 of file BaseArea.cs.

◆ source

SourceArea.Row BaseArea.source
get

Definition at line 35 of file BaseArea.cs.


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