


as the topic~
how can I set the room settings and lock the room?
by now i know that i can change the room timeout setting with setting roomAccess and property "timeOut".
with the code as follow:
itemVO.Add("nodeName", "roomAccess")
itemVO.Add("itemID", "timeOut")
itemVO.Add("body", "3600")
but I don't know what property should i use when I want to lock a room?
roomLocked ?
May you tell me where can I find all of room setting properties, and how to use them?
Views
Replies
Sign in to like this content
Total Likes
Hi,
On the client we change the settings inside the RoomManager( you can
look through RoomManager code for more details) , however with dev
console , we make it easier to set room settings.
In the server side, if you want to set these properties, you will have
to use publishItem on the "roomManager" collectionNode using the
AccountMaager.
Here for your itemVO, itemID will be "locked" and your body is a boolean
i.e. true or false. So, for locking you will use
itemVO.Add("nodeName", "roomAccess")
itemVO.Add("itemID", "locked")
itemVO.Add("body", "true")
Look at the clientside's RoomManager.as file's
public function set roomLocked(p_locked:Boolean):void for more details
on this parameter or similar ones.
Hope this helps
Thanks
Regards
Hironmay Basu
Views
Replies
Total Likes
Hi,
On the client we change the settings inside the RoomManager( you can
look through RoomManager code for more details) , however with dev
console , we make it easier to set room settings.
In the server side, if you want to set these properties, you will have
to use publishItem on the "roomManager" collectionNode using the
AccountMaager.
Here for your itemVO, itemID will be "locked" and your body is a boolean
i.e. true or false. So, for locking you will use
itemVO.Add("nodeName", "roomAccess")
itemVO.Add("itemID", "locked")
itemVO.Add("body", "true")
Look at the clientside's RoomManager.as file's
public function set roomLocked(p_locked:Boolean):void for more details
on this parameter or similar ones.
Hope this helps
Thanks
Regards
Hironmay Basu
Views
Replies
Total Likes