Click or drag to resize

NetworkedBehaviourSendToClientsTargetT Method (ListInt32, String, String, T)

[This is preliminary documentation and is subject to change.]

Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked

Namespace:  MLAPI.MonoBehaviours.Core
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
protected void SendToClientsTarget<T>(
	List<int> clientIds,
	string messageType,
	string channelName,
	T instance
)
Request Example View Source

Parameters

clientIds
Type: System.Collections.GenericListInt32
The clientId's to send to
messageType
Type: SystemString
User defined messageType
channelName
Type: SystemString
User defined channelName
instance
Type: T
The instance to send

Type Parameters

T
The class type to send
See Also