LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
Reports

Detailed Description

Submit player-generated moderation reports to LootLocker.

Function Documentation

◆ CreateAssetReport()

static void LootLocker.Requests.LootLockerSDKManager.CreateAssetReport ( ReportsCreateAssetRequest  input,
Action< LootLockerReportsCreateAssetResponse >  onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Create a report of an asset.

Parameters
inputThe report to upload
onCompleteonComplete Action for handling the response of type LootLockerReportsCreateAssetResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ CreatePlayerReport()

static void LootLocker.Requests.LootLockerSDKManager.CreatePlayerReport ( ReportsCreatePlayerRequest  input,
Action< LootLockerReportsCreatePlayerResponse >  onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Create a report of a player.

Parameters
inputThe report to upload
onCompleteonComplete Action for handling the response of type LootLockerReportsCreatePlayerResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetRemovedUGCForPlayer()

static void LootLocker.Requests.LootLockerSDKManager.GetRemovedUGCForPlayer ( GetRemovedUGCForPlayerInput  input,
Action< LootLockerReportsGetRemovedAssetsResponse >  onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Get removed UGC for the current player.

If any of their UGC has been removed as a result of reports they will be returned in this method.

Parameters
inputThe report to upload
onCompleteonComplete Action for handling the response of type LootLockerReportsGetRemovedAssetsResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ GetReportTypes()

static void LootLocker.Requests.LootLockerSDKManager.GetReportTypes ( Action< LootLockerReportsGetTypesResponse >  onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Retrieves the different types of report possible.

These can be changed in the web interface or through the Admin API.

Parameters
onCompleteonComplete Action for handling the response of type LootLockerReportsGetTypesResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

Functions

static void LootLocker.Requests.LootLockerSDKManager.GetReportTypes (Action< LootLockerReportsGetTypesResponse > onComplete, string forPlayerWithUlid=null)
 Retrieves the different types of report possible.
 
static void LootLocker.Requests.LootLockerSDKManager.CreatePlayerReport (ReportsCreatePlayerRequest input, Action< LootLockerReportsCreatePlayerResponse > onComplete, string forPlayerWithUlid=null)
 Create a report of a player.
 
static void LootLocker.Requests.LootLockerSDKManager.CreateAssetReport (ReportsCreateAssetRequest input, Action< LootLockerReportsCreateAssetResponse > onComplete, string forPlayerWithUlid=null)
 Create a report of an asset.
 
static void LootLocker.Requests.LootLockerSDKManager.GetRemovedUGCForPlayer (GetRemovedUGCForPlayerInput input, Action< LootLockerReportsGetRemovedAssetsResponse > onComplete, string forPlayerWithUlid=null)
 Get removed UGC for the current player.