Hooks
static bool BeforeCvResourceInfo_getAIStopTradingEra(const CvResourceInfo* self, int& result);static void AfterCvResourceInfo_getAIStopTradingEra(const CvResourceInfo* self, int& result);static int ReplaceCvResourceInfo_getAIStopTradingEra(int (*original)(const CvResourceInfo*), const CvResourceInfo* self);CivRegisterBefore<CivHooks::CvResourceInfo_getAIStopTradingEra>(host, &BeforeCvResourceInfo_getAIStopTradingEra);CivRegisterAfter<CivHooks::CvResourceInfo_getAIStopTradingEra>(host, &AfterCvResourceInfo_getAIStopTradingEra);CivRegisterReplace<CivHooks::CvResourceInfo_getAIStopTradingEra>(host, &ReplaceCvResourceInfo_getAIStopTradingEra);