Class AidPlayerRequested
Invoked when a player tries to use a consumable item on another player.
[EventModel(EventSynchronizationContext.PerPlayer, SynchronizedModelTags = new string[] { "modify_inventory", "modify_useable" })]
public sealed class AidPlayerRequested : CancellablePlayerEvent, IPlayerEvent, ICancellable
- Inheritance
-
AidPlayerRequested
- Implements
- Inherited Members
Properties
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 bool IsEffectiveRevive { get; }
Property Value
IsRevive
If this aid revived Player.
public bool IsRevive { get; }
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
StartingBleedState
public required bool StartingBleedState { get; init; }
Property Value
StartingBrokenBonesState
public required bool StartingBrokenBonesState { get; init; }
Property Value
StartingExperience
public required uint StartingExperience { get; init; }
Property Value
StartingFood
public required byte StartingFood { get; init; }
Property Value
StartingHealth
public required byte StartingHealth { get; init; }
Property Value
StartingInfection
public required byte StartingInfection { get; init; }
Property Value
StartingStamina
public required byte StartingStamina { get; init; }
Property Value
StartingWarmth
public required uint StartingWarmth { get; init; }
Property Value
StartingWater
public required byte StartingWater { get; init; }