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

Public Attributes

SkinDecoActor actor
 
int[] ints = new int[9]
 
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 154 of file SkinDeco.cs.

155 {
156 bits.Bits = (uint)ints[8];
157 }
int[] ints
Definition: SkinDeco.cs:11

References ints.

◆ OnSerializing()

void SkinDeco.OnSerializing ( StreamingContext  context)
inlinepackage

Definition at line 148 of file SkinDeco.cs.

149 {
150 ints[8] = (int)bits.Bits;
151 }
BitArray32 bits
Definition: SkinDeco.cs:13
uint Bits
Definition: BitArray32.cs:6

References BitArray32.Bits, bits, and ints.

Member Data Documentation

◆ actor

◆ bits

BitArray32 SkinDeco.bits

Definition at line 13 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().

Property Documentation

◆ bottom

bool SkinDeco.bottom
getset

Definition at line 135 of file SkinDeco.cs.

136 {
137 get
138 {
139 return bits[2];
140 }
141 set
142 {
143 bits[2] = value;
144 }
145 }

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

◆ cat

int SkinDeco.cat
getset

Definition at line 99 of file SkinDeco.cs.

100 {
101 get
102 {
103 return ints[7];
104 }
105 set
106 {
107 ints[7] = value;
108 }
109 }

◆ color

Color SkinDeco.color
getset

Definition at line 75 of file SkinDeco.cs.

76 {
77 get
78 {
79 return IntColor.FromInt(ints[5]);
80 }
81 set
82 {
83 ints[5] = IntColor.ToInt(ref value);
84 }
85 }
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 15 of file SkinDeco.cs.

16 {
17 get
18 {
19 return ints[0];
20 }
21 set
22 {
23 ints[0] = value;
24 }
25 }

Referenced by Widget.InstantiateDeco().

◆ reverse

bool SkinDeco.reverse
getset

Definition at line 123 of file SkinDeco.cs.

124 {
125 get
126 {
127 return bits[1];
128 }
129 set
130 {
131 bits[1] = value;
132 }
133 }

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

◆ rz

int SkinDeco.rz
getset

Definition at line 87 of file SkinDeco.cs.

88 {
89 get
90 {
91 return ints[6];
92 }
93 set
94 {
95 ints[6] = value;
96 }
97 }

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

◆ shadow

bool SkinDeco.shadow
getset

Definition at line 111 of file SkinDeco.cs.

112 {
113 get
114 {
115 return bits[0];
116 }
117 set
118 {
119 bits[0] = value;
120 }
121 }

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

◆ sx

int SkinDeco.sx
getset

Definition at line 51 of file SkinDeco.cs.

52 {
53 get
54 {
55 return ints[3];
56 }
57 set
58 {
59 ints[3] = value;
60 }
61 }

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

◆ sy

int SkinDeco.sy
getset

Definition at line 63 of file SkinDeco.cs.

64 {
65 get
66 {
67 return ints[4];
68 }
69 set
70 {
71 ints[4] = value;
72 }
73 }

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

◆ x

int SkinDeco.x
getset

Definition at line 27 of file SkinDeco.cs.

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

Referenced by Widget.InstantiateDeco().

◆ y

int SkinDeco.y
getset

Definition at line 39 of file SkinDeco.cs.

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

Referenced by Widget.InstantiateDeco().


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