simple question over a multiroom chat

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
gsources75
Posts: 8
Joined: 06 Sep 2010, 21:37

simple question over a multiroom chat

Post by gsources75 »

Hi , fist sorry for my bad english.


I'm developing a multi-rooms chat, and i have some doubt...


1) the user can enter in more room at the same moment so i create a class
InRoomUser. In this class i have the textfield of public messages.

This method involves the creation of more instance of InRoomUser with more textfields fill of messages of all users.

2) i can create only one InRoomUser with a only one textfield of messages and when user change room i change textfield but how can i record last messages of all rooms?
Post Reply