QuestList.CheckFinished C# (CSharp) 메소드

CheckFinished() 공개 메소드

public CheckFinished ( int id ) : bool
id int
리턴 bool
    public bool CheckFinished(int id)
    {
        /*foreach(int i in Quest_Finished_List)
        {
            if (i == id)
                return true;
        }*/
        if (Quest_Finished_List.Exists(x => x == id))
            return true;
        return false;
    }