Hooks
static bool BeforeCvPlayer_GetUnitUpgradeCostMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetUnitUpgradeCostMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetUnitUpgradeCostMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetUnitUpgradeCostMod>(host, &BeforeCvPlayer_GetUnitUpgradeCostMod);CivRegisterAfter<CivHooks::CvPlayer_GetUnitUpgradeCostMod>(host, &AfterCvPlayer_GetUnitUpgradeCostMod);CivRegisterReplace<CivHooks::CvPlayer_GetUnitUpgradeCostMod>(host, &ReplaceCvPlayer_GetUnitUpgradeCostMod);