Table of Contents

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

Item PluginInventoryItem

The item being judged.

Properties PluginItemProperties

The property tables the client holds for that item, including its weapon and armor profiles when it has been appraised.

OwnedItems IReadOnlyList<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

PluginInventoryItem

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

IReadOnlyList<PluginInventoryItem>

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; }

Property Value

PluginItemProperties