2021-06-19 23:58:49 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 21:18:53 +08:00
|
|
|
<class name="NativeExtensionManager" inherits="Object" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2021-06-19 23:58:49 +08:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_extension">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="NativeExtension" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 23:58:49 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_loaded_extensions" qualifiers="const">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="PackedStringArray" />
|
2021-06-19 23:58:49 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-21 02:32:56 +08:00
|
|
|
<method name="is_extension_loaded" qualifiers="const">
|
|
|
|
<return type="bool" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-08-21 02:32:56 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-06-19 23:58:49 +08:00
|
|
|
<method name="load_extension">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="int" enum="NativeExtensionManager.LoadStatus" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 23:58:49 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="reload_extension">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="int" enum="NativeExtensionManager.LoadStatus" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 23:58:49 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="unload_extension">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="int" enum="NativeExtensionManager.LoadStatus" />
|
2022-08-07 02:11:48 +08:00
|
|
|
<param index="0" name="path" type="String" />
|
2021-06-19 23:58:49 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<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>
|