docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerRoleDTO

    PlayerRoleDTO

    Inheritance
    object
    PlayerRoleDTO
    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 PlayerRoleDTO

    Constructors

    PlayerRoleDTO(string, string, string, string, bool, bool, bool, bool, bool, EnvironmentDTO, List<ModeratorDTO>, DateTime, DateTime)

    Initializes a new instance of the PlayerRoleDTO class.

    Declaration
    [Preserve]
    public PlayerRoleDTO(string id = null, string environmentId = null, string projectId = null, string name = null, bool canApproveContent = false, bool canRejectContent = false, bool canViewContentRequiringModeration = false, bool canBanPlayer = false, bool canUnbanPlayer = false, EnvironmentDTO environment = null, List<ModeratorDTO> moderators = null, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    string id

    id (required).

    string environmentId

    environmentId (required).

    string projectId

    projectId (required).

    string name

    name (required).

    bool canApproveContent

    canApproveContent (required).

    bool canRejectContent

    canRejectContent (required).

    bool canViewContentRequiringModeration

    canViewContentRequiringModeration (required).

    bool canBanPlayer

    canBanPlayer (required).

    bool canUnbanPlayer

    canUnbanPlayer (required).

    EnvironmentDTO environment

    environment.

    List<ModeratorDTO> moderators

    moderators.

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    Properties

    CanApproveContent

    Gets or Sets CanApproveContent

    Declaration
    [Preserve]
    public bool CanApproveContent { get; set; }
    Property Value
    Type Description
    bool

    CanBanPlayer

    Gets or Sets CanBanPlayer

    Declaration
    [Preserve]
    public bool CanBanPlayer { get; set; }
    Property Value
    Type Description
    bool

    CanRejectContent

    Gets or Sets CanRejectContent

    Declaration
    [Preserve]
    public bool CanRejectContent { get; set; }
    Property Value
    Type Description
    bool

    CanUnbanPlayer

    Gets or Sets CanUnbanPlayer

    Declaration
    [Preserve]
    public bool CanUnbanPlayer { get; set; }
    Property Value
    Type Description
    bool

    CanViewContentRequiringModeration

    Gets or Sets CanViewContentRequiringModeration

    Declaration
    [Preserve]
    public bool CanViewContentRequiringModeration { get; set; }
    Property Value
    Type Description
    bool

    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

    Id

    Gets or Sets Id

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

    Moderators

    Gets or Sets Moderators

    Declaration
    [Preserve]
    public List<ModeratorDTO> Moderators { get; set; }
    Property Value
    Type Description
    List<ModeratorDTO>

    Name

    Gets or Sets Name

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

    ProjectId

    Gets or Sets ProjectId

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

    UpdatedAt

    Gets or Sets UpdatedAt

    Declaration
    [Preserve]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    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)