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

buildExtMatchmakingGameInstance #

open suspend fun buildExtMatchmakingGameInstance(gameInstance: GameInstance.GameInstance): ExtMatchmakingGameInstance

Called when a game instance is about to be sent to matchmaking. Use to declare any custom data about the game instance 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 instance.

Parameters #

gameInstance

The game being sent to matchmaking.