Table of Contents

Class ClothingSwapped

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

Invoked when a player swaps their clothes to another item or remove clothes completely.

[EventModel(EventSynchronizationContext.Pure)]
public class ClothingSwapped : PlayerEvent, IPlayerEvent
Inheritance
ClothingSwapped
Implements
Inherited Members

Properties

Asset

The asset of the item being equipped, if any.

public required ItemClothingAsset? Asset { get; init; }

Property Value

ItemClothingAsset

EffectPlayed

If the equip sound was played on the player's side.

public required bool EffectPlayed { get; init; }

Property Value

bool

Quality

The quality of the item being equipped, if any.

public required byte Quality { get; init; }

Property Value

byte

State

The metadata of the item being equipped, if any.

public required byte[]? State { get; init; }

Property Value

byte[]

Type

The clothing slot being modified.

public required ClothingType Type { get; init; }

Property Value

ClothingType