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
ObjectIduintThe object affected by the receipt.
EquippedLocationuintIts exact new location, or zero on removal.
IsRemovalboolWhether the receipt removes the object from equipment.
Properties
EquippedLocation
Its exact new location, or zero on removal.
public uint EquippedLocation { get; init; }
Property Value
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
IsRemoval
Whether the receipt removes the object from equipment.
public bool IsRemoval { get; init; }
Property Value
ObjectId
The object affected by the receipt.
public uint ObjectId { get; init; }