Unite API objects for ShiftOS

This commit is contained in:
Michael 2017-04-07 12:54:07 -04:00
parent befe9e8390
commit 3789b48df0
3 changed files with 25 additions and 1 deletions

View file

@ -55,6 +55,7 @@
<Compile Include="Save.cs" />
<Compile Include="ShiftFS.cs" />
<Compile Include="Shop.cs" />
<Compile Include="Unite\Download.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />

View file

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShiftOS.Objects.Unite
{
public class Download
{
public string Id { get; set; }
public string Name { get; set; }
public string Changelog { get; set; }
public string DownloadUrl { get; set; }
public bool Obsolete { get; set; }
public DateTime PostDate { get; set; }
public string ReleasedBy { get; set; }
public string DevUpdateId { get; set; }
public string ScreenshotUrl { get; set; }
public bool IsStable { get; set; }
}
}

View file

@ -35,9 +35,10 @@ using ShiftOS.Engine;
namespace ShiftOS.WinForms.Applications {
[MultiplayerOnly]
[Launcher("FormatEditor", true, "al_format_editor", "Games")]
[Launcher("Format Editor", true, "al_format_editor", "Customization")]
[RequiresUpgrade("format_editor")]
[WinOpen("formateditor")]
[DefaultTitle("Format Editor")]
[DefaultIcon("iconFormatEditor")]
public partial class FormatEditor : UserControl, IShiftOSWindow {