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

Users API methods More...

Static Public Member Functions

static void Get (string name, Action< User > callback)
 Get the User by name. More...
 
static void Get (int id, Action< User > callback)
 Get the User by ID. More...
 
static void Get (User user, Action< User > callback)
 Get the User information. More...
 
static void Get (int[] ids, Action< User[]> callback)
 Get the Users by ID. More...
 

Detailed Description

Users API methods

Member Function Documentation

◆ Get() [1/4]

static void GameJolt.API.Users.Get ( string  name,
Action< User callback 
)
inlinestatic

Get the User by name.

Parameters
nameThe User Name.
callbackA callback function accepting a single parameter, a User.

◆ Get() [2/4]

static void GameJolt.API.Users.Get ( int  id,
Action< User callback 
)
inlinestatic

Get the User by ID.

Parameters
idThe User ID.
callbackA callback function accepting a single parameter, a User.

◆ Get() [3/4]

static void GameJolt.API.Users.Get ( User  user,
Action< User callback 
)
inlinestatic

Get the User information.

Parameters
userA User with either Name or ID set.
callbackA callback function accepting a single parameter, a User.

◆ Get() [4/4]

static void GameJolt.API.Users.Get ( int []  ids,
Action< User[]>  callback 
)
inlinestatic

Get the Users by ID.

Parameters
idsAn array of Users IDs
callbackA callback function accepting a single parameter, an array of Users.

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