Hooks
static bool BeforeCvMinorCivAI_SetTurnLastPledgedProtectionByMajor(CvMinorCivAI* self, PlayerTypes eMajor, int iTurn);static void AfterCvMinorCivAI_SetTurnLastPledgedProtectionByMajor(CvMinorCivAI* self, PlayerTypes eMajor, int iTurn);static void ReplaceCvMinorCivAI_SetTurnLastPledgedProtectionByMajor(void (*original)(CvMinorCivAI*, PlayerTypes, int), CvMinorCivAI* self, PlayerTypes eMajor, int iTurn);CivRegisterBefore<CivHooks::CvMinorCivAI_SetTurnLastPledgedProtectionByMajor>(host, &BeforeCvMinorCivAI_SetTurnLastPledgedProtectionByMajor);CivRegisterAfter<CivHooks::CvMinorCivAI_SetTurnLastPledgedProtectionByMajor>(host, &AfterCvMinorCivAI_SetTurnLastPledgedProtectionByMajor);CivRegisterReplace<CivHooks::CvMinorCivAI_SetTurnLastPledgedProtectionByMajor>(host, &ReplaceCvMinorCivAI_SetTurnLastPledgedProtectionByMajor);