From 469edd6ac94c08bd3c4adf8a71b0e2d32b54a252 Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 17 Jan 2024 04:41:27 +0100 Subject: [PATCH] public accesstypes --- CShocker/Shockers/Abstract/Shocker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CShocker/Shockers/Abstract/Shocker.cs b/CShocker/Shockers/Abstract/Shocker.cs index 66cd277..b01b6f4 100644 --- a/CShocker/Shockers/Abstract/Shocker.cs +++ b/CShocker/Shockers/Abstract/Shocker.cs @@ -9,7 +9,7 @@ public abstract class Shocker protected readonly AShockerSettings ShockerSettings; protected readonly ILogger? Logger; - internal void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null) + public void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null) { int i = intensity ?? ShockerSettings.Intensity.GetRandomRangeValue(); int d = duration ?? ShockerSettings.Duration.GetRandomRangeValue();