Exemple #1
0
        public static int GetCharacterClassId(this CharacterClass cl)
        {
            var attrib = cl.GetAttribute <CharacterClassInfoAttribute>();

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

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

            return(attrib.Name);
        }