Elin Decompiled Documentation EA 23.188 Stable
Loading...
Searching...
No Matches
SurvivalManager.Flags Class Reference
Inheritance diagram for SurvivalManager.Flags:
EClass

Public Attributes

int[] ints = new int[50]
 
BitArray32 bits
 

Properties

int spawnedFloor [get, set]
 
int floors [get, set]
 
int searchWreck [get, set]
 
int dateNextRaid [get, set]
 
int raidRound [get, set]
 
int raidLv [get, set]
 
bool raid [get, set]
 
bool gotTaxChest [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 rndSeed (int a, int seed)
 
static int rnd (long a)
 
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 10 of file SurvivalManager.cs.

Member Function Documentation

◆ _OnDeserialized()

void SurvivalManager.Flags._OnDeserialized ( StreamingContext  context)
inlineprivate

Definition at line 120 of file SurvivalManager.cs.

121 {
122 bits.Bits = (uint)ints[0];
123 }

References SurvivalManager.Flags.ints.

◆ _OnSerializing()

void SurvivalManager.Flags._OnSerializing ( StreamingContext  context)
inlineprivate

Definition at line 114 of file SurvivalManager.cs.

115 {
116 ints[0] = (int)bits.Bits;
117 }
uint Bits
Definition: BitArray32.cs:6

References BitArray32.Bits, SurvivalManager.Flags.bits, and SurvivalManager.Flags.ints.

Member Data Documentation

◆ bits

BitArray32 SurvivalManager.Flags.bits

Definition at line 15 of file SurvivalManager.cs.

Referenced by SurvivalManager.Flags._OnSerializing().

◆ ints

int [] SurvivalManager.Flags.ints = new int[50]

Property Documentation

◆ dateNextRaid

int SurvivalManager.Flags.dateNextRaid
getset

Definition at line 53 of file SurvivalManager.cs.

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

Referenced by ZoneEventSurvival.OnTickRound().

◆ floors

int SurvivalManager.Flags.floors
getset

Definition at line 29 of file SurvivalManager.cs.

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

Referenced by SurvivalManager.OnExpandFloor().

◆ gotTaxChest

bool SurvivalManager.Flags.gotTaxChest
getset

Definition at line 101 of file SurvivalManager.cs.

102 {
103 get
104 {
105 return bits[1];
106 }
107 set
108 {
109 bits[1] = value;
110 }
111 }

Referenced by SurvivalManager.OnMineWreck().

◆ raid

bool SurvivalManager.Flags.raid
getset

Definition at line 89 of file SurvivalManager.cs.

90 {
91 get
92 {
93 return bits[0];
94 }
95 set
96 {
97 bits[0] = value;
98 }
99 }

Referenced by ZoneEventSurvival.OnTickRound(), and TraitCoreDefense.TrySetAct().

◆ raidLv

int SurvivalManager.Flags.raidLv
getset

Definition at line 77 of file SurvivalManager.cs.

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

Referenced by WidgetDate._Refresh(), ZoneEventRaid.OnInit(), and ZoneEventRaid.OnKill().

◆ raidRound

int SurvivalManager.Flags.raidRound
getset

Definition at line 65 of file SurvivalManager.cs.

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

Referenced by ZoneEventRaid.OnKill().

◆ searchWreck

int SurvivalManager.Flags.searchWreck
getset

Definition at line 41 of file SurvivalManager.cs.

42 {
43 get
44 {
45 return ints[5];
46 }
47 set
48 {
49 ints[5] = value;
50 }
51 }

Referenced by SurvivalManager.OnMineWreck().

◆ spawnedFloor

int SurvivalManager.Flags.spawnedFloor
getset

Definition at line 17 of file SurvivalManager.cs.

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

Referenced by SurvivalManager.OnMineWreck().


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