API reference

FOvrAchievementUpdate Struct

Represents an update to an existing achievement. It will be the payload if there is any updates on achievements, as unlocking an achievement by UOvrRequestsBlueprintLibrary::Achievements_Unlock(), adding 'count' to the achievement by UOvrRequestsBlueprintLibrary::Achievements_AddCount(), and unlocking fields of a BITFIELD achievement by UOvrRequestsBlueprintLibrary::Achievements_AddFields().

Constructors

FOvrAchievementUpdate ()
This is the default constructor for the struct, which initializes the ::ovrAchievementUpdateHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrAchievementUpdate::FOvrAchievementUpdate()
FOvrAchievementUpdate ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrAchievementUpdate::FOvrAchievementUpdate(ovrAchievementUpdateHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrAchievementUpdateHandle
MessageHandlePtr: TOvrMessageHandlePtr

Fields

JustUnlocked : bool
This indicates if this update caused the achievement to unlock.
Signature
bool FOvrAchievementUpdate::JustUnlocked
Name : FString
The unique field FOvrAchievementDefinition::ApiName used to reference the updated achievement, as specified in the developer dashboard.
Signature
FString FOvrAchievementUpdate::Name

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrAchievementUpdate::Clear()
Returns
void
Update ( OvrHandle , MessageHandlePtr )
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrAchievementUpdate::Update(ovrAchievementUpdateHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrAchievementUpdateHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void