Files
sbox-public/engine/Sandbox.Tools/Utility/ExportConfig.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

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;
}