Class FobSuppliesChanged
Event listener args which fires after supplies are added or removed from a IResourceFob.
[EventModel(EventSynchronizationContext.Pure)]
public class FobSuppliesChanged : IActionLoggableEvent, IFobNeedsUIUpdateEvent
- Inheritance
-
FobSuppliesChanged
- Implements
- Inherited Members
Properties
AmountDelta
The number of supplies that were added (positive) or removed (negative).
public required float AmountDelta { get; init; }
Property Value
ChangeReason
The reason the supplies were added or removed.
public required SupplyChangeReason ChangeReason { get; init; }
Property Value
Fob
The IResourceFob where supplies were added or removed.
public required IResourceFob Fob { get; init; }
Property Value
Resupplier
The player who resupplied this fob, if this event was invoked due to resupplying a fob.
public required WarfarePlayer? Resupplier { get; init; }
Property Value
SupplyType
The type of supplies that were added or removed.
public required SupplyType SupplyType { get; init; }
Property Value
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]