docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Report

    Report represent a report targeting another player.

    Inheritance
    object
    Report
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Moderation.Models
    Assembly: Unity.Services.Moderation.dll
    Syntax
    public class Report

    Properties

    PlayerID

    PlayerID is the id of the player reported by the player. The case will be made against this player ID and a moderator will be able to administer a sanction against this player ID if the player is convicted.

    Declaration
    public string PlayerID { get; set; }
    Property Value
    Type Description
    string

    Players

    List of additional players to add to a player report. These are players that may be involved in the incident. Their participation is included in evidence collection, particularly, voice evidence.

    Declaration
    public List<PlayerContext> Players { get; set; }
    Property Value
    Type Description
    List<PlayerContext>

    Reason

    Reason is the category of the report, it must be one of the reasons available in the ReportReason class.

    Declaration
    public ReportReason Reason { get; set; }
    Property Value
    Type Description
    ReportReason

    Timestamp

    Timestamp represents the time at which this report has been initiated, it contains the reporting player timezone.

    Declaration
    public DateTime Timestamp { get; set; }
    Property Value
    Type Description
    DateTime

    VivoxChannels

    List of channels where both the logged-in player and the reported player were part of Necessary if using Vivox to retrieve events, text and audio files This is automatically populated if the Vivox Unity SDK (>= v16) is installed VivoxChannel

    Declaration
    public List<VivoxChannel> VivoxChannels { get; set; }
    Property Value
    Type Description
    List<VivoxChannel>

    VivoxPlayerId

    The Vivox URI of the currently logged-in player Necessary if using Vivox to retrieve events, text and audio files. This is automatically populated if the Vivox Unity SDK (>= v16) is installed

    Declaration
    public string VivoxPlayerId { get; set; }
    Property Value
    Type Description
    string

    VivoxReportedPlayerId

    The Vivox URI of the reported player Necessary if using Vivox to retrieve events, text and audio files. This is automatically populated if the Vivox Unity SDK (>= v16) is installed

    Declaration
    public string VivoxReportedPlayerId { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)