Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
564
void 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
Tick
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected