public ServerBase(string name, int port, WvsCenter parent) { m_name = name; m_center = parent; m_thread = new Executor(name); m_acceptor = new CAcceptor(port); m_acceptor.OnClientAccepted += OnClientAccepted; }
//----------------------------------------------------------------------------- public WvsGame(WvsCenter parent, byte channel) : base($"WvsGame{channel}", Constants.GamePort + channel, parent) { ChannelId = channel; CFieldMan = new Dictionary <int, CField>(); }