Skip to content

Commit f5d70a7

Browse files
committed
include documentation comments
1 parent 4dd5f0a commit f5d70a7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Assets/FishNet/Runtime/Connection/NetworkConnection.Buffer.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ namespace FishNet.Connection
1212
{
1313
public interface INetworkConnectionBroadcaster
1414
{
15+
/// <summary>
16+
/// Sends a broadcast to this connection.
17+
/// </summary>
18+
/// <typeparam name = "T">Type of broadcast to send.</typeparam>
19+
/// <param name = "message">Broadcast data being sent; for example: an instance of your broadcast type.</param>
20+
/// <param name = "requireAuthenticated">True if the client must be authenticated for this broadcast to send.</param>
21+
/// <param name = "channel">Channel to send on.</param>
1522
void Broadcast<T>(T message, bool requireAuthenticated = true, Channel channel = Channel.Reliable) where T : struct, IBroadcast;
1623
}
1724

0 commit comments

Comments
 (0)