Class BanPanelEuiStateMsg.CreateBanRequest
Inheritance
System.Object
BanPanelEuiStateMsg.CreateBanRequest
Assembly: Content.Shared.dll
Syntax
public sealed class CreateBanRequest : EuiMessageBase
Constructors
|
Improve this Doc
View Source
CreateBanRequest(Nullable<String>, Nullable<(IPAddress, Int32)>, Boolean, Byte[], Boolean, UInt32, String, NoteSeverity, String[])
Declaration
public CreateBanRequest(string? player, (IPAddress, int)? ipAddress, bool useLastIp, byte[] hwid, bool useLastHwid, uint minutes, string reason, NoteSeverity severity, string[] roles)
Parameters
Type |
Name |
Description |
System.Nullable<System.String> |
player |
|
System.Nullable<System.ValueTuple<IPAddress, System.Int32>> |
ipAddress |
|
System.Boolean |
useLastIp |
|
System.Byte[] |
hwid |
|
System.Boolean |
useLastHwid |
|
System.UInt32 |
minutes |
|
System.String |
reason |
|
Content.Shared.Database.NoteSeverity |
severity |
|
System.String[] |
roles |
|
Properties
|
Improve this Doc
View Source
Hwid
Declaration
public byte[] Hwid { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
IpAddress
Declaration
public string? IpAddress { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Minutes
Declaration
public uint Minutes { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Player
Declaration
public string? Player { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Reason
Declaration
public string Reason { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Roles
Declaration
public string[] Roles { get; set; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
Severity
Declaration
public NoteSeverity Severity { get; set; }
Property Value
Type |
Description |
Content.Shared.Database.NoteSeverity |
|
|
Improve this Doc
View Source
UseLastHwid
Declaration
public bool UseLastHwid { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseLastIp
Declaration
public bool UseLastIp { get; set; }
Property Value
Type |
Description |
System.Boolean |
|