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; }
public GameProtocol(Session session) { Session = session; }