b1d15c51bc
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
62 lines
1.7 KiB
XML
62 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="NativeExtensionManager" inherits="Object" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_extension">
|
|
<return type="NativeExtension">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_loaded_extensions" qualifiers="const">
|
|
<return type="PackedStringArray">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="load_extension">
|
|
<return type="int" enum="NativeExtensionManager.LoadStatus">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="reload_extension">
|
|
<return type="int" enum="NativeExtensionManager.LoadStatus">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="unload_extension">
|
|
<return type="int" enum="NativeExtensionManager.LoadStatus">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<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>
|