Jump to content

uint64 to ObjectGuid


Guest xarly

Recommended Posts

I was using External SQL Mail patch, but after update i have a little problem with code because of this:

Before:

...
uint64 receiver_guid = fields[1].GetUInt64();
...

Player *receiver = sObjectMgr.GetPlayer(receiver_guid);
...

But now this throws error because GetPlayer needs a ObjectGuid variable

I have been trying to fix it myself but i don't achieve to imagin how to "convert" uint64 to ObjectGuid

Could you help me?

Thank you!!

Link to comment
Share on other sites

×
×
  • 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