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

Method FireEvent

core/EventManager.cpp:353–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void EventManager::FireEvent(EventInfo *pInfo, bool bDontBroadcast)
354{
355 /* Actually fire event now */
356 gameevents->FireEvent(pInfo->pEvent, bDontBroadcast);
357
358 /* IGameEvent is free at this point, so no one owns this */
359 pInfo->pOwner = NULL;
360
361 /* Add EventInfo struct to free event stack */
362 m_FreeEvents.push(pInfo);
363}
364
365void EventManager::FireEventToClient(EventInfo *pInfo, IClient *pClient)
366{

Callers 2

NotifyConVarFunction · 0.80
sm_FireEventFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected