UAchievementBlueprintLibrary::GetCachedAchievementProgress

Gets the status of an achievement ID (you must call CacheAchievements 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 GetCachedAchievementProgress
(
    UObject * WorldContextObject,
    APlayerController * PlayerController,
    FName AchievementID,
    bool & bFoundID,
    float & Progress
)

Remarks

Gets the status of an achievement ID (you must call CacheAchievements first to cache them)

Parameters

Parameter

Description

AchievementID

The id of the achievement we are looking up

bFoundID

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

Progress

The progress amount of the achievement