Bazaar developer reference

CvPlayer::GetUnitGoldMaintenanceMod() const

Defined in
CvPlayer.cpp, line 15535
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetUnitGoldMaintenanceMod

Hooks

static bool BeforeCvPlayer_GetUnitGoldMaintenanceMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetUnitGoldMaintenanceMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetUnitGoldMaintenanceMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetUnitGoldMaintenanceMod>(host, &BeforeCvPlayer_GetUnitGoldMaintenanceMod);CivRegisterAfter<CivHooks::CvPlayer_GetUnitGoldMaintenanceMod>(host, &AfterCvPlayer_GetUnitGoldMaintenanceMod);CivRegisterReplace<CivHooks::CvPlayer_GetUnitGoldMaintenanceMod>(host, &ReplaceCvPlayer_GetUnitGoldMaintenanceMod);

Code

15535int CvPlayer::GetUnitGoldMaintenanceMod() const15536{15537	return m_iUnitGoldMaintenanceMod;15538}

Calls

Called by