Retrieves a Buddy object from its id property.

Namespace: Sfs2X.Entities.Managers
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public Buddy GetBuddyById(
	int id
)

Parameters

id
Type: System..::..Int32
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.

Implements

IBuddyManager..::..GetBuddyById(Int32)

See Also