createRoom后为什么收不到任何事件?
我用sfsClient.createRoom生成新房间后,为什么收不到服务器返回的消息。比如应该收到的:
- SFSEvent.onRoomAdded
- SFSEvent.onCreateRoomError
- SFSEvent.onUserCountChange
- 这让我郁闷了很久。今天在http://www.smartfoxserver.com/forums/viewtopic.php?t=4265&highlight=create+room
- 看到这句话,让我茅舍打开。晕。在createRoom前,先加入默认房间就可以了。
You need to join one room at least before you can start interacting with the server.