using SharpChat.Users.Remote; using System; using System.Collections.Generic; using System.Net; namespace SharpChat.Bans { public interface IBanClient { void GetBanList(Action> onSuccess, Action onFailure); void CheckBan(IRemoteUser subject, IPAddress ipAddress, Action onSuccess, Action onFailure); void CreateBan(IRemoteUser subject, IRemoteUser moderator, bool perma, TimeSpan duration, string reason, Action onSuccess, Action onFailure); void RemoveBan(IRemoteUser subject, Action onSuccess, Action onFailure); void RemoveBan(IPAddress ipAddress, Action onSuccess, Action onFailure); } }