Bazaar developer reference

CvFeatureInfo::SetClearable(bool)

Defined in
CvInfos.cpp, line 5160
Class
CvFeatureInfo
Hook name
CivHooks::CvFeatureInfo_SetClearable

Hooks

static bool BeforeCvFeatureInfo_SetClearable(CvFeatureInfo* self, bool bValue);static void AfterCvFeatureInfo_SetClearable(CvFeatureInfo* self, bool bValue);static void ReplaceCvFeatureInfo_SetClearable(void (*original)(CvFeatureInfo*, bool), CvFeatureInfo* self, bool bValue);CivRegisterBefore<CivHooks::CvFeatureInfo_SetClearable>(host, &BeforeCvFeatureInfo_SetClearable);CivRegisterAfter<CivHooks::CvFeatureInfo_SetClearable>(host, &AfterCvFeatureInfo_SetClearable);CivRegisterReplace<CivHooks::CvFeatureInfo_SetClearable>(host, &ReplaceCvFeatureInfo_SetClearable);

Code

5159// Set each time the game is started5160void CvFeatureInfo::SetClearable(bool bValue)5161{5162	m_bClearable = bValue;5163}

Called by