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