Class RotatingRevolverEventArgs
Contains all information when a player rotates revolver.
public class RotatingRevolverEventArgs : IFirearmEvent, IItemEvent, IPlayerEvent, IExiledEvent
- Inheritance
-
RotatingRevolverEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
RotatingRevolverEventArgs(Firearm, int)
Initializes a new instance of the RotatingRevolverEventArgs class.
public RotatingRevolverEventArgs(Firearm firearm, int rotations)
Parameters
firearm
Firearmrotations
int
Properties
Firearm
Gets the Firearm triggering the event.
public Firearm Firearm { get; }
Property Value
HasEffect
Gets a value indicating whether the rotation will have an effect.
public bool HasEffect { get; }
Property Value
Remarks
checks rotations and chambers counts equality by mod of chambers counts.
Rotations % Chambers.Length == 0
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }
Property Value
Rotations
Gets or sets a rotations count(per chamber).
public int Rotations { get; set; }