csharp
public sealed class LootContextWhat a row's conditions are evaluated against: the kill, not the killer's stats.
Remarks
An IRequirementContext like everything else, so "only on Heroic", "only above level 60" and "only in Queensdale" are the same requirement algebra a vendor and an ability use. The tags are whatever the caller thinks is true of the drop — the victim's tags, the zone's, the difficulty's — and the values are named numbers it supplies.
Fields and properties (2)
public static LootContext EmptyA context with no tags and no values. Every unconditional row is in.
public GameplayTagSet? TagsThe subject's tags, or null when it has none.
Methods (3)
public LootContext(GameplayTagSet? tags = null)Makes a context.
public LootContext With(string name, float value)Supplies a named number a condition can compare against.
public bool TryGetValue(AttributeId subject, out float value)A number the subject can be asked for.
Used by (4)
- LootSimulatorVixen.Editor.Gameplay.Loot
- LootSimulatorTestsVixen.Editor.Gameplay.Loot.Tests
- LootEvaluatorVixen.Gameplay.Loot
- LootRollTestsVixen.Gameplay.Loot.Tests