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

Method DataReceived

src/ClientHandle.cpp:2636–2642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2634
2635
2636void cClientHandle::DataReceived(const char * a_Data, size_t a_Size)
2637{
2638 // Data is received from the client, store it in the buffer to be processed by the Tick thread:
2639 m_TimeSinceLastPacket = 0;
2640 cCSLock Lock(m_CSIncomingData);
2641 m_IncomingData.append(a_Data, a_Size);
2642}
2643
2644
2645

Callers 2

TickMethod · 0.45
ServerTickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected