Bazaar developer reference

CvPlayer::getHalfSpecialistFoodCount() const

Defined in
CvPlayer.cpp, line 15722
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getHalfSpecialistFoodCount

Hooks

static bool BeforeCvPlayer_getHalfSpecialistFoodCount(const CvPlayer* self, int& result);static void AfterCvPlayer_getHalfSpecialistFoodCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getHalfSpecialistFoodCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getHalfSpecialistFoodCount>(host, &BeforeCvPlayer_getHalfSpecialistFoodCount);CivRegisterAfter<CivHooks::CvPlayer_getHalfSpecialistFoodCount>(host, &AfterCvPlayer_getHalfSpecialistFoodCount);CivRegisterReplace<CivHooks::CvPlayer_getHalfSpecialistFoodCount>(host, &ReplaceCvPlayer_getHalfSpecialistFoodCount);

Code

15722int CvPlayer::getHalfSpecialistFoodCount() const15723{15724	return m_iHalfSpecialistFoodCount;15725}

Calls

Called by