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