Author Topic: [SOLVED] TNManager.JoinChannel, 2nd overload  (Read 2381 times)

toqueteos

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 13
    • View Profile
[SOLVED] TNManager.JoinChannel, 2nd overload
« on: December 13, 2013, 03:03:19 PM »
When using the second overload of TNManager.JoinChannel:
  1. TNManager.JoinChannel (int channelID, string levelName, bool persistent, int playerLimit, string password)

How are we supposed to know the player limit of an already created channel without connecting to it? Should we just pass some random value into it?
« Last Edit: December 14, 2013, 08:19:43 AM by toqueteos »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNManager.JoinChannel, 2nd overload
« Reply #1 on: December 13, 2013, 05:56:24 PM »
These values are used to create the channel if one is not already present. They are ignored if the channel already exists.

toqueteos

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 13
    • View Profile
Re: [SOLVED] TNManager.JoinChannel, 2nd overload
« Reply #2 on: December 14, 2013, 08:20:18 AM »
Ok, thanks Aren. Modified title accordingly.