Search Results for

    Show / Hide Table of Contents

    Class EntityRegainHealthEvent

    Dispatched when an entity regains health

    Inheritance
    System.Object
    Event
    EntityEvent
    EntityRegainHealthEvent
    Inherited Members
    EntityEvent.Entity
    Event.IsCancelled
    Event.SetCancelled(Boolean)
    Namespace: OpenAPI.Events.Entity
    Assembly: OpenAPI.dll
    Syntax
    public class EntityRegainHealthEvent : EntityEvent

    Constructors

    | Improve this Doc View Source

    EntityRegainHealthEvent(MiNET.Entities.Entity, Int32, Int32)

    Declaration
    public EntityRegainHealthEvent(MiNET.Entities.Entity entity, int previousHealth, int newHealth)
    Parameters
    Type Name Description
    MiNET.Entities.Entity entity

    The entity who's health was regained

    System.Int32 previousHealth

    The entity's previous health

    System.Int32 newHealth

    The entity's new health

    Properties

    | Improve this Doc View Source

    NewHealth

    Declaration
    public int NewHealth { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    PreviousHealth

    Declaration
    public int PreviousHealth { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX