Preparing search index...
The search index is not available
GS-HTML5 API
GS-HTML5 API
windows/shop/SellRepairMenu
SellRepairMenu
Class SellRepairMenu
Index
Constructors
constructor
Properties
active
char_
display
close_
callback
data
game
inv_
win
inv_
win_
pos
is_
repair_
menu
item_
desc_
win
item_
price_
win
npc_
dialog
parent
quant_
win
selected_
char_
index
selected_
character
selected_
item
yesno_
action
your_
coins_
win
Methods
close_
menu
close_
windows
get_
selected_
item
on_
character_
select
on_
item_
repair
on_
repair_
item_
select
on_
sale_
success
on_
sell_
item_
select
open_
inventory_
view
open_
menu
show_
windows
Constructors
constructor
new
Sell
Repair
Menu
(
game
,
data
,
parent
)
:
SellRepairMenu
Parameters
game
:
Game
data
:
GoldenSun
parent
:
ShopMenu
Returns
SellRepairMenu
Properties
active
active
:
boolean
char_
display
char_
display
:
CharsMenu
close_
callback
close_
callback
:
Function
data
data
:
GoldenSun
game
game
:
Game
inv_
win
inv_
win
:
InventoryWindow
inv_
win_
pos
inv_
win_
pos
:
{
col
:
number
;
line
:
number
;
}
Type declaration
col
:
number
line
:
number
is_
repair_
menu
is_
repair_
menu
:
boolean
item_
desc_
win
item_
desc_
win
:
Window
item_
price_
win
item_
price_
win
:
Window
npc_
dialog
npc_
dialog
:
ShopkeepDialog
parent
parent
:
ShopMenu
quant_
win
quant_
win
:
ShopItemQuantityWindow
selected_
char_
index
selected_
char_
index
:
number
selected_
character
selected_
character
:
MainChar
selected_
item
selected_
item
:
ItemSlot
yesno_
action
yesno_
action
:
YesNoMenu
your_
coins_
win
your_
coins_
win
:
Window
Methods
close_
menu
close_
menu
(
)
:
void
Returns
void
close_
windows
close_
windows
(
properties
,
on_complete
)
:
void
Parameters
properties
:
string
[]
on_complete
:
Function
Returns
void
get_
selected_
item
get_
selected_
item
(
)
:
ItemSlot
Returns
ItemSlot
on_
character_
select
on_
character_
select
(
msg_key
?
,
item_pos
?
)
:
void
Parameters
msg_key
:
string
= "sell_follow_up"
item_pos
:
{
col
:
number
;
line
:
number
;
}
= ...
col
:
number
line
:
number
Returns
void
on_
item_
repair
on_
item_
repair
(
)
:
void
Returns
void
on_
repair_
item_
select
on_
repair_
item_
select
(
)
:
void
Returns
void
on_
sale_
success
on_
sale_
success
(
quantity
?
)
:
void
Parameters
quantity
:
number
= 1
Returns
void
on_
sell_
item_
select
on_
sell_
item_
select
(
)
:
void
Returns
void
open_
inventory_
view
open_
inventory_
view
(
msg_key
?
)
:
void
Parameters
msg_key
:
string
= "sell_follow_up"
Returns
void
open_
menu
open_
menu
(
is_repair_menu
,
close_callback
?
)
:
void
Parameters
is_repair_menu
:
boolean
Optional
close_callback
:
Function
Returns
void
show_
windows
show_
windows
(
properties
,
on_complete
)
:
void
Parameters
properties
:
{
arguments
?:
any
[]
;
name
:
string
;
}
[]
on_complete
:
Function
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
active
char_
display
close_
callback
data
game
inv_
win
inv_
win_
pos
is_
repair_
menu
item_
desc_
win
item_
price_
win
npc_
dialog
parent
quant_
win
selected_
char_
index
selected_
character
selected_
item
yesno_
action
your_
coins_
win
close_
menu
close_
windows
get_
selected_
item
on_
character_
select
on_
item_
repair
on_
repair_
item_
select
on_
sale_
success
on_
sell_
item_
select
open_
inventory_
view
open_
menu
show_
windows
GS-HTML5 API
Loading...