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

Class RustPlayerSpectateEndingEvent

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

Constructors

| Improve this Doc View Source

RustPlayerSpectateEndingEvent(RustPlayer, String)

Declaration
public RustPlayerSpectateEndingEvent(RustPlayer player, string spectateFilter)
Parameters
Type Name Description
RustPlayer player
System.String spectateFilter

Properties

| Improve this Doc View Source

IsCancelled

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

SpectateFilter

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

Implements

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)