mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[9551] Add and use PackedGuid wrapper.
Also * use more wide bytebuff << >> operators for objects * use at read packet faisl alsways exception way instead some time used bool results.
This commit is contained in:
parent
ad9243ebd0
commit
c8fd454a79
26 changed files with 351 additions and 340 deletions
|
|
@ -186,13 +186,12 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& recv_data)
|
|||
{
|
||||
sLog.outDebug( "WORLD: Received CMSG_MOVE_SPLINE_DONE" );
|
||||
|
||||
uint64 guid; // used only for proper packet read
|
||||
if(!recv_data.readPackGUID(guid))
|
||||
return;
|
||||
ObjectGuid guid; // used only for proper packet read
|
||||
MovementInfo movementInfo; // used only for proper packet read
|
||||
|
||||
MovementInfo movementInfo(recv_data); // used only for proper packet read
|
||||
|
||||
recv_data.read_skip<uint32>(); // unk
|
||||
recv_data >> guid.ReadAsPacked();
|
||||
recv_data >> movementInfo;
|
||||
recv_data >> Unused<uint32>(); // unk
|
||||
|
||||
|
||||
// in taxi flight packet received in 2 case:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue