docs.unity3d.com
    Show / Hide Table of Contents

    Class MatchPlayer

    Details of a player in a match

    Inheritance
    Object
    MatchPlayer
    Namespace: Unity.PSN.PS5.Matches
    Syntax
    public class MatchPlayer

    Properties

    AccountId

    Account ID of the player

    Declaration
    public ulong AccountId { get; set; }
    Property Value
    Type Description
    UInt64

    Joined

    Whether the player is currently participating in a match

    Declaration
    public bool Joined { get; set; }
    Property Value
    Type Description
    Boolean

    OnlineId

    Online ID of the player

    Declaration
    public string OnlineId { get; set; }
    Property Value
    Type Description
    String
    Remarks

    If the account does not exist because it has already been deleted, all players' online IDs will be fixed as "_anonymous_user".

    PlayerId

    Application-defined player ID

    Declaration
    public string PlayerId { get; set; }
    Property Value
    Type Description
    String

    PlayerName

    Application-defined name of player

    Declaration
    public string PlayerName { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Used when displaying match results on the platform. If nothing is specified, the default name will be displayed by the system software.

    PlayerType

    The type of player

    Declaration
    public PlayerType PlayerType { get; set; }
    Property Value
    Type Description
    PlayerType
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 25 September 2020