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);