Hooks
static bool BeforeCvGoodyInfo_getGoldRandAmount(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getGoldRandAmount(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getGoldRandAmount(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getGoldRandAmount>(host, &BeforeCvGoodyInfo_getGoldRandAmount);CivRegisterAfter<CivHooks::CvGoodyInfo_getGoldRandAmount>(host, &AfterCvGoodyInfo_getGoldRandAmount);CivRegisterReplace<CivHooks::CvGoodyInfo_getGoldRandAmount>(host, &ReplaceCvGoodyInfo_getGoldRandAmount);