mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +00:00
Updated some structs and enums.
This commit is contained in:
parent
9c34efec41
commit
0f8c46878b
14 changed files with 783 additions and 695 deletions
|
|
@ -47,7 +47,7 @@ void WorldSession::SendGMTicketGetTicket(uint32 status, GMTicket *ticket /*= NUL
|
|||
void WorldSession::SendGMResponse(GMTicket *ticket)
|
||||
{
|
||||
int len = strlen(ticket->GetText())+1+strlen(ticket->GetResponse())+1;
|
||||
WorldPacket data(SMSG_GMRESPONSE_RECEIVED, 4+4+len+1+1+1);
|
||||
WorldPacket data(SMSG_GMTICKET_GET_RESPONSE, 4+4+len+1+1+1);
|
||||
data << uint32(123);
|
||||
data << uint32(456);
|
||||
data << ticket->GetText(); // issue text
|
||||
|
|
@ -188,7 +188,7 @@ void WorldSession::HandleGMResponseResolveOpcode(WorldPacket & recv_data)
|
|||
|
||||
sTicketMgr.Delete(GetPlayer()->GetObjectGuid());
|
||||
|
||||
WorldPacket data(SMSG_GMRESPONSE_STATUS_UPDATE, 1);
|
||||
WorldPacket data(SMSG_GMTICKET_RESOLVE_RESPONSE, 1);
|
||||
data << uint8(0); // ask to fill out gm survey = 1
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue