Bazaar developer reference

CvPlayer::GetBuildingGoldMaintenanceMod() const

Defined in
CvPlayer.cpp, line 15520
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetBuildingGoldMaintenanceMod

Hooks

static bool BeforeCvPlayer_GetBuildingGoldMaintenanceMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetBuildingGoldMaintenanceMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetBuildingGoldMaintenanceMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetBuildingGoldMaintenanceMod>(host, &BeforeCvPlayer_GetBuildingGoldMaintenanceMod);CivRegisterAfter<CivHooks::CvPlayer_GetBuildingGoldMaintenanceMod>(host, &AfterCvPlayer_GetBuildingGoldMaintenanceMod);CivRegisterReplace<CivHooks::CvPlayer_GetBuildingGoldMaintenanceMod>(host, &ReplaceCvPlayer_GetBuildingGoldMaintenanceMod);

Code

15520int CvPlayer::GetBuildingGoldMaintenanceMod() const15521{15522	return m_iBuildingGoldMaintenanceMod;15523}

Calls

Called by