Check Item_Struct::IsEquipable(uint16 Race, uint16 Class_), which takes in the actual race value (128 for Iksar), and compares that to the Races field for the item in question (the value from the database that determines by what races a particular item is equipable). How you would use this is up to you, but this should help you out.
This is used to check for valid items being traded to bots, as well as other places, just do a search.
|