Hooks
static bool BeforeCvDiplomacyAI_GetDOFWithAnyFriendScore(CvDiplomacyAI* self, PlayerTypes ePlayer, int& result);static void AfterCvDiplomacyAI_GetDOFWithAnyFriendScore(CvDiplomacyAI* self, PlayerTypes ePlayer, int& result);static int ReplaceCvDiplomacyAI_GetDOFWithAnyFriendScore(int (*original)(CvDiplomacyAI*, PlayerTypes), CvDiplomacyAI* self, PlayerTypes ePlayer);CivRegisterBefore<CivHooks::CvDiplomacyAI_GetDOFWithAnyFriendScore>(host, &BeforeCvDiplomacyAI_GetDOFWithAnyFriendScore);CivRegisterAfter<CivHooks::CvDiplomacyAI_GetDOFWithAnyFriendScore>(host, &AfterCvDiplomacyAI_GetDOFWithAnyFriendScore);CivRegisterReplace<CivHooks::CvDiplomacyAI_GetDOFWithAnyFriendScore>(host, &ReplaceCvDiplomacyAI_GetDOFWithAnyFriendScore);