diff options
| author | Hein-Pieter van Braam | 2017-10-03 12:24:11 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-03 12:24:11 +0200 |
| commit | 2bece6bbd35c53390b2d3eedcf9b6d9949db518d (patch) | |
| tree | aad5340ed55e7727d50d6beb438cc843c78051e2 /core/bind/core_bind.cpp | |
| parent | cc407847286e8033252db8caa382857a5601fbf2 (diff) | |
| parent | 7b23665e728fe10cd0eedb54824aaeae4ae23758 (diff) | |
| download | godot-2bece6bbd35c53390b2d3eedcf9b6d9949db518d.tar.gz godot-2bece6bbd35c53390b2d3eedcf9b6d9949db518d.tar.zst godot-2bece6bbd35c53390b2d3eedcf9b6d9949db518d.zip | |
Diffstat (limited to 'core/bind/core_bind.cpp')
| -rw-r--r-- | core/bind/core_bind.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index f47d54035..7de1c7e6b 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -755,6 +755,11 @@ bool _OS::can_draw() const { return OS::get_singleton()->can_draw(); } +bool _OS::is_userfs_persistent() const { + + return OS::get_singleton()->is_userfs_persistent(); +} + int _OS::get_processor_count() const { return OS::get_singleton()->get_processor_count(); @@ -1051,6 +1056,7 @@ void _OS::_bind_methods() { ClassDB::bind_method(D_METHOD("get_model_name"), &_OS::get_model_name); ClassDB::bind_method(D_METHOD("can_draw"), &_OS::can_draw); + ClassDB::bind_method(D_METHOD("is_userfs_persistent"), &_OS::is_userfs_persistent); ClassDB::bind_method(D_METHOD("is_stdout_verbose"), &_OS::is_stdout_verbose); ClassDB::bind_method(D_METHOD("can_use_threads"), &_OS::can_use_threads); |
