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

Method HandleServerEntityVelocity

Tools/ProtoProxy/Connection.cpp:1669–1680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1667
1668
1669bool cConnection::HandleServerEntityVelocity(void)
1670{
1671 HANDLE_SERVER_PACKET_READ(ReadBEInt, int, EntityID);
1672 HANDLE_SERVER_PACKET_READ(ReadBEShort, short, VelocityX);
1673 HANDLE_SERVER_PACKET_READ(ReadBEShort, short, VelocityY);
1674 HANDLE_SERVER_PACKET_READ(ReadBEShort, short, VelocityZ);
1675 Log("Received a PACKET_ENTITY_VELOCITY from the server:");
1676 Log(" EntityID = %d", EntityID);
1677 Log(" Velocity = %s", PrintableAbsIntTriplet(VelocityX, VelocityY, VelocityZ, 8000).c_str());
1678 COPY_TO_CLIENT();
1679 return true;
1680}
1681
1682
1683

Callers

nothing calls this directly

Calls 2

PrintableAbsIntTripletFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected