public bool Equals(PetTalentTreeData talents) #endif { if (talents == null || Spec == null) { return(false); } return(talents.ToString().Equals(Spec));//&& Class == talents.GetClass(); }
public SavedPetTalentSpec(String name, PetTalentTreeData talentSpec, PetFamilyTree tree, int pts) #endif { Name = name; Tree = pts; if (talentSpec != null) { Spec = talentSpec.ToString(); Class = tree; } }