Class PlayerPunched
Handles SDG.Unturned.PlayerEquipment.OnPunch_Global.
[EventModel(EventSynchronizationContext.Pure)]
public class PlayerPunched : PlayerEvent, IPlayerEvent, IActionLoggableEvent
- Inheritance
-
PlayerPunched
- Implements
- Inherited Members
Properties
InputInfo
The input information about the punch's hit, or null if the player didn't hit anything.
public required InputInfo? InputInfo { get; init; }
Property Value
- InputInfo
PunchType
public required EPlayerPunch PunchType { get; init; }
Property Value
- EPlayerPunch
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]