NetworkServer.localConnection: strong typing

This commit is contained in:
vis2k 2022-12-12 16:35:54 +01:00
parent 0e9edbd0ad
commit db8c54f913

View File

@ -33,7 +33,7 @@ public static partial class NetworkServer
static double lastSendTime;
/// <summary>Connection to host mode client (if any)</summary>
public static NetworkConnectionToClient localConnection { get; private set; }
public static LocalConnectionToClient localConnection { get; private set; }
/// <summary>True is a local client is currently active on the server</summary>
[Obsolete("NetworkServer.localClientActive was renamed to .activeHost to be more obvious")] // DEPRECATED 2022-12-12