Table of Contents

Class ItemDestroyed

Namespace
Uncreated.Warfare.Events.Models.Items
Assembly
Uncreated.Warfare.dll
[EventModel(EventSynchronizationContext.Pure)]
public class ItemDestroyed
Inheritance
ItemDestroyed
Inherited Members

Properties

Despawned

If the item despawned naturally.

public required bool Despawned { get; init; }

Property Value

bool

DropPlayer

The player that originally dropped the item, if any.

public required WarfarePlayer? DropPlayer { get; init; }

Property Value

WarfarePlayer

DropPlayerId

The Steam64 ID of the player that originally dropped the item, if any.

public required CSteamID DropPlayerId { get; init; }

Property Value

CSteamID

DroppedItem

An object representing the item that was dropped.

public required ItemData DroppedItem { get; init; }

Property Value

ItemData

Item

Extra information about the item.

public required Item Item { get; init; }

Property Value

Item

PickUpPage

If this was a pick-up, the page the item went to.

public required Page PickUpPage { get; init; }

Property Value

Page

PickUpPlayer

The player that picked up the item, if any.

public required WarfarePlayer? PickUpPlayer { get; init; }

Property Value

WarfarePlayer

PickUpPlayerId

The Steam64 ID of the player that picked up the item, if any.

public required CSteamID PickUpPlayerId { get; init; }

Property Value

CSteamID

PickUpRotation

If this was a pick-up, the rotation the item went to.

public required byte PickUpRotation { get; init; }

Property Value

byte

PickUpX

If this was a pick-up, the X-coord the item went to.

public required byte PickUpX { get; init; }

Property Value

byte

PickUpY

If this was a pick-up, the Y-coord the item went to.

public required byte PickUpY { get; init; }

Property Value

byte

PickedUp

If the item was picked up by a player.

public required bool PickedUp { get; init; }

Property Value

bool