Bazaar developer reference

CvPlayer::SetNumNaturalWondersDiscoveredInArea(int)

Defined in
CvPlayer.cpp, line 26838
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetNumNaturalWondersDiscoveredInArea

Hooks

static bool BeforeCvPlayer_SetNumNaturalWondersDiscoveredInArea(CvPlayer* self, int iValue);static void AfterCvPlayer_SetNumNaturalWondersDiscoveredInArea(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetNumNaturalWondersDiscoveredInArea(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetNumNaturalWondersDiscoveredInArea>(host, &BeforeCvPlayer_SetNumNaturalWondersDiscoveredInArea);CivRegisterAfter<CivHooks::CvPlayer_SetNumNaturalWondersDiscoveredInArea>(host, &AfterCvPlayer_SetNumNaturalWondersDiscoveredInArea);CivRegisterReplace<CivHooks::CvPlayer_SetNumNaturalWondersDiscoveredInArea>(host, &ReplaceCvPlayer_SetNumNaturalWondersDiscoveredInArea);

Code

26837/// Sets how many Natural Wonders has this player found in its area26838void CvPlayer::SetNumNaturalWondersDiscoveredInArea(int iValue)26839{26840	m_iNumNaturalWondersDiscoveredInArea = iValue;26841}

Calls

Called by