docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerResponse

    Represents the player data.

    Inheritance
    object
    PlayerResponse
    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.PlayerAuthentication
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class PlayerResponse

    Constructors

    PlayerResponse(bool, List<ExternalId>, string, string, string, UsernamePasswordResponse)

    Initializes a new instance of the PlayerResponse class.

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

    Whether the player is disabled by admin. (required).

    List<ExternalId> externalIds

    This is the response returned when get player is called. (required).

    string id

    The player Id. The Id is unique within the Id domain. (required).

    string createdAt

    When the player was created. It is a unix timestamp. (required).

    string lastLoginAt

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

    UsernamePasswordResponse usernamepassword

    usernamepassword.

    Properties

    CreatedAt

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

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

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

    Disabled

    Whether the player is disabled by admin.

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

    Whether the player is disabled by admin.

    ExternalIds

    This is the response returned when get player is called.

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

    This is the response returned when get player is called.

    Id

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

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

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

    Usernamepassword

    Gets or Sets Usernamepassword

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