I’ve added the call-back for the login status changed.
if (OnlineIdentityInterface.IsValid())
{
OnLoginCompleteDelegate = OnlineIdentityInterface->AddOnLoginCompleteDelegate_Handle(GetControllerId(), FOnLoginCompleteDelegate::CreateUObject(this, &UKLocalPlayer::OnLoginComplete));
OnLoginStatusChangedDelegate = OnlineIdentityInterface->AddOnLoginStatusChangedDelegate_Handle(GetControllerId(), FOnLoginStatusChangedDelegate::CreateUObject(this, &UKLocalPlayer::OnLoginStatusChanged));
OnLogoutCompleteDelegate = OnlineIdentityInterface->AddOnLogoutCompleteDelegate_Handle(GetControllerId(), FOnLogoutCompleteDelegate::CreateUObject(this, &UKLocalPlayer::OnLogoutComplete));
}
I don’t know why the event is never triggered.
When logged in the function UKLocalPlayer::OnLoginStatusChanged() is never called.
I cannot found where the event is broadcasted.
D.