Bazaar developer reference

CvArea::GetNumNaturalWonders() const

Defined in
CvArea.cpp, line 312
Class
CvArea
Hook name
CivHooks::CvArea_GetNumNaturalWonders

Hooks

static bool BeforeCvArea_GetNumNaturalWonders(const CvArea* self, int& result);static void AfterCvArea_GetNumNaturalWonders(const CvArea* self, int& result);static int ReplaceCvArea_GetNumNaturalWonders(int (*original)(const CvArea*), const CvArea* self);CivRegisterBefore<CivHooks::CvArea_GetNumNaturalWonders>(host, &BeforeCvArea_GetNumNaturalWonders);CivRegisterAfter<CivHooks::CvArea_GetNumNaturalWonders>(host, &AfterCvArea_GetNumNaturalWonders);CivRegisterReplace<CivHooks::CvArea_GetNumNaturalWonders>(host, &ReplaceCvArea_GetNumNaturalWonders);

Code

311/// How many Natural Wonders are there in the world?312int CvArea::GetNumNaturalWonders() const313{314	return m_iNumNaturalWonders;315}

Called by