Interface IProgram
A graphical program.
Inherited Members
Namespace: SociallyDistant.Core.Shell
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IProgram : INamedAsset, IGameContentProperties
Icon
Gets the default icon of the window.
Declaration
IIconDescriptor? Icon { get; }Property Value
| Type | Description | 
|---|---|
| IIconDescriptor | 
WindowTitle
Gets the default title of the program window.
Declaration
string WindowTitle { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Methods
InstantiateIntoWindow(ISystemProcess, IWindow, IConsoleDriver, string[])
Spawn the program into a window.
Declaration
void InstantiateIntoWindow(ISystemProcess process, IWindow window, IConsoleDriver console, string[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| ISystemProcess | process | The in-game process to bind the program to. | 
| IWindow | window | The window to spawn the program's user interface in. | 
| IConsoleDriver | console | A console driver for program output. | 
| string[] | args | A list of command-line arguments to pass to the program. |