Hooks
static bool BeforeCvUnit_GetEmbarkAllWaterCount(const CvUnit* self, int& result);static void AfterCvUnit_GetEmbarkAllWaterCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetEmbarkAllWaterCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetEmbarkAllWaterCount>(host, &BeforeCvUnit_GetEmbarkAllWaterCount);CivRegisterAfter<CivHooks::CvUnit_GetEmbarkAllWaterCount>(host, &AfterCvUnit_GetEmbarkAllWaterCount);CivRegisterReplace<CivHooks::CvUnit_GetEmbarkAllWaterCount>(host, &ReplaceCvUnit_GetEmbarkAllWaterCount);