Пример #1
0
 public Session(IPEndPoint endPoint, ushort clientId, ushort serverId)
 {
     EndPoint = endPoint;
     Network  = new NetworkSession(this, clientId, serverId);
     actionQueue.SetParent(WorldManager.ActionQueue);
 }
Пример #2
0
 public Session(ConnectionListener connectionListener, IPEndPoint endPoint, ushort clientId, ushort serverId)
 {
     EndPoint = endPoint;
     Network  = new NetworkSession(this, connectionListener, clientId, serverId);
 }
Пример #3
0
 public Session(IPEndPoint endPoint, ushort clientId, ushort serverId)
 {
     EndPoint = endPoint;
     Network  = new NetworkSession(this, clientId, serverId);
 }