Bazaar developer reference

CvDllResourceInfo::IsFeatureTerrain(int)

Defined in
CvDllResourceInfo.cpp, line 135
Class
CvDllResourceInfo
Hook name
CivHooks::CvDllResourceInfo_IsFeatureTerrain

Hooks

static bool BeforeCvDllResourceInfo_IsFeatureTerrain(CvDllResourceInfo* self, int i, bool& result);static void AfterCvDllResourceInfo_IsFeatureTerrain(CvDllResourceInfo* self, int i, bool& result);static bool ReplaceCvDllResourceInfo_IsFeatureTerrain(bool (*original)(CvDllResourceInfo*, int), CvDllResourceInfo* self, int i);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllResourceInfo_IsFeatureTerrain::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllResourceInfo_IsFeatureTerrain);host->RegisterHook(host->pluginIndex, CivHooks::CvDllResourceInfo_IsFeatureTerrain::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllResourceInfo_IsFeatureTerrain);host->RegisterHook(host->pluginIndex, CivHooks::CvDllResourceInfo_IsFeatureTerrain::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllResourceInfo_IsFeatureTerrain);

Code

135bool CvDllResourceInfo::IsFeatureTerrain(int i)136{137	return m_pResourceInfo->isFeatureTerrain(i);138}

Calls