Click or drag to resize

IBuddyManagerGetBuddyById Method

Retrieves a Buddy object from its id property.

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
Buddy GetBuddyById(
	int id
)

Parameters

id
Type: SystemInt32
The id of the buddy to be found.

Return Value

Type: Buddy
The object representing the buddy, or null if no buddy with the passed id exists in the buddies list.
See Also