docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BannedPlayerDTO

    BannedPlayerDTO

    Inheritance
    object
    BannedPlayerDTO
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.UGC
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class BannedPlayerDTO

    Constructors

    BannedPlayerDTO(string, string, string, string, EnvironmentDTO, ModeratorDTO, string, DateTime, PlayerStatisticsDTO, string)

    Initializes a new instance of the BannedPlayerDTO class.

    Declaration
    [Preserve]
    public BannedPlayerDTO(string playerId = null, string environmentId = null, string projectId = null, string moderatorPlayerId = null, EnvironmentDTO environment = null, ModeratorDTO moderator = null, string reason = null, DateTime createdAt = default, PlayerStatisticsDTO playerStatistics = null, string webhookEventName = null)
    Parameters
    Type Name Description
    string playerId

    playerId (required).

    string environmentId

    environmentId (required).

    string projectId

    projectId (required).

    string moderatorPlayerId

    moderatorPlayerId (required).

    EnvironmentDTO environment

    environment.

    ModeratorDTO moderator

    moderator.

    string reason

    reason (required).

    DateTime createdAt

    createdAt (required).

    PlayerStatisticsDTO playerStatistics

    playerStatistics.

    string webhookEventName

    webhookEventName.

    Properties

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [Preserve]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    Environment

    Gets or Sets Environment

    Declaration
    [Preserve]
    public EnvironmentDTO Environment { get; set; }
    Property Value
    Type Description
    EnvironmentDTO

    EnvironmentId

    Gets or Sets EnvironmentId

    Declaration
    [Preserve]
    public string EnvironmentId { get; set; }
    Property Value
    Type Description
    string

    Moderator

    Gets or Sets Moderator

    Declaration
    [Preserve]
    public ModeratorDTO Moderator { get; set; }
    Property Value
    Type Description
    ModeratorDTO

    ModeratorPlayerId

    Gets or Sets ModeratorPlayerId

    Declaration
    [Preserve]
    public string ModeratorPlayerId { get; set; }
    Property Value
    Type Description
    string

    PlayerId

    Gets or Sets PlayerId

    Declaration
    [Preserve]
    public string PlayerId { get; set; }
    Property Value
    Type Description
    string

    PlayerStatistics

    Gets or Sets PlayerStatistics

    Declaration
    [Preserve]
    public PlayerStatisticsDTO PlayerStatistics { get; set; }
    Property Value
    Type Description
    PlayerStatisticsDTO

    ProjectId

    Gets or Sets ProjectId

    Declaration
    [Preserve]
    public string ProjectId { get; set; }
    Property Value
    Type Description
    string

    Reason

    Gets or Sets Reason

    Declaration
    [Preserve]
    public string Reason { get; set; }
    Property Value
    Type Description
    string

    WebhookEventName

    Gets or Sets WebhookEventName

    Declaration
    [Preserve]
    public string WebhookEventName { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 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)