Class in reactor_windows.js
Window_EquipSlot
13 public functions in 6 groups · show internal (_) functions
Familiar territory. Window_EquipSlot 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. |
| item() | Item. |
| itemAt() | Item at. |
Checks (True / False) 2
| isEnabled() | Whether it is enabled. |
| isCurrentItemEnabled() | Whether it is current item enabled. |
Actions 3
| setActor() | Sets the actor. |
| setStatusWindow() | Sets the status window. |
| setItemWindow() | Sets the item window. |
Updating & Drawing 3
| update() | Update. |
| drawItem() | Draws the item. |
| updateHelp() | Updates the help each frame. |
Other 1
| slotNameWidth() | Slot name width. |
Setup & Creation
initialize
method sourceWindow_EquipSlot.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Getting Information
maxItems
method sourceWindow_EquipSlot.prototype.maxItems()
The maximum items. (Same as the RPG Maker MZ method of this name.)
item
method sourceWindow_EquipSlot.prototype.item()
Item. (Same as the RPG Maker MZ method of this name.)
itemAt
method sourceWindow_EquipSlot.prototype.itemAt(index)
Item at. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isEnabled
method sourceWindow_EquipSlot.prototype.isEnabled(index)
Whether it is enabled. (Same as the RPG Maker MZ method of this name.)
isCurrentItemEnabled
method sourceWindow_EquipSlot.prototype.isCurrentItemEnabled()
Whether it is current item enabled. (Same as the RPG Maker MZ method of this name.)
Actions
setActor
method sourceWindow_EquipSlot.prototype.setActor(actor)
Sets the actor. (Same as the RPG Maker MZ method of this name.)
setStatusWindow
method sourceWindow_EquipSlot.prototype.setStatusWindow(statusWindow)
Sets the status window. (Same as the RPG Maker MZ method of this name.)
setItemWindow
method sourceWindow_EquipSlot.prototype.setItemWindow(itemWindow)
Sets the item window. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceWindow_EquipSlot.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
drawItem
method sourceWindow_EquipSlot.prototype.drawItem(index)
Draws the item. (Same as the RPG Maker MZ method of this name.)
updateHelp
method sourceWindow_EquipSlot.prototype.updateHelp()
Updates the help each frame. (Same as the RPG Maker MZ method of this name.)
Other
slotNameWidth
method sourceWindow_EquipSlot.prototype.slotNameWidth()
Slot name width. (Same as the RPG Maker MZ method of this name.)