Hooks
static bool BeforeCvTechEntry_GetAIWeight(const CvTechEntry* self, int& result);static void AfterCvTechEntry_GetAIWeight(const CvTechEntry* self, int& result);static int ReplaceCvTechEntry_GetAIWeight(int (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_GetAIWeight>(host, &BeforeCvTechEntry_GetAIWeight);CivRegisterAfter<CivHooks::CvTechEntry_GetAIWeight>(host, &AfterCvTechEntry_GetAIWeight);CivRegisterReplace<CivHooks::CvTechEntry_GetAIWeight>(host, &ReplaceCvTechEntry_GetAIWeight);