Link Search Menu Expand Document

Window_SavefileList.d overview


Table of contents


utils

SavefileMode (type alias)

Signature

export declare type SavefileMode = 'save' | 'load'

Window_SavefileList (class)

Window_SavefileList

The window for selecting a save file on the save and load screens.

Signature

export declare class Window_SavefileList {
  constructor(rect: Rectangle)
}

setMode (method)

Signature

setMode(mode: SavefileMode, autosave: boolean): void

maxItems (method)

Signature

maxItems(): number

numVisibleRows (method)

Signature

numVisibleRows(): number

itemHeight (method)

Signature

itemHeight(): number

drawItem (method)

Signature

drawItem(index: number): void

indexToSavefileId (method)

Signature

indexToSavefileId(index: number): number

savefileIdToIndex (method)

Signature

savefileIdToIndex(savefileId: number): number

isEnabled (method)

Signature

isEnabled(savefileId: number): boolean

savefileId (method)

Signature

savefileId(): number

selectSavefile (method)

Signature

selectSavefile(savefileId: number): void

drawTitle (method)

Signature

drawTitle(savefileId: number, x: number, y: number): void

drawContents (method)

Signature

drawContents(info: DataSaveInfo, rect: Rectangle): void

drawPartyCharacters (method)

Signature

drawPartyCharacters(info: DataSaveInfo, x: number, y: number): void

drawPlaytime (method)

Signature

drawPlaytime(info: DataSaveInfo, x: number, y: number, width: number): void

playOkSound (method)

Signature

playOkSound(): void

_mode (property)

Signature

_mode: 'save' | 'load' | null

_autosave (property)

Signature

_autosave: boolean