about Buddy System

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

prince_hao
Posts: 71
Joined: 30 Oct 2010, 04:35

about Buddy System

Postby prince_hao » 12 Nov 2010, 06:53

I want to know if there is more direct method acquires on-line good friend, now I need foreach the buddyList Whether the judgment of a per is on-line, do you have more simple method?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 12 Nov 2010, 16:17

Hi,
the question is not very clear to me, can you explain it maybe with a snippet of code that clarifies the problem?
Lapo
--
gotoAndPlay()
...addicted to flash games
prince_hao
Posts: 71
Joined: 30 Oct 2010, 04:35

Postby prince_hao » 14 Nov 2010, 02:46

if(buddy.isOnline()){
trace(buddy.getName());
}
The code of top, Some buddy didn't Register, but could still print the buddyName,why?????

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 122 guests