WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (http://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Global Specialization ID (http://www.wowinterface.com/forums/showthread.php?t=55829)

Ygrayne 10-31-17 02:37 AM

Global Specialization ID
 
Hi, is there (now) an easier way to obtain the global spec ID of a unit in my group, or do I still need to go through the inspection system (NotifyInspect(), INSPECT_READY, and so on)?

(For clarity, the global spec ID would be the number unique to a class/spec, eg. 105 for a Resto Druid, or 65 for a Holy Paladin, as obtained by

Code:

id = GetSpecializationInfo(GetSpecialization())
for the player.)

Thanks, Ygrayne

Ygrayne 10-31-17 10:13 PM

Quote:

Originally Posted by Ygrayne (Post 325694)
Hi, is there (now) an easier way to obtain the global spec ID of a unit in my group, or do I still need to go through the inspection system (NotifyInspect(), INSPECT_READY, and so on)?

Or to maybe phrase my question more generally, is there an easier way to obtain a group member's current spec than using the inspection procedure? Thanks.

MunkDev 10-31-17 11:54 PM

https://wow.gamepedia.com/API_GetInspectSpecialization

Ygrayne 11-01-17 11:50 PM

Thanks -- that's part of the inspection system, though. :)

jeffy162 11-02-17 04:52 AM

I, unfortunately, don't really know. That being said - it appears as though that is the way that the game is set up to work. IE, if you want any information about another player you have to go through the inspection process and learn it that way. Then, the information can be cached and you'll never have to go through the process again (until you "clean" your cache, I'm guessing).

But, I could be totally wrong about this (go figure :o).

MunkDev 11-02-17 10:59 AM

Quote:

Originally Posted by Ygrayne (Post 325706)
Thanks -- that's part of the inspection system, though. :)

Most queried information that isn't necessary for your game to work properly will be downloaded on demand, rather than automatically.
It's designed this way to keep servers stable. I'm not sure you'll be able to get around that fact.

Ygrayne 11-03-17 03:07 AM

Thanks, all. Back to inspection then. :)


All times are GMT -6. The time now is 06:18 PM.

vBulletin © 2018, Jelsoft Enterprises Ltd
© 2004 - 2017 MMOUI