Changes to game launching: - Games can now be launched using the SDK - Games can be stopped by the SDK - Running games are tracked by the SDK - Game state in play buttons are now tracked by polling SDK game service - Library service no longer controls any launching/stopping/tracking - Actions now are keyed in the manifest - Game launching occurs in a GameExecutionContext - Game launching variables have been consolidated
17 lines
534 B
C#
17 lines
534 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace LANCommander.SDK.Models
|
|
{
|
|
public class Action : KeyedModel
|
|
{
|
|
public string Name { get; set; }
|
|
public string Arguments { get; set; }
|
|
public string Path { get; set; }
|
|
public string WorkingDirectory { get; set; }
|
|
public bool IsPrimaryAction { get; set; }
|
|
public int SortOrder { get; set; }
|
|
public Dictionary<string, string> Variables { get; set; } = new Dictionary<string, string>();
|
|
}
|
|
}
|