Hooks
static bool BeforeCvPlayer_calculateUnitCost(const CvPlayer* self, int& result);static void AfterCvPlayer_calculateUnitCost(const CvPlayer* self, int& result);static int ReplaceCvPlayer_calculateUnitCost(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_calculateUnitCost>(host, &BeforeCvPlayer_calculateUnitCost);CivRegisterAfter<CivHooks::CvPlayer_calculateUnitCost>(host, &AfterCvPlayer_calculateUnitCost);CivRegisterReplace<CivHooks::CvPlayer_calculateUnitCost>(host, &ReplaceCvPlayer_calculateUnitCost);