Hooks
static bool BeforeCvMinorCivAI_GetTurnLastPledgedProtectionByMajor(const CvMinorCivAI* self, PlayerTypes eMajor, int& result);static void AfterCvMinorCivAI_GetTurnLastPledgedProtectionByMajor(const CvMinorCivAI* self, PlayerTypes eMajor, int& result);static int ReplaceCvMinorCivAI_GetTurnLastPledgedProtectionByMajor(int (*original)(const CvMinorCivAI*, PlayerTypes), const CvMinorCivAI* self, PlayerTypes eMajor);CivRegisterBefore<CivHooks::CvMinorCivAI_GetTurnLastPledgedProtectionByMajor>(host, &BeforeCvMinorCivAI_GetTurnLastPledgedProtectionByMajor);CivRegisterAfter<CivHooks::CvMinorCivAI_GetTurnLastPledgedProtectionByMajor>(host, &AfterCvMinorCivAI_GetTurnLastPledgedProtectionByMajor);CivRegisterReplace<CivHooks::CvMinorCivAI_GetTurnLastPledgedProtectionByMajor>(host, &ReplaceCvMinorCivAI_GetTurnLastPledgedProtectionByMajor);