Hooks
static bool BeforeCvPlayer_GetExtraVotesPerDiplomat(const CvPlayer* self, int& result);static void AfterCvPlayer_GetExtraVotesPerDiplomat(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetExtraVotesPerDiplomat(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetExtraVotesPerDiplomat>(host, &BeforeCvPlayer_GetExtraVotesPerDiplomat);CivRegisterAfter<CivHooks::CvPlayer_GetExtraVotesPerDiplomat>(host, &AfterCvPlayer_GetExtraVotesPerDiplomat);CivRegisterReplace<CivHooks::CvPlayer_GetExtraVotesPerDiplomat>(host, &ReplaceCvPlayer_GetExtraVotesPerDiplomat);