Hooks
static bool BeforeCvUnit_GetAutomateType(const CvUnit* self, AutomateTypes& result);static void AfterCvUnit_GetAutomateType(const CvUnit* self, AutomateTypes& result);static AutomateTypes ReplaceCvUnit_GetAutomateType(AutomateTypes (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetAutomateType>(host, &BeforeCvUnit_GetAutomateType);CivRegisterAfter<CivHooks::CvUnit_GetAutomateType>(host, &AfterCvUnit_GetAutomateType);CivRegisterReplace<CivHooks::CvUnit_GetAutomateType>(host, &ReplaceCvUnit_GetAutomateType);