Documentation ¶
Overview ¶
Package mmf provides a sample match function that uses the GRPC harness to set up the match making function as a service. This sample is a reference to demonstrate the usage of the GRPC harness and should only be used as a starting point for your match function. You will need to modify the matchmaking logic in this function based on your game's requirements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMatches ¶
func MakeMatches(params *mmfHarness.MatchFunctionParams) ([]*pb.Match, error)
MakeMatches is where your custom matchmaking logic lives. This is the core match making function that will be triggered by Open Match to generate matches. The goal of this function is to generate predictable matches that can be validated without flakyness. This match function loops through all the pools and generates one match per pool aggregating all players in that pool in the generated match.
Types ¶
This section is empty.