Ejemplo n.º 1
0
        private void OnDisconnected(object sender, EventArgs e)
        {
            AccountLogic.ClientDisconnected(this);

            if (m_gameAccount != null)
                m_gameAccount.Connection = null;
            m_gameAccount = null;

            if (Player != null)
                Player.Connection = null;
            Player = null;

            Buffer = null;
            Session = null;
            Client = null;
            SendData = null;
            SendLock = null;
        }
Ejemplo n.º 2
0
 public GameProtocol(Session session)
 {
     Session = session;
 }