Hooks
static bool BeforeCvDllTerrainInfo_IncrementReference(CvDllTerrainInfo* self, unsigned int& result);static void AfterCvDllTerrainInfo_IncrementReference(CvDllTerrainInfo* self, unsigned int& result);static unsigned int ReplaceCvDllTerrainInfo_IncrementReference(unsigned int (*original)(CvDllTerrainInfo*), CvDllTerrainInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_IncrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTerrainInfo_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_IncrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTerrainInfo_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_IncrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTerrainInfo_IncrementReference);