game-common / pragma.matchlifecycle / MatchFoundPlugin / buildExtConnectionDetails /

buildExtConnectionDetails #

abstract suspend fun buildExtConnectionDetails(matchDetails: ExtMatchDetails, playerMatchDetails: ExtPlayerMatchDetails): ExtMatchConnectionDetailsNotification

Called when preparing the match connection details for a player joining a match. Use to create a customized ExtMatchConnectionDetailsNotification for the player that will be sent to them in a MatchLifecycleRpc.MatchReadyV1Notification.

Used by:

  • MatchLifecycle.matchReadyV2

Return #

A customer-defined ext declaring any custom match connection details.

Parameters #

matchDetails

A customer-defined ext declaring any custom match details.

playerMatchDetails

A customer-defined ext declaring any player-specific custom match details.