VR4RoboticArm2/VR4RoboticArm/Library/PackageCache/com.meta.xr.sdk.platform/Scripts/Models/AchievementUpdate.cs
IonutMocanu 48cccc22ad Main2
2025-09-08 11:13:29 +03:00

33 lines
1.1 KiB
C#

// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform.Models
{
using System;
using System.Collections;
using Oculus.Platform.Models;
using System.Collections.Generic;
using UnityEngine;
/// Represents an update to an existing achievement. It will be the payload if
/// there is any updates on achievements, as unlocking an achievement by
/// Achievements.Unlock(), adding 'count' to the achievement by
/// Achievements.AddCount(), and unlocking fields of a BITFIELD achievement by
/// Achievements.AddFields().
public class AchievementUpdate
{
/// This indicates if this update caused the achievement to unlock.
public readonly bool JustUnlocked;
/// The unique AchievementDefinition#Name used to reference the updated
/// achievement, as specified in the developer dashboard.
public readonly string Name;
public AchievementUpdate(IntPtr o)
{
JustUnlocked = CAPI.ovr_AchievementUpdate_GetJustUnlocked(o);
Name = CAPI.ovr_AchievementUpdate_GetName(o);
}
}
}