Bazaar developer reference

CvGoodyInfo::getDamagePrereq() const

Defined in
CvInfos.cpp, line 4115
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_getDamagePrereq

Hooks

static bool BeforeCvGoodyInfo_getDamagePrereq(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getDamagePrereq(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getDamagePrereq(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getDamagePrereq>(host, &BeforeCvGoodyInfo_getDamagePrereq);CivRegisterAfter<CivHooks::CvGoodyInfo_getDamagePrereq>(host, &AfterCvGoodyInfo_getDamagePrereq);CivRegisterReplace<CivHooks::CvGoodyInfo_getDamagePrereq>(host, &ReplaceCvGoodyInfo_getDamagePrereq);

Code

4115int CvGoodyInfo::getDamagePrereq() const4116{4117	return m_iDamagePrereq;4118}

Called by