示例#1
0
        public void OnTimerDisconnect(INetworkSocket socket, AllEventViews allEventViews)
        {
            TimerView timerView = FindTimerViewByIpaddress(socket.IPInfo.IPAddress);

            timerView.UnBindToEventView();
            this.list.Remove(timerView);//去掉Timer列表里的项目
        }
示例#2
0
        public void OnDisconnect(INetworkSocket socket)
        {
            m_socketList.Remove(socket);
            TimerView timerView = FindTimerViaSocket(socket);

            timerView.UnBindToEventView();
            TimerViews.Remove(timerView);//去掉Timer列表里的项目
        }