示例#1
0
		public QueryConnection(QueryConnectionData qcd)
		{
			clientDbNames = new Dictionary<ulong, string>();

			connectionData = qcd;
			tsClient = new TS3QueryClient(EventDispatchType.DoubleThread);
			tsClient.OnClientLeftView += ExtendedClientLeftView;
			tsClient.OnClientEnterView += ExtendedClientEnterView;
			tsClient.OnTextMessageReceived += ExtendedTextMessage;
		}
        public QueryConnection(QueryConnectionData qcd)
        {
            clientDbNames = new Dictionary <ulong, string>();

            connectionData                  = qcd;
            tsClient                        = new TS3QueryClient(EventDispatchType.DoubleThread);
            tsClient.OnClientLeftView      += ExtendedClientLeftView;
            tsClient.OnClientEnterView     += ExtendedClientEnterView;
            tsClient.OnTextMessageReceived += ExtendedTextMessage;
        }
示例#3
0
 public Ts3Query(QueryConnectionData qcd) : base(ClientType.Query)
 {
     tsQueryClient  = (Ts3QueryClient)tsBaseClient;
     connectionData = qcd;
 }