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

Class UnturnedPlayerCheckingBanEvent

Inheritance
System.Object
UnturnedPlayerCheckingBanEvent
Namespace: OpenMod.Unturned.Players.Bans.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedPlayerCheckingBanEvent : Event

Constructors

| Improve this Doc View Source

UnturnedPlayerCheckingBanEvent(SteamPlayerID, UInt32, Boolean, String, UInt32)

Declaration
public UnturnedPlayerCheckingBanEvent(SteamPlayerID steamPlayerId, uint remoteIp, bool isBanned, string reason, uint remainingDuration)
Parameters
Type Name Description
SteamPlayerID steamPlayerId
System.UInt32 remoteIp
System.Boolean isBanned
System.String reason
System.UInt32 remainingDuration

Properties

| Improve this Doc View Source

IsBanned

Declaration
public bool IsBanned { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Reason

Declaration
public string Reason { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RemainingDuration

Declaration
public uint RemainingDuration { get; set; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

RemoteIP

Declaration
public uint RemoteIP { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

SteamPlayerId

Declaration
public SteamPlayerID SteamPlayerId { get; }
Property Value
Type Description
SteamPlayerID

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)