Bazaar developer reference

CvGoodyInfo::getNumGoldRandRolls() const

Defined in
CvInfos.cpp, line 4080
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_getNumGoldRandRolls

Hooks

static bool BeforeCvGoodyInfo_getNumGoldRandRolls(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getNumGoldRandRolls(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getNumGoldRandRolls(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getNumGoldRandRolls>(host, &BeforeCvGoodyInfo_getNumGoldRandRolls);CivRegisterAfter<CivHooks::CvGoodyInfo_getNumGoldRandRolls>(host, &AfterCvGoodyInfo_getNumGoldRandRolls);CivRegisterReplace<CivHooks::CvGoodyInfo_getNumGoldRandRolls>(host, &ReplaceCvGoodyInfo_getNumGoldRandRolls);

Code

4080int CvGoodyInfo::getNumGoldRandRolls() const4081{4082	return m_iNumGoldRandRolls;4083}

Called by