Author Topic: Separate channelList  (Read 1560 times)

Elmo loves cookies

  • Jr. Member
  • **
  • Thank You
  • -Given: 60
  • -Receive: 1
  • Posts: 62
    • View Profile
Separate channelList
« on: March 08, 2017, 01:30:43 PM »
for 2 different games on one server,

TNManager.GetChannelList(***) - I should receive all channels and then separate then by: channel.level = "game1" and channel.level = "game2" ?

it ok, or I doing some wrong?
it is impossible to receive channels only from one specific game?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Separate channelList
« Reply #1 on: March 10, 2017, 11:57:19 AM »
When requesting a channel list, you get all the channels. TNet doesn't know what a "game" is. If you want to filter your channels, you have to do it after receiving the full list.