Click or drag to resize

NetPeerSendMessage Method (NetOutgoingMessage, IListNetConnection, NetDeliveryMethod, Int32)

Send a message to a list of connections

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void SendMessage(
	NetOutgoingMessage msg,
	IList<NetConnection> recipients,
	NetDeliveryMethod method,
	int sequenceChannel
)

Parameters

msg
Type: Internal.Lidgren.NetworkNetOutgoingMessage
The message to send
recipients
Type: System.Collections.GenericIListNetConnection
The list of recipients to send to
method
Type: Internal.Lidgren.NetworkNetDeliveryMethod
How to deliver the message
sequenceChannel
Type: SystemInt32
Sequence channel within the delivery method
See Also