How to send an OPCode from C++ script?
Is it the same "OutPacket" function?
Thanks a lot!
How to send an OPCode from C++ script?
Is it the same "OutPacket" function?
Thanks a lot!
WorldPacket mypacket(MY_OPCODE, size);
mypacket << data << more_data << even_more_data;
myplayer->GetSession()->SendPacket(&mypacket);
Thaaaaaaaaanks!!!!