Class FirearmDamageHandler
A wrapper to easily manipulate the behavior of PlayerStatsSystem.DamageHandlerBase.
Inheritance
System.Object
FirearmDamageHandler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.DamageHandlers
Assembly: Exiled.API.dll
Syntax
public sealed class FirearmDamageHandler : AttackerDamageHandler
Constructors
| Improve this Doc View SourceFirearmDamageHandler(Item, Player, DamageHandlerBase)
Initializes a new instance of the FirearmDamageHandler class.
Declaration
public FirearmDamageHandler(Item item, Player target, DamageHandlerBase baseHandler)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The Item to be set. |
Player | target | The target to be set. |
PlayerStatsSystem.DamageHandlerBase | baseHandler |
Properties
| Improve this Doc View SourceHitbox
Gets or sets the HitboxType.
Declaration
public HitboxType Hitbox { get; set; }
Property Value
Type | Description |
---|---|
HitboxType |
Item
Gets or sets the Item used by the damage handler.
Declaration
public Item Item { get; set; }
Property Value
Type | Description |
---|---|
Item |
Penetration
Gets the penetration.
Declaration
public float Penetration { get; }
Property Value
Type | Description |
---|---|
System.Single |
Type
Declaration
public override DamageType Type { get; }
Property Value
Type | Description |
---|---|
DamageType |
Overrides
| Improve this Doc View SourceUseHumanHitboxes
Gets a value indicating whether the human hitboxes should be used.
Declaration
public bool UseHumanHitboxes { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceProcessDamage(Player)
Declaration
public override void ProcessDamage(Player player)
Parameters
Type | Name | Description |
---|---|---|
Player | player |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |