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);