Hooks
static bool BeforeCvUnit_changeAdmiralPort(CvUnit* self, int iX, int iY, bool& result);static void AfterCvUnit_changeAdmiralPort(CvUnit* self, int iX, int iY, bool& result);static bool ReplaceCvUnit_changeAdmiralPort(bool (*original)(CvUnit*, int, int), CvUnit* self, int iX, int iY);CivRegisterBefore<CivHooks::CvUnit_changeAdmiralPort>(host, &BeforeCvUnit_changeAdmiralPort);CivRegisterAfter<CivHooks::CvUnit_changeAdmiralPort>(host, &AfterCvUnit_changeAdmiralPort);CivRegisterReplace<CivHooks::CvUnit_changeAdmiralPort>(host, &ReplaceCvUnit_changeAdmiralPort);