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

Method SnapFindItem

src/engine/client/client.cpp:890–896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890const void *CClient::SnapFindItem(int SnapId, int Type, int Id) const
891{
892 if(!m_aapSnapshots[g_Config.m_ClDummy][SnapId])
893 return nullptr;
894
895 return m_aapSnapshots[g_Config.m_ClDummy][SnapId]->m_pAltSnap->FindItem(Type, Id);
896}
897
898int CClient::SnapNumItems(int SnapId) const
899{

Callers 2

OnNewSnapshotMethod · 0.80
OnRenderMethod · 0.80

Calls 1

FindItemMethod · 0.45

Tested by

no test coverage detected