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

Public Attributes

string name
 
AreaType type
 
int[] ints = new int[5]
 
BitArray32 bits
 

Properties

int group [get, set]
 
int maxHeight [get, set]
 
BaseArea.AccessType accessType [get, set]
 
bool showWallItem [get, set]
 
bool atrium [get, set]
 
bool visited [get, set]
 
- 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]
 

Private Member Functions

void _OnSerializing (StreamingContext context)
 
void _OnDeserialized (StreamingContext context)
 

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

Member Function Documentation

◆ _OnDeserialized()

void AreaData._OnDeserialized ( StreamingContext  context)
inlineprivate

Definition at line 96 of file AreaData.cs.

97 {
98 bits.SetInt(ints[0]);
99 }
BitArray32 bits
Definition: AreaData.cs:15
int[] ints
Definition: AreaData.cs:13
void SetInt(int i)
Definition: BitArray32.cs:89

References bits, ints, and BitArray32.SetInt().

◆ _OnSerializing()

void AreaData._OnSerializing ( StreamingContext  context)
inlineprivate

Definition at line 90 of file AreaData.cs.

91 {
92 ints[0] = bits.ToInt();
93 }
int ToInt()
Definition: BitArray32.cs:84

References bits, ints, and BitArray32.ToInt().

Member Data Documentation

◆ bits

BitArray32 AreaData.bits

Definition at line 15 of file AreaData.cs.

Referenced by _OnDeserialized(), and _OnSerializing().

◆ ints

int [] AreaData.ints = new int[5]

Definition at line 13 of file AreaData.cs.

Referenced by _OnDeserialized(), and _OnSerializing().

◆ name

string AreaData.name

Definition at line 7 of file AreaData.cs.

Referenced by BaseArea.ListInteractions(), and Room.Refresh().

◆ type

AreaType AreaData.type

Definition at line 10 of file AreaData.cs.

Referenced by Room.Refresh().

Property Documentation

◆ accessType

BaseArea.AccessType AreaData.accessType
getset

Definition at line 41 of file AreaData.cs.

42 {
43 get
44 {
45 return ints[3].ToEnum<BaseArea.AccessType>();
46 }
47 set
48 {
49 ints[3] = (int)value;
50 }
51 }
AccessType
Definition: BaseArea.cs:9

Referenced by BaseArea.ListInteractions(), Room.Refresh(), and AI_Idle.Run().

◆ atrium

bool AreaData.atrium
getset

Definition at line 65 of file AreaData.cs.

66 {
67 get
68 {
69 return bits[1];
70 }
71 set
72 {
73 bits[1] = value;
74 }
75 }

Referenced by BaseTileMap.DrawTile(), BaseArea.ListInteractions(), Room.Refresh(), BaseGameScreen.RefreshWeather(), and GameUpdater.Update100ms().

◆ group

int AreaData.group
getset

Definition at line 17 of file AreaData.cs.

18 {
19 get
20 {
21 return ints[1];
22 }
23 set
24 {
25 ints[1] = value;
26 }
27 }

Referenced by Thing.GetExtraName(), ActionMode.GetSimpleText(), and Room.Refresh().

◆ maxHeight

int AreaData.maxHeight
getset

Definition at line 29 of file AreaData.cs.

30 {
31 get
32 {
33 return ints[2];
34 }
35 set
36 {
37 ints[2] = value;
38 }
39 }

Referenced by BaseTileMap.DrawTile().

◆ showWallItem

bool AreaData.showWallItem
getset

Definition at line 53 of file AreaData.cs.

54 {
55 get
56 {
57 return bits[0];
58 }
59 set
60 {
61 bits[0] = value;
62 }
63 }

Referenced by BaseTileMap.DrawTile(), and BaseArea.ListInteractions().

◆ visited

bool AreaData.visited
getset

Definition at line 77 of file AreaData.cs.

78 {
79 get
80 {
81 return bits[2];
82 }
83 set
84 {
85 bits[2] = value;
86 }
87 }

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