Skip to content

ProbabilityItem

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

public class ProbabilityItem : IProbabilityItem<T>

Groups an item of the enum and its probability value.

Properties

EnumValue

public int EnumValue

Inherited documentation.

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.