Skip to content

Commit b5042a6

Browse files
committed
Update GDExtension docs
1 parent 2d3ac32 commit b5042a6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/classes/GDExtension.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
<link title="GDExtension example in C++">$DOCS_URL/tutorials/scripting/gdextension/gdextension_cpp_example.html</link>
1313
</tutorials>
1414
<methods>
15+
<method name="get_loaded_extension_path">
16+
<return type="String" />
17+
<description>
18+
Returns the GDExtension configuration resource that successfully loaded in. If the library is unloaded, returns an empty string.
19+
</description>
20+
</method>
1521
<method name="get_minimum_library_initialization_level" qualifiers="const">
1622
<return type="int" enum="GDExtension.InitializationLevel" />
1723
<description>
@@ -24,6 +30,12 @@
2430
Returns [code]true[/code] if this extension's library has been opened.
2531
</description>
2632
</method>
33+
<method name="is_substituted">
34+
<return type="bool" />
35+
<description>
36+
Returns [code]true[/code] if this extension has loaded a substitute config (see [method get_loaded_extension_path]).
37+
</description>
38+
</method>
2739
</methods>
2840
<constants>
2941
<constant name="INITIALIZATION_LEVEL_CORE" value="0" enum="InitializationLevel">

0 commit comments

Comments
 (0)