UAchievementBlueprintLibrary::GetCachedAchievementProgress

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

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](Programming/UnrealArchitecture/Reference/Functions)(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

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