2021-06-19 15:58:49 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 08:08:05 +00:00
|
|
|
<class name="GDExtensionManager" inherits="Object" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2021-06-19 15:58:49 +00:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_extension">
|
2022-12-07 11:11:28 +00:00
|
|
|
<return type="GDExtension" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 15:58:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_loaded_extensions" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="PackedStringArray" />
|
2021-06-19 15:58:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-20 18:32:56 +00:00
|
|
|
<method name="is_extension_loaded" qualifiers="const">
|
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-08-20 18:32:56 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-06-19 15:58:49 +00:00
|
|
|
<method name="load_extension">
|
2022-12-07 11:11:28 +00:00
|
|
|
<return type="int" enum="GDExtensionManager.LoadStatus" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 15:58:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="reload_extension">
|
2022-12-07 11:11:28 +00:00
|
|
|
<return type="int" enum="GDExtensionManager.LoadStatus" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 15:58:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="unload_extension">
|
2022-12-07 11:11:28 +00:00
|
|
|
<return type="int" enum="GDExtensionManager.LoadStatus" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 15:58:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
2023-08-05 01:34:14 +00:00
|
|
|
<signals>
|
|
|
|
<signal name="extensions_reloaded">
|
|
|
|
<description>
|
|
|
|
Emitted after the editor has automatically reloaded any extensions.
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
2021-06-19 15:58:49 +00:00
|
|
|
<constants>
|
|
|
|
<constant name="LOAD_STATUS_OK" value="0" enum="LoadStatus">
|
|
|
|
</constant>
|
|
|
|
<constant name="LOAD_STATUS_FAILED" value="1" enum="LoadStatus">
|
|
|
|
</constant>
|
|
|
|
<constant name="LOAD_STATUS_ALREADY_LOADED" value="2" enum="LoadStatus">
|
|
|
|
</constant>
|
|
|
|
<constant name="LOAD_STATUS_NOT_LOADED" value="3" enum="LoadStatus">
|
|
|
|
</constant>
|
|
|
|
<constant name="LOAD_STATUS_NEEDS_RESTART" value="4" enum="LoadStatus">
|
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|