Class in reactor_windows.js

Window_SavefileList

19 public functions in 6 groups · show internal (_) functions

Windows draw every menu, list and status panel.

Familiar territory. Window_SavefileList keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Getting Information 3

maxItems() The maximum items.
itemHeight() Item height.
indexToSavefileId() Index to savefile id.

Checks (True / False) 1

isEnabled() Whether it is enabled.

Actions 3

setMode() Sets the mode.
selectSavefile() Selects the savefile.
playOkSound() Plays the ok sound.

Updating & Drawing 8

drawItem() Draws the item.
drawTitle() Draws the title.
drawContents() Draws the contents.
drawPartyCharacters() Draws the party characters.
drawPlaytime() Draws the playtime.
update() Update.
updatePadding() Updates the padding each frame.
drawItemBackground() Draws the item background.

Other 3

numVisibleRows() Num visible rows.
savefileIdToIndex() Savefile id to index.
savefileId() Savefile id.

Setup & Creation

initialize

method source
Window_SavefileList.prototype.initialize(rect)

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

Getting Information

maxItems

method source
Window_SavefileList.prototype.maxItems()

The maximum items. (Same as the RPG Maker MZ method of this name.)

itemHeight

method source
Window_SavefileList.prototype.itemHeight()

Item height. (Same as the RPG Maker MZ method of this name.)

indexToSavefileId

method source
Window_SavefileList.prototype.indexToSavefileId(index)

Index to savefile id. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isEnabled

method source
Window_SavefileList.prototype.isEnabled(savefileId)

Whether it is enabled. (Same as the RPG Maker MZ method of this name.)

Actions

setMode

method source
Window_SavefileList.prototype.setMode(mode, autosave)

Sets the mode. (Same as the RPG Maker MZ method of this name.)

selectSavefile

method source
Window_SavefileList.prototype.selectSavefile(savefileId)

Selects the savefile. (Same as the RPG Maker MZ method of this name.)

playOkSound

method source
Window_SavefileList.prototype.playOkSound()

Plays the ok sound. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

drawItem

method source
Window_SavefileList.prototype.drawItem(index)

Draws the item. (Same as the RPG Maker MZ method of this name.)

drawTitle

method source
Window_SavefileList.prototype.drawTitle(savefileId, x, y)

Draws the title. (Same as the RPG Maker MZ method of this name.)

drawContents

method source
Window_SavefileList.prototype.drawContents(info, rect)

Draws the contents. (Same as the RPG Maker MZ method of this name.)

drawPartyCharacters

method source
Window_SavefileList.prototype.drawPartyCharacters(info, x, y)

Draws the party characters. (Same as the RPG Maker MZ method of this name.)

drawPlaytime

method source
Window_SavefileList.prototype.drawPlaytime(info, x, y, width)

Draws the playtime. (Same as the RPG Maker MZ method of this name.)

update

method source
Window_SavefileList.prototype.update()

Update. (Same as the RPG Maker MZ method of this name.)

updatePadding

method source
Window_SavefileList.prototype.updatePadding()

Updates the padding each frame. (Same as the RPG Maker MZ method of this name.)

drawItemBackground

method source
Window_SavefileList.prototype.drawItemBackground(index)

Draws the item background. (Same as the RPG Maker MZ method of this name.)

Other

numVisibleRows

method source
Window_SavefileList.prototype.numVisibleRows()

Num visible rows. (Same as the RPG Maker MZ method of this name.)

savefileIdToIndex

method source
Window_SavefileList.prototype.savefileIdToIndex(savefileId)

Savefile id to index. (Same as the RPG Maker MZ method of this name.)

savefileId

method source
Window_SavefileList.prototype.savefileId()

Savefile id. (Same as the RPG Maker MZ method of this name.)