ValidIntensityRange and ValidDurationRange internal readonly

This commit is contained in:
glax 2024-02-11 23:24:25 +01:00
parent 4e79f40e80
commit cbca4fd7de
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<Authors>Glax</Authors> <Authors>Glax</Authors>
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl> <RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<Version>2.3.0</Version> <Version>2.3.1</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -15,7 +15,7 @@ public abstract class Api : IDisposable
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable // ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
private readonly Thread _workQueueThread; private readonly Thread _workQueueThread;
private const short CommandDelay = 50; private const short CommandDelay = 50;
public IntegerRange ValidIntensityRange, ValidDurationRange; internal readonly IntegerRange ValidIntensityRange, ValidDurationRange;
internal void Control(ControlAction action, int intensity, int duration, params Shocker[] shockers) internal void Control(ControlAction action, int intensity, int duration, params Shocker[] shockers)
{ {