Streamlining

This commit is contained in:
JonatanRek committed 2024-09-11 12:46:34 -07:00
1 parent 41aa2b7c7b
commit 012cc02352
6 files changed
+49 -122

No files matched your search

+35
View File
@@ -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();
}
}
}