Class in reactor_windows.js

Window_Command

20 functions in 6 groups · hide internal

Windows draw every menu, list and status panel.

Familiar territory. Window_Command 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.
makeCommandList() Makes the command list.

Getting Information 7

maxItems() The maximum items.
currentData() The current data.
currentSymbol() The current symbol.
currentExt() The current ext.
findSymbol() Finds the symbol.
findExt() Finds the ext.
itemTextAlign() Item text align.

Checks (True / False) 3

isCommandEnabled() Whether it is command enabled.
isCurrentItemEnabled() Whether it is current item enabled.
isOkEnabled() Whether it is ok enabled.

Actions 4

clearCommandList() Clears the command list.
selectSymbol() Selects the symbol.
selectExt() Selects the ext.
callOkHandler() Call ok handler.

Events, Commands & Input 2

commandName() Runs the name command.
commandSymbol() Runs the symbol command.

Updating & Drawing 2

drawItem() Draws the item.
refresh() Refresh.

Setup & Creation

initialize

method source
Window_Command.prototype.initialize(rect)

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

makeCommandList

method source
Window_Command.prototype.makeCommandList()

Makes the command list. (Same as the RPG Maker MZ method of this name.)

Getting Information

maxItems

method source
Window_Command.prototype.maxItems()

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

currentData

method source
Window_Command.prototype.currentData()

The current data. (Same as the RPG Maker MZ method of this name.)

currentSymbol

method source
Window_Command.prototype.currentSymbol()

The current symbol. (Same as the RPG Maker MZ method of this name.)

currentExt

method source
Window_Command.prototype.currentExt()

The current ext. (Same as the RPG Maker MZ method of this name.)

findSymbol

method source
Window_Command.prototype.findSymbol(symbol)

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

findExt

method source
Window_Command.prototype.findExt(ext)

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

itemTextAlign

method source
Window_Command.prototype.itemTextAlign()

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

Checks (True / False)

isCommandEnabled

method source
Window_Command.prototype.isCommandEnabled(index)

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

isCurrentItemEnabled

method source
Window_Command.prototype.isCurrentItemEnabled()

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

isOkEnabled

method source
Window_Command.prototype.isOkEnabled()

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

Actions

clearCommandList

method source
Window_Command.prototype.clearCommandList()

Clears the command list. (Same as the RPG Maker MZ method of this name.)

selectSymbol

method source
Window_Command.prototype.selectSymbol(symbol)

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

selectExt

method source
Window_Command.prototype.selectExt(ext)

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

callOkHandler

method source
Window_Command.prototype.callOkHandler()

Call ok handler. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

commandName

method source
Window_Command.prototype.commandName(index)

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

commandSymbol

method source
Window_Command.prototype.commandSymbol(index)

Runs the symbol command. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

drawItem

method source
Window_Command.prototype.drawItem(index)

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

refresh

method source
Window_Command.prototype.refresh()

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