Exemple #1
0
 public static bool Load()
 {
     try
     {
         Instance = new LoginAcceptor(Settings.Instance.Port);
         return true;
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "LoginAcceptor exception: {0}", ex.ToString());
         return false;
     }
 }
Exemple #2
0
 public static bool Load()
 {
     try
     {
         Instance = new LoginAcceptor(Settings.Instance.Port);
         return(true);
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "LoginAcceptor exception: {0}", ex.ToString());
         return(false);
     }
 }