Originally Posted by AcidWeb
After preliminary check of "new" talent/specialization API I see there is still no way to get friendly player specialization without inspecting him.
Somebody can confirm that?
|
This seems to be true. Even though
GetInspectSpecialization() accepts a UnitID, it seems to only return usable values after INSPECT_READY fires with that unit's GUID and stops doing so when another player is inspected or when
ClearInspectPlayer() is called. This means the game client only stores inspect data for one player at a time and clears it when it's no longer needed.