Updated some structs and enums.

This commit is contained in:
TOM_RUS 2011-04-14 08:12:57 +04:00
parent 9c34efec41
commit 0f8c46878b
14 changed files with 783 additions and 695 deletions

View file

@ -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);
}