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

Class RustPlayerSpectateStartingEvent

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

Constructors

| Improve this Doc View Source

RustPlayerSpectateStartingEvent(RustPlayer, String)

Declaration
public RustPlayerSpectateStartingEvent(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)