Class MatchCreationParams
The parameters used when creating a player session
Namespace: Unity.PSN.PS5.Matches
Syntax
public class MatchCreationParams
Properties
ActivityId
Activity relating to a match
Declaration
public string ActivityId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Players
List of players participating in the match
Declaration
public List<MatchPlayerCreateParams> Players { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MatchPlayerCreateParams> |
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.
ServiceLabel
NP service label
Declaration
public int ServiceLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Teams
List of teams participating in the match If the match's groupingType is NON_TEAM_MATCH, this value cannot be specified.
Declaration
public List<MatchTeamCreateParams> Teams { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MatchTeamCreateParams> |
Remarks
Each teamId within the request must be unique.
ZoneId
ID of the zone where the match takes place
Declaration
public string ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |