Search
Preparing search index...
The search index is not available
GS-HTML5 API
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
GS-HTML5 API
windows/item/ItemOptionsWindow
ItemOptionsWindow
Class ItemOptionsWindow
Hierarchy
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
:
Game
, data
:
GoldenSun
)
:
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
:
number
, horizontal
:
number
)
:
void
Parameters
vertical:
number
horizontal:
number
Returns
void
close
close
(
callback
?:
Function
)
:
void
Parameters
Optional
callback:
Function
Returns
void
deactivate
deactivate
(
)
:
void
Returns
void
get_
confirm_
sfx
get_
confirm_
sfx
(
)
:
"menu/positive"
|
"menu/item_equip"
|
"menu/item_unequip"
|
"menu/positive_4"
Returns
"menu/positive"
|
"menu/item_equip"
|
"menu/item_unequip"
|
"menu/positive_4"
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
:
ItemSlot
, item
:
Item
, char
:
MainChar
, stats_window
:
StatsOrClassCheckWithItemWindow
, item_menu
:
MainItemMenu
, close_callback
:
Function
, stats_update_callback
:
Function
, open_callback
?:
Function
)
:
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
:
string
, close_callback
:
Function
)
:
void
Parameters
text:
string
close_callback:
Function
Returns
void
open_
options
open_
options
(
vertical
?:
number
, horizontal
?:
number
)
:
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
Modules
Ability
Audio
Camera
Classes
Collision
Controllable
Char
Djinn
Effect
Enemy
Golden
Sun
Hero
Item
Logger
Main
Char
Map
NPC
Particles
Wrapper
Player
Snapshot
Sprite
Base
Storage
Summon
Window
XGamepad
battle/
Battle
battle/
Battle
Animation
battle/
Battle
Animation
Manager
battle/
Battle
Animation
Tester
battle/
Battle
Cursor
Manager
battle/
Battle
Formulas
battle/
Battle
Log
battle/
Battle
Stage
battle/
EnemyAI
battle/
Player
Sprite
debug/
Debug
field_
abilities/
Avoid
Field
Psynergy
field_
abilities/
Douse
Field
Psynergy
field_
abilities/
Field
Abilities
field_
abilities/
Frost
Field
Psynergy
field_
abilities/
Growth
Field
Psynergy
field_
abilities/
Lash
Field
Psynergy
field_
abilities/
Lift
Field
Psynergy
field_
abilities/
Mind
Read
Field
Psynergy
field_
abilities/
Move
Field
Psynergy
field_
abilities/
Pound
Field
Psynergy
field_
abilities/
Retreat
Field
Psynergy
field_
abilities/
Reveal
Field
Psynergy
field_
abilities/
Sand
Field
Psynergy
field_
abilities/
Wave
field_
abilities/
Whirlwind
Field
Psynergy
game_
events/
Add
Item
To
Party
Event
game_
events/
Audio
Play
Event
game_
events/
Audio
Stop
Event
game_
events/
Battle
Event
game_
events/
Branch
Event
game_
events/
Camera
Fade
Event
game_
events/
Camera
Follow
Event
game_
events/
Camera
Move
Event
game_
events/
Camera
Shake
Event
game_
events/
Casting
Aura
Event
game_
events/
Change
Collision
Layer
Event
game_
events/
Char
Anim
Play
Event
game_
events/
Char
Blend
Mode
Event
game_
events/
Char
Fall
Event
game_
events/
Char
Hue
Event
game_
events/
Char
Item
Manipulation
Event
game_
events/
Char
Level
Change
Event
game_
events/
Char
Rotation
Event
game_
events/
Char
Shadow
Visibility
Event
game_
events/
Char
Splash
Sweat
Drops
Event
game_
events/
Char
Tween
Position
Event
game_
events/
Chest
Event
game_
events/
Colorize
Char
Event
game_
events/
Colorize
Map
Event
game_
events/
Control
Bgm
Event
game_
events/
Create
Storage
Var
Event
game_
events/
Custom
Collision
Body
Event
game_
events/
Destroyer
Event
game_
events/
Dialog
Event
game_
events/
Djinn
Get
Event
game_
events/
Djinn
Set
Status
Event
game_
events/
Emoticon
Event
game_
events/
Event
Activation
Event
game_
events/
Event
Caller
Event
game_
events/
Events
Holder
Event
game_
events/
Events
Loop
Event
game_
events/
Exit
Sand
Mode
Event
game_
events/
Face
Direction
Event
game_
events/
Flame
Char
Event
game_
events/
Game
Event
game_
events/
Game
Event
Manager
game_
events/
Generic
Sprite
Event
game_
events/
Grant
Ability
Event
game_
events/IOAnim
Play
Event
game_
events/IOTween
Position
Event
game_
events/
Item
Checks
Event
game_
events/
Jump
Event
game_
events/
Layer
Tween
Event
game_
events/
Layer
Visibility
Event
game_
events/
Look
Event
game_
events/
Main
Chars
Join
Split
Event
game_
events/
Map
Blend
Mode
Event
game_
events/
Map
Opacity
Event
game_
events/
Move
Event
game_
events/
Outline
Char
Event
game_
events/
Particles
Event
game_
events/
Party
Join
Event
game_
events/
Psynergy
Stone
Event
game_
events/
Set
Char
Activation
Event
game_
events/
Set
Char
Collision
Event
game_
events/
Set
Char
Exp
Event
game_
events/
Set
CharHPPPEvent
game_
events/
Set
Char
Visibility
Event
game_
events/
Set
Io
Activation
Event
game_
events/
Set
Io
Collision
Event
game_
events/
Set
Io
Visibility
Event
game_
events/
Set
Npc
Collision
Event
game_
events/
Set
Party
Coins
Event
game_
events/
Set
Permanent
Status
Event
game_
events/
Set
Value
Event
game_
events/
Storage
Change
Event
game_
events/
Summon
Event
game_
events/
Teleport
Event
game_
events/
Tile
Event
Manage
Event
game_
events/
Timer
Event
game_
events/
Tint
Char
Event
initializers/abilities
initializers/assets_
loader
initializers/bgm
initializers/cast_
recipes
initializers/databases_
loader
initializers/djinni
initializers/enemies
initializers/initialize_
info
initializers/inn
initializers/interactable_
objects
initializers/items
initializers/main_
chars
initializers/maps
initializers/misc_
battle_
anim_
recipes
initializers/misc_
data
initializers/npcs
initializers/shops
initializers/sound_
effects
initializers/summons
interactable_
objects/
Breakable
interactable_
objects/
Interactable
Objects
interactable_
objects/
Pushable
interactable_
objects/
Rolling
Pillar
interactable_
objects/
Rope
Dock
interactable_
objects/
Whirlwind
Source
magic_
numbers
main_
menus/
Healer
Menu
main_
menus/
Inn
Menu
main_
menus/
Main
Battle
Menu
main_
menus/
Main
Djinn
Menu
main_
menus/
Main
Item
Menu
main_
menus/
Main
Menu
main_
menus/
Main
Psynergy
Menu
main_
menus/
Main
Status
Menu
main_
menus/
Save
Menu
main_
menus/
Shop
Menu
main_
menus/
Start
Menu
support_
menus/
Battle
Status
Djinn
support_
menus/
Battle
Status
Items
support_
menus/
Battle
Status
Psynergy
support_
menus/
Battle
Status
Statistics
support_
menus/
Chars
Menu
support_
menus/
Horizontal
Menu
support_
menus/
Main
Status
Djinn
support_
menus/
Main
Status
Items
support_
menus/
Main
Status
Psynergy
support_
menus/
Main
Status
Statistics
support_
menus/
Page
Indicator
support_
menus/
Status
Component
tile_
events/
Climb
Event
tile_
events/
Collision
Event
tile_
events/
Event
Trigger
Event
tile_
events/
Fall
Event
tile_
events/
Ice
Slide
Event
tile_
events/
Jump
Event
tile_
events/
Rope
Event
tile_
events/
Slider
Event
tile_
events/
Speed
Event
tile_
events/
Step
Event
tile_
events/
Teleport
Event
tile_
events/
Tile
Event
tile_
events/
Tile
Event
Manager
utils
utils/
Control
Manager
utils/
Cursor
Manager
utils/
Dialog
Manager
utils/
Footsteps
utils/
Item
Counter
windows/
Basic
Info
Window
windows/
Chars
Status
Window
windows/
Field
Psynergy
Window
windows/
Item
Psynergy
Choose
Window
windows/
Yes
No
Menu
windows/battle/
Battle
Description
Window
windows/battle/
Battle
Djinn
Window
windows/battle/
Battle
Item
Window
windows/battle/
Battle
Psynergy
Window
windows/battle/
Battle
Status
Window
windows/battle/
Battle
Summon
Window
windows/battle/
Choosing
Target
Window
windows/battle/
Djinn
Stats
Window
windows/battle/
Summon
Djinn
Standby
Window
windows/djinn/
Chars
Quick
Info
Djinn
Window
windows/djinn/
Djinn
Action
Window
windows/djinn/
Djinn
Char
Stats
Window
windows/djinn/
Djinn
List
Window
windows/djinn/
Djinn
Mode
Header
Window
windows/djinn/
Djinn
Psynergy
Window
windows/item/
Ability
Get
With
Item
Window
windows/item/
Class
Change
With
Item
Window
windows/item/
Drop
Item
Window
windows/item/
Item
Options
Window
windows/item/
Item
Quantity
Manager
Window
windows/item/
Stats
Check
With
Item
Window
windows/item/
Stats
Or
Class
Check
With
Item
Window
windows/item/
Use
Give
Item
Window
windows/shop/
Buy
Artifacts
Menu
windows/shop/
Buy
Select
Menu
windows/shop/
Equip
Compare
windows/shop/
Inventory
Window
windows/shop/
Sell
Repair
Menu
windows/shop/
Shop
Item
Quantity
Window
windows/shop/
Shopkeep
Dialog
Item
Options
Window
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
Generated using
TypeDoc