Merge pull request #79353 from sepTN/fix-docs-for-consistency
Fix documentation for consistency
This commit is contained in:
commit
818d90f1e5
7 changed files with 7 additions and 7 deletions
|
@ -81,7 +81,7 @@
|
||||||
<return type="Array" />
|
<return type="Array" />
|
||||||
<description>
|
<description>
|
||||||
Returns an array of [EditorDebuggerSession] currently available to this debugger plugin.
|
Returns an array of [EditorDebuggerSession] currently available to this debugger plugin.
|
||||||
Note: Not sessions in the array may be inactive, check their state via [method EditorDebuggerSession.is_active]
|
[b]Note:[/b] Not sessions in the array may be inactive, check their state via [method EditorDebuggerSession.is_active]
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
|
@ -1146,7 +1146,7 @@
|
||||||
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
|
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION" value="3" enum="SliderJointParam">
|
<constant name="SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION" value="3" enum="SliderJointParam">
|
||||||
The amount of restitution once the limits are surpassed. The lower, the more velocityenergy gets lost.
|
The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="SLIDER_JOINT_LINEAR_LIMIT_DAMPING" value="4" enum="SliderJointParam">
|
<constant name="SLIDER_JOINT_LINEAR_LIMIT_DAMPING" value="4" enum="SliderJointParam">
|
||||||
The amount of damping once the slider limits are surpassed.
|
The amount of damping once the slider limits are surpassed.
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
|
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PARAM_LINEAR_LIMIT_RESTITUTION" value="3" enum="Param">
|
<constant name="PARAM_LINEAR_LIMIT_RESTITUTION" value="3" enum="Param">
|
||||||
The amount of restitution once the limits are surpassed. The lower, the more velocityenergy gets lost.
|
The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PARAM_LINEAR_LIMIT_DAMPING" value="4" enum="Param">
|
<constant name="PARAM_LINEAR_LIMIT_DAMPING" value="4" enum="Param">
|
||||||
The amount of damping once the slider limits are surpassed.
|
The amount of damping once the slider limits are surpassed.
|
||||||
|
|
|
@ -1234,7 +1234,7 @@
|
||||||
<param index="1" name="to_line" type="int" />
|
<param index="1" name="to_line" type="int" />
|
||||||
<description>
|
<description>
|
||||||
Emitted immediately when the text changes.
|
Emitted immediately when the text changes.
|
||||||
When text is added [param from_line] will be less then [param to_line]. On a remove [param to_line] will be less then [param from_line].
|
When text is added [param from_line] will be less than [param to_line]. On a remove [param to_line] will be less than [param from_line].
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="text_changed">
|
<signal name="text_changed">
|
||||||
|
|
|
@ -76,7 +76,7 @@ void ENetPacketPeer::throttle_configure(int p_interval, int p_acceleration, int
|
||||||
|
|
||||||
void ENetPacketPeer::set_timeout(int p_timeout, int p_timeout_min, int p_timeout_max) {
|
void ENetPacketPeer::set_timeout(int p_timeout, int p_timeout_min, int p_timeout_max) {
|
||||||
ERR_FAIL_COND_MSG(peer == nullptr, "Peer not connected");
|
ERR_FAIL_COND_MSG(peer == nullptr, "Peer not connected");
|
||||||
ERR_FAIL_COND_MSG(p_timeout > p_timeout_min || p_timeout_min > p_timeout_max, "Timeout limit must be less than minimum timeout, which itself must be less then maximum timeout");
|
ERR_FAIL_COND_MSG(p_timeout > p_timeout_min || p_timeout_min > p_timeout_max, "Timeout limit must be less than minimum timeout, which itself must be less than maximum timeout");
|
||||||
enet_peer_timeout(peer, p_timeout, p_timeout_min, p_timeout_max);
|
enet_peer_timeout(peer, p_timeout, p_timeout_min, p_timeout_max);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue