Beispiel #1
0
 public static void ChangeAccount()
 {
     AccountCenter.Instance.IsMDLogin = false;
     if (instance != null)
     {
         instance.Release();
     }
     instance = new MdAdapter();
     instance.RegisterFront("tcp://" + AccountCenter.Instance.Account.MDAddress);
     instance.Init();
 }
Beispiel #2
0
 public static void ChangeAccount()
 {
     AccountCenter.Instance.IsMDLogin = false;
     if (instance != null)
     {
         instance.Release();
     }
     instance = new MdAdapter();
     instance.RegisterFront("tcp://" + AccountCenter.Instance.Account.MDAddress);
     instance.Init();
 }