Table of Contents

Class PlayerMeleed

Namespace
Uncreated.Warfare.Events.Models.Players
Assembly
Uncreated.Warfare.dll

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

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry