Vixen
c7401864
csharp
public readonly record struct LootItemStatistics

What one item did over a simulation.

Read the guide page for this →

Fields and properties (7)

  • public DefId Item

    Which item.

  • public string Name

    What a designer calls it, or its id when this build has no such item.

  • public int Drops

    How many rows dropped it.

  • public int Events

    How many events dropped at least one.

  • public long Total

    How many of it dropped, stacks summed.

  • public int Smallest

    The smallest stack that dropped.

  • public int Largest

    The 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