You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the operation code: SMSG_ QUEST_ CONFIRM_ ACCESS, adding a pop-up function in the game, the challenge now is the pop-up confirmation window. How can I determine if the player has clicked to accept or cancel?
std::string text = "Your confirmation message";
uint32 id = 123
WorldPacket data(SMSG_QUEST_CONFIRM_ACCEPT, (4 + text.size() + 8));
data << uint32(id);
data << text;
data << (GetPlayer()->GetGUID());
GetPlayer()->GetSession()->SendPacket(&data);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to use the operation code: SMSG_ QUEST_ CONFIRM_ ACCESS, adding a pop-up function in the game, the challenge now is the pop-up confirmation window. How can I determine if the player has clicked to accept or cancel?
Beta Was this translation helpful? Give feedback.
All reactions