Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    March 2016
    Posts
    9

    ts3plugin_infoData: global refresh / or display global data somehow

    Hi,

    I'd like to display the same data with "ts3plugin_infoData()" for every channel/client/whatever, but the thing is, i have to update it frequently.

    If i want to do this it seems that i have to call requestInfoUpdate:

    ts3Functions.requestInfoUpdate(Global::connection, PluginItemType::PLUGIN_CLIENT, ???);
    ts3Functions.requestInfoUpdate(Global::connection, PluginItemType::PLUGIN_CHANNEL, ???);
    ts3Functions.requestInfoUpdate(Global::connection, PluginItemType::PLUGIN_SERVER, ???);

    But the thing is, i have to know which item is highlighted by the user, so i can call its corresponding update function. Is there some good way to do this?

    OR is there some way to display non-selection specific data with a plugin, that i can update frequently?

    Kind regards,
    Battlechicken

  2. #2
    Join Date
    March 2016
    Posts
    9
    Okay, nevermind, i think i found a workaround... i store the last parameters ts3plugin_infoData(), and call requestInfoUpdate() with that.

    Kind regards,
    Battlechicken

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. global msg
    By Bonqe in forum Linux / FreeBSD
    Replies: 1
    Last Post: July 11th, 2013, 03:11 PM
  2. Replies: 2
    Last Post: July 15th, 2010, 08:28 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
  •