Click or drag to resize

WeaponShotEventArgs Class

Provides data for the PlayerWeaponShot or WeaponShot event.
Inheritance Hierarchy

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

The WeaponShotEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodWeaponShotEventArgs
Initializes a new instance of the WeaponShotEventArgs class.
Top
Properties
  NameDescription
Public propertyBulletHitType
Gets the type of the bullet hit.
Public propertyHitId
Gets the hit identifier.
Public propertyPosition
Gets the position.
(Inherited from PositionEventArgs.)
Public propertyPreventDamage
Gets or sets whether the bullets should be prevented from causing damage.
Public propertyWeapon
Gets the weapon.
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