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.
This class is used internally by the SmartFoxClient class; also, Buddy objects are returned by various methods and events of the SmartFoxServer API.
| C# | Visual Basic | Visual C++ |
public class Buddy
Public Class Buddy
public ref class Buddy
| All Members | Constructors | Methods | |||
| 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) | (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()()() | (Inherited from Object.) |
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
http://www.smartfoxserver.com
http://www.gotoandplay.it
| Object | |
| Buddy | |