API GetInspectSpecialization

Returns a number representing the current active specialization of a given unit.

id = GetInspectSpecialization("unit")

Arguments

 * unit : String - The unitid of the player to request the specialization of.

Returns

 * id : Number - SpecializationID.