Bazaar developer reference

CvMap::GetNumNaturalWonders() const

Defined in
CvMap.cpp, line 1558
Class
CvMap
Hook name
CivHooks::CvMap_GetNumNaturalWonders

Hooks

static bool BeforeCvMap_GetNumNaturalWonders(const CvMap* self, int& result);static void AfterCvMap_GetNumNaturalWonders(const CvMap* self, int& result);static int ReplaceCvMap_GetNumNaturalWonders(int (*original)(const CvMap*), const CvMap* self);CivRegisterBefore<CivHooks::CvMap_GetNumNaturalWonders>(host, &BeforeCvMap_GetNumNaturalWonders);CivRegisterAfter<CivHooks::CvMap_GetNumNaturalWonders>(host, &AfterCvMap_GetNumNaturalWonders);CivRegisterReplace<CivHooks::CvMap_GetNumNaturalWonders>(host, &ReplaceCvMap_GetNumNaturalWonders);

Code

1557/// How many Natural Wonders are there in the world?1558int CvMap::GetNumNaturalWonders() const1559{1560	return m_iNumNaturalWonders;1561}

Called by