Update range values of meta set functions in the documentation

This commit is contained in:
rvenson 2023-10-05 12:29:26 -03:00 committed by GitHub
parent c60d971bc4
commit ac8a9f9502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -7277,8 +7277,12 @@ of the `${k}` syntax in formspecs is not deprecated.
* `set_string(key, value)`: Value of `""` will delete the key.
* `get_string(key)`: Returns `""` if key not present.
* `set_int(key, value)`
* The range for the value is system-dependent (usually 32 bits).
The value will be converted into a string when stored.
* `get_int(key)`: Returns `0` if key not present.
* `set_float(key, value)`
* The range for the value is system-dependent (usually 32 bits).
The value will be converted into a string when stored.
* `get_float(key)`: Returns `0` if key not present.
* `get_keys()`: returns a list of all keys in the metadata.
* `to_table()`: