Table of Contents

Class OnGameStartedEventArgs

Namespace
Playnite.SDK.Events
Assembly
Playnite.SDK.dll

Represents arguments for the event when a game starts running.

public class OnGameStartedEventArgs
Inheritance
OnGameStartedEventArgs
Inherited Members

Properties

Game

Gets game object initiating the event.

public Game Game { get; }

Property Value

Game

SelectedRomFile

Gets ROM file selected when running a game with multiple ROMs assigned.

public string SelectedRomFile { get; }

Property Value

string

SourceAction

Gets custom game action used to start the game.

public GameAction SourceAction { get; }

Property Value

GameAction

StartedProcessId

Gets started process ID. Might not be valid for all started games depending on how the game was started.

public int StartedProcessId { get; }

Property Value

int