Elin Modding Docs Doc
Loading...
Searching...
No Matches
HotItemFocusPos.cs
1
using
System;
2
using
Newtonsoft.Json;
3
4
// Token: 0x02000612 RID: 1554
5
public
class
HotItemFocusPos
:
HotAction
6
{
7
// Token: 0x17000C6A RID: 3178
8
// (get) Token: 0x06002B3E RID: 11070 RVA: 0x000F34E4 File Offset: 0x000F16E4
9
public
override
string
Name
10
{
11
get
12
{
13
return
"focusTo"
.lang(this.text.IsEmpty() ? (
this
.x.ToString() +
"/"
+
this
.y.ToString()) :
""
,
this
.text.IsEmpty((
this
.zone ==
null
) ?
"???"
:
this
.zone.Name),
null
,
null
,
null
);
14
}
15
}
16
17
// Token: 0x17000C6B RID: 3179
18
// (get) Token: 0x06002B3F RID: 11071 RVA: 0x000F3557 File Offset: 0x000F1757
19
public
override
string
pathSprite
20
{
21
get
22
{
23
return
"icon_focus"
;
24
}
25
}
26
27
// Token: 0x17000C6C RID: 3180
28
// (get) Token: 0x06002B40 RID: 11072 RVA: 0x000F355E File Offset: 0x000F175E
29
public
override
bool
CanChangeIconColor
30
{
31
get
32
{
33
return
true
;
34
}
35
}
36
37
// Token: 0x06002B41 RID: 11073 RVA: 0x000F3564 File Offset: 0x000F1764
38
public
override
void
Perform()
39
{
40
if
(this.zone !=
EClass
.game.activeZone)
41
{
42
SE.Beep();
43
return
;
44
}
45
EClass
.pc.SetAIImmediate(
new
AI_Goto
(
new
Point
(this.x, this.y), 0,
false
,
false
));
46
ActionMode
.Adv.SetTurbo(5);
47
}
48
49
// Token: 0x04001830 RID: 6192
50
[JsonProperty]
51
public
int
x;
52
53
// Token: 0x04001831 RID: 6193
54
[JsonProperty]
55
public
int
y;
56
57
// Token: 0x04001832 RID: 6194
58
[JsonProperty]
59
public
Zone
zone;
60
}
AI_Goto
Definition
AI_Goto.cs:7
ActionMode
Definition
ActionMode.cs:8
EClass
Definition
EClass.cs:7
HotAction
Definition
HotAction.cs:7
HotItemFocusPos
Definition
HotItemFocusPos.cs:6
Point
Definition
Point.cs:11
Zone
Definition
Zone.cs:14
Elin
HotItemFocusPos.cs
Generated by
1.12.0