MultiplayerAPISendBytes Method |
Sends the given raw bytes to a specific peer identified by id (see SetTargetPeer(Int32)). Default ID is 0, i.e. broadcast to all peers.
Namespace: Godot
public Error SendBytes( byte[] bytes, int id = 0, NetworkedMultiplayerPeerTransferModeEnum mode = NetworkedMultiplayerPeerTransferModeEnum.Reliable )
[Missing <param name="bytes"/> documentation for "M:Godot.MultiplayerAPI.SendBytes(System.Byte[],System.Int32,Godot.NetworkedMultiplayerPeer.TransferModeEnum)"]
[Missing <param name="id"/> documentation for "M:Godot.MultiplayerAPI.SendBytes(System.Byte[],System.Int32,Godot.NetworkedMultiplayerPeer.TransferModeEnum)"]
[Missing <param name="mode"/> documentation for "M:Godot.MultiplayerAPI.SendBytes(System.Byte[],System.Int32,Godot.NetworkedMultiplayerPeer.TransferModeEnum)"]
[Missing <returns> documentation for "M:Godot.MultiplayerAPI.SendBytes(System.Byte[],System.Int32,Godot.NetworkedMultiplayerPeer.TransferModeEnum)"]