Class ReportReason
ReportReason is the category of the report.
Inherited Members
Namespace: Unity.Services.Moderation.Models
Assembly: Unity.Services.Moderation.dll
Syntax
public class ReportReason
Constructors
ReportReason(string)
Creates the reason and validates it. throws a ModerationServiceException if it's not a valid one.
Declaration
public ReportReason(string reason)
Parameters
Type | Name | Description |
---|---|---|
string | reason | The provided Moderation player report reason |
Exceptions
Type | Condition |
---|---|
Moderation |
Exception raised if the provided reason is invalid |
Fields
Ads
Advertising unrelated content.
Declaration
public const string Ads = "ads"
Field Value
Type | Description |
---|---|
string |
AimSnapping
Using cheats for automatic aiming.
Declaration
public const string AimSnapping = "aim snapping"
Field Value
Type | Description |
---|---|
string |
Boosting
Another player is artificially increasing their rank, level, or in-game stats in an unethical way or that is against the game's ToS..
Declaration
public const string Boosting = "boosting"
Field Value
Type | Description |
---|---|
string |
CollusionWithOpponent
Coordinating with opponents to gain advantage.
Declaration
public const string CollusionWithOpponent = "collusion with opponent"
Field Value
Type | Description |
---|---|
string |
Exploiting
Abusing game bug(s) for their advantage.
Declaration
public const string Exploiting = "exploiting"
Field Value
Type | Description |
---|---|
string |
Hacking
Using a cheat engine or equivalent to modify the game.
Declaration
public const string Hacking = "hacking"
Field Value
Type | Description |
---|---|
string |
HateSpeech
Using offensive language targeting specific group(s).
Declaration
public const string HateSpeech = "hate speech"
Field Value
Type | Description |
---|---|
string |
Inactive
Staying inactive during an active game session.
Declaration
public const string Inactive = "inactive"
Field Value
Type | Description |
---|---|
string |
InappropriatePlayerName
Using an inappropriate or offensive in-game name.
Declaration
public const string InappropriatePlayerName = "player name"
Field Value
Type | Description |
---|---|
string |
LeftMatch
Leaving match before completion.
Declaration
public const string LeftMatch = "left the match"
Field Value
Type | Description |
---|---|
string |
NoiseDisruption
Creating disruptive noise in voice chat.
Declaration
public const string NoiseDisruption = "noise disruption"
Field Value
Type | Description |
---|---|
string |
PossibleReasons
PossibleReasons return an array of all the available reasons for ease of use or display.
Declaration
public static readonly string[] PossibleReasons
Field Value
Type | Description |
---|---|
string[] |
PredatoryBehavior
Engaging in inappropriate or harmful behavior against minor(s).
Declaration
public const string PredatoryBehavior = "predatory behavior"
Field Value
Type | Description |
---|---|
string |
Sabotage
Deliberately undermining their own team.
Declaration
public const string Sabotage = "sabotage"
Field Value
Type | Description |
---|---|
string |
Scamming
Attempting to fraudulently obtain items or information.
Declaration
public const string Scamming = "scamming"
Field Value
Type | Description |
---|---|
string |
Smurfing
A high skill player is playing a low skill account.
Declaration
public const string Smurfing = "smurfing"
Field Value
Type | Description |
---|---|
string |
Spamming
Sending an excessive number of messages.
Declaration
public const string Spamming = "spamming"
Field Value
Type | Description |
---|---|
string |
Threat
Using threatening language against another player(s).
Declaration
public const string Threat = "threat"
Field Value
Type | Description |
---|---|
string |
UnrealisticMovement
Abnormal in-game character movements.
Declaration
public const string UnrealisticMovement = "unrealistic movement"
Field Value
Type | Description |
---|---|
string |
VerbalAbuse
Insulting or harassing other player(s).
Declaration
public const string VerbalAbuse = "verbal abuse"
Field Value
Type | Description |
---|---|
string |
Properties
reason
the reason sent in the report.
Declaration
public string reason { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
IsValid()
calls Is
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
bool | True if the reason is a valid one, otherwise false |
IsValid(string)
IsValid verifies that a given reason part of the reasons accepted by the moderation service.
Declaration
public bool IsValid(string reason)
Parameters
Type | Name | Description |
---|---|---|
string | reason | The provided Moderation player report reason |
Returns
Type | Description |
---|---|
bool | True if the reason is a valid one, otherwise false |
ToString()
gets the reason of the report as a string.
Declaration
public string ToString()