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

Class RustPlayerChangingLockCodeEvent

Inheritance
System.Object
EventBase
Event
RustPlayerEvent
RustPlayerChangingLockCodeEvent
Implements
IPlayerEvent
IEvent
ICancellableEvent
Inherited Members
RustPlayerEvent.Player
RustPlayerEvent.IPlayerEvent.Player
Event.Arguments
EventBase.Name
EventBase.Data
Namespace: OpenMod.Rust.Players.Entities.Events
Assembly: OpenMod.Rust.dll
Syntax
public class RustPlayerChangingLockCodeEvent : RustPlayerEvent, IPlayerEvent, IEvent, ICancellableEvent

Constructors

| Improve this Doc View Source

RustPlayerChangingLockCodeEvent(RustPlayer, CodeLock, String, Boolean)

Declaration
public RustPlayerChangingLockCodeEvent(RustPlayer player, CodeLock codeLock, string newCode, bool isGuestCode)
Parameters
Type Name Description
RustPlayer player
CodeLock codeLock
System.String newCode
System.Boolean isGuestCode

Properties

| Improve this Doc View Source

CodeLock

Declaration
public CodeLock CodeLock { get; }
Property Value
Type Description
CodeLock
| Improve this Doc View Source

IsCancelled

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

IsGuestCode

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

NewCode

Declaration
public string NewCode { get; }
Property Value
Type Description
System.String

Implements

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)