Bazaar developer reference

CvMap::ChangeAIMapHint(int)

Defined in
CvMap.cpp, line 2243
Class
CvMap
Hook name
CivHooks::CvMap_ChangeAIMapHint

Hooks

static bool BeforeCvMap_ChangeAIMapHint(CvMap* self, int iMapHint);static void AfterCvMap_ChangeAIMapHint(CvMap* self, int iMapHint);static void ReplaceCvMap_ChangeAIMapHint(void (*original)(CvMap*, int), CvMap* self, int iMapHint);CivRegisterBefore<CivHooks::CvMap_ChangeAIMapHint>(host, &BeforeCvMap_ChangeAIMapHint);CivRegisterAfter<CivHooks::CvMap_ChangeAIMapHint>(host, &AfterCvMap_ChangeAIMapHint);CivRegisterReplace<CivHooks::CvMap_ChangeAIMapHint>(host, &ReplaceCvMap_ChangeAIMapHint);

Code

2243void CvMap::ChangeAIMapHint(int iMapHint)2244{2245	m_iAIMapHints |= iMapHint;2246}

Called by