Exemplo n.º 1
0
        // Hair (Head)
        public uint?GetHeadObject(uint hairStyle)
        {
            HairStyleCG hairstyle = HairStyleList[Convert.ToInt32(hairStyle)];

            // Gear Knights, both Olthoi types have multiple anim part changes.
            if (hairstyle.ObjDesc.AnimPartChanges.Count == 1)
            {
                return(hairstyle.ObjDesc.AnimPartChanges[0].PartID);
            }
            else
            {
                return(null);
            }
        }
Exemplo n.º 2
0
        public uint?GetDefaultHairTexture(uint hairStyle)
        {
            HairStyleCG hairstyle = HairStyleList[Convert.ToInt32(hairStyle)];

            // OlthoiAcid has no TextureChanges
            if (hairstyle.ObjDesc.TextureChanges.Count > 0)
            {
                return(hairstyle.ObjDesc.TextureChanges[0].OldTexture);
            }
            else
            {
                return(null);
            }
        }
Exemplo n.º 3
0
        public uint GetDefaultHairTexture(uint hairStyle)
        {
            HairStyleCG hairstyle = HairStyleList[Convert.ToInt32(hairStyle)];

            return(hairstyle.ObjDesc.TextureChanges[0].OldTexture);
        }
Exemplo n.º 4
0
        // Hair (Head)
        public uint GetHeadObject(uint hairStyle)
        {
            HairStyleCG hairstyle = HairStyleList[Convert.ToInt32(hairStyle)];

            return(hairstyle.ObjDesc.AnimPartChanges[0].PartID);
        }