Loading...
Searching...
No Matches
AccelByte.Api.GameProfiles Class Reference
Inheritance diagram for AccelByte.Api.GameProfiles:

Public Member Functions

void BatchGetGameProfiles (ICollection< string > userIds, ResultCallback< UserGameProfiles[]> callback)
 Get all profiles of specified users.
void GetAllGameProfiles (ResultCallback< GameProfile[]> callback)
 Get all profiles of current user.
void CreateGameProfile (GameProfileRequest gameProfile, ResultCallback< GameProfile > callback)
 Create new profile for current user.
void GetGameProfile (string profileId, ResultCallback< GameProfile > callback)
 Get a profile of current user by the profile id.
void UpdateGameProfile (GameProfile gameProfile, ResultCallback< GameProfile > callback)
 Update current user's game profile.
void UpdateGameProfile (string profileId, GameProfileRequest gameProfile, ResultCallback< GameProfile > callback)
 Update current user's game profile identified by the game profile id.
void DeleteGameProfile (string profileId, ResultCallback callback)
 Delete current user's game profile identified by the game profile id.
void GetGameProfileAttribute (string profileId, string attributeName, ResultCallback< GameProfileAttribute > callback)
 Get attribute of specified current user's game profile identified by the attribute name.
void UpdateGameProfileAttribute (string profileId, GameProfileAttribute attribute, ResultCallback< GameProfile > callback)
 Update an attribute of current user's game profile.

Additional Inherited Members

Properties inherited from AccelByte.Core.WrapperBase
Utils.AccelByteIdValidator IdValidator [get]

Member Function Documentation

◆ BatchGetGameProfiles()

void AccelByte.Api.GameProfiles.BatchGetGameProfiles ( ICollection< string > userIds,
ResultCallback< UserGameProfiles[]> callback )
inline

Get all profiles of specified users.

Parameters
userIdsId of some users to get
callbackReturns all profiles for specified users via callback when completed.

◆ CreateGameProfile()

void AccelByte.Api.GameProfiles.CreateGameProfile ( GameProfileRequest gameProfile,
ResultCallback< GameProfile > callback )
inline

Create new profile for current user.

Parameters
gameProfileThe game profile that about to create
callbackReturns the created game profile via callback when completed.

◆ DeleteGameProfile()

void AccelByte.Api.GameProfiles.DeleteGameProfile ( string profileId,
ResultCallback callback )
inline

Delete current user's game profile identified by the game profile id.

Parameters
profileIdThe id of game profile that about to delete
callbackReturns boolean status via callback when completed.

◆ GetAllGameProfiles()

void AccelByte.Api.GameProfiles.GetAllGameProfiles ( ResultCallback< GameProfile[]> callback)
inline

Get all profiles of current user.

Parameters
callbackReturns all profiles of current user via callback when completed.

◆ GetGameProfile()

void AccelByte.Api.GameProfiles.GetGameProfile ( string profileId,
ResultCallback< GameProfile > callback )
inline

Get a profile of current user by the profile id.

Parameters
profileIdthe id of profile that about to get
callbackReturns a profile of current user via callback when completed.

◆ GetGameProfileAttribute()

void AccelByte.Api.GameProfiles.GetGameProfileAttribute ( string profileId,
string attributeName,
ResultCallback< GameProfileAttribute > callback )
inline

Get attribute of specified current user's game profile identified by the attribute name.

Parameters
profileIdThe game profile that about to get
attributeNameThe attribute name that about to get
callbackReturns an attribute via callback when completed.

◆ UpdateGameProfile() [1/2]

void AccelByte.Api.GameProfiles.UpdateGameProfile ( GameProfile gameProfile,
ResultCallback< GameProfile > callback )
inline

Update current user's game profile.

Parameters
gameProfileThe game profile that about to update
callbackReturns updated game profile via callback when completed.

◆ UpdateGameProfile() [2/2]

void AccelByte.Api.GameProfiles.UpdateGameProfile ( string profileId,
GameProfileRequest gameProfile,
ResultCallback< GameProfile > callback )
inline

Update current user's game profile identified by the game profile id.

Parameters
profileIdThe id of game profile that about to update
gameProfileThe game profile that about to update
callbackReturns updated game profile via callback when completed.

◆ UpdateGameProfileAttribute()

void AccelByte.Api.GameProfiles.UpdateGameProfileAttribute ( string profileId,
GameProfileAttribute attribute,
ResultCallback< GameProfile > callback )
inline

Update an attribute of current user's game profile.

Parameters
profileIdThe id of game profile that about to update
attributeThe attribute of game profile that about to update
callbackReturns updated game profile via callback when completed.