Hooks
static bool BeforeCvPlayer_GetOccupiedPopulationUnhappinessMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetOccupiedPopulationUnhappinessMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetOccupiedPopulationUnhappinessMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetOccupiedPopulationUnhappinessMod>(host, &BeforeCvPlayer_GetOccupiedPopulationUnhappinessMod);CivRegisterAfter<CivHooks::CvPlayer_GetOccupiedPopulationUnhappinessMod>(host, &AfterCvPlayer_GetOccupiedPopulationUnhappinessMod);CivRegisterReplace<CivHooks::CvPlayer_GetOccupiedPopulationUnhappinessMod>(host, &ReplaceCvPlayer_GetOccupiedPopulationUnhappinessMod);