Class in reactor_windows.js
Window_ItemList
19 public functions in 6 groups · show internal (_) functions
Familiar territory. Window_ItemList 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 2
| initialize() | Sets up a new instance. |
| makeItemList() | Makes the item list. |
Getting Information 4
| maxCols() | The maximum cols. |
| maxItems() | The maximum items. |
| item() | Item. |
| itemAt() | Item at. |
Checks (True / False) 3
| isCurrentItemEnabled() | Whether it is current item enabled. |
| needsNumber() | Whether it needs number. |
| isEnabled() | Whether it is enabled. |
Actions 2
| setCategory() | Sets the category. |
| selectLast() | Selects the last. |
Updating & Drawing 4
| drawItem() | Draws the item. |
| drawItemNumber() | Draws the item number. |
| updateHelp() | Updates the help each frame. |
| refresh() | Refresh. |
Other 4
| colSpacing() | Col spacing. |
| includes() | Includes. |
| rrNumberDigits() | Higher Limits (System 2 > Limits) holds up to 9,999 of an item: room for four digits. |
| numberWidth() | Number width. |
Setup & Creation
initialize
method sourceWindow_ItemList.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
makeItemList
method sourceWindow_ItemList.prototype.makeItemList()
Makes the item list. (Same as the RPG Maker MZ method of this name.)
Getting Information
maxCols
method sourceWindow_ItemList.prototype.maxCols()
The maximum cols. (Same as the RPG Maker MZ method of this name.)
maxItems
method sourceWindow_ItemList.prototype.maxItems()
The maximum items. (Same as the RPG Maker MZ method of this name.)
item
method sourceWindow_ItemList.prototype.item()
Item. (Same as the RPG Maker MZ method of this name.)
itemAt
method sourceWindow_ItemList.prototype.itemAt(index)
Item at. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isCurrentItemEnabled
method sourceWindow_ItemList.prototype.isCurrentItemEnabled()
Whether it is current item enabled. (Same as the RPG Maker MZ method of this name.)
needsNumber
method sourceWindow_ItemList.prototype.needsNumber()
Whether it needs number. (Same as the RPG Maker MZ method of this name.)
isEnabled
method sourceWindow_ItemList.prototype.isEnabled(item)
Whether it is enabled. (Same as the RPG Maker MZ method of this name.)
Actions
setCategory
method sourceWindow_ItemList.prototype.setCategory(category)
Sets the category. (Same as the RPG Maker MZ method of this name.)
selectLast
method sourceWindow_ItemList.prototype.selectLast()
Selects the last. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
drawItem
method sourceWindow_ItemList.prototype.drawItem(index)
Draws the item. (Same as the RPG Maker MZ method of this name.)
drawItemNumber
method sourceWindow_ItemList.prototype.drawItemNumber(item, x, y, width)
Draws the item number. (Same as the RPG Maker MZ method of this name.)
updateHelp
method sourceWindow_ItemList.prototype.updateHelp()
Updates the help each frame. (Same as the RPG Maker MZ method of this name.)
refresh
method sourceWindow_ItemList.prototype.refresh()
Refresh. (Same as the RPG Maker MZ method of this name.)
Other
colSpacing
method sourceWindow_ItemList.prototype.colSpacing()
Col spacing. (Same as the RPG Maker MZ method of this name.)
includes
method sourceWindow_ItemList.prototype.includes(item)
Includes. (Same as the RPG Maker MZ method of this name.)
rrNumberDigits
method sourceWindow_ItemList.prototype.rrNumberDigits()
Higher Limits (System 2 > Limits) holds up to 9,999 of an item: room for four digits.
numberWidth
method sourceWindow_ItemList.prototype.numberWidth()
Number width. (Same as the RPG Maker MZ method of this name.)