Hooks
static bool BeforeCvDiplomacyAI_IsPlayerDoFwithAnyFriend(const CvDiplomacyAI* self, PlayerTypes ePlayer, bool& result);static void AfterCvDiplomacyAI_IsPlayerDoFwithAnyFriend(const CvDiplomacyAI* self, PlayerTypes ePlayer, bool& result);static bool ReplaceCvDiplomacyAI_IsPlayerDoFwithAnyFriend(bool (*original)(const CvDiplomacyAI*, PlayerTypes), const CvDiplomacyAI* self, PlayerTypes ePlayer);CivRegisterBefore<CivHooks::CvDiplomacyAI_IsPlayerDoFwithAnyFriend>(host, &BeforeCvDiplomacyAI_IsPlayerDoFwithAnyFriend);CivRegisterAfter<CivHooks::CvDiplomacyAI_IsPlayerDoFwithAnyFriend>(host, &AfterCvDiplomacyAI_IsPlayerDoFwithAnyFriend);CivRegisterReplace<CivHooks::CvDiplomacyAI_IsPlayerDoFwithAnyFriend>(host, &ReplaceCvDiplomacyAI_IsPlayerDoFwithAnyFriend);