Bazaar developer reference

CvDllPlayer::DismissNotification(int, bool)

Defined in
CvDllPlayer.cpp, line 430
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_DismissNotification

Hooks

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

Code

430void CvDllPlayer::DismissNotification(int iLookupIndex, bool bUserInvoked)431{432	m_pPlayer->GetNotifications()->Dismiss(iLookupIndex, bUserInvoked);433}

Calls