summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2017-10-02 16:09:24 +0200
committerLeon Krause <lk@leonkrause.com>2017-10-02 21:07:05 +0200
commit7b23665e728fe10cd0eedb54824aaeae4ae23758 (patch)
tree289ef1982791cba4c35cc0de331083170c0b18b4 /doc/classes
parent66987d687879017affb787b4a3ffb1ef11880336 (diff)
Add OS::is_userfs_persistent to check user:// persistence
Allows starting HTML5 export when IndexedDB is not available.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/OS.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index 65200c4769..468ccfb8f4 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -472,6 +472,13 @@
Return true if the engine was executed with -v (verbose stdout).
</description>
</method>
+ <method name="is_userfs_persistent" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ If [code]true[/code], the [code]user://[/code] file system is persistent, so that its state is the same after a player quits and starts the game again. Relevant to the HTML5 platform, where this persistence may be unavailable.
+ </description>
+ </method>
<method name="is_vsync_enabled" qualifiers="const">
<return type="bool">
</return>