CShock/CShocker/Shockers/ShockerSettings/HttpShockerSettings.cs

10 lines
436 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;
2024-01-17 04:31:28 +01:00
public record HttpShockerSettings(string[] ShockerIds, IntensityRange Intensity, DurationRange Duration, string ApiKey, string Endpoint) : AShockerSettings(ShockerIds, Intensity, Duration)
2024-01-17 04:11:30 +01:00
{
internal readonly HttpClient HttpClient = new ();
internal readonly string ApiKey = ApiKey, Endpoint = Endpoint;
}