Class Game
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
A base class for objects of which the properties must be observable.
public class Game : LibraryObject, INotifyPropertyChanged, INotifyPropertyChanging, ICopyable<Game>
- Inheritance
-
Game
- Implements
- Inherited Members
Constructors
Game()
public Game()
Game(string)
public Game(string name)
Parameters
namestring
Properties
AchievementIds
[ExcludeFromCodeCoverage]
public HashSet<string>? AchievementIds { get; set; }
Property Value
AddedDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? AddedDate { get; set; }
Property Value
AgeRatingIds
[ExcludeFromCodeCoverage]
public HashSet<string>? AgeRatingIds { get; set; }
Property Value
CategoryIds
[ExcludeFromCodeCoverage]
public HashSet<string>? CategoryIds { get; set; }
Property Value
CommunityScore
[ExcludeFromCodeCoverage]
public int CommunityScore { get; set; }
Property Value
CompletedDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? CompletedDate { get; set; }
Property Value
CompletionStatusId
[ExcludeFromCodeCoverage]
public string? CompletionStatusId { get; set; }
Property Value
CriticScore
[ExcludeFromCodeCoverage]
public int CriticScore { get; set; }
Property Value
DeveloperIds
[ExcludeFromCodeCoverage]
public HashSet<string>? DeveloperIds { get; set; }
Property Value
EnableSystemHdr
[ExcludeFromCodeCoverage]
public bool EnableSystemHdr { get; set; }
Property Value
EstimatedInstallSize
[ExcludeFromCodeCoverage]
public ulong EstimatedInstallSize { get; set; }
Property Value
ExternalIdentifiers
[ExcludeFromCodeCoverage]
public ObservableCollection<ExternalIdentifier>? ExternalIdentifiers { get; set; }
Property Value
Favorite
[ExcludeFromCodeCoverage]
public bool Favorite { get; set; }
Property Value
FeatureIds
[ExcludeFromCodeCoverage]
public HashSet<string>? FeatureIds { get; set; }
Property Value
FinishedMainAndSideDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? FinishedMainAndSideDate { get; set; }
Property Value
FinishedMainStoryDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? FinishedMainStoryDate { get; set; }
Property Value
GameActionIds
[ExcludeFromCodeCoverage]
public List<string>? GameActionIds { get; set; }
Property Value
GenreIds
[ExcludeFromCodeCoverage]
public HashSet<string>? GenreIds { get; set; }
Property Value
Hidden
[ExcludeFromCodeCoverage]
public bool Hidden { get; set; }
Property Value
IncludePluginActions
[ExcludeFromCodeCoverage]
public bool IncludePluginActions { get; set; }
Property Value
InstallDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? InstallDate { get; set; }
Property Value
InstallDirectory
[ExcludeFromCodeCoverage]
public string? InstallDirectory { get; set; }
Property Value
InstallSize
[ExcludeFromCodeCoverage]
public ulong InstallSize { get; set; }
Property Value
InstallState
[ExcludeFromCodeCoverage]
public InstallState InstallState { get; set; }
Property Value
LastPlayedDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? LastPlayedDate { get; set; }
Property Value
LastSizeScanDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? LastSizeScanDate { get; set; }
Property Value
LibraryGameId
[ExcludeFromCodeCoverage]
public string? LibraryGameId { get; set; }
Property Value
LibraryId
[ExcludeFromCodeCoverage]
public string LibraryId { get; set; }
Property Value
Links
[ExcludeFromCodeCoverage]
public ObservableCollection<WebLink>? Links { get; set; }
Property Value
MediaFiles
[ExcludeFromCodeCoverage]
public ObservableCollection<GameMediaFile>? MediaFiles { get; set; }
Property Value
ModifiedDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? ModifiedDate { get; set; }
Property Value
ObtainedDate
[ExcludeFromCodeCoverage]
public DateTimeOffset? ObtainedDate { get; set; }
Property Value
OverrideInstallState
[ExcludeFromCodeCoverage]
public bool OverrideInstallState { get; set; }
Property Value
PlatformIds
[ExcludeFromCodeCoverage]
public HashSet<string>? PlatformIds { get; set; }
Property Value
PlayTime
[ExcludeFromCodeCoverage]
public uint PlayTime { get; set; }
Property Value
PublisherIds
[ExcludeFromCodeCoverage]
public HashSet<string>? PublisherIds { get; set; }
Property Value
RegionIds
[ExcludeFromCodeCoverage]
public HashSet<string>? RegionIds { get; set; }
Property Value
ReleaseDate
[ExcludeFromCodeCoverage]
public PartialDate? ReleaseDate { get; set; }
Property Value
SeriesIds
[ExcludeFromCodeCoverage]
public HashSet<string>? SeriesIds { get; set; }
Property Value
SessionIds
[ExcludeFromCodeCoverage]
public HashSet<string>? SessionIds { get; set; }
Property Value
SortingName
[ExcludeFromCodeCoverage]
public string? SortingName { get; set; }
Property Value
SourceId
[ExcludeFromCodeCoverage]
public string? SourceId { get; set; }
Property Value
TagIds
[ExcludeFromCodeCoverage]
public HashSet<string>? TagIds { get; set; }
Property Value
TimeToBeat
[ExcludeFromCodeCoverage]
public TimeToBeat? TimeToBeat { get; set; }
Property Value
TimeToBeatEstimated
[ExcludeFromCodeCoverage]
public TimeToBeat? TimeToBeatEstimated { get; set; }
Property Value
UserScore
[ExcludeFromCodeCoverage]
public int UserScore { get; set; }
Property Value
Methods
GetCopy()
public Game GetCopy()
Returns
GetDiffProperties(Game)
public HashSet<string> GetDiffProperties(Game target)
Parameters
targetGame