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

Class RustPlayerHealthUpdatingEvent

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

Constructors

| Improve this Doc View Source

RustPlayerHealthUpdatingEvent(RustPlayer, Single, Single)

Declaration
public RustPlayerHealthUpdatingEvent(RustPlayer player, float oldValue, float newValue)
Parameters
Type Name Description
RustPlayer player
System.Single oldValue
System.Single newValue

Properties

| Improve this Doc View Source

IsCancelled

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

NewValue

Declaration
public float NewValue { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

OldValue

Declaration
public float OldValue { get; }
Property Value
Type Description
System.Single

Implements

IPlayerEvent
IEvent
ICancellableEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)