Hooks
static bool BeforeCvDllTerrainInfo_GetReferenceCount(CvDllTerrainInfo* self, unsigned int& result);static void AfterCvDllTerrainInfo_GetReferenceCount(CvDllTerrainInfo* self, unsigned int& result);static unsigned int ReplaceCvDllTerrainInfo_GetReferenceCount(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_GetReferenceCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTerrainInfo_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_GetReferenceCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTerrainInfo_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTerrainInfo_GetReferenceCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTerrainInfo_GetReferenceCount);