Пример #1
0
        public static int GetCharacterClassId(this CharacterClass cl)
        {
            var attrib = cl.GetAttribute <CharacterClassInfoAttribute>();

            return(attrib.Id);
        }
Пример #2
0
        public static int GetCharacterClassBitmask(this CharacterClass cl)
        {
            var attrib = cl.GetAttribute <CharacterRaceInfoAttribute>();

            return(attrib.BitmaskValue);
        }
Пример #3
0
        public static string GetCharacterClassName(this CharacterClass cl)
        {
            var attrib = cl.GetAttribute <CharacterClassInfoAttribute>();

            return(attrib.Name);
        }