Class FirearmDamageHandler
- Namespace
- Exiled.API.Features.DamageHandlers
- Assembly
- Exiled.API.dll
A wrapper to easily manipulate the behavior of PlayerStatsSystem.DamageHandlerBase.
public sealed class FirearmDamageHandler : AttackerDamageHandler
- Inheritance
-
FirearmDamageHandler
- Inherited Members
- Extension Methods
Constructors
FirearmDamageHandler(Item, Player, DamageHandlerBase)
Initializes a new instance of the FirearmDamageHandler class.
public FirearmDamageHandler(Item item, Player target, DamageHandlerBase baseHandler)
Parameters
Properties
Hitbox
Gets or sets the HitboxType.
public HitboxType Hitbox { get; set; }
Property Value
- HitboxType
Item
Gets or sets the Item used by the damage handler.
public Item Item { get; set; }
Property Value
Penetration
Gets the penetration.
public float Penetration { get; }
Property Value
Type
Gets or sets the DamageType for the damage handler.
public override DamageType Type { get; }
Property Value
UseHumanHitboxes
Gets a value indicating whether the human hitboxes should be used.
public bool UseHumanHitboxes { get; }
Property Value
Methods
ProcessDamage(Player)
Computes and processes the damage.
public override void ProcessDamage(Player player)
Parameters
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.