Preparing search index...
The search index is not available
GS-HTML5 API
GS-HTML5 API
windows/item/ItemOptionsWindow
ItemOptionsWindow
Class ItemOptionsWindow
Index
Constructors
constructor
Properties
action_
message_
window
action_
msg
base_
window
char
char_
name
close_
callback
data
drop_
item_
window
game
give_
item_
options_
window
horizontal_
index
item
item_
menu
item_
name
item_
obj
item_
quantity_
manager_
window
option_
active
stats_
update_
callback
stats_
window
text_
sprites
vertical_
index
window_
active
window_
open
x
y
ICON_
GROUP_
KEY
Methods
activate
choose_
position
close
deactivate
get_
confirm_
sfx
hide
hide_
text
next_
horizontal
next_
vertical
on_
change
on_
choose
open
open_
action_
message_
window
open_
options
previous_
horizontal
previous_
vertical
set_
available_
options
set_
header
show
show_
text
unset_
header
Constructors
constructor
new
Item
Options
Window
(
game
,
data
)
:
ItemOptionsWindow
Parameters
game
:
Game
data
:
GoldenSun
Returns
ItemOptionsWindow
Properties
action_
message_
window
action_
message_
window
:
Window
action_
msg
action_
msg
:
TextObj
base_
window
base_
window
:
Window
char
char
:
MainChar
char_
name
char_
name
:
TextObj
close_
callback
close_
callback
:
Function
data
data
:
GoldenSun
drop_
item_
window
drop_
item_
window
:
DropItemWindow
game
game
:
Game
give_
item_
options_
window
give_
item_
options_
window
:
UseGiveItemWindow
horizontal_
index
horizontal_
index
:
number
item
item
:
Item
item_
menu
item_
menu
:
MainItemMenu
item_
name
item_
name
:
TextObj
item_
obj
item_
obj
:
ItemSlot
item_
quantity_
manager_
window
item_
quantity_
manager_
window
:
ItemQuantityManagerWindow
option_
active
option_
active
:
{
details
:
boolean
;
drop
:
boolean
;
equip
:
boolean
;
give
:
boolean
;
remove
:
boolean
;
use
:
boolean
;
}
Type declaration
details
:
boolean
drop
:
boolean
equip
:
boolean
give
:
boolean
remove
:
boolean
use
:
boolean
stats_
update_
callback
stats_
update_
callback
:
Function
stats_
window
stats_
window
:
StatsOrClassCheckWithItemWindow
text_
sprites
text_
sprites
:
{
details
:
TextObj
;
drop
:
TextObj
;
equip
:
TextObj
;
give
:
TextObj
;
remove
:
TextObj
;
use
:
TextObj
;
}
Type declaration
details
:
TextObj
drop
:
TextObj
equip
:
TextObj
give
:
TextObj
remove
:
TextObj
use
:
TextObj
vertical_
index
vertical_
index
:
number
window_
active
window_
active
:
boolean
window_
open
window_
open
:
boolean
x
x
:
number
y
y
:
number
Static
Private
Readonly
ICON_
GROUP_
KEY
ICON_
GROUP_
KEY
:
"item_icon"
= "item_icon"
Methods
activate
activate
(
)
:
void
Returns
void
choose_
position
choose_
position
(
vertical
,
horizontal
)
:
void
Parameters
vertical
:
number
horizontal
:
number
Returns
void
close
close
(
callback
?
)
:
void
Parameters
Optional
callback
:
Function
Returns
void
deactivate
deactivate
(
)
:
void
Returns
void
get_
confirm_
sfx
get_
confirm_
sfx
(
)
:
"menu/positive"
|
"menu/positive_4"
|
"menu/item_equip"
|
"menu/item_unequip"
Returns
"menu/positive"
|
"menu/positive_4"
|
"menu/item_equip"
|
"menu/item_unequip"
hide
hide
(
)
:
void
Returns
void
hide_
text
hide_
text
(
)
:
void
Returns
void
next_
horizontal
next_
horizontal
(
)
:
void
Returns
void
next_
vertical
next_
vertical
(
)
:
void
Returns
void
on_
change
on_
change
(
)
:
void
Returns
void
on_
choose
on_
choose
(
)
:
void
Returns
void
open
open
(
item_obj
,
item
,
char
,
stats_window
,
item_menu
,
close_callback
,
stats_update_callback
,
open_callback
?
)
:
void
Parameters
item_obj
:
ItemSlot
item
:
Item
char
:
MainChar
stats_window
:
StatsOrClassCheckWithItemWindow
item_menu
:
MainItemMenu
close_callback
:
Function
stats_update_callback
:
Function
Optional
open_callback
:
Function
Returns
void
open_
action_
message_
window
open_
action_
message_
window
(
text
,
close_callback
)
:
void
Parameters
text
:
string
close_callback
:
Function
Returns
void
open_
options
open_
options
(
vertical
?
,
horizontal
?
)
:
void
Parameters
vertical
:
number
= 0
horizontal
:
number
= 0
Returns
void
previous_
horizontal
previous_
horizontal
(
)
:
void
Returns
void
previous_
vertical
previous_
vertical
(
)
:
void
Returns
void
set_
available_
options
set_
available_
options
(
)
:
void
Returns
void
set_
header
set_
header
(
)
:
void
Returns
void
show
show
(
)
:
void
Returns
void
show_
text
show_
text
(
)
:
void
Returns
void
unset_
header
unset_
header
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
action_
message_
window
action_
msg
base_
window
char
char_
name
close_
callback
data
drop_
item_
window
game
give_
item_
options_
window
horizontal_
index
item
item_
menu
item_
name
item_
obj
item_
quantity_
manager_
window
option_
active
stats_
update_
callback
stats_
window
text_
sprites
vertical_
index
window_
active
window_
open
x
y
ICON_
GROUP_
KEY
activate
choose_
position
close
deactivate
get_
confirm_
sfx
hide
hide_
text
next_
horizontal
next_
vertical
on_
change
on_
choose
open
open_
action_
message_
window
open_
options
previous_
horizontal
previous_
vertical
set_
available_
options
set_
header
show
show_
text
unset_
header
GS-HTML5 API
Loading...