Hooks
static bool BeforeCvMinorCivAI_SetPermanentWar(CvMinorCivAI* self, TeamTypes eTeam, bool bValue);static void AfterCvMinorCivAI_SetPermanentWar(CvMinorCivAI* self, TeamTypes eTeam, bool bValue);static void ReplaceCvMinorCivAI_SetPermanentWar(void (*original)(CvMinorCivAI*, TeamTypes, bool), CvMinorCivAI* self, TeamTypes eTeam, bool bValue);CivRegisterBefore<CivHooks::CvMinorCivAI_SetPermanentWar>(host, &BeforeCvMinorCivAI_SetPermanentWar);CivRegisterAfter<CivHooks::CvMinorCivAI_SetPermanentWar>(host, &AfterCvMinorCivAI_SetPermanentWar);CivRegisterReplace<CivHooks::CvMinorCivAI_SetPermanentWar>(host, &ReplaceCvMinorCivAI_SetPermanentWar);