Forum

Results 1 to 4 of 4
  1. #1
    Join Date
    October 2014
    Posts
    60

    C# SDK update client list

    I'd like to say that this is the last question I'll ask, but...

    In the C# form I'm showing a list of clients in a text box.

    When I switch channels I call my method and the clients are shown.

    What it doesn't do is list a client that has joined after me, because I haven't called the method when they join.

    I could pop the method on a timer but that obviously causes the text to flash on every update.

    Is there a better way?

    An event I've not thought about?

  2. #2
    Join Date
    September 2012
    Posts
    6,080
    You have to do the UI updates yourself obviously, based on the events you're given (if relevant).

    Events possibly relevant are for example:
    ClientMoved
    ClientMovedSubscription
    ClientTimeout
    ClientKickedFromChannel
    ClientKickedFromServer


    See the Client example for usage.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  3. #3
    Join Date
    October 2014
    Posts
    60
    Thanks again Chris.

    I'm not sure why I hadn't thought about ClientMoved as I'm using it to do something else.
    I think I must have thought it only referred to the local client and not the others.

  4. #4
    Join Date
    September 2012
    Posts
    6,080
    You get events for every client that you can see.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [No Bug] TS3 client UI - Client list missing fields
    By Dream in forum Bug Reports [EN/DE]
    Replies: 5
    Last Post: February 16th, 2016, 12:39 PM
  2. Mailing list for server update announcements?
    By satanski in forum Suggestions and Feedback
    Replies: 2
    Last Post: September 13th, 2015, 06:33 PM
  3. [Resolved] [Teamspeak Client] Client list search (CTRL+F)
    By bbqeater in forum Bug Reports [EN/DE]
    Replies: 3
    Last Post: February 24th, 2015, 11:35 AM
  4. Replies: 5
    Last Post: August 25th, 2014, 09:43 PM
  5. Auto update website roster from server group client list
    By safunit in forum Permission System
    Replies: 1
    Last Post: May 27th, 2013, 09:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •