Class Ban
  
  
  
  
  
  Assembly: SlipeServer.Server.dll
  Syntax
  
  Properties
  
    |
    Edit this page
  
  
    View Source
  
  
  BannedPlayerName
  
  
  Declaration
  
    public string? BannedPlayerName { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  BannerName
  
  
  Declaration
  
    public string? BannerName { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ExpiryDateUtc
  
  
  Declaration
  
    public DateTime? ExpiryDateUtc { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  IPAddress
  
  
  Declaration
  
    public IPAddress? IPAddress { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Id
  
  
  Declaration
  
    public Guid Id { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Reason
  
  
  Declaration
  
    public string? Reason { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Serial
  
  
  Declaration
  
    public string? Serial { get; set; }
   
  Property Value
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  CreateAndValidate(string?, IPAddress?, DateTime?, string?, string?, string?)
  
  
  Declaration
  
    public static Ban CreateAndValidate(string? serial, IPAddress? ipAddress, DateTime? expiryTimeUtc, string? reason, string? bannedPlayerName, string? bannerName)
   
  Parameters
  
  Returns