Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
HotItemTogglePage.cs
Go to the documentation of this file.
1
public
class
HotItemTogglePage
:
HotItem
2
{
3
public
override
string
Name
=>
"s_page"
.lang();
4
5
public
override
string
TextTip
=>
null
;
6
7
public
override
string
pathSprite
=>
"icon_page"
;
8
9
public
override
void
OnClick
(
ButtonHotItem
b,
Hotbar
h)
10
{
11
if
(!b)
12
{
13
SE.Beep();
14
return
;
15
}
16
SE.ClickGeneral();
17
b.
widget
.
SwitchPage
();
18
}
19
}
ButtonHotItem
Definition:
ButtonHotItem.cs:6
ButtonHotItem.widget
WidgetHotbar widget
Definition:
ButtonHotItem.cs:10
HotItemTogglePage
Definition:
HotItemTogglePage.cs:2
HotItemTogglePage.TextTip
override string TextTip
Definition:
HotItemTogglePage.cs:5
HotItemTogglePage.Name
override string Name
Definition:
HotItemTogglePage.cs:3
HotItemTogglePage.pathSprite
override string pathSprite
Definition:
HotItemTogglePage.cs:7
HotItemTogglePage.OnClick
override void OnClick(ButtonHotItem b, Hotbar h)
Definition:
HotItemTogglePage.cs:9
HotItem
Definition:
HotItem.cs:5
Hotbar
Definition:
Hotbar.cs:5
WidgetHotbar.SwitchPage
void SwitchPage()
Definition:
WidgetHotbar.cs:199
Elin
HotItemTogglePage.cs
Generated by
1.9.6