game-common / pragma.matchlifecycle / MatchEndPlugin / getMatchEndJobs /

getMatchEndJobs #

abstract suspend fun getMatchEndJobs(playerId: UUID, matchEnd: MatchEnd): List<DependentJob<GameDataRpc.MatchProcessedV3Notification.Builder>>

Prepare the list of type MatchEndDependentJob that will be executed for each player during match end.

To implement custom match end processing, see definition of MatchEndDependentJob.

Used by:

  • MatchLifecycleService.matchEndV4
  • MatchLifecycleService.playerLeaveV1

Parameters #

playerId

The player the match end is processing for.

matchEnd

The complete match end payload.