Bazaar developer reference

CvPlayer::SetGreatPeopleSpawnCounter(int)

Defined in
CvPlayer.cpp, line 14779
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetGreatPeopleSpawnCounter

Hooks

static bool BeforeCvPlayer_SetGreatPeopleSpawnCounter(CvPlayer* self, int iValue);static void AfterCvPlayer_SetGreatPeopleSpawnCounter(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetGreatPeopleSpawnCounter(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetGreatPeopleSpawnCounter>(host, &BeforeCvPlayer_SetGreatPeopleSpawnCounter);CivRegisterAfter<CivHooks::CvPlayer_SetGreatPeopleSpawnCounter>(host, &AfterCvPlayer_SetGreatPeopleSpawnCounter);CivRegisterReplace<CivHooks::CvPlayer_SetGreatPeopleSpawnCounter>(host, &ReplaceCvPlayer_SetGreatPeopleSpawnCounter);

Code

14778// Sets how long before we spawn a free GreatPeople for ePlayer14779void CvPlayer::SetGreatPeopleSpawnCounter(int iValue)14780{14781	m_iGreatPeopleSpawnCounter = iValue;14782}

Calls

Called by