Esempio 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;
        }
Esempio n. 2
0
 public GameProtocol(Session session)
 {
     Session = session;
 }