The title of the form.
Optional
content: stringThe content of the form; defaults to an empty string.
Optional
button1: stringThe text of the first button; defaults to "OK".
Optional
button2: stringThe text of the second button; defaults to "Cancel".
The text of the first button.
The text of the second button.
The content of the form.
Protected
Readonly
formThe form id of the form.
The title of the form.
Readonly
typeThe type of form.
Static
formThe next form id to use when creating a new form.
Closes the form for a player.
The player to close the form for.
Show the form synchronously to a player.
The player to show the form to.
The result callback to call when the form is submitted.
Show the form asynchronously to a player.
The player to show the form to.
A promise that resolves with the form response or an error.
Create a new server-sided message form.