Class in reactor_windows.js
Window_SavefileList
19 public functions in 6 groups · show internal (_) functions
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 sourceWindow_SavefileList.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Getting Information
maxItems
method sourceWindow_SavefileList.prototype.maxItems()
The maximum items. (Same as the RPG Maker MZ method of this name.)
itemHeight
method sourceWindow_SavefileList.prototype.itemHeight()
Item height. (Same as the RPG Maker MZ method of this name.)
indexToSavefileId
method sourceWindow_SavefileList.prototype.indexToSavefileId(index)
Index to savefile id. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isEnabled
method sourceWindow_SavefileList.prototype.isEnabled(savefileId)
Whether it is enabled. (Same as the RPG Maker MZ method of this name.)
Actions
setMode
method sourceWindow_SavefileList.prototype.setMode(mode, autosave)
Sets the mode. (Same as the RPG Maker MZ method of this name.)
selectSavefile
method sourceWindow_SavefileList.prototype.selectSavefile(savefileId)
Selects the savefile. (Same as the RPG Maker MZ method of this name.)
playOkSound
method sourceWindow_SavefileList.prototype.playOkSound()
Plays the ok sound. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
drawItem
method sourceWindow_SavefileList.prototype.drawItem(index)
Draws the item. (Same as the RPG Maker MZ method of this name.)
drawTitle
method sourceWindow_SavefileList.prototype.drawTitle(savefileId, x, y)
Draws the title. (Same as the RPG Maker MZ method of this name.)
drawContents
method sourceWindow_SavefileList.prototype.drawContents(info, rect)
Draws the contents. (Same as the RPG Maker MZ method of this name.)
drawPartyCharacters
method sourceWindow_SavefileList.prototype.drawPartyCharacters(info, x, y)
Draws the party characters. (Same as the RPG Maker MZ method of this name.)
drawPlaytime
method sourceWindow_SavefileList.prototype.drawPlaytime(info, x, y, width)
Draws the playtime. (Same as the RPG Maker MZ method of this name.)
update
method sourceWindow_SavefileList.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updatePadding
method sourceWindow_SavefileList.prototype.updatePadding()
Updates the padding each frame. (Same as the RPG Maker MZ method of this name.)
drawItemBackground
method sourceWindow_SavefileList.prototype.drawItemBackground(index)
Draws the item background. (Same as the RPG Maker MZ method of this name.)
Other
numVisibleRows
method sourceWindow_SavefileList.prototype.numVisibleRows()
Num visible rows. (Same as the RPG Maker MZ method of this name.)
savefileIdToIndex
method sourceWindow_SavefileList.prototype.savefileIdToIndex(savefileId)
Savefile id to index. (Same as the RPG Maker MZ method of this name.)
savefileId
method sourceWindow_SavefileList.prototype.savefileId()
Savefile id. (Same as the RPG Maker MZ method of this name.)