getBuddyRoom()

Availability:

SmartFoxServer Basic / Pro

Usage:

smartFox.getBuddyRoom(buddyId <integer>)

Description:

Ask the server in which room(s) the buddy is currently located in.

Parameters:

buddyid   the buddy id

NOTE: A buddy is obtained by extracting it from the smartFox.getBuddyList()

Fires the onBuddyRoom event

Returns:

Nothing.

Example:

smartFox.getBuddyRoom(1)

See also: