예제 #1
0
 public void OnPowerHistory(List <Network.PowerHistory> powerList)
 {
     this.m_buildingTaskList = true;
     for (int i = 0; i < powerList.Count; i++)
     {
         PowerTaskList item = new PowerTaskList();
         if (this.m_previousStack.Count > 0)
         {
             item.SetPrevious(this.m_previousStack.Pop());
             this.m_previousStack.Push(item);
         }
         this.BuildTaskList(powerList, ref i, item);
     }
     this.m_buildingTaskList = false;
 }