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

Method ParseClientStatuses

src/Protocol/Protocol132.cpp:510–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508
509
510int cProtocol132::ParseClientStatuses(void)
511{
512 HANDLE_PACKET_READ(ReadByte, Byte, Status);
513 if ((Status & 1) == 0)
514 {
515 m_Client->HandleLogin(39, m_Username);
516 }
517 else
518 {
519 m_Client->HandleRespawn();
520 }
521 return PARSE_OK;
522}
523
524
525

Callers

nothing calls this directly

Calls 2

HandleLoginMethod · 0.80
HandleRespawnMethod · 0.80

Tested by

no test coverage detected