Table of Contents

Class PlayerRearmedKit

Namespace
Uncreated.Warfare.Events.Models.Fobs.Ammo
Assembly
Uncreated.Warfare.dll

Event listener args which fires after a player their kit rearms from a IAmmoStorage.

[EventModel(EventSynchronizationContext.Pure)]
public class PlayerRearmedKit : PlayerEvent, IPlayerEvent, IActionLoggableEvent
Inheritance
PlayerRearmedKit
Implements
Inherited Members

Properties

AmmoConsumed

The amount of ammo that was consumed from the IAmmoStorage.

public required float AmmoConsumed { get; init; }

Property Value

float

AmmoStorage

The IAmmoStorage that was used to rearm the player's kit.

public required IAmmoStorage AmmoStorage { get; init; }

Property Value

IAmmoStorage

Kit

The kit that is being rearmed, included up to Giveable.

public required Kit Kit { get; init; }

Property Value

Kit

Methods

GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)

public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)

Parameters

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry