Interface IModerationService
Defines all public Moderation Service functionality
Inherited Members
Namespace: Unity.Services.Moderation
Assembly: Unity.Services.Moderation.dll
Syntax
public interface IModerationService : IDisposable
Methods
NewReport(string, ReportReason)
Create an instance of a Report the returned report will includes all the parameters to be sent to the moderation service
Declaration
Report NewReport(string playerID, ReportReason reason)
Parameters
Type | Name | Description |
---|---|---|
string | playerID | the UAS Player ID of the player to report |
ReportReason | reason | the reason of the reportReportReason |
Returns
Type | Description |
---|---|
Report | an instance of Report |
ReportPlayer(Report)
Send the Report to the moderation service
Declaration
Task ReportPlayer(Report report)
Parameters
Type | Name | Description |
---|---|---|
Report | report | the report object defining the report contextReport |
Returns
Type | Description |
---|---|
Task | a Task for the result of the player report call |