Class Friends
A namespace to get information about users friends on Game Jolt.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GameJolt.Services
Assembly: GameJolt.dll
Syntax
public sealed class Friends : Service
Methods
| Improve this Doc View SourceFetch(Credentials, Action<Response<Int32[]>>)
Returns the list of a user's friends.
Declaration
public void Fetch(Credentials credentials, Action<Response<int[]>> callback)
Parameters
Type | Name | Description |
---|---|---|
Credentials | credentials | The user's credentials. |
System.Action<Response<System.Int32[]>> | callback | Action that is called on completion or error. |
FetchAsync(Credentials)
Returns the list of a user's friends.
Declaration
public Task<Response<int[]>> FetchAsync(Credentials credentials)
Parameters
Type | Name | Description |
---|---|---|
Credentials | credentials | The user's credentials. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Response<System.Int32[]>> |