Table of Contents

Class GameAchievement

Namespace
Playnite
Assembly
Playnite.SDK.dll

A base class for objects of which the properties must be observable.

public class GameAchievement : LibraryObject, INotifyPropertyChanged, INotifyPropertyChanging, ICopyable<GameAchievement>
Inheritance
GameAchievement
Implements
Inherited Members

Constructors

GameAchievement()

public GameAchievement()

GameAchievement(string, string, string)

public GameAchievement(string gameId, string libraryId, string achievementId)

Parameters

gameId string
libraryId string
achievementId string

Properties

UnlockDate

[ExcludeFromCodeCoverage]
public DateTimeOffset? UnlockDate { get; set; }

Property Value

DateTimeOffset?

Methods

GetCopy()

public GameAchievement GetCopy()

Returns

GameAchievement

GetDiffProperties(GameAchievement)

public HashSet<string> GetDiffProperties(GameAchievement target)

Parameters

target GameAchievement

Returns

HashSet<string>

GetId(string, string, string)

public static string GetId(string gameId, string libraryId, string achievementId)

Parameters

gameId string
libraryId string
achievementId string

Returns

string