コード例 #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;
     }
 }
コード例 #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);
     }
 }