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; }
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; }
public static void GetMaxCharFeature(this CharFeature feature, uint raceId, bool female) { SCharFeature schar = Engine.Instance.WowDatabase.GetMaxCharFeature(raceId, female); feature.FromSCharFeature(schar); }