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); } }
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); } }
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); //} } }