Bazaar developer reference

CvPlayer::GetRouteGoldMaintenanceMod() const

Defined in
CvPlayer.cpp, line 15505
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetRouteGoldMaintenanceMod

Hooks

static bool BeforeCvPlayer_GetRouteGoldMaintenanceMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetRouteGoldMaintenanceMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetRouteGoldMaintenanceMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetRouteGoldMaintenanceMod>(host, &BeforeCvPlayer_GetRouteGoldMaintenanceMod);CivRegisterAfter<CivHooks::CvPlayer_GetRouteGoldMaintenanceMod>(host, &AfterCvPlayer_GetRouteGoldMaintenanceMod);CivRegisterReplace<CivHooks::CvPlayer_GetRouteGoldMaintenanceMod>(host, &ReplaceCvPlayer_GetRouteGoldMaintenanceMod);

Code

15505int CvPlayer::GetRouteGoldMaintenanceMod() const15506{15507	return m_iRouteGoldMaintenanceMod;15508}

Calls

Called by