How to check Lobby connection status

In the document, Configure the Lobby with the SDK | AccelByte Documentation, it says I can use,

FRegistry::Lobby.SetConnectSuccessDelegate(AccelByte::Api::Lobby::ConnectSuccess.CreateLambda(
{
// Do something If ConnectSuccessDelegate has been successful
}));
to continue after connecting to the Lobby.

However, ConnectSuccess is private property in the Lobby class, and I cannot use it in the same way. Also, ConnectError and ConnectionClose too.

What is the recommended way to check the

Hello Chong,

Could you please provide a code example of where and how are you using (or want to use) ConnectSuccess ?

Hi Ivan,
Yes, I want to use this to do something (such as UI change) when the Lobby connection is successfully done.