Created
April 9, 2015 17:09
-
-
Save FALL1N1/81ad8f74d0c29bd4bb32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GmTicket::GmTicket(Player* player, WorldPacket& recvData) : _createTime(time(NULL)), _lastModifiedTime(time(NULL)), _closedBy(0), _assignedTo(0), _completed(false), _escalatedStatus(TICKET_UNASSIGNED), _haveTicket(false) | |
{ | |
_id = sTicketMgr->GenerateTicketId(); | |
_playerName = player->GetName(); | |
_playerGuid = player->GetGUID(); | |
uint32 mapId, unk2; | |
uint8 unk1, t1, t2; | |
recvData >> mapId; | |
_mapId = mapId; | |
recvData >> _posX; | |
recvData >> _posY; | |
recvData >> _posZ; | |
recvData >> unk2; | |
recvData >> unk1; | |
recvData >> t1; | |
recvData >> t2; | |
recvData >> _message; | |
recvData.rfinish(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment