View Single Post
11-30-12, 05:51 PM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,323
Originally Posted by Phanx View Post
If you're using GetPlayerInfoByGUID, it's probably because you're dealing with people who are talking in chat, or doing something else where no UnitID is available.
Yes, this is for code responding to chat events where there are no valid UnitIDs. An example is for a custom language addon like Tongues to be able to tell an Alliance Pandaren from a Horde one and act accordingly. Both factions use the [Pandaren] language tag for their racial languages. More specifically, this request was to add faction-specific icons for ChatLinkIcons in order to differentiate the same problem with the same race being available to both factions. Even though the character creation screen shows one button for Pandaren, there are actually two icons in the game files (one set of texcoords is the horizontal flipped image of the other set).
__________________
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 : 11-30-12 at 06:02 PM.
  Reply With Quote