Vixen
c7401864
csharp
public sealed class VendorStock

One stock row, compiled.

Read the guide page for this →

Fields and properties (9)

  • public VendorStockDefinition Definition

    What it was compiled from.

  • public int Index

    Which row of the list it is.

  • public DefId Item

    What is sold.

  • public DefId Currency

    What it is paid for in.

  • public long Price

    How much, each. Never below zero.

  • public int Quantity

    How many are in stock, or zero for unlimited.

  • public bool IsUnlimited

    Whether it never runs out.

  • public float RestockSeconds

    How long until one sold comes back.

  • public RequirementSet Requirements

    What has to be true to buy it.

Used by (4)

  • ReferenceTestsMmo.Content.Tests
  • EconomyLibraryVixen.Gameplay.Economy
  • VendorVixen.Gameplay.Economy
  • VendorStateVixen.Gameplay.Economy