Game Jolt Unity API  v2.5.8
Static Public Member Functions | List of all members
GameJolt.API.Friends Class Reference

Friends API methods. More...

Static Public Member Functions

static void GetIds (Action< int[]> callback)
 Returns the list of a user's friends. More...
 
static void Get (Action< User[]> callback)
 Returns the list of a user's friends. More...
 

Detailed Description

Friends API methods.

Member Function Documentation

◆ Get()

static void GameJolt.API.Friends.Get ( Action< User[]>  callback)
inlinestatic

Returns the list of a user's friends.

Parameters
callbackA callback function accepting a single parameter, an array of users. In case of an error, the array is null.

◆ GetIds()

static void GameJolt.API.Friends.GetIds ( Action< int[]>  callback)
inlinestatic

Returns the list of a user's friends.

Parameters
callbackA callback function accepting a single parameter, an array of user ids. In case of an error, the array is null.

The documentation for this class was generated from the following file: