UAchievementBlueprintLibrary::GetCachedAchievementDescription

Get the description for an achievement ID (you must call CacheAchievementDescriptions first to cache them)

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/AchievementBlueprintLibrary.h

Include

#include "AchievementBlueprintLibrary.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/AchievementBlueprintLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, Meta=(WorldContext="WorldContextObject"),
          Category="Online|Achievements")
static void GetCachedAchievementDescription
(
    UObject * WorldContextObject,
    APlayerController * PlayerController,
    FName AchievementID,
    bool & bFoundID,
    FText & Title,
    FText & LockedDescription,
    FText & UnlockedDescription,
    bool & bHidden
)

Remarks

Get the description for an achievement ID (you must call CacheAchievementDescriptions first to cache them)

Parameters

Parameter

Description

AchievementID

The id of the achievement we are searching for data of

bFoundID

If the ID was found in the cache (if not, none of the other values are meaningful)

Title

The localized title of the achievement

LockedDescription

The localized locked description of the achievement

UnlockedDescription

The localized unlocked description of the achievement

bHidden

Whether the achievement is hidden