Click or drag to resize

IBuddyManager Interface

The IBuddyManager interface defines all the methods and properties exposed by the client-side manager of the SmartFoxServer Buddy List system.

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public interface IBuddyManager

The IBuddyManager type exposes the following members.

Properties
  NameDescription
Public propertyBuddyList
Returns a list of Buddy objects representing all the buddies in the user's buddies list.
Public propertyBuddyStates
Returns a list of strings representing the available custom buddy states.
Public propertyInited
Indicates whether the client's Buddy List system is initialized or not.
Public propertyMyNickName
Returns the current user's nickname (if set).
Public propertyMyOnlineState
Returns the current user's online/offline state.
Public propertyMyState
Returns the current user's custom state (if set).
Public propertyMyVariables
Returns all the Buddy Variables associated with the current user.
Public propertyOfflineBuddies
Returns a list of Buddy objects representing all the offline buddies in the user's buddies list.
Public propertyOnlineBuddies
Returns a list of Buddy objects representing all the online buddies in the user's buddies list.
Top
Methods
  NameDescription
Public methodContainsBuddy
Indicates whether a buddy exists in user's buddies list or not.
Public methodGetBuddyById
Retrieves a Buddy object from its id property.
Public methodGetBuddyByName
Retrieves a Buddy object from its name property.
Public methodGetBuddyByNickName
Retrieves a Buddy object from its nickName property (if set).
Public methodGetMyVariable
Retrieves a Buddy Variable from its name.
Top
Remarks
In the SmartFoxServer 2X client API this interface is implemented by the SFSBuddyManager class. Read the class description for additional informations.
See Also