Class MatchRequests.LeaveMatchRequest
Make a player leave a match
Namespace: Unity.PSN.PS5.Matches
Syntax
public class LeaveMatchRequest : Request
Properties
MatchID
Match ID
Declaration
public string MatchID { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Players
List of players to make leave the match
Declaration
public List<MatchRequests.LeavePlayer> Players { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MatchRequests.LeavePlayer> |
Remarks
You can make up to 100 players leave a match at once
UserId
User ID
Declaration
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
Run()
Declaration
protected override void Run()