Bazaar developer reference

CvMap::ChangeNumNaturalWonders(int)

Defined in
CvMap.cpp, line 1565
Class
CvMap
Hook name
CivHooks::CvMap_ChangeNumNaturalWonders

Hooks

static bool BeforeCvMap_ChangeNumNaturalWonders(CvMap* self, int iChange);static void AfterCvMap_ChangeNumNaturalWonders(CvMap* self, int iChange);static void ReplaceCvMap_ChangeNumNaturalWonders(void (*original)(CvMap*, int), CvMap* self, int iChange);CivRegisterBefore<CivHooks::CvMap_ChangeNumNaturalWonders>(host, &BeforeCvMap_ChangeNumNaturalWonders);CivRegisterAfter<CivHooks::CvMap_ChangeNumNaturalWonders>(host, &AfterCvMap_ChangeNumNaturalWonders);CivRegisterReplace<CivHooks::CvMap_ChangeNumNaturalWonders>(host, &ReplaceCvMap_ChangeNumNaturalWonders);

Code

1564/// Changes count on how many Natural Wonders are there in the world1565void CvMap::ChangeNumNaturalWonders(int iChange)1566{1567	m_iNumNaturalWonders += iChange;1568}

Called by