Bazaar developer reference

CvPlayer::incrementGreatArtistsCreated(bool)

Defined in
CvPlayer.cpp, line 14016
Class
CvPlayer
Hook name
CivHooks::CvPlayer_incrementGreatArtistsCreated

Hooks

static bool BeforeCvPlayer_incrementGreatArtistsCreated(CvPlayer* self, bool bIsFree);static void AfterCvPlayer_incrementGreatArtistsCreated(CvPlayer* self, bool bIsFree);static void ReplaceCvPlayer_incrementGreatArtistsCreated(void (*original)(CvPlayer*, bool), CvPlayer* self, bool bIsFree);CivRegisterBefore<CivHooks::CvPlayer_incrementGreatArtistsCreated>(host, &BeforeCvPlayer_incrementGreatArtistsCreated);CivRegisterAfter<CivHooks::CvPlayer_incrementGreatArtistsCreated>(host, &AfterCvPlayer_incrementGreatArtistsCreated);CivRegisterReplace<CivHooks::CvPlayer_incrementGreatArtistsCreated>(host, &ReplaceCvPlayer_incrementGreatArtistsCreated);

Code

14016void CvPlayer::incrementGreatArtistsCreated(bool bIsFree)14017{14018	m_iGreatArtistsCreated++;14019	if (bIsFree) m_iFreeGreatArtistsCreated++;14020}

Called by