Bazaar developer reference

CvDllPlayer::ActivateNotification(int)

Defined in
CvDllPlayer.cpp, line 425
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_ActivateNotification

Hooks

static bool BeforeCvDllPlayer_ActivateNotification(CvDllPlayer* self, int iLookupIndex);static void AfterCvDllPlayer_ActivateNotification(CvDllPlayer* self, int iLookupIndex);static void ReplaceCvDllPlayer_ActivateNotification(void (*original)(CvDllPlayer*, int), CvDllPlayer* self, int iLookupIndex);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_ActivateNotification::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_ActivateNotification);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_ActivateNotification::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_ActivateNotification);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_ActivateNotification::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_ActivateNotification);

Code

425void CvDllPlayer::ActivateNotification(int iLookupIndex)426{427	m_pPlayer->GetNotifications()->Activate(iLookupIndex);428}

Calls