Class RustPlayerChangingLockCodeEvent
Inheritance
System.Object
RustPlayerChangingLockCodeEvent
Implements
ICancellableEvent
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
ICancellableEvent
Extension Methods