This commit is contained in:
vis2k 2021-03-13 19:47:35 +08:00
parent 23722ce828
commit b9027737c8

View File

@ -12,6 +12,8 @@ public abstract class NetworkConnection
// NetworkIdentities that this connection can see
internal readonly HashSet<NetworkIdentity> observing = new HashSet<NetworkIdentity>();
// TODO this is NetworkServer.handlers on server and NetworkClient.handlers on client.
// maybe use them directly. avoid extra state.
Dictionary<int, NetworkMessageDelegate> messageHandlers;
/// <summary>Unique identifier for this connection that is assigned by the transport layer.</summary>