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

Method SendRawDisplay

core/MenuStyle_Valve.cpp:321–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void CValveMenuDisplay::SendRawDisplay(int client, int priority, unsigned int time)
322{
323 m_pKv->SetInt("level", priority);
324 m_pKv->SetInt("time", time ? time : 200);
325
326 SH_CALL(g_pSPHCC, &IServerPluginHelpers::CreateMessage)(
327 PEntityOfEntIndex(client),
328 DIALOG_MENU,
329 m_pKv,
330 vsp_interface);
331}
332
333bool CValveMenuDisplay::SendDisplay(int client, IMenuHandler *handler, unsigned int time)
334{

Callers 1

SendDisplayMethod · 0.45

Calls 2

PEntityOfEntIndexFunction · 0.85
SetIntMethod · 0.80

Tested by

no test coverage detected