OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class BanData

Inheritance
System.Object
BanData
Namespace: OpenMod.API.Users
Assembly: OpenMod.API.dll
Syntax
public class BanData : object

Constructors

| Improve this Doc View Source

BanData()

Declaration
public BanData()
| Improve this Doc View Source

BanData(String, IPermissionActor, Nullable<DateTime>)

Declaration
public BanData(string reason, IPermissionActor instigator = null, DateTime? expireDate = null)
Parameters
Type Name Description
System.String reason
IPermissionActor instigator
System.Nullable<DateTime> expireDate

Properties

| Improve this Doc View Source

ExpireDate

Declaration
public DateTime? ExpireDate { get; set; }
Property Value
Type Description
System.Nullable<DateTime>
| Improve this Doc View Source

InstigatorId

Declaration
public string? InstigatorId { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

InstigatorType

Declaration
public string? InstigatorType { 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.Nullable<System.String>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)