Bazaar developer reference

CvGoodyInfo::getGoldRandAmount() const

Defined in
CvInfos.cpp, line 4085
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_getGoldRandAmount

Hooks

static bool BeforeCvGoodyInfo_getGoldRandAmount(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getGoldRandAmount(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getGoldRandAmount(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getGoldRandAmount>(host, &BeforeCvGoodyInfo_getGoldRandAmount);CivRegisterAfter<CivHooks::CvGoodyInfo_getGoldRandAmount>(host, &AfterCvGoodyInfo_getGoldRandAmount);CivRegisterReplace<CivHooks::CvGoodyInfo_getGoldRandAmount>(host, &ReplaceCvGoodyInfo_getGoldRandAmount);

Code

4085int CvGoodyInfo::getGoldRandAmount() const4086{4087	return m_iGoldRandAmount;4088}

Called by