private static string RaceCodeName(GenderRace raceCode) { if (raceCode == GenderRace.Unknown) { return("All Races and Genders"); } var(gender, race) = raceCode.Split(); return($"({raceCode.ToRaceCode()}) {race.ToName()} {gender.ToName()} "); }
public static byte ToByte(this GenderRace value) { var(gender, race) = value.Split(); return(gender.ToByte(race)); }
public override string ToString() => $"Eqdp - {SetId} - {Slot} - {GenderRace.Split().Item2.ToName()} {GenderRace.Split().Item1.ToName()}";
public override string ToString() => ObjectType == ObjectType.Equipment ? $"Est - {PrimaryId} - {EquipSlot} - {GenderRace.Split().Item2.ToName()} {GenderRace.Split().Item1.ToName()}" : $"Est - {PrimaryId} - {BodySlot} - {GenderRace.Split().Item2.ToName()} {GenderRace.Split().Item1.ToName()}";