mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Merge commit 'origin/master' into 320
This commit is contained in:
commit
2d65ce8b87
30 changed files with 1149 additions and 355 deletions
|
|
@ -511,43 +511,41 @@ void WorldSession::HandleMountSpecialAnimOpcode(WorldPacket& /*recvdata*/)
|
|||
GetPlayer()->SendMessageToSet(&data, false);
|
||||
}
|
||||
|
||||
void WorldSession::HandleMoveKnockBackAck( WorldPacket & /*recv_data*/ )
|
||||
void WorldSession::HandleMoveKnockBackAck( WorldPacket & recv_data )
|
||||
{
|
||||
sLog.outDebug("CMSG_MOVE_KNOCK_BACK_ACK");
|
||||
// Currently not used but maybe use later for recheck final player position
|
||||
// (must be at call same as into "recv_data >> x >> y >> z >> orientation;"
|
||||
|
||||
/*
|
||||
uint32 flags, time;
|
||||
float x, y, z, orientation;
|
||||
uint64 guid;
|
||||
uint32 sequence;
|
||||
uint32 ukn1;
|
||||
float xdirection,ydirection,hspeed,vspeed;
|
||||
recv_data.read_skip<uint64>(); // guid
|
||||
recv_data.read_skip<uint32>(); // unk
|
||||
|
||||
recv_data >> guid;
|
||||
recv_data >> sequence;
|
||||
recv_data >> flags >> time;
|
||||
recv_data >> x >> y >> z >> orientation;
|
||||
recv_data >> ukn1; //unknown
|
||||
recv_data >> vspeed >> xdirection >> ydirection >> hspeed;
|
||||
|
||||
// skip not personal message;
|
||||
if(GetPlayer()->GetGUID()!=guid)
|
||||
return;
|
||||
|
||||
// check code
|
||||
*/
|
||||
MovementInfo movementInfo;
|
||||
ReadMovementInfo(recv_data, &movementInfo);
|
||||
}
|
||||
|
||||
void WorldSession::HandleMoveHoverAck( WorldPacket& /*recv_data*/ )
|
||||
void WorldSession::HandleMoveHoverAck( WorldPacket& recv_data )
|
||||
{
|
||||
sLog.outDebug("CMSG_MOVE_HOVER_ACK");
|
||||
|
||||
recv_data.read_skip<uint64>(); // guid
|
||||
recv_data.read_skip<uint32>(); // unk
|
||||
|
||||
MovementInfo movementInfo;
|
||||
ReadMovementInfo(recv_data, &movementInfo);
|
||||
|
||||
recv_data.read_skip<uint32>(); // unk2
|
||||
}
|
||||
|
||||
void WorldSession::HandleMoveWaterWalkAck(WorldPacket& /*recv_data*/)
|
||||
void WorldSession::HandleMoveWaterWalkAck(WorldPacket& recv_data)
|
||||
{
|
||||
sLog.outDebug("CMSG_MOVE_WATER_WALK_ACK");
|
||||
|
||||
recv_data.read_skip<uint64>(); // guid
|
||||
recv_data.read_skip<uint32>(); // unk
|
||||
|
||||
MovementInfo movementInfo;
|
||||
ReadMovementInfo(recv_data, &movementInfo);
|
||||
|
||||
recv_data.read_skip<uint32>(); // unk2
|
||||
}
|
||||
|
||||
void WorldSession::HandleSummonResponseOpcode(WorldPacket& recv_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue