MCPcopy Create free account
hub / github.com/cuberite/cuberite / HandleServerEntityRelativeMove

Method HandleServerEntityRelativeMove

Tools/ProtoProxy/Connection.cpp:1595–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1593
1594
1595bool cConnection::HandleServerEntityRelativeMove(void)
1596{
1597 HANDLE_SERVER_PACKET_READ(ReadBEInt, int, EntityID);
1598 HANDLE_SERVER_PACKET_READ(ReadByte, Byte, dx);
1599 HANDLE_SERVER_PACKET_READ(ReadByte, Byte, dy);
1600 HANDLE_SERVER_PACKET_READ(ReadByte, Byte, dz);
1601 Log("Received a PACKET_ENTITY_RELATIVE_MOVE from the server:");
1602 Log(" EntityID = %d", EntityID);
1603 Log(" RelMove = %s", PrintableAbsIntTriplet(dx, dy, dz).c_str());
1604 COPY_TO_CLIENT();
1605 return true;
1606}
1607
1608
1609

Callers

nothing calls this directly

Calls 2

PrintableAbsIntTripletFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected