| 1646 | |
| 1647 | |
| 1648 | bool cConnection::HandleServerEntityTeleport(void) |
| 1649 | { |
| 1650 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, EntityID); |
| 1651 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, AbsX); |
| 1652 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, AbsY); |
| 1653 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, AbsZ); |
| 1654 | HANDLE_SERVER_PACKET_READ(ReadByte, Byte, Yaw); |
| 1655 | HANDLE_SERVER_PACKET_READ(ReadByte, Byte, Pitch); |
| 1656 | Log("Received a PACKET_ENTITY_TELEPORT from the server:"); |
| 1657 | Log(" EntityID = %d", EntityID); |
| 1658 | Log(" Pos = %s", PrintableAbsIntTriplet(AbsX, AbsY, AbsZ).c_str()); |
| 1659 | Log(" Yaw = %d", Yaw); |
| 1660 | Log(" Pitch = %d", Pitch); |
| 1661 | COPY_TO_CLIENT(); |
| 1662 | return true; |
| 1663 | } |
| 1664 | |
| 1665 | |
| 1666 |
nothing calls this directly
no test coverage detected