Struct PluginLootClassificationContext
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
Everything a classifier is given about one item it has to judge.
public readonly record struct PluginLootClassificationContext : IEquatable<PluginLootClassificationContext>
- Implements
- Inherited Members
Constructors
PluginLootClassificationContext(PluginInventoryItem, PluginItemProperties, IReadOnlyList<PluginInventoryItem>)
Everything a classifier is given about one item it has to judge.
public PluginLootClassificationContext(PluginInventoryItem Item, PluginItemProperties Properties, IReadOnlyList<PluginInventoryItem> OwnedItems)
Parameters
ItemPluginInventoryItemThe item being judged.
PropertiesPluginItemPropertiesThe property tables the client holds for that item, including its weapon and armor profiles when it has been appraised.
OwnedItemsIReadOnlyList<PluginInventoryItem>Everything the player already owns, so a rule with a count limit can see how many of something is already held.
Properties
Item
The item being judged.
public PluginInventoryItem Item { get; init; }
Property Value
OwnedItems
Everything the player already owns, so a rule with a count limit can see how many of something is already held.
public IReadOnlyList<PluginInventoryItem> OwnedItems { get; init; }
Property Value
Properties
The property tables the client holds for that item, including its weapon and armor profiles when it has been appraised.
public PluginItemProperties Properties { get; init; }