Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineAchievementsInterface.h |
| Include | #include "Interfaces/OnlineAchievementsInterface.h" |
Syntax
class IOnlineAchievements
Remarks
IOnlineAchievements - Interface class for achievements
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnAchievementUnlocked | OnAchievementUnlockedDelegates | Delegate fired when an achievement on the server was unlocked |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddOnAchievementUnlockedDelegate_Handle
(
const FOnAchievementUnlockedDelegate& Delegate |
||
| void | |||
| void | ClearOnAchievementUnlockedDelegates
(
void* Object |
||
| EOnlineCachedResult::Type | GetCachedAchievement
(
const FUniqueNetId& PlayerId, |
Get an achievement object which was previously synced from the server | |
| EOnlineCachedResult::Type | GetCachedAchievementDescription
(
const FString& AchievementId, |
Get all the achievement description object for the specified achievement id | |
| EOnlineCachedResult::Type | GetCachedAchievements
(
const FUniqueNetId& PlayerId, |
Get all the achievement objects for the specified player | |
| void | QueryAchievementDescriptions
(
const FUniqueNetId& PlayerId, |
Read achievement descriptions from the server for displaying achievements in game | |
| void | QueryAchievements
(
const FUniqueNetId& PlayerId, |
Read achievement ids and progress from the server You must use QueryAchievementDescriptions to get more information about the achievements | |
| bool | ResetAchievements
(
const FUniqueNetId& PlayerId |
Resets achievements for a given player | |
| void | TriggerOnAchievementUnlockedDelegates
(
const FUniqueNetId& Param1, |
||
| void | WriteAchievements
(
const FUniqueNetId& PlayerId, |
Write the achievements provided to the server |