Class ShowingHitMarkerEventArgs
Contains all information before a hitmarker is show to player.
public class ShowingHitMarkerEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ShowingHitMarkerEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ShowingHitMarkerEventArgs(ReferenceHub, float, bool, HitmarkerType, bool)
Initializes a new instance of the ShowingHitMarkerEventArgs class.
public ShowingHitMarkerEventArgs(ReferenceHub hub, float size, bool shouldPlayAudio, HitmarkerType hitmarkerType, bool isAllowed)
Parameters
Properties
HitmarkerType
Gets or sets a the type of the hitmarker.
public HitmarkerType HitmarkerType { get; set; }
Property Value
- HitmarkerType
IsAllowed
Gets or sets a value indicating whether the hitmarker should be shown.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player that the hitmarker is being shown to.
public Player Player { get; }
Property Value
ShouldPlayAudio
Gets or sets a value indicating whether the hitmarker sound effect should play.
public bool ShouldPlayAudio { get; set; }
Property Value
Size
Gets or sets the target size multiplier.
public float Size { get; set; }