Table of Contents

Class PlayerDied

Namespace
Uncreated.Warfare.Events.Models.Players
Assembly
Uncreated.Warfare.dll
[EventModel(EventSynchronizationContext.Pure)]
public class PlayerDied : PlayerEvent, IPlayerEvent, IActionLoggableEvent
Inheritance
PlayerDied
Implements
Inherited Members

Constructors

PlayerDied(in DamagePlayerParameters)

public PlayerDied(in DamagePlayerParameters parameters)

Parameters

parameters DamagePlayerParameters

Properties

ActiveVehicle

public InteractableVehicle? ActiveVehicle { get; }

Property Value

InteractableVehicle

Cause

public EDeathCause Cause { get; }

Property Value

EDeathCause

DeadTeam

public Team DeadTeam { get; }

Property Value

Team

DefaultMessage

public string? DefaultMessage { get; }

Property Value

string

DriverAssist

public WarfarePlayer? DriverAssist { get; }

Property Value

WarfarePlayer

Instigator

public CSteamID Instigator { get; }

Property Value

CSteamID

IsGuaranteedCheaterKill

public bool IsGuaranteedCheaterKill { get; set; }

Property Value

bool

KillDistance

public float KillDistance { get; }

Property Value

float

Killer

public WarfarePlayer? Killer { get; }

Property Value

WarfarePlayer

KillerBranch

public Branch? KillerBranch { get; }

Property Value

Branch?

KillerClass

public Class? KillerClass { get; }

Property Value

Class?

KillerKitName

public string? KillerKitName { get; }

Property Value

string

KillerPoint

public Vector3 KillerPoint { get; }

Property Value

Vector3

KillerSession

public SessionRecord? KillerSession { get; }

Property Value

SessionRecord

KillerTeam

public Team? KillerTeam { get; }

Property Value

Team

Limb

public ELimb Limb { get; }

Property Value

ELimb

MessageCause

public EDeathCause MessageCause { get; }

Property Value

EDeathCause

MessageFlags

public DeathFlags MessageFlags { get; }

Property Value

DeathFlags

MessageKey

public string? MessageKey { get; }

Property Value

string

Parameters

Properties for how players are damaged.

public ref readonly DamagePlayerParameters Parameters { get; }

Property Value

DamagePlayerParameters

PlayerKitName

public string? PlayerKitName { get; }

Property Value

string

Point

public Vector3 Point { get; }

Property Value

Vector3

PrimaryAsset

public IAssetLink<Asset>? PrimaryAsset { get; }

Property Value

IAssetLink<Asset>

SecondaryAsset

public IAssetLink<Asset>? SecondaryAsset { get; }

Property Value

IAssetLink<Asset>

Session

public SessionRecord? Session { get; }

Property Value

SessionRecord

ThirdParty

public WarfarePlayer? ThirdParty { get; }

Property Value

WarfarePlayer

ThirdPartyAtFault

public bool ThirdPartyAtFault { get; }

Property Value

bool

ThirdPartyId

public CSteamID? ThirdPartyId { get; }

Property Value

CSteamID?

ThirdPartyPoint

public Vector3 ThirdPartyPoint { get; }

Property Value

Vector3

ThirdPartySession

public SessionRecord? ThirdPartySession { get; }

Property Value

SessionRecord

ThirdPartyTeam

public Team? ThirdPartyTeam { get; }

Property Value

Team

TimeDeployed

public float TimeDeployed { get; }

Property Value

float

TurretVehicleOwner

public IAssetLink<VehicleAsset>? TurretVehicleOwner { get; }

Property Value

IAssetLink<VehicleAsset>

WasBleedout

public bool WasBleedout { get; }

Property Value

bool

WasEffectiveKill

public bool WasEffectiveKill { get; }

Property Value

bool

WasSuicide

public bool WasSuicide { get; }

Property Value

bool

WasTeamkill

public bool WasTeamkill { get; }

Property Value

bool

WillBan

public bool WillBan { get; set; }

Property Value

bool

Methods

GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)

public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)

Parameters

serviceProvider IServiceProvider
multipleEntries ActionLogEntry[]

Returns

ActionLogEntry