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

Method ExtrasScan

src/game/client/components/menus_settings_assets.cpp:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204int CMenus::ExtrasScan(const char *pName, int IsDir, int DirType, void *pUser)
205{
206 auto *pRealUser = (SMenuAssetScanUser *)pUser;
207 auto *pThis = (CMenus *)pRealUser->m_pUser;
208 IGraphics *pGraphics = pThis->Graphics();
209 return AssetScan(pName, IsDir, DirType, pThis->m_vExtrasList, "extras", pGraphics, pUser);
210}
211
212static std::vector<const CMenus::SCustomEntities *> gs_vpSearchEntitiesList;
213static std::vector<const CMenus::SCustomGame *> gs_vpSearchGamesList;

Callers

nothing calls this directly

Calls 2

AssetScanFunction · 0.85
GraphicsMethod · 0.45

Tested by

no test coverage detected