Class in reactor_online_ui.js

Window_OnlineForm

16 public functions in 5 groups · show internal (_) functions

Players meeting in North Haven, online.

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 source
Window_OnlineForm.prototype.initialize(rect)

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

createInput

method source
Window_OnlineForm.prototype.createInput()

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

Getting Information

maxItems

method source
Window_OnlineForm.prototype.maxItems()

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

value

method source
Window_OnlineForm.prototype.value(key)

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

currentRow

method source
Window_OnlineForm.prototype.currentRow()

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

Actions

setRows

method source
Window_OnlineForm.prototype.setRows(rows, values = {})

rows: { field, label, secret, complete } or { action, label }.

select

method source
Window_OnlineForm.prototype.select(index)

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

activate

method source
Window_OnlineForm.prototype.activate()

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

deactivate

method source
Window_OnlineForm.prototype.deactivate()

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

setField

method source
Window_OnlineForm.prototype.setField(row)

Typing goes to the selected field only; on a button, keys belong to the game again.

placeInput

method source
Window_OnlineForm.prototype.placeInput()

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

destroy

method source
Window_OnlineForm.prototype.destroy(options)

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

closeInput

method source
Window_OnlineForm.prototype.closeInput()

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

Events, Commands & Input

onFieldKey

method source
Window_OnlineForm.prototype.onFieldKey(event)

The field's keys stay in it, except those that move between rows.

Updating & Drawing

update

method source
Window_OnlineForm.prototype.update()

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

drawItem

method source
Window_OnlineForm.prototype.drawItem(index)

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