public bool SetQuestReady(ClientQuest quest) { if (IsNotCompleted(quest.id)) { if (m_ActiveQuests.ContainsKey(quest.id)) { m_ActiveQuests[quest.id] = quest; return(true); } } return(false); }
public bool SetQuestAccepted(ClientQuest quest) { if (IsNotCompleted(quest.id)) { if (m_ActiveQuests.ContainsKey(quest.id)) { m_ActiveQuests[quest.id] = quest; } else { m_ActiveQuests.Add(quest.id, quest); } return(true); } return(false); }
public bool SetQuestCompleted(ClientQuest quest) { return(SetQuestCompleted(quest.id)); }