MCPcopy Create free account
hub / github.com/dank/rlapi / PlayerSearchPrivateMatch

Method PlayerSearchPrivateMatch

matchmaking.go:75–87  ·  view source on GitHub ↗

PlayerSearchPrivateMatch searches for private matches.

(ctx context.Context, region string, playlistID PlaylistID)

Source from the content-addressed store, hash-verified

73
74// PlayerSearchPrivateMatch searches for private matches.
75func (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}

Callers 1

allMatchmakingFunction · 0.80

Calls 1

sendRequestSyncMethod · 0.95

Tested by

no test coverage detected