Exemplo n.º 1
0
 private void UpdateEventList()
 {
     using (List <Skill> .Enumerator enumerator = SkillEditor.FsmList.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             Skill current = enumerator.get_Current();
             FsmEventManager.SanityCheckEventList(current);
         }
     }
     if (SkillEditor.SelectedFsm != null)
     {
         this.eventList = new List <SkillEvent>(SkillEditor.SelectedFsm.get_Events());
         this.SortEvents();
         return;
     }
     this.eventList = new List <SkillEvent>();
 }
Exemplo n.º 2
0
 public static void SanityCheckEventList(Skill fsm)
 {
     FsmEventManager.SanityCheckEventList(fsm);
 }