mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
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
58 lines
1.6 KiB
XML
58 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="NativeExtension" inherits="RefCounted" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="close_library">
|
|
<return type="void">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_minimum_library_initialization_level" qualifiers="const">
|
|
<return type="int" enum="NativeExtension.InitializationLevel">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="initialize_library">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="level" type="int" enum="NativeExtension.InitializationLevel">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="is_library_open" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="open_library">
|
|
<return type="int" enum="Error">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<argument index="1" name="entry_symbol" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
<constant name="INITIALIZATION_LEVEL_CORE" value="0" enum="InitializationLevel">
|
|
</constant>
|
|
<constant name="INITIALIZATION_LEVEL_SERVERS" value="1" enum="InitializationLevel">
|
|
</constant>
|
|
<constant name="INITIALIZATION_LEVEL_SCENE" value="2" enum="InitializationLevel">
|
|
</constant>
|
|
<constant name="INITIALIZATION_LEVEL_EDITOR" value="3" enum="InitializationLevel">
|
|
</constant>
|
|
</constants>
|
|
</class>
|