MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / ProcessQueryCache

Method ProcessQueryCache

extensions/clientprefs/extension.cpp:397–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397void ClientPrefs::ProcessQueryCache()
398{
399 if (!Database)
400 return;
401
402 for (size_t iter = 0; iter < cachedQueries.size(); ++iter)
403 {
404 TQueryOp *op = cachedQueries[iter];
405 op->SetDatabase(Database);
406 dbi->AddToThreadQueue(op, PrioQueue_Normal);
407 }
408
409 cachedQueries.clear();
410}
411
412const char *GetPlayerCompatAuthId(IGamePlayer *pPlayer)
413{

Callers 2

DatabaseConnectMethod · 0.95
AddQueryToQueueMethod · 0.95

Calls 4

SetDatabaseMethod · 0.80
AddToThreadQueueMethod · 0.80
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected