GetClassByPosition

// A creature can have up to three classes. This function determines the // creature's class (CLASS_TYPE_*) based on nClassPosition. // - nClassPosition: 1, 2 or 3 // - oCreature // * Returns CLASS_TYPE_INVALID if the oCreature does not have a class in //  nClassPosition (i.e. a single-class creature will only have a value in //   nClassLocation=1) or if oCreature is not a valid creature. int GetClassByPosition(int nClassPosition, object oCreature=OBJECT_SELF);