csharp
public readonly record struct LootItemStatisticsWhat one item did over a simulation.
Fields and properties (7)
public DefId ItemWhich item.
public string NameWhat a designer calls it, or its id when this build has no such item.
public int DropsHow many rows dropped it.
public int EventsHow many events dropped at least one.
public long TotalHow many of it dropped, stacks summed.
public int SmallestThe smallest stack that dropped.
public int LargestThe largest.
Methods (3)
public LootItemStatistics(DefId Item, string Name, int Drops, int Events, long Total, int Smallest, int Largest)What one item did over a simulation.
public double RateOver(int events)How often an event dropped at least one, as a fraction.
public double PerEvent(int events)How many dropped per event on average, stacks counted.
Used by (3)
- LootSimulationVixen.Editor.Gameplay.Loot
- LootSimulatorVixen.Editor.Gameplay.Loot
- LootSimulatorTestsVixen.Editor.Gameplay.Loot.Tests