예제 #1
0
 public void UpdateStatus()
 {
     if (CheckCompletedStatus())
     {
         m_Log.Owner.SetQuestState(Slot, QuestCompleteStatus.Completed);
         QuestHandler.SendQuestUpdateComplete(m_Log.Owner, Template.Id);
     }
     else
     {
         m_Log.Owner.SetQuestState(Slot, QuestCompleteStatus.NotCompleted);
     }
 }
예제 #2
0
 public void UpdateStatus()
 {
     if (this.CheckCompletedStatus())
     {
         this.m_Log.Owner.SetQuestState(this.Slot, QuestCompleteStatus.Completed);
         QuestHandler.SendQuestUpdateComplete(this.m_Log.Owner, this.Template.Id);
     }
     else
     {
         this.m_Log.Owner.SetQuestState(this.Slot, QuestCompleteStatus.NotCompleted);
     }
 }
예제 #3
0
파일: Quest.cs 프로젝트: NecroSharper/WCell
 public void UpdateStatus()
 {
     if (CheckCompletedStatus())
     {
         m_Log.Owner.SetQuestState(Slot, QuestCompleteStatus.Completed);
         QuestHandler.SendQuestUpdateComplete(m_Log.Owner, Template.Id);
         //if (m_Log.Owner.GetQuestState(m_Slot) != QuestStatusLog.Completed)
         //{
         //    m_Log.Owner.SetQuestState(m_Slot, QuestStatusLog.Completed);
         //    //QuestHandler.SendComplete(Template, m_Log.Owner);
         //}
     }
     else
     {
         m_Log.Owner.SetQuestState(Slot, QuestCompleteStatus.NotCompleted);
         //if (m_Log.Owner.GetQuestState(m_Slot) != QuestStatusLog.NotCompleted)
         //{
         //    m_Log.Owner.SetQuestState(m_Slot, QuestStatusLog.NotCompleted);
         //}
     }
 }