Click or drag to resize

DamageEventArgs Class

Provides data for the PlayerTakeDamage, PlayerGiveDamage, TakeDamage or GiveDamage event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    SampSharp.GameMode.EventsDamageEventArgs

Namespace:  SampSharp.GameMode.Events
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public class DamageEventArgs : EventArgs

The DamageEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodDamageEventArgs
Initializes a new instance of the DamageEventArgs class.
Top
Properties
  NameDescription
Public propertyAmount
Gets the amount of damage done.
Public propertyBodyPart
Gets the BodyPart shot at.
Public propertyOtherPlayer
Gets the other player.
Public propertyWeapon
Gets the Weapon used to damage another player.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also