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 #


The player the match end is processing for.


The complete match end payload.