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

Public Types

enum  Type { Socket , Rune }
 

Public Attributes

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

Properties

Type type [get, set]
 
int idEle [get, set]
 
int value [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 SocketData.cs.

Member Enumeration Documentation

◆ Type

Enumerator
Socket 
Rune 

Definition at line 6 of file SocketData.cs.

Member Function Documentation

◆ _OnDeserialized()

void SocketData._OnDeserialized ( StreamingContext  context)
inlineprivate

Definition at line 60 of file SocketData.cs.

61 {
62 bits.Bits = (uint)ints[4];
63 }
int[] ints
Definition: SocketData.cs:13

References ints.

◆ _OnSerializing()

void SocketData._OnSerializing ( StreamingContext  context)
inlineprivate

Definition at line 54 of file SocketData.cs.

55 {
56 ints[4] = (int)bits.Bits;
57 }
BitArray32 bits
Definition: SocketData.cs:15
uint Bits
Definition: BitArray32.cs:6

References BitArray32.Bits, bits, and ints.

Member Data Documentation

◆ bits

BitArray32 SocketData.bits

Definition at line 15 of file SocketData.cs.

Referenced by _OnSerializing().

◆ ints

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

Definition at line 13 of file SocketData.cs.

Referenced by _OnDeserialized(), and _OnSerializing().

Property Documentation

◆ idEle

int SocketData.idEle
getset

Definition at line 29 of file SocketData.cs.

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

Referenced by Card.GetRuneEnc().

◆ type

Type SocketData.type
getset

Definition at line 17 of file SocketData.cs.

18 {
19 get
20 {
21 return ints[0].ToEnum<Type>();
22 }
23 set
24 {
25 ints[0] = (int)value;
26 }
27 }

Referenced by Card.CountRune(), and Card.GetRuneEnc().

◆ value

int SocketData.value
getset

Definition at line 41 of file SocketData.cs.

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

Referenced by TraitCrafter.Craft().


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