From 62fcfc06d03404bb80086b34d61d1490592c9230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Cor=C3=A9n?= <2108U9@gmail.com> Date: Sun, 1 Apr 2018 09:32:43 +0200 Subject: [PATCH] Added missing XML docs to Send overload --- MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs b/MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs index deb4af8..bdf2100 100644 --- a/MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs +++ b/MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs @@ -1059,6 +1059,14 @@ namespace MLAPI.MonoBehaviours.Core NetworkingManager.singleton.Send(clientIds, messageType, channelName, data, networkId, networkedObject.GetOrderIndex(this)); } + /// + /// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked + /// + /// The class type to send + /// The clientId's to send to + /// User defined messageType + /// User defined channelName + /// The instance to send protected void SendToClientsTarget(List clientIds, string messageType, string channelName, T instance) { SendToClientsTarget(clientIds, messageType, channelName, BinarySerializer.Serialize(instance));