Class PlayerRearmedKit
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
AmmoStorage
The IAmmoStorage that was used to rearm the player's kit.
public required IAmmoStorage AmmoStorage { get; init; }
Property Value
Kit
The kit that is being rearmed, included up to Giveable.
public required Kit Kit { get; init; }
Property Value
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]