class_visualscriptfunctioncall.rst 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptFunctionCall.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptFunctionCall:
  6. VisualScriptFunctionCall
  7. ========================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  12. | :ref:`String<class_String>` | :ref:`base_script<class_VisualScriptFunctionCall_property_base_script>` | |
  13. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  14. | :ref:`String<class_String>` | :ref:`base_type<class_VisualScriptFunctionCall_property_base_type>` | ``"Object"`` |
  15. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  16. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`basic_type<class_VisualScriptFunctionCall_property_basic_type>` | |
  17. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  18. | :ref:`CallMode<enum_VisualScriptFunctionCall_CallMode>` | :ref:`call_mode<class_VisualScriptFunctionCall_property_call_mode>` | ``0`` |
  19. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  20. | :ref:`String<class_String>` | :ref:`function<class_VisualScriptFunctionCall_property_function>` | ``""`` |
  21. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  22. | :ref:`NodePath<class_NodePath>` | :ref:`node_path<class_VisualScriptFunctionCall_property_node_path>` | |
  23. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  24. | :ref:`RPCCallMode<enum_VisualScriptFunctionCall_RPCCallMode>` | :ref:`rpc_call_mode<class_VisualScriptFunctionCall_property_rpc_call_mode>` | ``0`` |
  25. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  26. | :ref:`String<class_String>` | :ref:`singleton<class_VisualScriptFunctionCall_property_singleton>` | |
  27. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  28. | :ref:`int<class_int>` | :ref:`use_default_args<class_VisualScriptFunctionCall_property_use_default_args>` | |
  29. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  30. | :ref:`bool<class_bool>` | :ref:`validate<class_VisualScriptFunctionCall_property_validate>` | ``true`` |
  31. +---------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
  32. Enumerations
  33. ------------
  34. .. _enum_VisualScriptFunctionCall_CallMode:
  35. .. _class_VisualScriptFunctionCall_constant_CALL_MODE_SELF:
  36. .. _class_VisualScriptFunctionCall_constant_CALL_MODE_NODE_PATH:
  37. .. _class_VisualScriptFunctionCall_constant_CALL_MODE_INSTANCE:
  38. .. _class_VisualScriptFunctionCall_constant_CALL_MODE_BASIC_TYPE:
  39. .. _class_VisualScriptFunctionCall_constant_CALL_MODE_SINGLETON:
  40. enum **CallMode**:
  41. - **CALL_MODE_SELF** = **0**
  42. - **CALL_MODE_NODE_PATH** = **1**
  43. - **CALL_MODE_INSTANCE** = **2**
  44. - **CALL_MODE_BASIC_TYPE** = **3**
  45. - **CALL_MODE_SINGLETON** = **4**
  46. ----
  47. .. _enum_VisualScriptFunctionCall_RPCCallMode:
  48. .. _class_VisualScriptFunctionCall_constant_RPC_DISABLED:
  49. .. _class_VisualScriptFunctionCall_constant_RPC_RELIABLE:
  50. .. _class_VisualScriptFunctionCall_constant_RPC_UNRELIABLE:
  51. .. _class_VisualScriptFunctionCall_constant_RPC_RELIABLE_TO_ID:
  52. .. _class_VisualScriptFunctionCall_constant_RPC_UNRELIABLE_TO_ID:
  53. enum **RPCCallMode**:
  54. - **RPC_DISABLED** = **0**
  55. - **RPC_RELIABLE** = **1**
  56. - **RPC_UNRELIABLE** = **2**
  57. - **RPC_RELIABLE_TO_ID** = **3**
  58. - **RPC_UNRELIABLE_TO_ID** = **4**
  59. Property Descriptions
  60. ---------------------
  61. .. _class_VisualScriptFunctionCall_property_base_script:
  62. - :ref:`String<class_String>` **base_script**
  63. +----------+------------------------+
  64. | *Setter* | set_base_script(value) |
  65. +----------+------------------------+
  66. | *Getter* | get_base_script() |
  67. +----------+------------------------+
  68. ----
  69. .. _class_VisualScriptFunctionCall_property_base_type:
  70. - :ref:`String<class_String>` **base_type**
  71. +-----------+----------------------+
  72. | *Default* | ``"Object"`` |
  73. +-----------+----------------------+
  74. | *Setter* | set_base_type(value) |
  75. +-----------+----------------------+
  76. | *Getter* | get_base_type() |
  77. +-----------+----------------------+
  78. ----
  79. .. _class_VisualScriptFunctionCall_property_basic_type:
  80. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **basic_type**
  81. +----------+-----------------------+
  82. | *Setter* | set_basic_type(value) |
  83. +----------+-----------------------+
  84. | *Getter* | get_basic_type() |
  85. +----------+-----------------------+
  86. ----
  87. .. _class_VisualScriptFunctionCall_property_call_mode:
  88. - :ref:`CallMode<enum_VisualScriptFunctionCall_CallMode>` **call_mode**
  89. +-----------+----------------------+
  90. | *Default* | ``0`` |
  91. +-----------+----------------------+
  92. | *Setter* | set_call_mode(value) |
  93. +-----------+----------------------+
  94. | *Getter* | get_call_mode() |
  95. +-----------+----------------------+
  96. ----
  97. .. _class_VisualScriptFunctionCall_property_function:
  98. - :ref:`String<class_String>` **function**
  99. +-----------+---------------------+
  100. | *Default* | ``""`` |
  101. +-----------+---------------------+
  102. | *Setter* | set_function(value) |
  103. +-----------+---------------------+
  104. | *Getter* | get_function() |
  105. +-----------+---------------------+
  106. ----
  107. .. _class_VisualScriptFunctionCall_property_node_path:
  108. - :ref:`NodePath<class_NodePath>` **node_path**
  109. +----------+----------------------+
  110. | *Setter* | set_base_path(value) |
  111. +----------+----------------------+
  112. | *Getter* | get_base_path() |
  113. +----------+----------------------+
  114. ----
  115. .. _class_VisualScriptFunctionCall_property_rpc_call_mode:
  116. - :ref:`RPCCallMode<enum_VisualScriptFunctionCall_RPCCallMode>` **rpc_call_mode**
  117. +-----------+--------------------------+
  118. | *Default* | ``0`` |
  119. +-----------+--------------------------+
  120. | *Setter* | set_rpc_call_mode(value) |
  121. +-----------+--------------------------+
  122. | *Getter* | get_rpc_call_mode() |
  123. +-----------+--------------------------+
  124. ----
  125. .. _class_VisualScriptFunctionCall_property_singleton:
  126. - :ref:`String<class_String>` **singleton**
  127. +----------+----------------------+
  128. | *Setter* | set_singleton(value) |
  129. +----------+----------------------+
  130. | *Getter* | get_singleton() |
  131. +----------+----------------------+
  132. ----
  133. .. _class_VisualScriptFunctionCall_property_use_default_args:
  134. - :ref:`int<class_int>` **use_default_args**
  135. +----------+-----------------------------+
  136. | *Setter* | set_use_default_args(value) |
  137. +----------+-----------------------------+
  138. | *Getter* | get_use_default_args() |
  139. +----------+-----------------------------+
  140. ----
  141. .. _class_VisualScriptFunctionCall_property_validate:
  142. - :ref:`bool<class_bool>` **validate**
  143. +-----------+---------------------+
  144. | *Default* | ``true`` |
  145. +-----------+---------------------+
  146. | *Setter* | set_validate(value) |
  147. +-----------+---------------------+
  148. | *Getter* | get_validate() |
  149. +-----------+---------------------+
  150. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  151. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  152. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`