diff --git a/OpenCS2hock/Shocker.cs b/OpenCS2hock/Shocker.cs new file mode 100644 index 0000000..2cb9355 --- /dev/null +++ b/OpenCS2hock/Shocker.cs @@ -0,0 +1,14 @@ +namespace OpenCS2hock; + +public abstract class Shocker +{ + public string ApiKey, Endpoint; + public enum ControlAction { Beep, Vibrate, Shock } + public abstract void Control(ControlAction action, byte intensity, short duration); + + public Shocker(string endpoint, string apiKey) + { + this.Endpoint = endpoint; + this.ApiKey = apiKey; + } +} \ No newline at end of file