API Upgrades
Upgrading To Version 2.3.0
Blueprints
Renamed
OnCleanupSessionevent toOnCleanupForDisconnectCompleteinKronosOnlineSession.Renamed
GetInitialReplicationPropsfunction toHasInitialReplicationFinishedinKronosPartyClient.
C++
Same as blueprint changes above.
Upgrading To Version 2.0.0
Blueprints
KronosIdentitynode no longer exists. Please useGetKronosUserManagerinstead.KronosFriendsnode no longer exists. Please useGetKronosUserManagerinstead.KronosMatchmakingnode no longer exists. Please useGetKronosMatchmakingManagerinstead.KronosPartynode no longer exists. Please useGetKronosPartyManagerinstead.As a result of replacing these nodes, you will need to re-assign events that were bound to these objects. For example if you had an event bound to KronosParty -> OnConnectedToParty, you'll need to change it to GetKronosPartyManager -> OnConnectedToParty.
GetKronosOnlineSessionfunction no longer exists inKronosStatics. A global accessor has been added to the class itself instead. The new node has the same name as before.LoginUserasync node no longer exists. Login is now handled as part of user authentication. You can start user authentication manually via theAuthenticateUserfunction inKronosUserManager.LogoutUserasync node no longer exists. Logout can be requested via theLogoutUserfunction inKronosUserManager.
C++
Subsystems have been replaced by online managers:
// Previous API:
GameInstance->GetSubsystem<UKronosIdentitySubsystem>();
GameInstance->GetSubsystem<UKronosFriendsSubsystem>();
GameInstance->GetSubsystem<UKronosMatchmakingSubsystem>();
GameInstance->GetSubsystem<UKronosPartySubsystem>();
// New API:
UKronosUserManager::Get(this); // identity + friends
UKronosMatchmakingManager::Get(this);
UKronosPartyManager::Get(this);Removed GetKronosOnlineSession from KronosStatics:
// Previous API:
UKronosStatics::GetKronosOnlineSession();
// New API:
UKronosOnlineSession::Get(this);Delegates are now only accessible through dedicated accessor functions. Please note that some delegate names have been slightly rephrased for better naming consistency. Here are some of the changes (not a comprehensive list):
// Previous API:
MatchmakingSubsystem->OnStartMatchmakingComplete.AddDynamic(...);
MatchmakingSubsystem->OnMatchmakingComplete.AddDynamic(...);
PartySubsystem->OnPlayerJoinedParty.AddDynamic(...);
PartySubsystem->OnPlayerLeftParty.AddDynamic(...);
KronosNameplateComponent->OnKronosNameplateCreated().AddDynamic(...);
// New API:
MatchmakingManager->OnMatchmakingStarted().AddDynamic(...); // renamed slightly
MatchmakingManager->OnMatchmakingComplete().AddDynamic(...);
PartyManager->OnPlayerJoinedParty().AddDynamic(...);
PartyManager->OnPlayerLeftParty().AddDynamic(...);
KronosNameplateComponent->OnNameplateCreated().AddDynamic(...); // renamed slightlyChanged include path of KronosNameplateComponent:
// Previous API:
#include "Lobby/KronosNameplateComponent.h"
// New API:
#include "Components/KronosNameplateComponent.h"Renamed GetPlayerNickname function in old KronosIdentitySubsystem:
// Previous API
IdentitySubsystem->GetPlayerNickname();
// New API:
UserManager->GetUserNickname();Last updated