mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 18:35:20 +02:00
ContentDB redesign: Add package dialog
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
This commit is contained in:
@@ -6581,6 +6581,9 @@ Formspec
|
||||
* `minetest.formspec_escape(string)`: returns a string
|
||||
* escapes the characters "[", "]", "\", "," and ";", which cannot be used
|
||||
in formspecs.
|
||||
* `minetest.hypertext_escape(string)`: returns a string
|
||||
* escapes the characters "\", "<", and ">" to show text in a hypertext element.
|
||||
* not safe for use with tag attributes.
|
||||
* `minetest.explode_table_event(string)`: returns a table
|
||||
* returns e.g. `{type="CHG", row=1, column=2}`
|
||||
* `type` is one of:
|
||||
|
@@ -57,7 +57,10 @@ Functions
|
||||
* returns the maximum supported network protocol version
|
||||
* `core.open_url(url)`
|
||||
* opens the URL in a web browser, returns false on failure.
|
||||
* Must begin with http:// or https://
|
||||
* `url` must begin with http:// or https://
|
||||
* `core.open_url_dialog(url)`
|
||||
* shows a dialog to allow the user to choose whether to open a URL.
|
||||
* `url` must begin with http:// or https://
|
||||
* `core.open_dir(path)`
|
||||
* opens the path in the system file browser/explorer, returns false on failure.
|
||||
* Must be an existing directory.
|
||||
@@ -65,6 +68,8 @@ Functions
|
||||
* Android only. Shares file using the share popup
|
||||
* `core.get_version()` (possible in async calls)
|
||||
* returns current core version
|
||||
* `core.get_formspec_version()`
|
||||
* returns maximum supported formspec version
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user