public static BASE_EVENTTRIGGER_MANAGER GetInstance() { if (BASE_EVENTTRIGGER_MANAGER.Instance == null) { BASE_EVENTTRIGGER_MANAGER.Instance = new BASE_EVENTTRIGGER_MANAGER(CDefinePath.EventTriggerInfoURL); } return(BASE_EVENTTRIGGER_MANAGER.Instance); }
public void LoadEventTriggerInfo() { EventTriggerGameTriggerInfo.Instance.Clear(); using (StreamReader streamReader = new StreamReader(EventTriggerGameTriggerInfoLoader.FilePath)) { NrTableBase nrTableBase = new BASE_EVENTTRIGGER_MANAGER(EventTriggerGameTriggerInfoLoader.FilePath); nrTableBase.LoadFromStream(streamReader.BaseStream); EventTriggerGameTriggerInfo.Instance.Load(); } }