Ejemplo n.º 1
0
        public void Awake()
        {
            This = this;

            //处理协议信息
            Handler_Protocol();

            //处理账号信息
            Handler_Account();
        }
Ejemplo n.º 2
0
        public override void Dispose()
        {
            if (this.IsDisposed)
            {
                return;
            }

            base.Dispose();

            foreach (Player player in m_IdPlayers.Values)
            {
                player.Dispose();
            }

            m_IdPlayers.Clear();
            m_HistoryUserDic.Clear();

            m_IdPlayers      = null;
            m_HistoryUserDic = null;

            This = null;
        }