Skip to main content

Ready Consent Notifications

Last updated on

Once a player confirms they are ready to play, the other players in the party will receive a ready to play notification. The pass data of the user id who ready the match will be retrieved by the player when the notification arrives.

FRegistry::Lobby.Connect();
FRegistry::Lobby.SetReadyConsentNotifDelegate(AccelByte::Api::Lobby::ReadyConsentNotif.CreateLambda([](const FAccelByteModelsReadyConsentNotice& Result)
{
// Do something if ReadyConsentNotifDelegate has been successful
}));