Skip to main content

Promote a Party Leader

Last updated on

When there is some update from the party info data like promoting a new party leader, all party members including party leader will get a notification and get new information about the party.

FRegistry::Lobby.Connect();
FRegistry::Lobby.SetPartyDataUpdateNotifDelegate(AccelByte::Api::Lobby::FPartyDataUpdateNotif::CreateLambda([](const FAccelByteModelsPartyDataNotif& Result)
{
// Do something if PartyDataUpdateNotifDelegate has been successful
}));