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

Method HandlePacketPlayerPos

src/Protocol/Protocol17x.cpp:1805–1813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1803
1804
1805void cProtocol172::HandlePacketPlayerPos(cByteBuffer & a_ByteBuffer)
1806{
1807 HANDLE_READ(a_ByteBuffer, ReadBEDouble, double, PosX);
1808 HANDLE_READ(a_ByteBuffer, ReadBEDouble, double, PosY);
1809 HANDLE_READ(a_ByteBuffer, ReadBEDouble, double, Stance);
1810 HANDLE_READ(a_ByteBuffer, ReadBEDouble, double, PosZ);
1811 HANDLE_READ(a_ByteBuffer, ReadBool, bool, IsOnGround);
1812 m_Client->HandlePlayerPos(PosX, PosY, PosZ, Stance, IsOnGround);
1813}
1814
1815
1816

Callers

nothing calls this directly

Calls 1

HandlePlayerPosMethod · 0.80

Tested by

no test coverage detected