Jump to content

Account ID from Pointer Player


Recommended Posts

Posted
Hi,

Guys Im confused... i cant find how to get account id from the pointer "Player"(C++)

Can any one please help

Thanks

player->GetSession()->GetAccountId()

the "player" definition depends on where you intend to put this code but i think you'll manage from here

and note that im still learning as well and cant test because my core is screwed after commit 10156 :P

Posted
I figured it out ... but thanks anyway :) whats wrong with commit 10156?

I run a custom project together with some other people, we have a lot of custom content in spellauras.cpp and thus commit 10156 bugs us a bit :)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use