Table of Contents

Class GameScripts

Namespace
Playnite
Assembly
Playnite.SDK.dll

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

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

Constructors

GameScripts()

public GameScripts()

GameScripts(string)

public GameScripts(string id)

Parameters

id string

Properties

RunGlobalStartedScript

[ExcludeFromCodeCoverage]
public bool RunGlobalStartedScript { get; set; }

Property Value

bool

RunGlobalStartingScript

[ExcludeFromCodeCoverage]
public bool RunGlobalStartingScript { get; set; }

Property Value

bool

RunGlobalStoppedScript

[ExcludeFromCodeCoverage]
public bool RunGlobalStoppedScript { get; set; }

Property Value

bool

StartedScript

[ExcludeFromCodeCoverage]
public string? StartedScript { get; set; }

Property Value

string

StartingScript

[ExcludeFromCodeCoverage]
public string? StartingScript { get; set; }

Property Value

string

StoppedScript

[ExcludeFromCodeCoverage]
public string? StoppedScript { get; set; }

Property Value

string

Methods

GetCopy()

public GameScripts GetCopy()

Returns

GameScripts

GetDiffProperties(GameScripts)

public HashSet<string> GetDiffProperties(GameScripts target)

Parameters

target GameScripts

Returns

HashSet<string>