示例#1
0
 private void ClearData()
 {
     this.endlessPlayerDataDict.Clear();
     this.playerDataDict.Clear();
     this.warInfoList.Clear();
     this._playerItemDict.Clear();
     this._itemFrozenInfoDict.Clear();
     this._promoteRankList.Clear();
     this._normalRankList.Clear();
     this._demoteRankList.Clear();
     this._waitToEffectToolDataList.Clear();
     this._playerRankList.Clear();
     this.endlessData = null;
 }
示例#2
0
        private EndlessModule()
        {
            Singleton <NotifyManager> .Instance.RegisterModule(this);

            this.UID                       = Singleton <PlayerModule> .Instance.playerData.userId;
            this.endlessData               = null;
            this.endlessPlayerDataDict     = new Dictionary <int, EndlessPlayerData>();
            this.playerDataDict            = new Dictionary <int, PlayerFriendBriefData>();
            this.warInfoList               = new Stack <EndlessWarInfo>();
            this._playerItemDict           = new Dictionary <int, EndlessItem>();
            this._itemFrozenInfoDict       = new Dictionary <int, EndlessItemFrozenInfo>();
            this._promoteRankList          = new List <int>();
            this._normalRankList           = new List <int>();
            this._demoteRankList           = new List <int>();
            this._waitToEffectToolDataList = new List <EndlessToolDataItem>();
            this._playerRankList           = new List <int>();
            this.InitAvatarHPDict();
        }