Bazaar developer reference

CvPlayer::GetUnitSupplyMod() const

Defined in
CvPlayer.cpp, line 15550
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetUnitSupplyMod

Hooks

static bool BeforeCvPlayer_GetUnitSupplyMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetUnitSupplyMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetUnitSupplyMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetUnitSupplyMod>(host, &BeforeCvPlayer_GetUnitSupplyMod);CivRegisterAfter<CivHooks::CvPlayer_GetUnitSupplyMod>(host, &AfterCvPlayer_GetUnitSupplyMod);CivRegisterReplace<CivHooks::CvPlayer_GetUnitSupplyMod>(host, &ReplaceCvPlayer_GetUnitSupplyMod);

Code

15550int CvPlayer::GetUnitSupplyMod() const15551{15552	return m_iUnitSupplyMod;15553}

Calls

Called by