FakeDeck/FakeeDeck/Class/FakeDeck.cs
2024-09-11 12:46:34 -07:00

36 lines
855 B
C#

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();
}
}
}