-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathServerFactory.cs
More file actions
27 lines (18 loc) · 866 Bytes
/
ServerFactory.cs
File metadata and controls
27 lines (18 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using LiveSplit.Model;
using System;
using LiveSplit.UI.Components;
[assembly: ComponentFactory(typeof(ServerFactory))]
namespace LiveSplit.UI.Components
{
public class ServerFactory : IComponentFactory
{
public string ComponentName => "LiveSplit Server";
public string Description => "Allows a remote connection and control of LiveSplit by starting a small server within LiveSplit.";
public ComponentCategory Category => ComponentCategory.Control;
public IComponent Create(LiveSplitState state) => new ServerComponent(state);
public string UpdateName => ComponentName;
public string UpdateURL => "http://livesplit.org/update/";
public Version Version => Version.Parse("1.8.19");
public string XMLURL => "http://livesplit.org/update/Components/update.LiveSplit.Server.xml";
}
}