Bazaar developer reference

CvPlayer::UpdateNotifications()

Defined in
CvPlayer.cpp, line 5238
Class
CvPlayer
Hook name
CivHooks::CvPlayer_UpdateNotifications

Hooks

static bool BeforeCvPlayer_UpdateNotifications(CvPlayer* self);static void AfterCvPlayer_UpdateNotifications(CvPlayer* self);static void ReplaceCvPlayer_UpdateNotifications(void (*original)(CvPlayer*), CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_UpdateNotifications>(host, &BeforeCvPlayer_UpdateNotifications);CivRegisterAfter<CivHooks::CvPlayer_UpdateNotifications>(host, &AfterCvPlayer_UpdateNotifications);CivRegisterReplace<CivHooks::CvPlayer_UpdateNotifications>(host, &ReplaceCvPlayer_UpdateNotifications);

Code

5238void CvPlayer::UpdateNotifications()5239{5240	if(GetNotifications())5241	{5242		GetNotifications()->Update();5243	}52445245	if(GetDiplomacyRequests())5246	{5247		GetDiplomacyRequests()->Update();5248	}5249}

Calls

Called by