-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathFactory.cs
More file actions
22 lines (20 loc) · 993 Bytes
/
Factory.cs
File metadata and controls
22 lines (20 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Reflection;
using LiveSplit.Model;
using LiveSplit.UI.Components;
using LiveSplit.SonicFrontiers;
[assembly: ComponentFactory(typeof(SonicFrontiersFactory))]
namespace LiveSplit.SonicFrontiers
{
public class SonicFrontiersFactory : IComponentFactory
{
public string ComponentName => "Sonic Frontiers - Autosplitter";
public string Description => "Automatic splitting and Game Time calculation";
public ComponentCategory Category => ComponentCategory.Control;
public string UpdateName => this.ComponentName;
public string UpdateURL => "https://raw.githubusercontent.com/SonicSpeedrunning/LiveSplit.SonicFrontiers/main/";
public Version Version => Assembly.GetExecutingAssembly().GetName().Version;
public string XMLURL => this.UpdateURL + "Components/update.LiveSplit.SonicFrontiers.xml";
public IComponent Create(LiveSplitState state) { return new SonicFrontiersComponent(state); }
}
}