Elin Modding Docs Doc
All Classes Namespaces
BackerContentInspector.cs
1using System;
2
3// Token: 0x02000056 RID: 86
5{
6 // Token: 0x060001F0 RID: 496 RVA: 0x0001003B File Offset: 0x0000E23B
7 private void Awake()
8 {
9 BackerContentInspector.Instance = this;
10 }
11
12 // Token: 0x060001F1 RID: 497 RVA: 0x00010043 File Offset: 0x0000E243
13 public void Apply()
14 {
15 this.content.Apply();
16 }
17
18 // Token: 0x060001F2 RID: 498 RVA: 0x00010050 File Offset: 0x0000E250
19 public void Remove()
20 {
21 this.content.Remove();
22 }
23
24 // Token: 0x040004E7 RID: 1255
25 public static BackerContentInspector Instance;
26
27 // Token: 0x040004E8 RID: 1256
28 public BackerContentInspector.Content content;
29
30 // Token: 0x020007CA RID: 1994
31 [Serializable]
32 public class Content
33 {
34 // Token: 0x17001116 RID: 4374
35 // (get) Token: 0x060037C2 RID: 14274 RVA: 0x0012B680 File Offset: 0x00129880
36 public virtual string name
37 {
38 get
39 {
40 return this.id.ToString() ?? "";
41 }
42 }
43
44 // Token: 0x060037C3 RID: 14275 RVA: 0x0012B696 File Offset: 0x00129896
45 public virtual void OnValidate()
46 {
47 }
48
49 // Token: 0x060037C4 RID: 14276 RVA: 0x0012B698 File Offset: 0x00129898
50 public virtual void Apply()
51 {
52 }
53
54 // Token: 0x060037C5 RID: 14277 RVA: 0x0012B69A File Offset: 0x0012989A
55 public virtual void Remove()
56 {
57 }
58
59 // Token: 0x040021D7 RID: 8663
60 public int id;
61 }
62
63 // Token: 0x020007CB RID: 1995
65 {
66 // Token: 0x17001117 RID: 4375
67 // (get) Token: 0x060037C7 RID: 14279 RVA: 0x0012B6A4 File Offset: 0x001298A4
68 public override string name
69 {
70 get
71 {
72 return this.p.cell.GetObjName();
73 }
74 }
75
76 // Token: 0x060037C8 RID: 14280 RVA: 0x0012B6B6 File Offset: 0x001298B6
77 public override void Apply()
78 {
79 EMono._map.ApplyBackerObj(this.p, this.id);
80 }
81
82 // Token: 0x060037C9 RID: 14281 RVA: 0x0012B6CE File Offset: 0x001298CE
83 public override void Remove()
84 {
85 EMono._map.backerObjs.Remove(this.p.index);
86 }
87
88 // Token: 0x040021D8 RID: 8664
89 public Point p;
90 }
91
92 // Token: 0x020007CC RID: 1996
94 {
95 // Token: 0x17001118 RID: 4376
96 // (get) Token: 0x060037CB RID: 14283 RVA: 0x0012B6F3 File Offset: 0x001298F3
97 public override string name
98 {
99 get
100 {
101 return this.c.id + "/" + this.c.Name;
102 }
103 }
104
105 // Token: 0x060037CC RID: 14284 RVA: 0x0012B715 File Offset: 0x00129915
106 public override void Apply()
107 {
108 this.c.ApplyBacker(this.id);
109 }
110
111 // Token: 0x060037CD RID: 14285 RVA: 0x0012B728 File Offset: 0x00129928
112 public override void Remove()
113 {
114 this.c.RemoveBacker();
115 }
116
117 // Token: 0x040021D9 RID: 8665
118 public Card c;
119 }
120}
Definition Card.cs:13
Definition EMono.cs:6
Definition Point.cs:11