Forum Multiplayer about client.multiplayer.createJoinRoom

Discussion and help relating to the PlayerIO Multiplayer API.

about client.multiplayer.createJoinRoom

Postby nirza » April 12th, 2010, 4:30 pm

it seems that running local server i can write in second argument of client.multiplayer.createJoinRoom any string and everything will work fine, it supposed to be game type but it doesn't seem to matter. can I have some explanation ?
Thanks
nirza
 
Posts: 39
Joined: April 10th, 2010, 11:50 am

Re: about client.multiplayer.createJoinRoom

Postby Oliver » April 12th, 2010, 5:55 pm

Hi,

Yes, the serverType argument is only used when you're code is running on the live system -- When you're using the development server, there is only one possible servertype, which is the dll you're working with, so the argument is ignored in that case.

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am


Return to Multiplayer