Hooks
static bool BeforeCvPlayer_getUnit(const CvPlayer* self, int iID, const CvUnit*& result);static void AfterCvPlayer_getUnit(const CvPlayer* self, int iID, const CvUnit*& result);static const CvUnit* ReplaceCvPlayer_getUnit(const CvUnit* (*original)(const CvPlayer*, int), const CvPlayer* self, int iID);CivRegisterBefore<CivHooks::CvPlayer_getUnit>(host, &BeforeCvPlayer_getUnit);CivRegisterAfter<CivHooks::CvPlayer_getUnit>(host, &AfterCvPlayer_getUnit);CivRegisterReplace<CivHooks::CvPlayer_getUnit>(host, &ReplaceCvPlayer_getUnit);