Skip to content

Commit 62fcfc0

Browse files
committed
Added missing XML docs to Send overload
1 parent c2747de commit 62fcfc0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,14 @@ protected void SendToClientsTarget(List<int> clientIds, string messageType, stri
10591059
NetworkingManager.singleton.Send(clientIds, messageType, channelName, data, networkId, networkedObject.GetOrderIndex(this));
10601060
}
10611061

1062+
/// <summary>
1063+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1064+
/// </summary>
1065+
/// <typeparam name="T">The class type to send</typeparam>
1066+
/// <param name="clientIds">The clientId's to send to</param>
1067+
/// <param name="messageType">User defined messageType</param>
1068+
/// <param name="channelName">User defined channelName</param>
1069+
/// <param name="instance">The instance to send</param>
10621070
protected void SendToClientsTarget<T>(List<int> clientIds, string messageType, string channelName, T instance)
10631071
{
10641072
SendToClientsTarget(clientIds, messageType, channelName, BinarySerializer.Serialize<T>(instance));

0 commit comments

Comments
 (0)