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

Method SendKeepAlive

src/Protocol/Protocol125.cpp:564–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562
563
564void cProtocol125::SendKeepAlive(int a_PingID)
565{
566 cCSLock Lock(m_CSPacket);
567 WriteByte(PACKET_KEEP_ALIVE);
568 WriteInt (a_PingID);
569 Flush();
570}
571
572
573

Callers 1

TickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected