Skip to content

ProbabilityItem

Namespace: SideXP.Core | Inherits from: IProbabilityItem<T>

public class ProbabilityItem : IProbabilityItem<T>

Groups an item of the list and its probability value.

Properties

Data

public T Data

Inherited documentation.

Probability

public float Probability

The probability value of this item.

Label

public string Label

Gets the name or identifier of the item.