public ServerClient(TFServer server) { Status = NetStatus.DisConnected; dtClientConnTime = DateTime.MinValue; UnitCode = ""; UnitName = ""; UnitType = ClientType.UnKnow; TFServer = server; handler = new ThreeFieldMsgHandler(this); }
/// <summary> /// 构造函数 /// </summary> private CoreService() { ts = new TFServer(); ts.ServerPort = SysParameters.LocalPort; }