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

Method ParsePlayerPosition

src/Protocol/Protocol125.cpp:1507–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505
1506
1507int cProtocol125::ParsePlayerPosition(void)
1508{
1509 HANDLE_PACKET_READ(ReadBEDouble, double, PosX);
1510 HANDLE_PACKET_READ(ReadBEDouble, double, PosY);
1511 HANDLE_PACKET_READ(ReadBEDouble, double, Stance);
1512 HANDLE_PACKET_READ(ReadBEDouble, double, PosZ);
1513 HANDLE_PACKET_READ(ReadBool, bool, IsOnGround);
1514 m_Client->HandlePlayerPos(PosX, PosY, PosZ, Stance, IsOnGround);
1515 return PARSE_OK;
1516}
1517
1518
1519

Callers

nothing calls this directly

Calls 1

HandlePlayerPosMethod · 0.80

Tested by

no test coverage detected