docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerAuthPlayerProjectResponse

    represents a player provided by an External Provider

    Inheritance
    object
    PlayerAuthPlayerProjectResponse
    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.PlayerAuthentication
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "player-auth.PlayerProjectResponse")]
    [Preserve]
    public class PlayerAuthPlayerProjectResponse

    Constructors

    PlayerAuthPlayerProjectResponse(bool, List<PlayerAuthExternalId>, string, string, string)

    Initializes a new instance of the PlayerAuthPlayerProjectResponse class.

    Declaration
    [Preserve]
    public PlayerAuthPlayerProjectResponse(bool disabled = false, List<PlayerAuthExternalId> externalIds = null, string id = null, string createdAt = null, string lastLoginAt = null)
    Parameters
    Type Name Description
    bool disabled

    Whether the player is enabled or disabled by admin..

    List<PlayerAuthExternalId> externalIds

    This is the response returned when get player is called..

    string id

    The player Id. The Id is unique within the Id domain..

    string createdAt

    When the player was created at. It is a unix timestamp..

    string lastLoginAt

    When the player last logged in. It is a unix timestamp..

    Properties

    CreatedAt

    When the player was created at. It is a unix timestamp.

    Declaration
    [DataMember(Name = "createdAt", EmitDefaultValue = false)]
    [Preserve]
    public string CreatedAt { get; set; }
    Property Value
    Type Description
    string

    When the player was created at. It is a unix timestamp.

    Disabled

    Whether the player is enabled or disabled by admin.

    Declaration
    [DataMember(Name = "disabled", EmitDefaultValue = true)]
    [Preserve]
    public bool Disabled { get; set; }
    Property Value
    Type Description
    bool

    Whether the player is enabled or disabled by admin.

    ExternalIds

    This is the response returned when get player is called.

    Declaration
    [DataMember(Name = "externalIds", EmitDefaultValue = false)]
    [Preserve]
    public List<PlayerAuthExternalId> ExternalIds { get; set; }
    Property Value
    Type Description
    List<PlayerAuthExternalId>

    This is the response returned when get player is called.

    Id

    The player Id. The Id is unique within the Id domain.

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    The player Id. The Id is unique within the Id domain.

    LastLoginAt

    When the player last logged in. It is a unix timestamp.

    Declaration
    [DataMember(Name = "lastLoginAt", EmitDefaultValue = false)]
    [Preserve]
    public string LastLoginAt { get; set; }
    Property Value
    Type Description
    string

    When the player last logged in. It is a unix timestamp.

    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)