Hooks
static bool BeforeCvDllEraInfo_DecrementReference(CvDllEraInfo* self, unsigned int& result);static void AfterCvDllEraInfo_DecrementReference(CvDllEraInfo* self, unsigned int& result);static unsigned int ReplaceCvDllEraInfo_DecrementReference(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_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllEraInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllEraInfo_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllEraInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllEraInfo_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllEraInfo_DecrementReference);