diff --git a/mod/Jailbreak.Warden/Commands/SpecialTreatmentBehavior.cs b/mod/Jailbreak.Warden/Commands/SpecialTreatmentBehavior.cs new file mode 100644 index 00000000..ba41cd1c --- /dev/null +++ b/mod/Jailbreak.Warden/Commands/SpecialTreatmentBehavior.cs @@ -0,0 +1,34 @@ +using System.Reflection; +using CounterStrikeSharp.API.Core; +using Jailbreak.Public.Behaviors; +using Jailbreak.Public.Mod.Warden; + +namespace Jailbreak.Warden.Commands; + +public class SpecialTreatmentBehavior : IPluginBehavior, ISpecialTreatmentService +{ + private ISet _sts = new HashSet(); + + public void Start(BasePlugin parent) + { + parent.RegisterEventHandler(OnPlayerDisconnect); + } + + HookResult OnPlayerDisconnect(CCSPlayerController player, GameEventInfo info) + { + if(!player.IsValid) + return HookResult.Continue; + + return HookResult.Continue; + } + + public bool IsSpecialTreatment(CCSPlayerController? player) + { + throw new NotImplementedException(); + } + + public void SetSpecialTreatment(CCSPlayerController? player, bool value) + { + throw new NotImplementedException(); + } +} \ No newline at end of file diff --git a/public/Jailbreak.Public/Mod/Warden/ISpecialTreatmentService.cs b/public/Jailbreak.Public/Mod/Warden/ISpecialTreatmentService.cs new file mode 100644 index 00000000..c70c83fe --- /dev/null +++ b/public/Jailbreak.Public/Mod/Warden/ISpecialTreatmentService.cs @@ -0,0 +1,9 @@ +using CounterStrikeSharp.API.Core; + +namespace Jailbreak.Public.Mod.Warden; + +public interface ISpecialTreatmentService +{ + bool IsSpecialTreatment(CCSPlayerController? player); + void SetSpecialTreatment(CCSPlayerController? player, bool value); +} \ No newline at end of file