Table of Contents

Class AidPlayerRequested

Namespace
Uncreated.Warfare.Events.Models.Players
Assembly
Uncreated.Warfare.dll

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

bool

IsRevive

If this aid revived Player.

public bool IsRevive { get; }

Property Value

bool

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

WarfarePlayer

StartingBleedState

public required bool StartingBleedState { get; init; }

Property Value

bool

StartingBrokenBonesState

public required bool StartingBrokenBonesState { get; init; }

Property Value

bool

StartingExperience

public required uint StartingExperience { get; init; }

Property Value

uint

StartingFood

public required byte StartingFood { get; init; }

Property Value

byte

StartingHealth

public required byte StartingHealth { get; init; }

Property Value

byte

StartingInfection

public required byte StartingInfection { get; init; }

Property Value

byte

StartingStamina

public required byte StartingStamina { get; init; }

Property Value

byte

StartingWarmth

public required uint StartingWarmth { get; init; }

Property Value

uint

StartingWater

public required byte StartingWater { get; init; }

Property Value

byte