ModalForm¶
sealed class
A custom form with typed controls and a submit button. The submit payload is the raw JSON response array (values in control order).
Namespace Endstone.Loader
Inheritance FormBase<ModalForm> › object
Constructors¶
ModalForm()
Methods¶
ModalForm Divider()¶
ModalForm Dropdown(string label, string[] options, int? defaultIndex)¶
ModalForm Header(string text)¶
ModalForm Icon(string icon)¶
ModalForm Label(string text)¶
void OnSubmit(Player player, int buttonIndex, string payload)¶
ModalForm OnSubmit(System.Action<Player, string> callback)¶
Receives the raw JSON response array on submit.