View Single Post
04-12-16, 12:51 PM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by Hiketeia View Post
The API reference had said that field in the GetMountInfo was creatureID - I'm not sure I would have tried to see if it was anything else.
You might've been looking at C_MountJournal.GetMountInfoExtra() instead. That's the one that gives CreatureDisplayID.

Originally Posted by Hiketeia View Post
For example, in a mount tooltip where it says "Account Level Mount" - that doesn't seem to be exposed anywhere?
You can't intercept the formatting process, but you can read from the FontString objects that are contained in the tooltip afterwards. This is called "tooltip scanning" and is an inefficient and often unstable method. Especially when you start dealing with multiple locales.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 04-12-16 at 01:07 PM.
  Reply With Quote