doc: Remove hardcoded default values from descriptions
They are now generated automatically by doctool.
This commit is contained in:
parent
c6cea6e9b3
commit
b9aa13e591
106 changed files with 403 additions and 407 deletions
|
|
@ -45,13 +45,13 @@
|
|||
</argument>
|
||||
<description>
|
||||
Sets the peer to which packets will be sent.
|
||||
The [code]id[/code] can be one of: [constant TARGET_PEER_BROADCAST] to send to all connected peers, [constant TARGET_PEER_SERVER] to send to the peer acting as server, a valid peer ID to send to that specific peer, a negative peer ID to send to all peers except that one. Default: [constant TARGET_PEER_BROADCAST]
|
||||
The [code]id[/code] can be one of: [constant TARGET_PEER_BROADCAST] to send to all connected peers, [constant TARGET_PEER_SERVER] to send to the peer acting as server, a valid peer ID to send to that specific peer, a negative peer ID to send to all peers except that one. By default, the target peer is [constant TARGET_PEER_BROADCAST].
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="refuse_new_connections" type="bool" setter="set_refuse_new_connections" getter="is_refusing_new_connections" default="true">
|
||||
If [code]true[/code], this [NetworkedMultiplayerPeer] refuses new connections. Default value: [code]false[/code].
|
||||
If [code]true[/code], this [NetworkedMultiplayerPeer] refuses new connections.
|
||||
</member>
|
||||
<member name="transfer_mode" type="int" setter="set_transfer_mode" getter="get_transfer_mode" enum="NetworkedMultiplayerPeer.TransferMode" default="0">
|
||||
The manner in which to send packets to the [code]target_peer[/code]. See [enum TransferMode].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue