Hooks
static bool BeforeCvPlayer_SetUnitUpgradeCostMod(CvPlayer* self, int iValue);static void AfterCvPlayer_SetUnitUpgradeCostMod(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetUnitUpgradeCostMod(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetUnitUpgradeCostMod>(host, &BeforeCvPlayer_SetUnitUpgradeCostMod);CivRegisterAfter<CivHooks::CvPlayer_SetUnitUpgradeCostMod>(host, &AfterCvPlayer_SetUnitUpgradeCostMod);CivRegisterReplace<CivHooks::CvPlayer_SetUnitUpgradeCostMod>(host, &ReplaceCvPlayer_SetUnitUpgradeCostMod);