Skip to content

Commit

Permalink
marking player as sealed
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Mar 25, 2021
1 parent ff750b3 commit 03aba30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Mirage/Runtime/NetworkPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public struct NotifyAck
/// <para>NetworkConnection objects also act as observers for networked objects. When a connection is an observer of a networked object with a NetworkIdentity, then the object will be visible to corresponding client for the connection, and incremental state changes will be sent to the client.</para>
/// <para>There are many virtual functions on NetworkConnection that allow its behaviour to be customized. NetworkClient and NetworkServer can both be made to instantiate custom classes derived from NetworkConnection by setting their networkConnectionClass member variable.</para>
/// </remarks>
public class NetworkPlayer : INetworkPlayer
public sealed class NetworkPlayer : INetworkPlayer
{
static readonly ILogger logger = LogFactory.GetLogger(typeof(NetworkPlayer));

Expand All @@ -48,7 +48,7 @@ public class NetworkPlayer : INetworkPlayer
/// The IP address / URL / FQDN associated with the connection.
/// Can be useful for a game master to do IP Bans etc.
/// </summary>
public virtual EndPoint Address => Connection.GetEndPointAddress();
public EndPoint Address => Connection.GetEndPointAddress();

/// <summary>
/// Transport level connection
Expand Down

0 comments on commit 03aba30

Please sign in to comment.