Hooks
static bool BeforeCvDllTerrainInfo_DecrementReference(CvDllTerrainInfo* self, unsigned int& result);static void AfterCvDllTerrainInfo_DecrementReference(CvDllTerrainInfo* self, unsigned int& result);static unsigned int ReplaceCvDllTerrainInfo_DecrementReference(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_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTerrainInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTerrainInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTerrainInfo_DecrementReference);