MCPcopy Create free account
hub / github.com/ddnet/ddnet / AckChunks

Method AckChunks

src/engine/shared/network_conn.cpp:80–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void CNetConnection::AckChunks(int Ack)
81{
82 while(true)
83 {
84 CNetChunkResend *pResend = m_Buffer.First();
85 if(!pResend)
86 break;
87
88 if(CNetBase::IsSeqInBackroom(pResend->m_Sequence, Ack))
89 m_Buffer.PopFirst();
90 else
91 break;
92 }
93}
94
95void CNetConnection::SignalResend()
96{

Callers

nothing calls this directly

Calls 2

FirstMethod · 0.45
PopFirstMethod · 0.45

Tested by

no test coverage detected