示例#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);
 }