Code: Select all
var room:Room = _es.managerHelper.zoneManager.zoneById(e.zoneId).roomById(e.roomId);
This is not the best approach to make things easy for anyone.
You need to go through many methods to catch what you need.
But for SmartFoxServer it's very beautiful.
Code: Select all
var username:String = loginPanel.ti_username.text;
var request:LoginRequest = new LoginRequest(username);
sfs.send(request);
Code: Select all
sfs = new SmartFox(true);
sfs.roomList
sfs.roomManager.ownerZone
So thank you very much for this.
Easy to use