| | |
| | | } |
| | | } |
| | | |
| | | private List<int> m_NeedHideNpcList = new List<int>(); |
| | | |
| | | public void Task0820(H0820_tagMissionDict info)//0820信息字典 |
| | | { |
| | | m_NeedHideNpcList.Clear(); |
| | | foreach (var _id in NPCShowDic.Keys) |
| | | { |
| | | if (NPCShowDic[_id] == 1) |
| | | { |
| | | var _npcConfig = NPCConfig.Get(_id); |
| | | if (_npcConfig.Show == 0) |
| | | { |
| | | m_NeedHideNpcList.Add(_id); |
| | | } |
| | | } |
| | | } |
| | | foreach (var _id in m_NeedHideNpcList) |
| | | { |
| | | GA_NpcFunc.SetNpcFuncVisible(_id, false); |
| | | NPCShowDic[_id] = 0; |
| | | } |
| | | Dictionary<string, int> dic = null; |
| | | ReplaceDic.TryGetValue((int)info.MissionID, out dic); |
| | | if (dic == null) |