Page 1 of 1

Set room properties in CreateRoomSettings

Posted: 03 Jul 2013, 09:12
by grhwood
Hi,

Continue from http://www.smartfoxserver.com/forums/viewtopic.php?f=18&t=16198, it would be great/easier if I can set the room properties when create a room so that they are available when room extension init method is invoked. The property is a complex object so I cant use hidden Room variable.

Thanks,

Re: Set room properties in CreateRoomSettings

Posted: 02 Nov 2013, 05:40
by grhwood
Hi Smartfox guys,

Could you tell me whether this request make it to the todo list or be rejected ?

Thanks,

Re: Set room properties in CreateRoomSettings

Posted: 06 Nov 2013, 08:56
by Lapo
I think it could be done if you passed a Map<String, Object> with the properties you need.
Is this what you are looking for?

Thanks

Re: Set room properties in CreateRoomSettings

Posted: 11 Nov 2013, 10:56
by grhwood
Hi Lapo,

It would be great if I can set Map<String, Object> in CreateRoomSettings so that this room properties can be seen on extension init method.

Thanks,

Re: Set room properties in CreateRoomSettings

Posted: 11 Nov 2013, 11:04
by Lapo
Ok, thanks. It has been added to SFS2X 2.8.0 which we're going to release in the next 6-7 days.
Cheers