Bazaar developer reference

CvResourceInfo::getGroupRand() const

Defined in
CvInfos.cpp, line 4582
Class
CvResourceInfo
Hook name
CivHooks::CvResourceInfo_getGroupRand

Hooks

static bool BeforeCvResourceInfo_getGroupRand(const CvResourceInfo* self, int& result);static void AfterCvResourceInfo_getGroupRand(const CvResourceInfo* self, int& result);static int ReplaceCvResourceInfo_getGroupRand(int (*original)(const CvResourceInfo*), const CvResourceInfo* self);CivRegisterBefore<CivHooks::CvResourceInfo_getGroupRand>(host, &BeforeCvResourceInfo_getGroupRand);CivRegisterAfter<CivHooks::CvResourceInfo_getGroupRand>(host, &AfterCvResourceInfo_getGroupRand);CivRegisterReplace<CivHooks::CvResourceInfo_getGroupRand>(host, &ReplaceCvResourceInfo_getGroupRand);

Code

4582int CvResourceInfo::getGroupRand() const4583{4584	return m_iGroupRand;4585}