Class PlayerMeleed
Invoked after a player melee's.
[EventModel(EventSynchronizationContext.Pure)]
public class PlayerMeleed : PlayerEvent, IPlayerEvent, IActionLoggableEvent
- Inheritance
-
PlayerMeleed
- 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
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]