How do I get a list of all the online zone users, I can see in the avatar chat when users connect it says 1,2,3 etc of 150 but can't figure out how it's getting that count.
Thx
zone users
Re: zone users
Hi,
from client side it is not possible, at least not from the default API.
The main reason is that a Zone may contain tens of thousands of Users and sending the full list would be too much data.
On the server side you can access the list of users via the Zone object.
For example:
Cheers
from client side it is not possible, at least not from the default API.
The main reason is that a Zone may contain tens of thousands of Users and sending the full list would be too much data.
On the server side you can access the list of users via the Zone object.
For example:
Code: Select all
Collection<User> userList = getParentZone().getUserList()
Cheers
Return to “SFS2X ActionScript 3 API”
Who is online
Users browsing this forum: No registered users and 37 guests