Exemplo n.º 1
0
 private QuestEventInfoList GetEventInfo()
 {
     if (null == this.eventInfoList)
     {
         this.eventInfoList = (AssetDataMng.Instance().LoadObject("Quest/List/QuestEventInfoList", null, false) as QuestEventInfoList);
     }
     return(this.eventInfoList);
 }
Exemplo n.º 2
0
        public QuestEventInfoList.EventInfo GetEventInfo(string dungeonId)
        {
            QuestEventInfoList.EventInfo result    = null;
            QuestEventInfoList           eventInfo = this.GetEventInfo();

            if (null != eventInfo)
            {
                string encryptoDungeonId = this.GetEncryptoDungeonId(dungeonId);
                result = eventInfo.GetEventInfo(encryptoDungeonId);
            }
            return(result);
        }
Exemplo n.º 3
0
        public bool ExistEvent(string dungeonId)
        {
            bool result = false;
            QuestEventInfoList eventInfo = this.GetEventInfo();

            if (null != eventInfo)
            {
                string encryptoDungeonId = this.GetEncryptoDungeonId(dungeonId);
                result = eventInfo.ExistEvent(encryptoDungeonId);
            }
            return(result);
        }