game-common / pragma.matchmaking / MatchmakingStrategy / validate /

validate #

abstract fun validate(matchmakingKey: ExtMatchmakingKey, matchmakingParty: MatchmakingParty)

The MatchmakingStrategy plugin is DEPRECATED in version 0.0.93. REMOVAL by 0.0.94. Use MatchmakingPlugin instead.

Validates that a PartyService-based party can be added to matchmaking. If validation fails, throw an ExtException.

Used by:

  • MatchmakingService.enterMatchmakingV2

Parameters #

matchmakingKey

The matchmaking key the party is entering.

matchmakingParty

The party-based party of players attempting to enter matchmaking.