Online Services
Crossplay Achievements in C++
Use unified achievements from C++
Crossplay Achievements in C++
#include "Progression/UCIKProgressionSubsystem.h"
UUCIKProgressionSubsystem* Progression = GetGameInstance()->GetSubsystem<UUCIKProgressionSubsystem>();
Progression->UnlockAchievement(TEXT("FIRST_WIN"),
FUCIKCallback<TMap<FBetideProviderId, bool>>::CreateWeakLambda(this,
[this](const TUCIKResult<TMap<FBetideProviderId, bool>>& Result)
{
HandleAchievementWrite(Result);
}));QueryAchievementDefinitions and QueryAchievements return TArray<FUCIK_Achievement>. IDs should match across selected providers when the game wants one logical achievement.
See Blueprint usage.
Use the unified subsystem first. Use a kit-specific achievement interface only for that platform's exact option set.