コード例 #1
0
    bool FilterMat(GameObject _go)
    {
        EquipmentInfo eq = ItemUI.GetEqInfo(_go);

        if (eq != null && eq.Family == EquipmentFamily.MATERIAL)
        {
            return(true);
        }
        return(false);
    }
コード例 #2
0
    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);
    }
コード例 #3
0
    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);
    }
コード例 #4
0
    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);
    }
コード例 #5
0
    bool FilterAll(GameObject _go)
    {
        EquipmentInfo eq = ItemUI.GetEqInfo(_go);

        if (eq != null || !isHideNullSlot)
        {
            return(true);
        }
        return(false);
    }