docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerPolicy

    A player policy consists of an array of Policy statements that make up the Resource Policy for a player

    Inheritance
    object
    PlayerPolicy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.AccessPolicy
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "PlayerPolicy")]
    [Preserve]
    public class PlayerPolicy

    Constructors

    PlayerPolicy(string, List<PlayerStatement>)

    Initializes a new instance of the PlayerPolicy class.

    Declaration
    [Preserve]
    public PlayerPolicy(string playerId = null, List<PlayerStatement> statements = null)
    Parameters
    Type Name Description
    string playerId

    playerId (required).

    List<PlayerStatement> statements

    statements (required).

    Properties

    PlayerId

    Gets or Sets PlayerId

    Declaration
    [DataMember(Name = "playerId", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string PlayerId { get; set; }
    Property Value
    Type Description
    string

    Statements

    Gets or Sets Statements

    Declaration
    [DataMember(Name = "statements", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public List<PlayerStatement> Statements { get; set; }
    Property Value
    Type Description
    List<PlayerStatement>
    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)