Hooks
static bool BeforeCvDllGameContext_GetEraInfo(CvDllGameContext* self, EraTypes eEraNum, ICvEraInfo1*& result);static void AfterCvDllGameContext_GetEraInfo(CvDllGameContext* self, EraTypes eEraNum, ICvEraInfo1*& result);static ICvEraInfo1* ReplaceCvDllGameContext_GetEraInfo(ICvEraInfo1* (*original)(CvDllGameContext*, EraTypes), CvDllGameContext* self, EraTypes eEraNum);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetEraInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetEraInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetEraInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetEraInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetEraInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetEraInfo);