Bazaar developer reference

CvUnit::GetNumGoodyHutsPopped() const

Defined in
CvUnit.cpp, line 5396
Class
CvUnit
Hook name
CivHooks::CvUnit_GetNumGoodyHutsPopped

Hooks

static bool BeforeCvUnit_GetNumGoodyHutsPopped(const CvUnit* self, int& result);static void AfterCvUnit_GetNumGoodyHutsPopped(const CvUnit* self, int& result);static int ReplaceCvUnit_GetNumGoodyHutsPopped(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetNumGoodyHutsPopped>(host, &BeforeCvUnit_GetNumGoodyHutsPopped);CivRegisterAfter<CivHooks::CvUnit_GetNumGoodyHutsPopped>(host, &AfterCvUnit_GetNumGoodyHutsPopped);CivRegisterReplace<CivHooks::CvUnit_GetNumGoodyHutsPopped>(host, &ReplaceCvUnit_GetNumGoodyHutsPopped);

Code

5396int CvUnit::GetNumGoodyHutsPopped() const5397{5398	return m_iNumGoodyHutsPopped;5399}

Called by