MultiplayerAPI.sendBytes

Sends the given raw bytes to a specific peer identified by id (see NetworkedMultiplayerPeer.setTargetPeer). Default ID is 0, i.e. broadcast to all peers.

struct MultiplayerAPI
@nogc nothrow
GodotError
sendBytes
(
in PoolByteArray bytes
,
in long id = 0
,
in long mode = 2
)

Meta