game-common / pragma.matchmaking /

Package pragma.matchmaking #

Types #



data class GameServerDetails(extCreateMatchRequest: ExtCreateMatchV1Request, gameServerZone: GameServerZone)

GameServerDetails represents the information required to start a game server.


interface MatchmakingPlugin

The MatchmakingPlugin is an extension point for defining all custom matchmaking logic within the engine. From here, the plugin author can manipulate every PotentialMatch as it enters matchmaking, as well as perform comparisons between two Matchables, checking to see if a complete match can be made.


data class MatchmakingQueueKey(extMatchmakingKey: ExtMatchmakingKey, gameServerVersion: GameServerVersion)

MatchmakingQueueKey represents the identifier for a specific queue that parties can join.


interface MatchmakingStrategy

The MatchmakingStrategy is responsible for handling all matchmaking logic. It contains functionality to validate party state upon entering matchmaking, and determines how parties are matched together into matches.


class WarmBodyMatchmakingPlugin(service: Service, contentDataNodeService: ContentDataNodeService, matchmakingHelper: MatchmakingHelper) : MatchmakingPlugin, ConfigurablePlugin<WarmBodyMatchmakingPlugin.Config>

An implementation of the MatchmakingPlugin interface that builds matches with any parties available based on the configurable Config.numberOfTeams and Config.playersPerTeam.