Class PlayerMeleeRequested
Handles when a player melee swings, just before the hit is registered by the server.
public class PlayerMeleeRequested : CancellablePlayerEvent, IPlayerEvent, ICancellable
- Inheritance
-
PlayerMeleeRequested
- Implements
- Inherited Members
Properties
Asset
The asset of the melee weapon that the player swung with.
public required ItemMeleeAsset Asset { get; init; }
Property Value
- ItemMeleeAsset
InputInfo
The SDG.Unturned.InputInfo associated with the swing.
public required InputInfo InputInfo { get; init; }
Property Value
- InputInfo