Class ClothingSwapped
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
Quality
The quality of the item being equipped, if any.
public required byte Quality { get; init; }
Property Value
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; }