Ejemplo n.º 1
0
        public NetWorkRoom(string name, Interface.TexBoxForm form)
        {
            _clientList = new List <ClientHandler>();
            roomName    = name;
            drawText    = form;

            // 스레드 생성 2
            if (thread == null)
            {
                thread = new Thread(ReadClientAllAsync);
                thread.Start();
            }
        }
Ejemplo n.º 2
0
 public NetWorkService(Interface.TexBoxForm texBox)
 {
     _texBox = texBox;
     _roomDictionary.Add("Lobby", new NetWorkRoom("Lobby", _texBox));
 }