summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorred-001 <red-001@openmailbox.org>2016-05-28 04:37:28 +0100
committerkwolekr <kwolekr@minetest.net>2016-05-27 23:37:28 -0400
commit62d15ac7c1fcd7214a9e45d46bbc560f998edb95 (patch)
treefb2a14588d526ea24d45f5e774cddd327af4a6e8 /doc/lua_api.txt
parentc4e083f7e142d8e25e906bb19f9b1f03bb7b430d (diff)
downloadminetest-62d15ac7c1fcd7214a9e45d46bbc560f998edb95.tar.gz
minetest-62d15ac7c1fcd7214a9e45d46bbc560f998edb95.tar.bz2
minetest-62d15ac7c1fcd7214a9e45d46bbc560f998edb95.zip
Add base64 encoding and decoding to the lua api. (#3919)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 593e0c438..01763fd73 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2438,6 +2438,10 @@ These functions return the leftover itemstack.
* See documentation on `minetest.compress()` for supported compression methods.
* currently supported.
* `...` indicates method-specific arguments. Currently, no methods use this.
+* `minetest.encode_base64(string)`: returns string encoded in base64
+ * Encodes a string in base64.
+* `minetest.decode_base64(string)`: returns string
+ * Decodes a string encoded in base64.
* `minetest.is_protected(pos, name)`: returns boolean
* Returns true, if player `name` shouldn't be abled to dig at `pos` or do other
actions, defineable by mods, due to some mod-defined ownership-like concept.