Пример #1
0
 public static void FromSCharFeature(this CharFeature feature, SCharFeature schar)
 {
     feature.SkinColor  = schar.skinColor;
     feature.FaceType   = schar.faceType;
     feature.FacialHair = schar.facialHair;
     feature.HairColor  = schar.hairColor;
     feature.HairStyle  = schar.hairStyle;
 }
Пример #2
0
 public static void ToSCharFeature(this CharFeature feature, out SCharFeature schar)
 {
     schar.skinColor  = feature.SkinColor;
     schar.faceType   = feature.FaceType;
     schar.facialHair = feature.FacialHair;
     schar.hairColor  = feature.HairColor;
     schar.hairStyle  = feature.HairStyle;
 }
Пример #3
0
        public static void GetMaxCharFeature(this CharFeature feature, uint raceId, bool female)
        {
            SCharFeature schar = Engine.Instance.WowDatabase.GetMaxCharFeature(raceId, female);

            feature.FromSCharFeature(schar);
        }