Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
BodySlot.cs
Go to the documentation of this file.
1
using
Newtonsoft.Json;
2
3
public
class
BodySlot
:
EClass
4
{
5
[JsonProperty(PropertyName =
"E"
)]
6
public
int
elementId
;
7
8
public
Thing
thing
;
9
10
public
int
index
;
11
12
public
int
indexPart
;
13
14
public
string
name
=>
EClass
.
sources
.
elements
.map[
elementId
].GetText();
15
16
public
SourceElement.Row
element
=>
EClass
.
sources
.
elements
.map[
elementId
];
17
18
public
bool
IsEquipping
(
Thing
t)
19
{
20
return
t.c_equippedSlot ==
index
+ 1;
21
}
22
}
BodySlot
Definition:
BodySlot.cs:4
BodySlot.index
int index
Definition:
BodySlot.cs:10
BodySlot.name
string name
Definition:
BodySlot.cs:14
BodySlot.elementId
int elementId
Definition:
BodySlot.cs:6
BodySlot.indexPart
int indexPart
Definition:
BodySlot.cs:12
BodySlot.IsEquipping
bool IsEquipping(Thing t)
Definition:
BodySlot.cs:18
BodySlot.thing
Thing thing
Definition:
BodySlot.cs:8
BodySlot.element
SourceElement.Row element
Definition:
BodySlot.cs:16
EClass
Definition:
EClass.cs:5
EClass.sources
static SourceManager sources
Definition:
EClass.cs:42
SourceElement.Row
Definition:
SourceElement.cs:11
SourceManager.elements
SourceElement elements
Definition:
SourceManager.cs:28
Thing
Definition:
Thing.cs:8
Elin
BodySlot.cs
Generated by
1.9.6