Skip to content

Commit 5d0f176

Browse files
authored
Merge pull request #71 from Mrb83/master
Minor API documentation fixes for NetworkedBehaviour.cs
2 parents 7d07a63 + 199f1db commit 5d0f176

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ protected void SendToServerTarget<T>(string messageType, string channelName, T i
884884
}
885885

886886
/// <summary>
887-
/// Sends a buffer to the server from client
887+
/// Sends a buffer to the client that owns this object from the server.
888888
/// </summary>
889889
/// <param name="messageType">User defined messageType</param>
890890
/// <param name="channelName">User defined channelName</param>
@@ -916,7 +916,7 @@ protected void SendToLocalClient(string messageType, string channelName, byte[]
916916
}
917917

918918
/// <summary>
919-
/// Sends a buffer to the server from client
919+
/// Sends a buffer to the client that owns this object from the server.
920920
/// </summary>
921921
/// <param name="messageType">User defined messageType</param>
922922
/// <param name="channelName">User defined channelName</param>
@@ -944,7 +944,7 @@ protected void SendToLocalClient(string messageType, string channelName, BitWrit
944944
}
945945

946946
/// <summary>
947-
/// Sends a binary serialized class to the server from client
947+
/// Sends a binary serialized class to the client that owns this object from the server.
948948
/// </summary>
949949
/// <typeparam name="T">The class type to send</typeparam>
950950
/// <param name="messageType">User defined messageType</param>
@@ -1248,7 +1248,7 @@ protected void SendToClient<T>(int clientId, string messageType, string channelN
12481248
}
12491249

12501250
/// <summary>
1251-
/// Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
1251+
/// Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour will get invoked
12521252
/// </summary>
12531253
/// <param name="clientId">The clientId to send the message to</param>
12541254
/// <param name="messageType">User defined messageType</param>
@@ -1281,7 +1281,7 @@ protected void SendToClientTarget(uint clientId, string messageType, string chan
12811281
}
12821282

12831283
/// <summary>
1284-
/// Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
1284+
/// Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour will get invoked
12851285
/// </summary>
12861286
/// <param name="clientId">The clientId to send the message to</param>
12871287
/// <param name="messageType">User defined messageType</param>
@@ -1310,7 +1310,7 @@ protected void SendToClientTarget(uint clientId, string messageType, string chan
13101310
}
13111311

13121312
/// <summary>
1313-
/// Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
1313+
/// Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour will get invoked
13141314
/// </summary>
13151315
/// <typeparam name="T">The class type to send</typeparam>
13161316
/// <param name="clientId">The clientId to send the message to</param>
@@ -1400,7 +1400,7 @@ protected void SendToClients<T>(int[] clientIds, string messageType, string chan
14001400
}
14011401

14021402
/// <summary>
1403-
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1403+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour will get invoked
14041404
/// </summary>
14051405
/// <param name="clientIds">The clientId's to send to</param>
14061406
/// <param name="messageType">User defined messageType</param>
@@ -1433,7 +1433,7 @@ protected void SendToClientsTarget(uint[] clientIds, string messageType, string
14331433
}
14341434

14351435
/// <summary>
1436-
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1436+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour will get invoked
14371437
/// </summary>
14381438
/// <param name="clientIds">The clientId's to send to</param>
14391439
/// <param name="messageType">User defined messageType</param>
@@ -1462,7 +1462,7 @@ protected void SendToClientsTarget(uint[] clientIds, string messageType, string
14621462
}
14631463

14641464
/// <summary>
1465-
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1465+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour will get invoked
14661466
/// </summary>
14671467
/// <typeparam name="T">The class type to send</typeparam>
14681468
/// <param name="clientIds">The clientId's to send to</param>
@@ -1552,7 +1552,7 @@ protected void SendToClients<T>(List<int> clientIds, string messageType, string
15521552
}
15531553

15541554
/// <summary>
1555-
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1555+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour will get invoked
15561556
/// </summary>
15571557
/// <param name="clientIds">The clientId's to send to</param>
15581558
/// <param name="messageType">User defined messageType</param>
@@ -1585,7 +1585,7 @@ protected void SendToClientsTarget(List<uint> clientIds, string messageType, str
15851585
}
15861586

15871587
/// <summary>
1588-
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1588+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour will get invoked
15891589
/// </summary>
15901590
/// <param name="clientIds">The clientId's to send to</param>
15911591
/// <param name="messageType">User defined messageType</param>
@@ -1614,7 +1614,7 @@ protected void SendToClientsTarget(List<uint> clientIds, string messageType, str
16141614
}
16151615

16161616
/// <summary>
1617-
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
1617+
/// Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour will get invoked
16181618
/// </summary>
16191619
/// <typeparam name="T">The class type to send</typeparam>
16201620
/// <param name="clientIds">The clientId's to send to</param>

0 commit comments

Comments
 (0)