game-common / pragma.gameinstance / GameInstanceMatchmakingPlugin / buildExtMatchmakingGameParty /

buildExtMatchmakingGameParty #

open suspend fun buildExtMatchmakingGameParty(gameInstance: GameInstance.GameInstance, party: GameInstance.GameParty): ExtMatchmakingGameParty

Called when a game instance is about to be sent to matchmaking. Use to declare any custom data about the game party that needs to be sent to the MatchmakingService for use in MatchmakingPlugin.matchPartiesWithGame.

Used by:

  • GameInstance.enterMatchmakingV1
  • GameInstance.createMatchV2 (if GameInstance is to continue matchmaking after being created)

Return #

A customer-defined ext declaring any custom matchmaking details for the game-party.

Parameters #

gameInstance

The game being sent to matchmaking.

party

The game-party being sent to matchmaking.