SmartFoxServer Silverlight API
Buddy Class
Namespaces ► SmartFoxClientAPI.Data ► Buddy
Buddy is the class representing a players buddy.
This class is used internally by the SmartFoxClient class; also, Buddy objects are returned by various methods and events of the SmartFoxServer API.
Declaration Syntax

C# | Visual Basic | Visual C++

    public class Buddy

    Public Class Buddy

    public ref class Buddy

Members

All Members | Constructors | Methods
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| Buddy(Int32, String, Boolean, Boolean) | Initializes a new instance of the Buddy class
| Buddy(Int32, String, Boolean, Boolean, Dictionary<(Of <(String, Object>)>)) | Buddy constructor.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.)
| GetId()()() | Get the id of the buddy.
| GetName()()() | Get the name of the buddy.
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.)
| GetVariable(String) | Get the buddy variables.
| GetVariables()()() | Get the buddy variables.
| IsBlocked()()() | A boolean flag indicating if the user is blocked
| IsOnline()()() | A boolean flag indicating if the user is online
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.)
| SetBlocked(Boolean) | Sets blocked status for buddy
| SetVariable(String, Object) | Adds or changes a given buddy variable
| SetVariables(Dictionary<(Of <(String, Object>)>)) | Overrides the buddy variables with a complete new set of variables
| ToString()()() | Returns a String that represents the current Object. (Inherited from Object.)

Remarks

NOTE:
in the provided examples, buddy always indicates a Buddy instance.

Version:
1.0.0

Author:
Thomas Hentschel Lund
http://www.fullcontrol.dk
sfs-api@fullcontrol.dk

(c) 2008-2009 gotoAndPlay()
http://www.smartfoxserver.com
http://www.gotoandplay.it
Inheritance Hierarchy

Object
| Buddy

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)