示例#1
0
        public static int GetCharacterRaceId(this CharacterRace race)
        {
            var attrib = race.GetAttribute <CharacterRaceInfoAttribute>();

            return(attrib.Id);
        }
示例#2
0
        public static int GetCharacterRaceBitmask(this CharacterRace race)
        {
            var attrib = race.GetAttribute <CharacterRaceInfoAttribute>();

            return(attrib.BitmaskValue);
        }
示例#3
0
        public static string GetCharacterRaceName(this CharacterRace race)
        {
            var attrib = race.GetAttribute <CharacterRaceInfoAttribute>();

            return(attrib.Name);
        }