diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-05-12 23:50:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-12 23:50:26 +0200 |
commit | ca10cb6eea0f86e0ec2fe24a142006cbc6db21c6 (patch) | |
tree | 8d41045ad2cfc1578102a512eba8193e98003832 /doc/classes/NetworkedMultiplayerPeer.xml | |
parent | 81b1d3c846de263cf843e9e0e9d7c0c0a94f65c8 (diff) | |
parent | 0ad07a823cec6de4b1ca1563ec4292c5f8d20198 (diff) |
Merge pull request #18823 from Faless/multiplayer_raw
Allow sending raw bytes via the Multiplayer API
Diffstat (limited to 'doc/classes/NetworkedMultiplayerPeer.xml')
-rw-r--r-- | doc/classes/NetworkedMultiplayerPeer.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/NetworkedMultiplayerPeer.xml b/doc/classes/NetworkedMultiplayerPeer.xml index 71614c5f76..2780334384 100644 --- a/doc/classes/NetworkedMultiplayerPeer.xml +++ b/doc/classes/NetworkedMultiplayerPeer.xml @@ -46,7 +46,8 @@ <argument index="0" name="id" type="int"> </argument> <description> - The peer to which packets will be sent. Default value: [code]0[/code]. + Sets the peer to which packets will be sent. + The [code]id[/code] can be one of: [code]TARGET_PEER_BROADCAST[/code] to send to all connected peers, [code]TARGET_PEER_SERVER[/code] 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: [code]TARGET_PEER_BROADCAST[/code] </description> </method> </methods> |