Ejemplo n.º 1
0
 private static void SetNetAccIPAndPort()
 {
     if ((!Singleton <FrameSynchr> .instance.m_NetAccSetIPAndPortInvoked && (ApolloConfig.echoPort != 0)) && !string.IsNullOrEmpty(ApolloConfig.loginOnlyIp))
     {
         NetworkAccelerator.setRecommendationGameIP(ApolloConfig.loginOnlyIp, ApolloConfig.echoPort);
         Singleton <FrameSynchr> .instance.m_NetAccSetIPAndPortInvoked = true;
     }
 }
Ejemplo n.º 2
0
 private static void SetNetAccIPAndPort()
 {
     if (Singleton <FrameSynchr> .get_instance().m_NetAccSetIPAndPortInvoked || ApolloConfig.echoPort == 0 || string.IsNullOrEmpty(ApolloConfig.loginOnlyIp))
     {
         return;
     }
     NetworkAccelerator.setRecommendationGameIP(ApolloConfig.loginOnlyIp, (int)ApolloConfig.echoPort);
     Singleton <FrameSynchr> .get_instance().m_NetAccSetIPAndPortInvoked = true;
 }