Bazaar developer reference

CvPlayer::getHalfSpecialistUnhappinessCount() const

Defined in
CvPlayer.cpp, line 15698
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getHalfSpecialistUnhappinessCount

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);

Code

15698int CvPlayer::getHalfSpecialistUnhappinessCount() const15699{15700	return m_iHalfSpecialistUnhappinessCount;15701}

Calls

Called by