Make Enum ControlAction public
This commit is contained in:
parent
3bbde48796
commit
6d96baabfe
@ -7,7 +7,7 @@
|
||||
<Authors>Glax</Authors>
|
||||
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<Version>1.0.1</Version>
|
||||
<Version>1.0.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -9,8 +9,6 @@ internal abstract class Shocker
|
||||
protected readonly AShockerSettings ShockerSettings;
|
||||
protected readonly ILogger? Logger;
|
||||
|
||||
internal enum ControlAction { Beep, Vibrate, Shock, Nothing }
|
||||
|
||||
internal void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null)
|
||||
{
|
||||
int i = intensity ?? ShockerSettings.Intensity.GetRandomRangeValue();
|
||||
|
9
CShocker/Shockers/ControlAction.cs
Normal file
9
CShocker/Shockers/ControlAction.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace CShocker.Shockers;
|
||||
|
||||
public enum ControlAction
|
||||
{
|
||||
Beep,
|
||||
Vibrate,
|
||||
Shock,
|
||||
Nothing
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user