Hooks
static bool BeforeCvPlayer_GetUnhappinessMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetUnhappinessMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetUnhappinessMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetUnhappinessMod>(host, &BeforeCvPlayer_GetUnhappinessMod);CivRegisterAfter<CivHooks::CvPlayer_GetUnhappinessMod>(host, &AfterCvPlayer_GetUnhappinessMod);CivRegisterReplace<CivHooks::CvPlayer_GetUnhappinessMod>(host, &ReplaceCvPlayer_GetUnhappinessMod);