mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-02 03:18:23 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
32 lines
587 B
C#
32 lines
587 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Editor;
|
|
|
|
|
|
public partial class ProjectPublisher
|
|
{
|
|
/// <summary>
|
|
/// A single file in the project revision manifest
|
|
/// </summary>
|
|
public class ProjectFile
|
|
{
|
|
public string Name { get; set; }
|
|
public int Size { get; set; }
|
|
public string Hash { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public string AbsolutePath { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public byte[] Contents { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public bool Skip { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public long SizeUploaded { get; set; }
|
|
|
|
public override string ToString() => Name;
|
|
}
|
|
}
|