NativeScript.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="NativeScript" inherits="Script" version="4.0">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <methods>
  10. <method name="get_class_documentation" qualifiers="const">
  11. <return type="String">
  12. </return>
  13. <description>
  14. Returns the documentation string that was previously set with [code]godot_nativescript_set_class_documentation[/code].
  15. </description>
  16. </method>
  17. <method name="get_method_documentation" qualifiers="const">
  18. <return type="String">
  19. </return>
  20. <argument index="0" name="method" type="StringName">
  21. </argument>
  22. <description>
  23. Returns the documentation string that was previously set with [code]godot_nativescript_set_method_documentation[/code].
  24. </description>
  25. </method>
  26. <method name="get_property_documentation" qualifiers="const">
  27. <return type="String">
  28. </return>
  29. <argument index="0" name="path" type="StringName">
  30. </argument>
  31. <description>
  32. Returns the documentation string that was previously set with [code]godot_nativescript_set_property_documentation[/code].
  33. </description>
  34. </method>
  35. <method name="get_signal_documentation" qualifiers="const">
  36. <return type="String">
  37. </return>
  38. <argument index="0" name="signal_name" type="StringName">
  39. </argument>
  40. <description>
  41. Returns the documentation string that was previously set with [code]godot_nativescript_set_signal_documentation[/code].
  42. </description>
  43. </method>
  44. <method name="new" qualifiers="vararg">
  45. <return type="Variant">
  46. </return>
  47. <description>
  48. Constructs a new object of the base type with a script of this type already attached.
  49. [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.
  50. </description>
  51. </method>
  52. </methods>
  53. <members>
  54. <member name="class_name" type="String" setter="set_class_name" getter="get_class_name" default="&quot;&quot;">
  55. </member>
  56. <member name="library" type="GDNativeLibrary" setter="set_library" getter="get_library">
  57. </member>
  58. <member name="script_class_icon_path" type="String" setter="set_script_class_icon_path" getter="get_script_class_icon_path" default="&quot;&quot;">
  59. </member>
  60. <member name="script_class_name" type="String" setter="set_script_class_name" getter="get_script_class_name" default="&quot;&quot;">
  61. </member>
  62. </members>
  63. <constants>
  64. </constants>
  65. </class>