Room - Owner

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

ciaoamigos
Posts: 32
Joined: 05 Sep 2021, 16:57

Room - Owner

Postby ciaoamigos » 13 Sep 2021, 09:39

I can't find the answer in the documentation.
When a user creates a room, is he propitious of the room?
Or how do I know if he was the first to create it, then give him permissions for that room only.
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Room - Owner

Postby Lapo » 13 Sep 2021, 09:43

Hi,
a Room created from a client-side API request is owned by the User who requested it.

A Room created from server side API is owned by the User specified in the method call. If no User is specified (null) then the Room is owned by the server.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 64 guests