b087538119
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
58 lines
2.5 KiB
XML
58 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="NativeScript" inherits="Script" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_class_documentation" qualifiers="const">
|
|
<return type="String" />
|
|
<description>
|
|
Returns the documentation string that was previously set with [code]godot_nativescript_set_class_documentation[/code].
|
|
</description>
|
|
</method>
|
|
<method name="get_method_documentation" qualifiers="const">
|
|
<return type="String" />
|
|
<argument index="0" name="method" type="String" />
|
|
<description>
|
|
Returns the documentation string that was previously set with [code]godot_nativescript_set_method_documentation[/code].
|
|
</description>
|
|
</method>
|
|
<method name="get_property_documentation" qualifiers="const">
|
|
<return type="String" />
|
|
<argument index="0" name="path" type="String" />
|
|
<description>
|
|
Returns the documentation string that was previously set with [code]godot_nativescript_set_property_documentation[/code].
|
|
</description>
|
|
</method>
|
|
<method name="get_signal_documentation" qualifiers="const">
|
|
<return type="String" />
|
|
<argument index="0" name="signal_name" type="String" />
|
|
<description>
|
|
Returns the documentation string that was previously set with [code]godot_nativescript_set_signal_documentation[/code].
|
|
</description>
|
|
</method>
|
|
<method name="new" qualifiers="vararg">
|
|
<return type="Variant" />
|
|
<description>
|
|
Constructs a new object of the base type with a script of this type already attached.
|
|
[b]Note:[/b] Any arguments passed to this function will be ignored and not passed to the native constructor function. This will change with in a future API extension.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="class_name" type="String" setter="set_class_name" getter="get_class_name" default="""">
|
|
</member>
|
|
<member name="library" type="GDNativeLibrary" setter="set_library" getter="get_library">
|
|
</member>
|
|
<member name="script_class_icon_path" type="String" setter="set_script_class_icon_path" getter="get_script_class_icon_path" default="""">
|
|
</member>
|
|
<member name="script_class_name" type="String" setter="set_script_class_name" getter="get_script_class_name" default="""">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|