docs.unity3d.com
    Show / Hide Table of Contents

    Class MatchRequests.JoinMatchRequest

    Make players join a match

    Inheritance
    Object
    Request
    MatchRequests.JoinMatchRequest
    Inherited Members
    Request.Result
    Request.HasUpdate()
    Request.Update()
    Namespace: Unity.PSN.PS5.Matches
    Syntax
    public class JoinMatchRequest : Request

    Properties

    MatchID

    Match ID

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

    Players

    List of players to make join

    Declaration
    public List<MatchRequests.JoinPlayer> Players { get; set; }
    Property Value
    Type Description
    List<MatchRequests.JoinPlayer>
    Remarks

    Each playerId in the request must be unique. If a player's PlayerType is PSNPlayer, an AccountId is required (its existence will be checked for). In all other cases, specifying an AccountId results in an error. More than one PlayerId can be linked to a single AccountId. If a TeamId is specified, the player will move to that team. If a TeamId that does not exist is specified, an error will occur. If the match's GroupType is NonTeamMatch, a TeamId cannot be specified. A player can only belong to a single team at once

    UserId

    User ID

    Declaration
    public int UserId { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    Run()

    Declaration
    protected override void Run()
    Overrides
    Request.Run()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 25 September 2020