bool FilterMat(GameObject _go) { EquipmentInfo eq = ItemUI.GetEqInfo(_go); if (eq != null && eq.Family == EquipmentFamily.MATERIAL) { return(true); } return(false); }
bool FilterOthers(GameObject _go) { EquipmentInfo eq = ItemUI.GetEqInfo(_go); if (eq != null && (eq.Family == EquipmentFamily.MATERIAL || eq.Family == EquipmentFamily.TASK || eq.Family == EquipmentFamily.GEM)) { return(true); } return(false); }
bool FilterEquip(GameObject _go) { EquipmentInfo eq = ItemUI.GetEqInfo(_go); if (eq != null && (eq.Family == EquipmentFamily.WEAPON || eq.Family == EquipmentFamily.ARMOR || eq.Family == EquipmentFamily.JEWELRY || eq.Family == EquipmentFamily.COSMETIC)) { return(true); } return(false); }
bool FilterConsumables(GameObject _go) { EquipmentInfo eq = ItemUI.GetEqInfo(_go); if (eq != null && (eq.Family == EquipmentFamily.PET || eq.Family == EquipmentFamily.POTION || eq.Family == EquipmentFamily.CONSUMABLES || eq.Family == EquipmentFamily.MOUNT || eq.Family == EquipmentFamily.RENAME)) { return(true); } return(false); }
bool FilterAll(GameObject _go) { EquipmentInfo eq = ItemUI.GetEqInfo(_go); if (eq != null || !isHideNullSlot) { return(true); } return(false); }