Set room properties in CreateRoomSettings

Post here your suggestions for new possible features in SmartFoxServer 2X.

Moderators: Lapo, Bax

grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Set room properties in CreateRoomSettings

Postby grhwood » 03 Jul 2013, 09:12

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,
grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Re: Set room properties in CreateRoomSettings

Postby grhwood » 02 Nov 2013, 05:40

Hi Smartfox guys,

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

Thanks,
User avatar
Lapo
Site Admin
Posts: 21676
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Set room properties in CreateRoomSettings

Postby Lapo » 06 Nov 2013, 08:56

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
Lapo
--
gotoAndPlay()
...addicted to flash games
grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Re: Set room properties in CreateRoomSettings

Postby grhwood » 11 Nov 2013, 10:56

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,
User avatar
Lapo
Site Admin
Posts: 21676
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Set room properties in CreateRoomSettings

Postby Lapo » 11 Nov 2013, 11:04

Ok, thanks. It has been added to SFS2X 2.8.0 which we're going to release in the next 6-7 days.
Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “2X Features Wish List”

Who is online

Users browsing this forum: No registered users and 1 guest