Bazaar developer reference

CvPlayer::getGoldPerUnitTimes100() const

Defined in
CvPlayer.cpp, line 15462
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getGoldPerUnitTimes100

Hooks

static bool BeforeCvPlayer_getGoldPerUnitTimes100(const CvPlayer* self, int& result);static void AfterCvPlayer_getGoldPerUnitTimes100(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getGoldPerUnitTimes100(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getGoldPerUnitTimes100>(host, &BeforeCvPlayer_getGoldPerUnitTimes100);CivRegisterAfter<CivHooks::CvPlayer_getGoldPerUnitTimes100>(host, &AfterCvPlayer_getGoldPerUnitTimes100);CivRegisterReplace<CivHooks::CvPlayer_getGoldPerUnitTimes100>(host, &ReplaceCvPlayer_getGoldPerUnitTimes100);

Code

15462int CvPlayer::getGoldPerUnitTimes100() const15463{15464	return m_iGoldPerUnit;15465}

Calls

Called by