mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Rename the argument tag to param in XML documentation
This commit is contained in:
@@ -21,10 +21,10 @@
|
||||
</method>
|
||||
<method name="send_bytes">
|
||||
<return type="int" enum="Error" />
|
||||
<argument index="0" name="bytes" type="PackedByteArray" />
|
||||
<argument index="1" name="id" type="int" default="0" />
|
||||
<argument index="2" name="mode" type="int" enum="MultiplayerPeer.TransferMode" default="2" />
|
||||
<argument index="3" name="channel" type="int" default="0" />
|
||||
<param index="0" name="bytes" type="PackedByteArray" />
|
||||
<param index="1" name="id" type="int" default="0" />
|
||||
<param index="2" name="mode" type="int" enum="MultiplayerPeer.TransferMode" default="2" />
|
||||
<param index="3" name="channel" type="int" default="0" />
|
||||
<description>
|
||||
Sends the given raw [code]bytes[/code] to a specific peer identified by [code]id[/code] (see [method MultiplayerPeer.set_target_peer]). Default ID is [code]0[/code], i.e. broadcast to all peers.
|
||||
</description>
|
||||
@@ -45,8 +45,8 @@
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="peer_packet">
|
||||
<argument index="0" name="id" type="int" />
|
||||
<argument index="1" name="packet" type="PackedByteArray" />
|
||||
<param index="0" name="id" type="int" />
|
||||
<param index="1" name="packet" type="PackedByteArray" />
|
||||
<description>
|
||||
Emitted when this MultiplayerAPI's [member MultiplayerAPI.multiplayer_peer] receives a [code]packet[/code] with custom data (see [method send_bytes]). ID is the peer ID of the peer that sent the packet.
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user