Class PlayerAided
Invoked when a player uses a consumable item on another player.
public sealed class PlayerAided : CancellablePlayerEvent, IPlayerEvent, ICancellable, IActionLoggableEvent
- Inheritance
-
PlayerAided
- Implements
- Inherited Members
Properties
BleedStateChanged
public required bool BleedStateChanged { get; init; }
Property Value
BrokenBonesStateChanged
public required bool BrokenBonesStateChanged { get; init; }
Property Value
ExperienceChange
public required int ExperienceChange { get; init; }
Property Value
FoodChange
public required int FoodChange { get; init; }
Property Value
HealthChange
The amount of health added to Player.
public required int HealthChange { get; init; }
Property Value
InfectionChange
public required int InfectionChange { get; init; }
Property Value
IsEffectiveRevive
If this aid revived Player and if the medic was awarded points. This will be false if the player recently revived the medic already.
public required bool IsEffectiveRevive { get; init; }
Property Value
IsRevive
If this aid revived Player.
public required bool IsRevive { get; init; }
Property Value
Item
The item used to aid.
public required IAssetLink<ItemConsumeableAsset> Item { get; init; }
Property Value
- IAssetLink<ItemConsumeableAsset>
Medic
The player who aided Player.
public required WarfarePlayer Medic { get; init; }
Property Value
StaminaChange
public required int StaminaChange { get; init; }
Property Value
WarmthChange
public required int WarmthChange { get; init; }
Property Value
WaterChange
public required int WaterChange { get; init; }
Property Value
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]