Hooks
static bool BeforeCvPlayer_getHalfSpecialistUnhappinessCount(const CvPlayer* self, int& result);static void AfterCvPlayer_getHalfSpecialistUnhappinessCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getHalfSpecialistUnhappinessCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getHalfSpecialistUnhappinessCount>(host, &BeforeCvPlayer_getHalfSpecialistUnhappinessCount);CivRegisterAfter<CivHooks::CvPlayer_getHalfSpecialistUnhappinessCount>(host, &AfterCvPlayer_getHalfSpecialistUnhappinessCount);CivRegisterReplace<CivHooks::CvPlayer_getHalfSpecialistUnhappinessCount>(host, &ReplaceCvPlayer_getHalfSpecialistUnhappinessCount);