|
|
(9 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | The SDialogue class allows you to initial dialogue messages to the player to confirm various actions.
| + | https://docs.sine.space/v/scripting/client-scripting/viewer/sdialogues |
− | | + | |
− | ==Members==
| + | |
− | {{ScriptFunction|void|YesNoInput|(string title, string okbutton, string cancelButton, Action<bool> result);|Shows a yes/no dialogue box to the user, and returns the result via the result callback}}
| + | |
− | {{ScriptFunction|void|TextInput|(string title, string okbutton, Action<string> result);|Shows a text input dialogue box to the user, and returns the result via the result callback}}
| + | |
− | {{ScriptFunction|void|OpenURL|(string url);|Opens a URL in a web browser}}
| + | |
− | {{ScriptFunction|void|SendLocalChat|(string text, string from);|Sends local chat to the client window}}
| + | |
− | | + | |
− | {{Scripting Navbox}}
| + | |
Latest revision as of 15:46, 16 September 2022
https://docs.sine.space/v/scripting/client-scripting/viewer/sdialogues