Elin Modding Docs Doc
Loading...
Searching...
No Matches
InspectGroup.2.cs
1
using
System;
2
3
// Token: 0x020005DB RID: 1499
4
public
class
InspectGroup
<T> :
InspectGroup
where T :
IInspect
5
{
6
// Token: 0x17000BF7 RID: 3063
7
// (get) Token: 0x0600294B RID: 10571 RVA: 0x000E8E39 File Offset: 0x000E7039
8
public
new
T FirstTarget
9
{
10
get
11
{
12
return
(T)((object)base.FirstTarget);
13
}
14
}
15
16
// Token: 0x0600294C RID: 10572 RVA: 0x000E8E46 File Offset: 0x000E7046
17
public
sealed
override
void
SetActions()
18
{
19
this.actions.Clear();
20
this.OnSetActions();
21
}
22
23
// Token: 0x0600294D RID: 10573 RVA: 0x000E8E59 File Offset: 0x000E7059
24
public
virtual
void
OnSetActions()
25
{
26
}
27
28
// Token: 0x0600294E RID: 10574 RVA: 0x000E8E5C File Offset: 0x000E705C
29
public
InspectGroup.Item
Add(
string
text,
string
idSprite, Action action,
bool
sound =
false
,
int
priority = 0,
bool
auto
=
false
)
30
{
31
InspectGroup.Item
item =
new
InspectGroup.Item
32
{
33
text = text,
34
idSprite = idSprite,
35
action = delegate(
IInspect
a)
36
{
37
action();
38
},
39
sound = sound,
40
priority = priority,
41
auto
=
auto
42
};
43
this.actions.Add(item);
44
return
item;
45
}
46
47
// Token: 0x0600294F RID: 10575 RVA: 0x000E8EC4 File Offset: 0x000E70C4
48
public
InspectGroup.Item
Add(
string
text,
string
idSprite, Action<T> action,
bool
sound =
false
,
int
priority = 0,
bool
auto
=
false
)
49
{
50
InspectGroup.Item
item =
new
InspectGroup.Item
51
{
52
text = text,
53
idSprite = idSprite,
54
action = delegate(
IInspect
a)
55
{
56
action((T)((
object
)a));
57
},
58
sound = sound,
59
priority = priority,
60
auto
=
auto
,
61
multi =
true
62
};
63
this.actions.Add(item);
64
return
item;
65
}
66
}
InspectGroup.Item
Definition
InspectGroup.cs:119
InspectGroup
Definition
InspectGroup.2.cs:5
IInspect
Definition
IInspect.cs:6
Elin
InspectGroup.2.cs
Generated by
1.12.0