Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ItemPosition.cs
Go to the documentation of this file.
1using Newtonsoft.Json;
2
3public class ItemPosition : EClass
4{
5 [JsonProperty]
6 public int uidContainer;
7
8 [JsonProperty]
9 public int invX;
10
11 [JsonProperty]
12 public int invY;
13
14 public static ItemPosition Get(Thing t)
15 {
16 if (t == null || t.parentCard == null)
17 {
18 return null;
19 }
20 return new ItemPosition
21 {
23 invX = t.invX,
24 invY = t.invY
25 };
26 }
27}
int uid
Definition: Card.cs:118
int invX
Definition: Card.cs:1819
Card parentCard
Definition: Card.cs:99
Definition: EClass.cs:5
static ItemPosition Get(Thing t)
Definition: ItemPosition.cs:14
int uidContainer
Definition: ItemPosition.cs:6
Definition: Thing.cs:8