| using System; |
| using System; |
| using System.Collections.Generic; |
| using System.Collections.Generic; |
| using System.Linq; |
| using System.Linq; |
| using System.Text; |
| using System.Text; |
| using System.Threading.Tasks; |
| using System.Threading.Tasks; |
| |
| |
| namespace Playnite.SDK |
| namespace Playnite.SDK |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// Represents object with definitions of available expandable game variables. |
| /// Represents object with definitions of available expandable game variables. |
| /// </summary> |
| /// </summary> |
| public class ExpandableVariables |
| public class ExpandableVariables |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// Gets variable name for game's installation directory path. |
| /// Gets variable name for game's installation directory path. |
| /// </summary> |
| /// </summary> |
| public const string InstallationDirectory = "{InstallDir}"; |
| public const string InstallationDirectory = "{InstallDir}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable name for game's installation directory name. |
| /// Gets variable name for game's installation directory name. |
| /// </summary> |
| /// </summary> |
| public const string InstallationDirName = "{InstallDirName}"; |
| public const string InstallationDirName = "{InstallDirName}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable name for game's image path. |
| /// Gets variable name for game's image path. |
| /// </summary> |
| /// </summary> |
| public const string ImagePath = "{ImagePath}"; |
| public const string ImagePath = "{ImagePath}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable name for game's image file name without extension. |
| /// Gets variable name for game's image file name without extension. |
| /// </summary> |
| /// </summary> |
| public const string ImageNameNoExtension = "{ImageNameNoExt}"; |
| public const string ImageNameNoExtension = "{ImageNameNoExt}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable name for game's image file name. |
| /// Gets variable name for game's image file name. |
| /// </summary> |
| /// </summary> |
| public const string ImageName = "{ImageName}"; |
| public const string ImageName = "{ImageName}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable name for Playnite's installation directory path. |
| /// Gets variable name for Playnite's installation directory path. |
| /// </summary> |
| /// </summary> |
| public const string PlayniteDirectory = "{PlayniteDir}"; |
| public const string PlayniteDirectory = "{PlayniteDir}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable for game's name. |
| /// Gets variable for game's name. |
| /// </summary> |
| /// </summary> |
| public const string Name = "{Name}"; |
| public const string Name = "{Name}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable for game's platform. |
| /// Gets variable for game's platform. |
| /// </summary> |
| /// </summary> |
| public const string Platform = "{Platform}"; |
| public const string Platform = "{Platform}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable for game's ID. |
| /// Gets variable for game's ID. |
| /// </summary> |
| /// </summary> |
| public const string GameId = "{GameId}"; |
| public const string GameId = "{GameId}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable for game's database ID. |
| /// Gets variable for game's database ID. |
| /// </summary> |
| /// </summary> |
| public const string DatabaseId = "{DatabaseId}"; |
| public const string DatabaseId = "{DatabaseId}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable for game's library plugin ID. |
| /// Gets variable for game's library plugin ID. |
| /// </summary> |
| /// </summary> |
| public const string PluginId = "{PluginId}"; |
| public const string PluginId = "{PluginId}"; |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets variable for game's version. |
| /// Gets variable for game's version. |
| /// </summary> |
| /// </summary> |
| public const string Version = "{Version}"; |
| public const string Version = "{Version}"; |
. | |
| |
| |
| /// <summary> |
| |
| /// Gets durectory path of parent emulator object. |
| |
| /// </summary> |
| |
| public const string EmulatorDirectory = "{EmulatorDir}"; |
| } |
| } |
| } |
| } |
| |
| |