DiceAST.Values Property
From DiceRoller Documentation
Gets the underlying dice that were rolled, as well as their values.
- Namespace: Dice.AST
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public abstract IReadOnlyList<DieResult> Values { get; }
Property Value
Type: System.Collections.Generic.IReadOnlyList<Dice.DieResult>
The underlying dice that were rolled.
Remarks
When a node is evaluated or rerolled, it should set Value to what the value of the node is, and Values to the individual die results that comprise Value. Values must be overridden in the derived class, it is recommended to store it as a List<DieResult> to allow for easier evaluation.