IOnlineAchievements::GetCachedAchievement

Get an achievement object which was previously synced from the server

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineAchievementsInterface.h

Include

#include "Interfaces/OnlineAchievementsInterface.h"

Syntax

EOnlineCachedResult::Type GetCachedAchievement
(
    const FUniqueNetId & PlayerId,
    const FString & AchievementId,
    FOnlineAchievement & OutAchievement
)

Remarks

Get an achievement object which was previously synced from the server

Returns

Whether achievements were obtained

Parameters

Parameter

Description

PlayerId

The uid of the player we are reading achievements for

AchievementId

The id of the achievement we are looking up

OutAchievement

The achievement object we are searching for

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss