Hooks
static bool BeforeCvGameTrade_GetEmptyTradeRouteIndex(CvGameTrade* self, int& result);static void AfterCvGameTrade_GetEmptyTradeRouteIndex(CvGameTrade* self, int& result);static int ReplaceCvGameTrade_GetEmptyTradeRouteIndex(int (*original)(CvGameTrade*), CvGameTrade* self);CivRegisterBefore<CivHooks::CvGameTrade_GetEmptyTradeRouteIndex>(host, &BeforeCvGameTrade_GetEmptyTradeRouteIndex);CivRegisterAfter<CivHooks::CvGameTrade_GetEmptyTradeRouteIndex>(host, &AfterCvGameTrade_GetEmptyTradeRouteIndex);CivRegisterReplace<CivHooks::CvGameTrade_GetEmptyTradeRouteIndex>(host, &ReplaceCvGameTrade_GetEmptyTradeRouteIndex);