protected virtual bool OnDeactivate( Mobile m, Tuple <EquipmentSetPart, Item>[] equipped, Tuple <EquipmentSetPart, Item> removed, EquipmentSetMod mod) { return(m != null && !m.Deleted && equipped != null && mod != null && mod.IsActive(m)); }
public bool Deactivate( Mobile m, Tuple <EquipmentSetPart, Item>[] equipped, Tuple <EquipmentSetPart, Item> added, EquipmentSetMod mod) { return(OnDeactivate(m, equipped, added, mod) && mod.Deactivate(m, equipped)); }
public void Add(EquipmentSetMod mod) { Mods.Add(mod); }
public bool Remove(EquipmentSetMod mod) { return(Mods.Remove(mod)); }
public bool Contains(EquipmentSetMod mod) { return(Mods.Contains(mod)); }