NetPeer.Send Method (NetDataWriter, SendOptions)

LiteNetLib

NetPeerSend Method (NetDataWriter, SendOptions)

LiteNetLib
Send data to peer

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

C#
public void Send(
	NetDataWriter dataWriter,
	SendOptions options
)

Parameters

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

Reference