Hooks
static bool BeforeCvGoodyHuts_IsCanPlayerReceiveGoody(PlayerTypes ePlayer, GoodyTypes eGoody, bool& result);static void AfterCvGoodyHuts_IsCanPlayerReceiveGoody(PlayerTypes ePlayer, GoodyTypes eGoody, bool& result);static bool ReplaceCvGoodyHuts_IsCanPlayerReceiveGoody(bool (*original)(PlayerTypes, GoodyTypes), PlayerTypes ePlayer, GoodyTypes eGoody);CivRegisterBefore<CivHooks::CvGoodyHuts_IsCanPlayerReceiveGoody>(host, &BeforeCvGoodyHuts_IsCanPlayerReceiveGoody);CivRegisterAfter<CivHooks::CvGoodyHuts_IsCanPlayerReceiveGoody>(host, &AfterCvGoodyHuts_IsCanPlayerReceiveGoody);CivRegisterReplace<CivHooks::CvGoodyHuts_IsCanPlayerReceiveGoody>(host, &ReplaceCvGoodyHuts_IsCanPlayerReceiveGoody);