Bazaar developer reference

CvUnit::ChangeNumGoodyHutsPopped(int)

Defined in
CvUnit.cpp, line 5401
Class
CvUnit
Hook name
CivHooks::CvUnit_ChangeNumGoodyHutsPopped

Hooks

static bool BeforeCvUnit_ChangeNumGoodyHutsPopped(CvUnit* self, int iValue);static void AfterCvUnit_ChangeNumGoodyHutsPopped(CvUnit* self, int iValue);static void ReplaceCvUnit_ChangeNumGoodyHutsPopped(void (*original)(CvUnit*, int), CvUnit* self, int iValue);CivRegisterBefore<CivHooks::CvUnit_ChangeNumGoodyHutsPopped>(host, &BeforeCvUnit_ChangeNumGoodyHutsPopped);CivRegisterAfter<CivHooks::CvUnit_ChangeNumGoodyHutsPopped>(host, &AfterCvUnit_ChangeNumGoodyHutsPopped);CivRegisterReplace<CivHooks::CvUnit_ChangeNumGoodyHutsPopped>(host, &ReplaceCvUnit_ChangeNumGoodyHutsPopped);

Code

5401void CvUnit::ChangeNumGoodyHutsPopped(int iValue)5402{5403	m_iNumGoodyHutsPopped = iValue;5404}

Called by