Bazaar developer reference

CvPlayer::GetNumNaturalWondersDiscoveredInArea() const

Defined in
CvPlayer.cpp, line 26831
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetNumNaturalWondersDiscoveredInArea

Hooks

static bool BeforeCvPlayer_GetNumNaturalWondersDiscoveredInArea(const CvPlayer* self, int& result);static void AfterCvPlayer_GetNumNaturalWondersDiscoveredInArea(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetNumNaturalWondersDiscoveredInArea(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetNumNaturalWondersDiscoveredInArea>(host, &BeforeCvPlayer_GetNumNaturalWondersDiscoveredInArea);CivRegisterAfter<CivHooks::CvPlayer_GetNumNaturalWondersDiscoveredInArea>(host, &AfterCvPlayer_GetNumNaturalWondersDiscoveredInArea);CivRegisterReplace<CivHooks::CvPlayer_GetNumNaturalWondersDiscoveredInArea>(host, &ReplaceCvPlayer_GetNumNaturalWondersDiscoveredInArea);

Code

26830/// How many Natural Wonders has this player found in its area?26831int CvPlayer::GetNumNaturalWondersDiscoveredInArea() const26832{26833	return m_iNumNaturalWondersDiscoveredInArea;26834}

Calls

Called by