Exemple #1
0
    //-----------------------------------------------------------------
    // quest is can complete
    public bool IsCanCompleteQuest(uint questid)
    {
        CQuest pQuest = null;

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

        return(true);
    }