View Full Version : [SOLVED] C++ Check for GM Badge, not just rank.

07-04-2014, 08:42 AM
Hey, I'm currently writing my own world chat script and I'm wondering if it's possible to check whether the GM in question has .gm chat enabled. I want to give them the option to disable the Blizz icon in the world channel as well.

I'm able to get everything else working fine, I just can't seem to find if there's a method such as GetSession()->HasGMChat()? or something to that effect.

Also, is there a list of all current methods for players anywhere? I'm looking in the C++ library but can only see the ones for units.

07-04-2014, 09:08 AM
Often it is good way to go to the declaration of example SetGMChat. The function was right next to it in player.h.

07-04-2014, 11:11 AM
Thank you very much, I was trying to find it through GetSession().