Bazaar developer reference

CvArea::ChangeNumNaturalWonders(int)

Defined in
CvArea.cpp, line 319
Class
CvArea
Hook name
CivHooks::CvArea_ChangeNumNaturalWonders

Hooks

static bool BeforeCvArea_ChangeNumNaturalWonders(CvArea* self, int iChange);static void AfterCvArea_ChangeNumNaturalWonders(CvArea* self, int iChange);static void ReplaceCvArea_ChangeNumNaturalWonders(void (*original)(CvArea*, int), CvArea* self, int iChange);CivRegisterBefore<CivHooks::CvArea_ChangeNumNaturalWonders>(host, &BeforeCvArea_ChangeNumNaturalWonders);CivRegisterAfter<CivHooks::CvArea_ChangeNumNaturalWonders>(host, &AfterCvArea_ChangeNumNaturalWonders);CivRegisterReplace<CivHooks::CvArea_ChangeNumNaturalWonders>(host, &ReplaceCvArea_ChangeNumNaturalWonders);

Code

318/// Changes count on how many Natural Wonders are there in the world319void CvArea::ChangeNumNaturalWonders(int iChange)320{321	m_iNumNaturalWonders += iChange;322}

Called by