Class MatchPlayerCreateParams
Parameters for creating a match.
Namespace: Unity.PSN.PS5.Matches
Syntax
public class MatchPlayerCreateParams
Constructors
MatchPlayerCreateParams(String)
MatchPlayer Constructor. Must provide a unique player id
Declaration
public MatchPlayerCreateParams(string playerId)
Parameters
| Type | Name | Description |
|---|---|---|
| String | playerId | Unique player id |
Properties
AccountId
Account ID of the player
Declaration
public ulong AccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| UInt64 |
PlayerId
Application-defined player ID
Declaration
public string PlayerId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
PlayerName
Application-defined name of player. Used when displaying match results on the platform. If nothing is specified, the default name will be displayed by the system software.
Declaration
public string PlayerName { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
PlayerType
The type of player
Declaration
public PlayerType PlayerType { get; set; }
Property Value
| Type | Description |
|---|---|
| PlayerType |