Search Results for

    Show / Hide Table of Contents

    Method HasBeenDamagedBy

    HasBeenDamagedBy(Entity)

    Determines whether this Entity has been damaged by a specified Entity.

    Declaration
    public bool HasBeenDamagedBy(Entity entity)
    Parameters
    Type Name Description
    Entity entity

    The Entity to check

    Returns
    Type Description
    System.Boolean

    true if this Entity has been damaged by the specified Entity; otherwise, false.

    HasBeenDamagedBy(WeaponHash)

    Determines whether this Entity has been damaged by a specific weapon].

    Declaration
    public virtual bool HasBeenDamagedBy(WeaponHash weapon)
    Parameters
    Type Name Description
    WeaponHash weapon

    The weapon to check.

    Returns
    Type Description
    System.Boolean

    true if this Entity has been damaged by the specified weapon; otherwise, false.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX