I am wondering if this needs to be called anytime we switch scenes or join different rooms, or only once upon login? Right now I have it only being called once upon login, but I don't see how that is good, especially if there are going to be dynamic rooms. Looking for some clarification on this, thanks!
P.S. - I am using a custom login, hence why I was calling it in the first place.
GetRoomList()
-
- Posts: 57
- Joined: 26 Oct 2010, 14:03
- Location: South Pasadena California
- Contact:
Yes, you need it upon login and again after exiting a game room. The reason for this is because users inside a game room wouldn't get notified about new or delete rooms.
See "Room types and their life cycle" section via http://www.smartfoxserver.com/docs/docPages/sfsPro/roomArchitecture.htm for more info.
See "Room types and their life cycle" section via http://www.smartfoxserver.com/docs/docPages/sfsPro/roomArchitecture.htm for more info.
Smartfox's forum is my daily newspaper.
-
- Posts: 57
- Joined: 26 Oct 2010, 14:03
- Location: South Pasadena California
- Contact:
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 26 guests