示例#1
0
 public LobbyViewModel(string url, int port, string name) : base(Dispatcher.CurrentDispatcher)
 {
     m_Name   = name;
     m_Server = new LobbyTcpClientQuickMode(url, port);
     MainWindowViewModel.Instance.Server = m_Server;
     RefreshDataAndInterface();
 }
 public override void Init()
 {
     m_Server = new LobbyTcpClientQuickMode(m_ServerAddress, m_ServerPort);
 }