FakeDeck/FakeeDeck/Class/FakeDeck.cs

36 lines
855 B
C#
Raw Normal View History

2024-09-11 19:46:34 +00:00
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();
}
}
}