Hooks
static bool BeforeCvDiplomacyAI_GetDemandTargetPlayer(const CvDiplomacyAI* self, PlayerTypes& result);static void AfterCvDiplomacyAI_GetDemandTargetPlayer(const CvDiplomacyAI* self, PlayerTypes& result);static PlayerTypes ReplaceCvDiplomacyAI_GetDemandTargetPlayer(PlayerTypes (*original)(const CvDiplomacyAI*), const CvDiplomacyAI* self);CivRegisterBefore<CivHooks::CvDiplomacyAI_GetDemandTargetPlayer>(host, &BeforeCvDiplomacyAI_GetDemandTargetPlayer);CivRegisterAfter<CivHooks::CvDiplomacyAI_GetDemandTargetPlayer>(host, &AfterCvDiplomacyAI_GetDemandTargetPlayer);CivRegisterReplace<CivHooks::CvDiplomacyAI_GetDemandTargetPlayer>(host, &ReplaceCvDiplomacyAI_GetDemandTargetPlayer);