Link Search Menu Expand Document

Window_ShopBuy.d overview


Table of contents


utils

Window_ShopBuy (class)

Window_ShopBuy

The window for selecting an item to buy on the shop screen.

Signature

export declare class Window_ShopBuy

setupGoods (method)

Signature

setupGoods(shopGoods: ShopGoods[]): void

maxItems (method)

Signature

maxItems(): number

item (method)

Signature

item(): DataPricedItemBase | null

itemAt (method)

Signature

itemAt(index: number): DataPricedItemBase | null

setMoney (method)

Signature

setMoney(money: number): void

isCurrentItemEnabled (method)

Signature

isCurrentItemEnabled(): boolean

price (method)

Signature

price(item: DataPricedItemBase): number

isEnabled (method)

Signature

isEnabled(item: DataPricedItemBase | null): boolean

refresh (method)

Signature

refresh(): void

makeItemList (method)

Signature

makeItemList(): void

goodsToItem (method)

Signature

goodsToItem(
    goods: ShopGoods
  ): import("../data").DataItem | import("../data").DataWeapon | import("../data").DataArmor | null

drawItem (method)

Signature

drawItem(index: number): void

priceWidth (method)

Signature

priceWidth(): number

setStatusWindow (method)

Signature

setStatusWindow(statusWindow: Window_ShopStatus): void

updateHelp (method)

Signature

updateHelp(): void

_money (property)

Signature

_money: number

_shopGoods (property)

Signature

_shopGoods: ([0, number, 1, number] | [0, number, 0, undefined] | [1, number, 1, number] | [1, number, 0, undefined] | [2, number, 1, number] | [2, number, 0, undefined])[]

_data (property)

Signature

_data: DataPricedItemBase[]

_price (property)

Signature

_price: number[]

_statusWindow (property)

Signature

_statusWindow: Window_ShopStatus | undefined