Bazaar developer reference

CvGoodyInfo::getUnitClassType() const

Defined in
CvInfos.cpp, line 4155
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_getUnitClassType

Hooks

static bool BeforeCvGoodyInfo_getUnitClassType(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getUnitClassType(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getUnitClassType(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getUnitClassType>(host, &BeforeCvGoodyInfo_getUnitClassType);CivRegisterAfter<CivHooks::CvGoodyInfo_getUnitClassType>(host, &AfterCvGoodyInfo_getUnitClassType);CivRegisterReplace<CivHooks::CvGoodyInfo_getUnitClassType>(host, &ReplaceCvGoodyInfo_getUnitClassType);

Code

4155int CvGoodyInfo::getUnitClassType() const4156{4157	return m_iUnitClassType;4158}

Called by