Exemplo n.º 1
0
        public static CharacterRace GetRace([NotNull] this CharBaseInfoEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException(nameof(entry));
            }

            return((CharacterRace)entry.RaceId);
        }
Exemplo n.º 2
0
        public static CharacterClass GetClass([NotNull] this CharBaseInfoEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException(nameof(entry));
            }

            return((CharacterClass)entry.ClassId);
        }