createRoom without any user

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

createRoom without any user

Postby aliko » 05 Sep 2016, 15:36

Hello,

Is it possible to create a room without any user from server side?

getApi().createRoom(....)

My aim is creating a room and wait players for a minute.

Best Regards
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: createRoom without any user

Postby Lapo » 06 Sep 2016, 08:54

Yes,
in the docs for the createRoom method we indicate that you can pass null as the owner of the Room, to signify that the owner is the server itself.
Lapo
--
gotoAndPlay()
...addicted to flash games
aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

Re: createRoom without any user

Postby aliko » 06 Sep 2016, 11:51

Ty very much.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 23 guests