In my extension code I have this:
Code: Select all
var users = _server.getRoom(fromRoom).getUserList();
_server.sendResponse(res, -1, user, users, "str");Fair enough. So I tried this:
Code: Select all
var curZone = _server.getCurrentZone();
var curRoom = curZone.getRoom(fromRoom);
var users = curRoom.getUserList();
_server.sendResponse(res, -1, user, users, "str");Have no idea what that means, since I don't ever try to call "getChannel". Where can I find documentation on server-side API? The client side AS3 API is documented, but I can't find the server side code. What is the best way to send a response to all users in a room?