summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-10-03 12:24:11 +0200
committerGitHub <noreply@github.com>2017-10-03 12:24:11 +0200
commit2bece6bbd35c53390b2d3eedcf9b6d9949db518d (patch)
treeaad5340ed55e7727d50d6beb438cc843c78051e2 /doc/classes
parentcc407847286e8033252db8caa382857a5601fbf2 (diff)
parent7b23665e728fe10cd0eedb54824aaeae4ae23758 (diff)
Merge pull request #11782 from eska014/persistent-userfs-test
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
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>