Bazaar developer reference

CvPlayer::incrementGreatMusiciansCreated(bool)

Defined in
CvPlayer.cpp, line 14031
Class
CvPlayer
Hook name
CivHooks::CvPlayer_incrementGreatMusiciansCreated

Hooks

static bool BeforeCvPlayer_incrementGreatMusiciansCreated(CvPlayer* self, bool bIsFree);static void AfterCvPlayer_incrementGreatMusiciansCreated(CvPlayer* self, bool bIsFree);static void ReplaceCvPlayer_incrementGreatMusiciansCreated(void (*original)(CvPlayer*, bool), CvPlayer* self, bool bIsFree);CivRegisterBefore<CivHooks::CvPlayer_incrementGreatMusiciansCreated>(host, &BeforeCvPlayer_incrementGreatMusiciansCreated);CivRegisterAfter<CivHooks::CvPlayer_incrementGreatMusiciansCreated>(host, &AfterCvPlayer_incrementGreatMusiciansCreated);CivRegisterReplace<CivHooks::CvPlayer_incrementGreatMusiciansCreated>(host, &ReplaceCvPlayer_incrementGreatMusiciansCreated);

Code

14031void CvPlayer::incrementGreatMusiciansCreated(bool bIsFree)14032{14033	m_iGreatMusiciansCreated++;14034	if (bIsFree) m_iFreeGreatMusiciansCreated++;14035}

Called by