Hooks
static bool BeforeCvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations>(host, &BeforeCvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations>(host, &AfterCvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations>(host, &ReplaceCvLuaPlayer_lGetPotentialInternationalTradeRouteDestinations);