IOnlineAchievements::GetCachedAchievements

Get all the achievement objects for the specified player

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineAchievementsInterface.h"

Syntax

EOnlineCachedResult::Type GetCachedAchievements
(
    const FUniqueNetId & PlayerId,
    TArray< FOnlineAchievement > & OutAchievements
)

Remarks

Get all the achievement objects for the specified player

Returns

Whether achievements were obtained

Parameters

Parameter

Description

PlayerId

The uid of the player we are reading achievements for

OutAchievements

The collection of achievements obtained from the server for the given player

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