Vixen
c7401864
csharp
public record class LootTableDefinition

A tree of weighted rows, and the shape a designer actually authors.

Read the guide page for this →

Fields and properties (4)

  • public string DisplayName

    What it is called, in the editor and in a log line.

  • public int Rolls

    How many times the weighted pick runs. Zero means the table has no pick.

  • public List<LootEntryDefinition> Entries

    Its rows.

  • public PityPolicyDefinition? Pity

    How a run of bad luck becomes a guarantee, or null for no pity.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (14)

  • ContentVixen.Editor.Gameplay.Loot.Tests
  • LootOutlineVixen.Editor.Gameplay.Loot
  • LootOutlineTestsVixen.Editor.Gameplay.Loot.Tests
  • LootSimulatorTestsVixen.Editor.Gameplay.Loot.Tests
  • LootTableModelVixen.Editor.Gameplay.Loot
  • LootTableModelTestsVixen.Editor.Gameplay.Loot.Tests
  • ContentVixen.Gameplay.Loot.Tests
  • LootLibraryVixen.Gameplay.Loot
  • LootLibraryTestsVixen.Gameplay.Loot.Tests
  • LootModuleVixen.Gameplay.Loot
  • LootRollTestsVixen.Gameplay.Loot.Tests
  • LootTableVixen.Gameplay.Loot
  • TypeRegistrationVixen.Gameplay.Loot
  • Vixen_Gameplay_Loot_LootTableDefinitionSerializerVixen.Gameplay.Loot