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

Method OnPostUserMessage

core/smn_usermsgs.cpp:369–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void MsgListenerWrapper::OnPostUserMessage(int msg_id, bool sent)
370{
371 if (!m_Notify)
372 {
373 return;
374 }
375
376 cell_t res;
377 m_Notify->PushCell(msg_id);
378 m_Notify->PushCell(sent ? 1 : 0);
379 m_Notify->Execute(&res);
380}
381
382/***************************************
383 * *

Callers 1

OnMessageEnd_PostMethod · 0.45

Calls 2

PushCellMethod · 0.80
ExecuteMethod · 0.45

Tested by

no test coverage detected