game / pragma.matchmaking /

Package pragma.matchmaking #

Types #

NameSummary

MatchmakingService

internal class MatchmakingService(pragmaNode: PragmaNode, instanceId: UUID, uuidProxy: UUIDProxy = UUIDProxy(), oldPartyQueues: OldPartyQueues = OldPartyQueues(), partyQueues: PartyQueues = PartyQueues(), sessionClient: SessionClient = SessionClient()) : DistributedService, ConfigHandler<MatchmakingConfig> , MatchRemover

The MatchmakingService is a game loop service responsible for matching players together using configurable queues. The service maintains a collection of all active matchmaking queues, which it constantly iterates through on a configurable timer (MatchmakingConfig.matchmakingDelayMillis) attempting to make a match using the matchmaking plugin.