PlayerSearchPrivateMatch searches for private matches.
(ctx context.Context, region string, playlistID PlaylistID)
| 73 | |
| 74 | // PlayerSearchPrivateMatch searches for private matches. |
| 75 | func (p *PsyNetRPC) PlayerSearchPrivateMatch(ctx context.Context, region string, playlistID PlaylistID) error { |
| 76 | request := PlayerSearchPrivateMatchRequest{ |
| 77 | Region: region, |
| 78 | PlaylistID: playlistID, |
| 79 | } |
| 80 | |
| 81 | var result interface{} |
| 82 | err := p.sendRequestSync(ctx, "Matchmaking/PlayerSearchPrivateMatch v1", request, &result) |
| 83 | if err != nil { |
| 84 | return err |
| 85 | } |
| 86 | return nil |
| 87 | } |
no test coverage detected