Table of Contents

Struct PluginEquipmentObservation

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

An authoritative equipment placement or removal observation.

public readonly record struct PluginEquipmentObservation : IEquatable<PluginEquipmentObservation>
Implements
Inherited Members

Constructors

PluginEquipmentObservation(uint, uint, bool)

An authoritative equipment placement or removal observation.

public PluginEquipmentObservation(uint ObjectId, uint EquippedLocation, bool IsRemoval)

Parameters

ObjectId uint

The object affected by the receipt.

EquippedLocation uint

Its exact new location, or zero on removal.

IsRemoval bool

Whether the receipt removes the object from equipment.

Properties

EquippedLocation

Its exact new location, or zero on removal.

public uint EquippedLocation { get; init; }

Property Value

uint

IsInitialPlacement

Whether an object entered the world already in this location, rather than changing location after it was present.

public bool IsInitialPlacement { get; init; }

Property Value

bool

IsRemoval

Whether the receipt removes the object from equipment.

public bool IsRemoval { get; init; }

Property Value

bool

ObjectId

The object affected by the receipt.

public uint ObjectId { get; init; }

Property Value

uint