Search Results for

    Show / Hide Table of Contents

    Interface IEntityHealth

    Inherited Members
    IMonoBehaviour.enabled
    IMonoBehaviour.transform
    IMonoBehaviour.gameObject
    IMonoBehaviour.StartCoroutine(IEnumerator)
    IMonoBehaviour.StopCoroutine(Coroutine)
    IMonoBehaviour.StopCoroutine(IEnumerator)
    IMonoBehaviour.GetComponent<T>()
    IMonoBehaviour.GetComponentInChildren<T>()
    IMonoBehaviour.GetComponent(Type)
    IMonoBehaviour.GetComponentInChildren(Type)
    Namespace: RTSEngine.Health
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IEntityHealth : IMonoBehaviour

    Properties

    CanDecrease

    Declaration
    bool CanDecrease { get; set; }
    Property Value
    Type Description
    Boolean

    CanIncrease

    Declaration
    bool CanIncrease { get; set; }
    Property Value
    Type Description
    Boolean

    CurrHealth

    Declaration
    int CurrHealth { get; }
    Property Value
    Type Description
    Int32

    DestroyObjectDelay

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

    Entity

    Declaration
    IEntity Entity { get; }
    Property Value
    Type Description
    IEntity

    EntityType

    Declaration
    EntityType EntityType { get; }
    Property Value
    Type Description
    EntityType

    HasMaxHealth

    Declaration
    bool HasMaxHealth { get; }
    Property Value
    Type Description
    Boolean

    HealthRatio

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

    HoverHealthBarData

    Declaration
    HoverHealthBarData HoverHealthBarData { get; }
    Property Value
    Type Description
    HoverHealthBarData

    HoverHealthBarY

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

    IsDead

    Declaration
    bool IsDead { get; }
    Property Value
    Type Description
    Boolean

    IsInitialized

    Declaration
    bool IsInitialized { get; }
    Property Value
    Type Description
    Boolean

    MaxHealth

    Declaration
    int MaxHealth { get; }
    Property Value
    Type Description
    Int32

    TerminatedBy

    Declaration
    IEntity TerminatedBy { get; }
    Property Value
    Type Description
    IEntity

    Methods

    Add(HealthUpdateArgs)

    Declaration
    ErrorMessage Add(HealthUpdateArgs updateArgs)
    Parameters
    Type Name Description
    HealthUpdateArgs updateArgs
    Returns
    Type Description
    ErrorMessage

    AddLocal(HealthUpdateArgs, Boolean)

    Declaration
    ErrorMessage AddLocal(HealthUpdateArgs updateArgs, bool force = false)
    Parameters
    Type Name Description
    HealthUpdateArgs updateArgs
    Boolean force
    Returns
    Type Description
    ErrorMessage

    CanAdd(HealthUpdateArgs)

    Declaration
    ErrorMessage CanAdd(HealthUpdateArgs updateArgs)
    Parameters
    Type Name Description
    HealthUpdateArgs updateArgs
    Returns
    Type Description
    ErrorMessage

    CanDestroy(Boolean, IEntity)

    Declaration
    ErrorMessage CanDestroy(bool upgrade, IEntity source)
    Parameters
    Type Name Description
    Boolean upgrade
    IEntity source
    Returns
    Type Description
    ErrorMessage

    Destroy(Boolean, IEntity)

    Declaration
    ErrorMessage Destroy(bool upgrade, IEntity source)
    Parameters
    Type Name Description
    Boolean upgrade
    IEntity source
    Returns
    Type Description
    ErrorMessage

    DestroyLocal(Boolean, IEntity)

    Declaration
    ErrorMessage DestroyLocal(bool upgrade, IEntity source)
    Parameters
    Type Name Description
    Boolean upgrade
    IEntity source
    Returns
    Type Description
    ErrorMessage

    SetMax(HealthUpdateArgs)

    Declaration
    ErrorMessage SetMax(HealthUpdateArgs updateArgs)
    Parameters
    Type Name Description
    HealthUpdateArgs updateArgs
    Returns
    Type Description
    ErrorMessage

    SetMaxLocal(HealthUpdateArgs)

    Declaration
    ErrorMessage SetMaxLocal(HealthUpdateArgs updateArgs)
    Parameters
    Type Name Description
    HealthUpdateArgs updateArgs
    Returns
    Type Description
    ErrorMessage

    Events

    EntityDead

    Declaration
    event CustomEventHandler<IEntity, DeadEventArgs> EntityDead
    Event Type
    Type Description
    CustomEventHandler<IEntity, DeadEventArgs>

    EntityHealthUpdated

    Declaration
    event CustomEventHandler<IEntity, HealthUpdateArgs> EntityHealthUpdated
    Event Type
    Type Description
    CustomEventHandler<IEntity, HealthUpdateArgs>

    EntityMaxHealthUpdated

    Declaration
    event CustomEventHandler<IEntity, HealthUpdateArgs> EntityMaxHealthUpdated
    Event Type
    Type Description
    CustomEventHandler<IEntity, HealthUpdateArgs>
    In This Article
    Back to top Unity RTS Engine Documentation