NetworkedBehaviourSendToClientsTargetT Method (Int32, 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)
Syntaxprotected void SendToClientsTarget<T>(
int[] clientIds,
string messageType,
string channelName,
T instance
)
Request Example
View SourceParameters
- clientIds
- Type: SystemInt32
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