| | |
| | | Dictionary<int, int> mapIdToDataMapId = new Dictionary<int, int>();
|
| | | Dictionary<int, DateTime> dungeonCountRemainTimes = new Dictionary<int, DateTime>();
|
| | | Dictionary<int, List<DungeonInspireConfig>> dungeonInspireDict = new Dictionary<int, List<DungeonInspireConfig>>();
|
| | | Dictionary<int, int> dungeonCollectNpcInfos = new Dictionary<int, int>();
|
| | | List<int> trialDungeonMapList = new List<int>();
|
| | |
|
| | | public event Action<DungeonCoolDownType> dungeonCoolDownEvent;
|
| | |
| | | public event Action<int> countRemainTimeChangeEvent;
|
| | | public event Action<Dungeon> kylinDifficultySelectedEvent;
|
| | | public event Action<DungeonFightStage> dungeonFightStageChangeEevent;
|
| | | public event Action onCollectNpcInfoRefresh;
|
| | |
|
| | | List<Item> sweepResultRewards = new List<Item>();
|
| | | List<Item> sweepResultItems = new List<Item>();
|
| | |
| | | {
|
| | | dungeonCountRemainTimes.Clear();
|
| | | dungeonInspireCounts.Clear();
|
| | | dungeonCollectNpcInfos.Clear();
|
| | | }
|
| | |
|
| | | public void OnAfterPlayerDataInitialize()
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public void UpdateDungeonCollectNpcInfo(int npcId,int count)
|
| | | {
|
| | | dungeonCollectNpcInfos[npcId] = count;
|
| | | if (onCollectNpcInfoRefresh != null)
|
| | | {
|
| | | onCollectNpcInfoRefresh();
|
| | | }
|
| | | }
|
| | |
|
| | | public void RequestClearEnterCD(int _mapID)
|
| | | {
|
| | | var clearpack = new CA210_tagCMClearFBCD();
|
| | |
| | | return endTime;
|
| | | }
|
| | |
|
| | | public int GetDugneonNpcCollectCount(int npcId)
|
| | | {
|
| | | if (dungeonCollectNpcInfos.ContainsKey(npcId))
|
| | | {
|
| | | return dungeonCollectNpcInfos[npcId];
|
| | | }
|
| | | return 0;
|
| | | }
|
| | |
|
| | | public void UpdateMission(string _mission)
|
| | | {
|
| | | var mapId = GetDataMapIdByMapId(PlayerDatas.Instance.baseData.MapID);
|