private QuestEventInfoList GetEventInfo() { if (null == this.eventInfoList) { this.eventInfoList = (AssetDataMng.Instance().LoadObject("Quest/List/QuestEventInfoList", null, false) as QuestEventInfoList); } return(this.eventInfoList); }
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); }
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); }