Skip to main content

Matchmaking Notifications

Last updated on

Once the matchmaking is finished, the matchmaking service will send a notification to the players to inform them that they've been matched. To implement this feature, use the function below.

FRegistry::Lobby.Connect();
FRegistry::Lobby.SetMatchmakingNotifDelegate(AccelByte::Api::Lobby::MatchmakingNotif.CreateLambda([](const FAccelByteModelsMatchmakingNotice& Result)
{
// Result.Status can be Unknown, Start, Timeout, Cancel, Done, Unavailable
if (Result.Status == EAccelByteMatchmakingStatus::Unavailable)
{
// The Matchmaking is Unavailable
}
}));