CShock/CShocker/Shockers/ShockerSettings/HttpShockerSettings.cs

10 lines
445 B
C#
Raw Normal View History

2024-01-17 04:11:30 +01:00
using CShocker.Ranges;
using CShocker.Shockers.ShockerSettings.Abstract;
namespace CShocker.Shockers.ShockerSettings;
public abstract record HttpShockerSettings(string[] ShockerIds, IntensityRange Intensity, DurationRange Duration, string ApiKey, string Endpoint) : AShockerSettings(ShockerIds, Intensity, Duration)
{
internal readonly HttpClient HttpClient = new ();
internal readonly string ApiKey = ApiKey, Endpoint = Endpoint;
}