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

Class RustPlayerAssigningSleepingBagEvent

Inheritance
System.Object
EventBase
Event
RustPlayerEvent
RustPlayerAssigningSleepingBagEvent
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 RustPlayerAssigningSleepingBagEvent : RustPlayerEvent, IPlayerEvent, IEvent, ICancellableEvent

Constructors

| Improve this Doc View Source

RustPlayerAssigningSleepingBagEvent(RustPlayer, SleepingBag, UInt64)

Declaration
public RustPlayerAssigningSleepingBagEvent(RustPlayer player, SleepingBag sleepingBag, ulong targetPlayerId)
Parameters
Type Name Description
RustPlayer player
SleepingBag sleepingBag
System.UInt64 targetPlayerId

Properties

| Improve this Doc View Source

IsCancelled

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

SleepingBag

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

TargetPlayerId

Declaration
public ulong TargetPlayerId { get; }
Property Value
Type Description
System.UInt64

Implements

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)