NetManager.SendToAll Method (NetDataWriter, SendOptions)

LiteNetLib

NetManagerSendToAll Method (NetDataWriter, SendOptions)

LiteNetLib
Send data to all connected peers

Namespace:  LiteNetLib
Assembly:  LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax

C#
public void SendToAll(
	NetDataWriter writer,
	SendOptions options
)

Parameters

writer
Type: LiteNetLib.UtilsNetDataWriter
DataWriter with data
options
Type: LiteNetLibSendOptions
Send options (reliable, unreliable, etc.)
See Also

Reference