mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-17 02:39:41 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
55 lines
1.4 KiB
C#
55 lines
1.4 KiB
C#
using System;
|
|
|
|
namespace Editor;
|
|
|
|
public class ExportConfig
|
|
{
|
|
public Project Project { get; set; }
|
|
|
|
/// <summary>
|
|
/// Assemblies can reference asset packages. This is a list
|
|
/// of packages that the compiled code references.
|
|
/// </summary>
|
|
public HashSet<string> CodePackages = new();
|
|
|
|
/// <summary>
|
|
/// If the compile process created any assemblies
|
|
/// </summary>
|
|
public Dictionary<string, object> AssemblyFiles { get; set; }
|
|
|
|
/// <summary>
|
|
/// Where are we putting the exported build?
|
|
/// </summary>
|
|
[Title( "Export Directory" ), Editor( "folder" )]
|
|
public string TargetDir { get; set; }
|
|
|
|
/// <summary>
|
|
/// The target .exe name for this export
|
|
/// </summary>
|
|
[Title( "Executable Name" )]
|
|
public string ExecutableName { get; set; }
|
|
|
|
/// <summary>
|
|
/// The icon for the target .exe
|
|
/// </summary>
|
|
[Title( "Executable Icon" )] // can't make this a .ico picker yet, we should really just convert from png ourselves though
|
|
public string TargetIcon { get; set; }
|
|
|
|
/// <summary>
|
|
/// The splash screen to use
|
|
/// </summary>
|
|
[Title( "Startup Image" ), ResourceType( "vtex" )] // should make this png
|
|
public string StartupImage { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Steam AppID for the target .exe
|
|
/// </summary>
|
|
[Title( "Steam App ID" )]
|
|
public uint AppId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Game's build date
|
|
/// </summary>
|
|
public DateTime BuildDate { get; set; } = DateTime.Now;
|
|
}
|