Bazaar developer reference

CvPlayer::getExtraUnitCost() const

Defined in
CvPlayer.cpp, line 15567
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getExtraUnitCost

Hooks

static bool BeforeCvPlayer_getExtraUnitCost(const CvPlayer* self, int& result);static void AfterCvPlayer_getExtraUnitCost(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getExtraUnitCost(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getExtraUnitCost>(host, &BeforeCvPlayer_getExtraUnitCost);CivRegisterAfter<CivHooks::CvPlayer_getExtraUnitCost>(host, &AfterCvPlayer_getExtraUnitCost);CivRegisterReplace<CivHooks::CvPlayer_getExtraUnitCost>(host, &ReplaceCvPlayer_getExtraUnitCost);

Code

15567int CvPlayer::getExtraUnitCost() const15568{15569	return m_iExtraUnitCost;15570}

Calls

Called by