public static CharacterRace GetRace([NotNull] this CharBaseInfoEntry entry) { if (entry == null) { throw new ArgumentNullException(nameof(entry)); } return((CharacterRace)entry.RaceId); }
public static CharacterClass GetClass([NotNull] this CharBaseInfoEntry entry) { if (entry == null) { throw new ArgumentNullException(nameof(entry)); } return((CharacterClass)entry.ClassId); }