Class in reactor_online_ui.js
Window_OnlineForm
16 public functions in 5 groups · show internal (_) functions
Familiar territory. Window_OnlineForm keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
The sign-in pages, in the game's own window: the project's skin and font, and keys, gamepad, mouse and touch like any menu. A field is drawn here and typed into a real input laid over it, so a phone's keyboard opens and a password manager or paste works. Nothing typed is ever written into the game's text codes.
function Window_OnlineForm()
Quick Reference
Setup & Creation 2
| initialize() | Sets up a new instance. |
| createInput() | Creates the input. |
Getting Information 3
| maxItems() | The maximum items. |
| value() | Value. |
| currentRow() | The current row. |
Actions 8
| setRows() | rows: { field, label, secret, complete } or { action, label }. |
| select() | Select. |
| activate() | Activate. |
| deactivate() | Deactivate. |
| setField() | Typing goes to the selected field only; on a button, keys belong to the game again. |
| placeInput() | Place input. |
| destroy() | Destroy. |
| closeInput() | Closes the input. |
Events, Commands & Input 1
| onFieldKey() | The field's keys stay in it, except those that move between rows. |
Updating & Drawing 2
| update() | Update. |
| drawItem() | Draws the item. |
Setup & Creation
initialize
method sourceWindow_OnlineForm.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
createInput
method sourceWindow_OnlineForm.prototype.createInput()
Creates the input. (Same as the RPG Maker MZ method of this name.)
Getting Information
maxItems
method sourceWindow_OnlineForm.prototype.maxItems()
The maximum items. (Same as the RPG Maker MZ method of this name.)
value
method sourceWindow_OnlineForm.prototype.value(key)
Value. (Same as the RPG Maker MZ method of this name.)
currentRow
method sourceWindow_OnlineForm.prototype.currentRow()
The current row. (Same as the RPG Maker MZ method of this name.)
Actions
setRows
method sourceWindow_OnlineForm.prototype.setRows(rows, values = {})
rows: { field, label, secret, complete } or { action, label }.
select
method sourceWindow_OnlineForm.prototype.select(index)
Select. (Same as the RPG Maker MZ method of this name.)
activate
method sourceWindow_OnlineForm.prototype.activate()
Activate. (Same as the RPG Maker MZ method of this name.)
deactivate
method sourceWindow_OnlineForm.prototype.deactivate()
Deactivate. (Same as the RPG Maker MZ method of this name.)
setField
method sourceWindow_OnlineForm.prototype.setField(row)
Typing goes to the selected field only; on a button, keys belong to the game again.
placeInput
method sourceWindow_OnlineForm.prototype.placeInput()
Place input. (Same as the RPG Maker MZ method of this name.)
destroy
method sourceWindow_OnlineForm.prototype.destroy(options)
Destroy. (Same as the RPG Maker MZ method of this name.)
closeInput
method sourceWindow_OnlineForm.prototype.closeInput()
Closes the input. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onFieldKey
method sourceWindow_OnlineForm.prototype.onFieldKey(event)
The field's keys stay in it, except those that move between rows.
Updating & Drawing
update
method sourceWindow_OnlineForm.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
drawItem
method sourceWindow_OnlineForm.prototype.drawItem(index)
Draws the item. (Same as the RPG Maker MZ method of this name.)