classref: Add property overview and setter/getter like in editor docs

Output from godotengine/godot#22013.
Fixes #1729.
This commit is contained in:
Rémi Verschelde
2018-09-13 11:06:52 +02:00
parent f9caa4be29
commit ab3f908221
578 changed files with 33831 additions and 6706 deletions

View File

@@ -8,6 +8,7 @@ VisualScriptFunctionCall
========================
**Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
@@ -15,12 +16,37 @@ Brief Description
Properties
----------
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`base_script<class_VisualScriptFunctionCall_base_script>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`base_type<class_VisualScriptFunctionCall_base_type>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`basic_type<class_VisualScriptFunctionCall_basic_type>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`CallMode<enum_VisualScriptFunctionCall_CallMode>` | :ref:`call_mode<class_VisualScriptFunctionCall_call_mode>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`function<class_VisualScriptFunctionCall_function>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`NodePath<class_NodePath>` | :ref:`node_path<class_VisualScriptFunctionCall_node_path>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`RPCCallMode<enum_VisualScriptFunctionCall_RPCCallMode>` | :ref:`rpc_call_mode<class_VisualScriptFunctionCall_rpc_call_mode>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`singleton<class_VisualScriptFunctionCall_singleton>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`use_default_args<class_VisualScriptFunctionCall_use_default_args>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`validate<class_VisualScriptFunctionCall_validate>` |
+---------------------------------------------------------------+--------------------------------------------------------------------------+
Enumerations
------------
.. _enum_VisualScriptFunctionCall_CallMode:
enum **CallMode**
enum **CallMode**:
- **CALL_MODE_SELF** = **0**
- **CALL_MODE_NODE_PATH** = **1**
@@ -30,7 +56,7 @@ enum **CallMode**
.. _enum_VisualScriptFunctionCall_RPCCallMode:
enum **RPCCallMode**
enum **RPCCallMode**:
- **RPC_DISABLED** = **0**
- **RPC_RELIABLE** = **1**
@@ -38,7 +64,6 @@ enum **RPCCallMode**
- **RPC_RELIABLE_TO_ID** = **3**
- **RPC_UNRELIABLE_TO_ID** = **4**
Property Descriptions
---------------------
@@ -46,40 +71,99 @@ Property Descriptions
- :ref:`String<class_String>` **base_script**
+----------+------------------------+
| *Setter* | set_base_script(value) |
+----------+------------------------+
| *Getter* | get_base_script() |
+----------+------------------------+
.. _class_VisualScriptFunctionCall_base_type:
- :ref:`String<class_String>` **base_type**
+----------+----------------------+
| *Setter* | set_base_type(value) |
+----------+----------------------+
| *Getter* | get_base_type() |
+----------+----------------------+
.. _class_VisualScriptFunctionCall_basic_type:
- :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **basic_type**
+----------+-----------------------+
| *Setter* | set_basic_type(value) |
+----------+-----------------------+
| *Getter* | get_basic_type() |
+----------+-----------------------+
.. _class_VisualScriptFunctionCall_call_mode:
- :ref:`CallMode<enum_VisualScriptFunctionCall_CallMode>` **call_mode**
+----------+----------------------+
| *Setter* | set_call_mode(value) |
+----------+----------------------+
| *Getter* | get_call_mode() |
+----------+----------------------+
.. _class_VisualScriptFunctionCall_function:
- :ref:`String<class_String>` **function**
+----------+---------------------+
| *Setter* | set_function(value) |
+----------+---------------------+
| *Getter* | get_function() |
+----------+---------------------+
.. _class_VisualScriptFunctionCall_node_path:
- :ref:`NodePath<class_NodePath>` **node_path**
+----------+----------------------+
| *Setter* | set_base_path(value) |
+----------+----------------------+
| *Getter* | get_base_path() |
+----------+----------------------+
.. _class_VisualScriptFunctionCall_rpc_call_mode:
- :ref:`RPCCallMode<enum_VisualScriptFunctionCall_RPCCallMode>` **rpc_call_mode**
+----------+--------------------------+
| *Setter* | set_rpc_call_mode(value) |
+----------+--------------------------+
| *Getter* | get_rpc_call_mode() |
+----------+--------------------------+
.. _class_VisualScriptFunctionCall_singleton:
- :ref:`String<class_String>` **singleton**
+----------+----------------------+
| *Setter* | set_singleton(value) |
+----------+----------------------+
| *Getter* | get_singleton() |
+----------+----------------------+
.. _class_VisualScriptFunctionCall_use_default_args:
- :ref:`int<class_int>` **use_default_args**
+----------+-----------------------------+
| *Setter* | set_use_default_args(value) |
+----------+-----------------------------+
| *Getter* | get_use_default_args() |
+----------+-----------------------------+
.. _class_VisualScriptFunctionCall_validate:
- :ref:`bool<class_bool>` **validate**
+----------+---------------------+
| *Setter* | set_validate(value) |
+----------+---------------------+
| *Getter* | get_validate() |
+----------+---------------------+