Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
BodySlot.cs
Go to the documentation of this file.
1using Newtonsoft.Json;
2
3public 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
17
18 public bool IsEquipping(Thing t)
19 {
20 return t.c_equippedSlot == index + 1;
21 }
22}
int index
Definition: BodySlot.cs:10
string name
Definition: BodySlot.cs:14
int elementId
Definition: BodySlot.cs:6
int indexPart
Definition: BodySlot.cs:12
bool IsEquipping(Thing t)
Definition: BodySlot.cs:18
Thing thing
Definition: BodySlot.cs:8
SourceElement.Row element
Definition: BodySlot.cs:16
Definition: EClass.cs:5
static SourceManager sources
Definition: EClass.cs:42
SourceElement elements
Definition: Thing.cs:8