mirror of
https://git.steelants.cz/JonatanRek/FakeDeck.git
synced 2026-10-11 17:24:37 +00:00
Streamlining
This commit is contained in:
1 parent
41aa2b7c7b
commit
012cc02352
6 files changed
+49
-122
No files matched your search
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using YamlDotNet.Serialization.NamingConventions;
|
||||
using YamlDotNet.Serialization;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using System.Reflection;
|
||||
using FakeeDeck.ButtonType;
|
||||
|
||||
namespace FakeeDeck.Class
|
||||
{
|
||||
internal class FakeDeck
|
||||
{
|
||||
public FakeDeck()
|
||||
{
|
||||
HttpServer server = new HttpServer();
|
||||
|
||||
foreach (var stratogem in HelldiversTwoMacro.stratogems)
|
||||
{
|
||||
server.pageData += HelldiversTwoMacro.getButton(stratogem.Key);
|
||||
}
|
||||
|
||||
foreach (var control in MediaMacro.mediaControls)
|
||||
{
|
||||
server.pageData += MediaMacro.getButton(control.Key);
|
||||
}
|
||||
|
||||
server.serv();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user