Interface IBanRepository
Assembly: SlipeServer.Server.dll
Syntax
public interface IBanRepository
Methods
|
Edit this page
View Source
AddBan(string?, IPAddress?, DateTime?, string?, string?, string?)
Declaration
Ban AddBan(string? serial, IPAddress? ipAddress, DateTime? expiryTimeUtc = null, string? reason = null, string? bannedPlayerName = null, string? bannerName = null)
Parameters
Returns
|
Edit this page
View Source
GetBans()
Declaration
IEnumerable<Ban> GetBans()
Returns
|
Edit this page
View Source
IsIpOrSerialBanned(string?, IPAddress?, out Ban?)
Declaration
bool IsIpOrSerialBanned(string? serial, IPAddress? ipAddress, out Ban? ban)
Parameters
Returns
|
Edit this page
View Source
RemoveBan(Ban)
Declaration
Parameters
Type |
Name |
Description |
Ban |
ban |
|
|
Edit this page
View Source
RemoveBan(Guid)
Declaration
Parameters
Type |
Name |
Description |
Guid |
id |
|
|
Edit this page
View Source
RemoveBans(string?, IPAddress?)
Declaration
void RemoveBans(string? serial, IPAddress? ipAddress)
Parameters