Пример #1
0
 public Models.HairStyle GetByHairColor(uint itemIffId)
 {
     return(HairStyle.GetItem(itemIffId));
 }
Пример #2
0
 public HairStyle GetByHairColor(uint TypeId)
 {
     return(HairStyle.GetItem(TypeId));
 }
Пример #3
0
 public IffHairStyleData GetByHairColor(UInt32 TypeId)
 {
     return(HairStyle.GetItem(TypeId));
 }
Пример #4
0
        public object GetItem(uint TypeID)
        {
            switch (GetItemGroup(TypeID))
            {
            case IFFGROUP.ITEM_TYPE_CHARACTER:
            {
                return(Character.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_HAIR_STYLE:
            {
                return(HairStyle.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_PART:
            {
                return(Part.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_CLUB:
            {
                return(Club.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_BALL:
            {
                return(Ball.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_USE:
            {
                return(Items.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_CADDIE:
            {
                return(Caddie.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_CADDIE_ITEM:
            {
                return(CaddieItem.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_SETITEM:
            {
                return(SetItem.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_SKIN:
            {
                return(Skin.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_MASCOT:
            {
                return(Mascot.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_CARD:
            {
                return(Card.GetItem(TypeID));
            }

            case IFFGROUP.ITEM_TYPE_AUX:
            {
                return(AuxPart.GetItem(TypeID));
            }

            default:
            {
                Console.WriteLine($"ItemGroup_Un -> {GetItemGroup(TypeID)}");
            }
            break;
            }
            throw new NotImplementedException();
        }