summaryrefslogtreecommitdiff
path: root/modules/gdnative/doc_classes/NativeScript.xml
blob: 9d34e89f02780097907fcc139eb0b88acdd082dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8" ?>
<class name="NativeScript" inherits="Script" version="4.0">
	<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="StringName" />
			<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="StringName" />
			<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="StringName" />
			<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.
				[i]Note[/i]: 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="&quot;&quot;">
		</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="&quot;&quot;">
		</member>
		<member name="script_class_name" type="String" setter="set_script_class_name" getter="get_script_class_name" default="&quot;&quot;">
		</member>
	</members>
</class>