Class MatchRequests.UpdateMatchDetailRequest
Update match details
Namespace: Unity.PSN.PS5.Matches
Syntax
public class UpdateMatchDetailRequest : Request
Properties
ExpirationTime
Grace period until a match is canceled
Declaration
public int ExpirationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Remarks
Starting when the status of the match becomes either Waiting or OnHold, If neither the Status nor ExpirationTime are updated by the period specified for ExpirationTime, the match is automatically canceled. Currently, matches are not automatically canceled. It is anticipated that the value of expirationTime will be used in the future.
GroupType
Whether the match is a team match
Declaration
public MatchGroupType GroupType { get; set; }
Property Value
| Type | Description |
|---|---|
| MatchGroupType |
MatchID
Match ID
Declaration
public string MatchID { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Players
List of players participating in the match
Declaration
public List<MatchPlayer> Players { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MatchPlayer> |
Results
Interim Match Results. Can only be set if CompetitionType is Competitive
Declaration
public MatchResults Results { get; set; }
Property Value
| Type | Description |
|---|---|
| MatchResults |
ResultType
Whether there are scores in the match results
Declaration
public MatchResultsType ResultType { get; set; }
Property Value
| Type | Description |
|---|---|
| MatchResultsType |
ServiceLabel
NP service label
Declaration
public int ServiceLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
SetFlags
The flags represent which parts of the data have been set
Declaration
public MatchRequests.UpdateMatchDetailRequest.ParamTypes SetFlags { get; set; }
Property Value
| Type | Description |
|---|---|
| MatchRequests.UpdateMatchDetailRequest.ParamTypes |
Stats
Additional stats of a match. All additional stats reported previously will be overwritten
Declaration
public MatchStats Stats { get; set; }
Property Value
| Type | Description |
|---|---|
| MatchStats |
Remarks
Only PlayerStats is specified if the match's CompetitionType is is Cooperative. Only PlayerStats is specified if the match's CompetitionType is is Competitive and GroupType is NonTeamMatch. Only TeamStats is specified if the match's CompetitionType is is Competitive and GroupType is NonTeamMatch.
Teams
List of teams participating in the match
Declaration
public List<MatchTeam> Teams { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MatchTeam> |
UserId
User ID
Declaration
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
ZoneId
ID of the zone where the match takes place
Declaration
public string ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
Run()
Declaration
protected override void Run()