CraftSkill Structure

A single craft skill entry; part of the PlayerInfo structure.

struct CraftSkill
{
    unsigned short RawSkill;
 
    unsigned short GetSkill(void) const { return (unsigned short)((this->RawSkill & 0x1FE0) >> 5); }
    unsigned short GetRank(void) const  { return (unsigned short)(this->RawSkill & 0x1F); }
    bool GetCapped(void) const          { return ((this->RawSkill & 0x8000) >> 15) == 0 ? false : true; }
};