Bazaar developer reference

CvDllPlayer::MayUserDismissNotification(int)

Defined in
CvDllPlayer.cpp, line 435
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_MayUserDismissNotification

Hooks

static bool BeforeCvDllPlayer_MayUserDismissNotification(CvDllPlayer* self, int iLookupIndex, bool& result);static void AfterCvDllPlayer_MayUserDismissNotification(CvDllPlayer* self, int iLookupIndex, bool& result);static bool ReplaceCvDllPlayer_MayUserDismissNotification(bool (*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_MayUserDismissNotification::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_MayUserDismissNotification);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_MayUserDismissNotification::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_MayUserDismissNotification);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_MayUserDismissNotification::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_MayUserDismissNotification);

Code

435bool CvDllPlayer::MayUserDismissNotification(int iLookupIndex)436{437	return m_pPlayer->GetNotifications()->MayUserDismiss(iLookupIndex);438}

Calls