Hooks
static bool BeforeCvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal(CvDiplomacyAI* self, PlayerTypes ePlayer, int& result);static void AfterCvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal(CvDiplomacyAI* self, PlayerTypes ePlayer, int& result);static int ReplaceCvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal(int (*original)(CvDiplomacyAI*, PlayerTypes), CvDiplomacyAI* self, PlayerTypes ePlayer);CivRegisterBefore<CivHooks::CvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal>(host, &BeforeCvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal);CivRegisterAfter<CivHooks::CvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal>(host, &AfterCvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal);CivRegisterReplace<CivHooks::CvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal>(host, &ReplaceCvDiplomacyAI_GetTurnsSinceTheyFoiledOurProposal);