Hooks
static bool BeforeCvDllTechInfo_GetEra(const CvDllTechInfo* self, int& result);static void AfterCvDllTechInfo_GetEra(const CvDllTechInfo* self, int& result);static int ReplaceCvDllTechInfo_GetEra(int (*original)(const CvDllTechInfo*), const CvDllTechInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetEra::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTechInfo_GetEra);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetEra::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTechInfo_GetEra);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetEra::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTechInfo_GetEra);