Table of Contents

Class OnGameStartingEventArgs

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

Represents arguments for the event when a game is starting.

public class OnGameStartingEventArgs
Inheritance
OnGameStartingEventArgs
Inherited Members

Properties

CancelStartup

Gets or sets value indicating whether game startup should be interrupted.

public bool CancelStartup { get; set; }

Property Value

bool

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