1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00

Don't generate empty doc sections and reduce code duplication

This commit is contained in:
Aaron Franke
2021-09-20 19:37:32 -05:00
parent 2d1699ef82
commit d54f2ad7ca
647 changed files with 76 additions and 2011 deletions

View File

@@ -354,6 +354,4 @@
</description>
</signal>
</signals>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="basic_type" type="int" setter="set_basic_type" getter="get_basic_type" enum="Variant.Type" default="0">
The type to get the constant from.
@@ -18,6 +16,4 @@
The name of the constant to return.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -9,8 +9,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="function" type="int" setter="set_func" getter="get_func" enum="VisualScriptBuiltinFunc.BuiltinFunc" default="0">
The function to be executed.

View File

@@ -12,8 +12,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="base_type" type="StringName" setter="set_base_type" getter="get_base_type" default="&amp;&quot;Object&quot;">
The constant's parent class.
@@ -22,6 +20,4 @@
The constant to return. See the given class for its available constants.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -9,8 +9,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="description" type="String" setter="set_description" getter="get_description" default="&quot;&quot;">
The text inside the comment node.
@@ -22,6 +20,4 @@
The comment node's title.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -15,8 +15,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -12,8 +12,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="type" type="int" setter="set_constant_type" getter="get_constant_type" enum="Variant.Type" default="0">
The constant's type.
@@ -22,6 +20,4 @@
The constant's value.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -32,6 +32,4 @@
</description>
</method>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,13 +8,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="type" type="int" setter="set_deconstruct_type" getter="get_deconstruct_type" enum="Variant.Type" default="0">
The type to deconstruct.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -12,13 +12,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="signal" type="StringName" setter="set_signal" getter="get_signal" default="&amp;&quot;&quot;">
The signal to emit.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,13 +8,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="constant" type="String" setter="set_singleton" getter="get_singleton" default="&quot;&quot;">
The singleton's name.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="base_script" type="String" setter="set_base_script" getter="get_base_script">
The script to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE].

View File

@@ -32,6 +32,4 @@
</description>
</method>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,13 +8,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="constant" type="int" setter="set_global_constant" getter="get_global_constant" default="0">
The constant to be used.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="action" type="StringName" setter="set_action_name" getter="get_action_name" default="&amp;&quot;&quot;">
Name of the action.

View File

@@ -15,8 +15,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -74,6 +74,4 @@
</description>
</method>
</methods>
<constants>
</constants>
</class>

View File

@@ -12,8 +12,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
The local variable's type.
@@ -22,6 +20,4 @@
The local variable's name.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -14,8 +14,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
The local variable's type.
@@ -24,6 +22,4 @@
The local variable's name.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -12,8 +12,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="constant" type="int" setter="set_math_constant" getter="get_math_constant" enum="VisualScriptMathConstant.MathConstant" default="0">
The math constant.

View File

@@ -44,6 +44,4 @@
</description>
</signal>
</signals>
<constants>
</constants>
</class>

View File

@@ -12,8 +12,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="Variant.Operator" default="6">
The operation to be performed. See [enum Variant.Operator] for available options.
@@ -22,6 +20,4 @@
The type of the values for this operation. See [enum Variant.Type] for available options.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -12,13 +12,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="resource" type="Resource" setter="set_preload" getter="get_preload">
The [Resource] to load.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="base_script" type="String" setter="set_base_script" getter="get_base_script">
The script to be used when [member set_mode] is set to [constant CALL_MODE_INSTANCE].

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="assign_op" type="int" setter="set_assign_op" getter="get_assign_op" enum="VisualScriptPropertySet.AssignOp" default="0">
The additional operation to perform when assigning. See [enum AssignOp] for options.

View File

@@ -6,12 +6,8 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="path" type="String" setter="set_resource_path" getter="get_resource_path" default="&quot;&quot;">
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -13,8 +13,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="return_enabled" type="bool" setter="set_enable_return_value" getter="is_return_value_enabled" default="false">
If [code]true[/code], the [code]return[/code] input port is available.
@@ -23,6 +21,4 @@
The return value's data type.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -12,13 +12,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="node_path" type="NodePath" setter="set_node_path" getter="get_node_path" default="NodePath(&quot;.&quot;)">
The node's path in the scene tree.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -14,13 +14,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="type" type="int" setter="set_typed" getter="get_typed" enum="Variant.Type" default="0">
The input variables' type.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -12,8 +12,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -14,13 +14,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="steps" type="int" setter="set_steps" getter="get_steps" default="1">
The number of steps in the sequence.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -17,8 +17,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="base_script" type="String" setter="set_base_script" getter="get_base_script" default="&quot;&quot;">
The target script class to be converted to. If none, only the [member base_type] will be used.
@@ -18,6 +16,4 @@
The target type to be converted to.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -12,13 +12,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="var_name" type="StringName" setter="set_variable" getter="get_variable" default="&amp;&quot;&quot;">
The variable's name.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -13,13 +13,9 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="var_name" type="StringName" setter="set_variable" getter="get_variable" default="&amp;&quot;&quot;">
The variable's name.
</member>
</members>
<constants>
</constants>
</class>

View File

@@ -14,8 +14,4 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="mode" type="int" setter="set_yield_mode" getter="get_yield_mode" enum="VisualScriptYield.YieldMode" default="1">
The mode to use for yielding. See [enum YieldMode] for available options.

View File

@@ -8,8 +8,6 @@
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="base_type" type="StringName" setter="set_base_type" getter="get_base_type" default="&amp;&quot;Object&quot;">
The base type to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE].