Example #1
0
        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()} ");
        }
Example #2
0
 public static byte ToByte(this GenderRace value)
 {
     var(gender, race) = value.Split();
     return(gender.ToByte(race));
 }
Example #3
0
 public override string ToString()
 => $"Eqdp - {SetId} - {Slot} - {GenderRace.Split().Item2.ToName()} {GenderRace.Split().Item1.ToName()}";
Example #4
0
 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()}";