Exemplo n.º 1
0
    public void CompleteQuest(uint questid)
    {
        CQuest pQuest = null;

        m_currentQuests.TryGetValue(questid, out pQuest);
        if (pQuest != null)
        {
            pQuest.Complete();
        }

        m_currentQuests.Remove(questid);
        m_doneQuests.Add(questid, 1);
    }