Bazaar developer reference

CvPlayer::getMilitaryFoodProductionCount() const

Defined in
CvPlayer.cpp, line 15747
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getMilitaryFoodProductionCount

Hooks

static bool BeforeCvPlayer_getMilitaryFoodProductionCount(const CvPlayer* self, int& result);static void AfterCvPlayer_getMilitaryFoodProductionCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getMilitaryFoodProductionCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getMilitaryFoodProductionCount>(host, &BeforeCvPlayer_getMilitaryFoodProductionCount);CivRegisterAfter<CivHooks::CvPlayer_getMilitaryFoodProductionCount>(host, &AfterCvPlayer_getMilitaryFoodProductionCount);CivRegisterReplace<CivHooks::CvPlayer_getMilitaryFoodProductionCount>(host, &ReplaceCvPlayer_getMilitaryFoodProductionCount);

Code

15747int CvPlayer::getMilitaryFoodProductionCount() const15748{15749	return m_iMilitaryFoodProductionCount;15750}

Calls

Called by