summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2022-03-19 13:18:52 +0100
committerreduz <reduzio@gmail.com>2022-03-22 16:27:34 +0100
commit2f651277dac25ca8628102068929e3cf3e245904 (patch)
tree79477e49a2e8d72017ef0a9584ce75b232e5cd8b /doc
parent81c2d7a82a805477fc716e47c93a0dfb2447260d (diff)
Add static method support to ClassDB
* Based on the work done for Variant in the past. * Added `ClassDB::bind_static_method` * Cleaned up ClassDB::bind_method to use variadic templates. This adds support for having static methods in Object derived classes. Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/File.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index 29283e107d..0b4a8fa46e 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -74,7 +74,7 @@
[/codeblocks]
</description>
</method>
- <method name="file_exists" qualifiers="const">
+ <method name="file_exists" qualifiers="static">
<return type="bool" />
<argument index="0" name="path" type="String" />
<description>