Table of Contents

Class ShowingHitMarkerEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

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

hub ReferenceHub
size float
shouldPlayAudio bool
hitmarkerType HitmarkerType
isAllowed bool

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

bool

Player

Gets the player that the hitmarker is being shown to.

public Player Player { get; }

Property Value

Player

ShouldPlayAudio

Gets or sets a value indicating whether the hitmarker sound effect should play.

public bool ShouldPlayAudio { get; set; }

Property Value

bool

Size

Gets or sets the target size multiplier.

public float Size { get; set; }

Property Value

float