Elin Decompiled Documentation EA 23.359.1 Nightly
Loading...
Searching...
No Matches
SkinDeco Class Reference

Public Attributes

SkinDecoActor actor
 
int[] ints = new int[9]
 
string name
 
BitArray32 bits
 

Package Functions

void OnSerializing (StreamingContext context)
 
void _OnDeserialized (StreamingContext context)
 

Properties

int id [get, set]
 
int x [get, set]
 
int y [get, set]
 
int sx [get, set]
 
int sy [get, set]
 
Color color [get, set]
 
int rz [get, set]
 
int cat [get, set]
 
bool shadow [get, set]
 
bool reverse [get, set]
 
bool bottom [get, set]
 

Detailed Description

Definition at line 6 of file SkinDeco.cs.

Member Function Documentation

◆ _OnDeserialized()

void SkinDeco._OnDeserialized ( StreamingContext  context)
inlinepackage

Definition at line 157 of file SkinDeco.cs.

158 {
159 bits.Bits = (uint)ints[8];
160 }
int[] ints
Definition: SkinDeco.cs:11

References ints.

◆ OnSerializing()

void SkinDeco.OnSerializing ( StreamingContext  context)
inlinepackage

Definition at line 151 of file SkinDeco.cs.

152 {
153 ints[8] = (int)bits.Bits;
154 }
BitArray32 bits
Definition: SkinDeco.cs:16
uint Bits
Definition: BitArray32.cs:6

References BitArray32.Bits, bits, and ints.

Member Data Documentation

◆ actor

◆ bits

BitArray32 SkinDeco.bits

Definition at line 16 of file SkinDeco.cs.

Referenced by OnSerializing().

◆ ints

int [] SkinDeco.ints = new int[9]

Definition at line 11 of file SkinDeco.cs.

Referenced by _OnDeserialized(), and OnSerializing().

◆ name

string SkinDeco.name

Definition at line 14 of file SkinDeco.cs.

Referenced by Widget.InstantiateDeco(), and LayerSkinDeco.OnUpdateInput().

Property Documentation

◆ bottom

bool SkinDeco.bottom
getset

Definition at line 138 of file SkinDeco.cs.

139 {
140 get
141 {
142 return bits[2];
143 }
144 set
145 {
146 bits[2] = value;
147 }
148 }

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ cat

int SkinDeco.cat
getset

Definition at line 102 of file SkinDeco.cs.

103 {
104 get
105 {
106 return ints[7];
107 }
108 set
109 {
110 ints[7] = value;
111 }
112 }

◆ color

Color SkinDeco.color
getset

Definition at line 78 of file SkinDeco.cs.

79 {
80 get
81 {
82 return IntColor.FromInt(ints[5]);
83 }
84 set
85 {
86 ints[5] = IntColor.ToInt(ref value);
87 }
88 }
static int ToInt(ref Color c)
Definition: IntColor.cs:24
static Color32 FromInt(int i)
Definition: IntColor.cs:15

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ id

int SkinDeco.id
getset

Definition at line 18 of file SkinDeco.cs.

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

Referenced by Widget.InstantiateDeco().

◆ reverse

bool SkinDeco.reverse
getset

Definition at line 126 of file SkinDeco.cs.

127 {
128 get
129 {
130 return bits[1];
131 }
132 set
133 {
134 bits[1] = value;
135 }
136 }

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ rz

int SkinDeco.rz
getset

Definition at line 90 of file SkinDeco.cs.

91 {
92 get
93 {
94 return ints[6];
95 }
96 set
97 {
98 ints[6] = value;
99 }
100 }

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ shadow

bool SkinDeco.shadow
getset

Definition at line 114 of file SkinDeco.cs.

115 {
116 get
117 {
118 return bits[0];
119 }
120 set
121 {
122 bits[0] = value;
123 }
124 }

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ sx

int SkinDeco.sx
getset

Definition at line 54 of file SkinDeco.cs.

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

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ sy

int SkinDeco.sy
getset

Definition at line 66 of file SkinDeco.cs.

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

Referenced by LayerSkinDeco.OnUpdateInput(), and SkinDecoActor.Refresh().

◆ x

int SkinDeco.x
getset

Definition at line 30 of file SkinDeco.cs.

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

Referenced by Widget.InstantiateDeco().

◆ y

int SkinDeco.y
getset

Definition at line 42 of file SkinDeco.cs.

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

Referenced by Widget.InstantiateDeco().


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