mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
[Net] Implement RPC channels in MultiplayerAPI.
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
<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" />
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user