Bazaar developer reference

CvPlayer::SetNumArchaeologyChoices(int)

Defined in
CvPlayer.cpp, line 27660
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetNumArchaeologyChoices

Hooks

static bool BeforeCvPlayer_SetNumArchaeologyChoices(CvPlayer* self, int iValue);static void AfterCvPlayer_SetNumArchaeologyChoices(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetNumArchaeologyChoices(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetNumArchaeologyChoices>(host, &BeforeCvPlayer_SetNumArchaeologyChoices);CivRegisterAfter<CivHooks::CvPlayer_SetNumArchaeologyChoices>(host, &AfterCvPlayer_SetNumArchaeologyChoices);CivRegisterReplace<CivHooks::CvPlayer_SetNumArchaeologyChoices>(host, &ReplaceCvPlayer_SetNumArchaeologyChoices);

Code

27660void CvPlayer::SetNumArchaeologyChoices(int iValue)27661{27662	m_iNumArchaeologyChoices = iValue;27663}

Called by