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