QuestList.AddtoProcessing C# (CSharp) Méthode

AddtoProcessing() public méthode

public AddtoProcessing ( int id ) : bool
id int
Résultat bool
    public bool AddtoProcessing(int id)
    {
        if (Quest_Processing_List.Exists(x => x == id))
            return false;
        Quest_Processing_List.Add(id);
        return true;
    }