Bazaar developer reference

CvGameSpeedInfo::getGoldGiftMod() const

Defined in
CvInfos.cpp, line 3354
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getGoldGiftMod

Hooks

static bool BeforeCvGameSpeedInfo_getGoldGiftMod(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getGoldGiftMod(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getGoldGiftMod(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getGoldGiftMod>(host, &BeforeCvGameSpeedInfo_getGoldGiftMod);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getGoldGiftMod>(host, &AfterCvGameSpeedInfo_getGoldGiftMod);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getGoldGiftMod>(host, &ReplaceCvGameSpeedInfo_getGoldGiftMod);

Code

3354int CvGameSpeedInfo::getGoldGiftMod() const3355{3356	return m_iGoldGiftMod;3357}

Called by