RollResult.AllRolls Field

From DiceRoller Documentation

The rolled value for every die, from left-to-right according to the normalized Expression.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

private IReadOnlyList<uint> AllRolls

Field Value

Type: System.Collections.Generic.IReadOnlyList<System.UInt32>

The rolled value for every die, from left-to-right according to the normalized Expression.

Remarks

By taking Expression, AllRolls, and AllMacros, it is possible to reconstruct the full DiceAST and arrive at exactly the same result. In the event access to RollRoot is needed after a RollResult is deserialized, this is how RollRoot should be created.