Difference between revisions of "Dice/RollResult/AllRolls"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.AllRolls Field}} The rolled value for every die, from left-to-right according to the normalized Expression|Expression. {{ns}} == Syntax == <synta...")
 
 
Line 1: Line 1:
 
{{APIdoc|RollResult.AllRolls Field}}
 
{{APIdoc|RollResult.AllRolls Field}}
The rolled value for every die, from left-to-right according to the normalized [[../|Expression|Expression]].
+
The rolled value for every die, from left-to-right according to the normalized [[../Expression|Expression]].
  
 
{{ns}}
 
{{ns}}

Latest revision as of 17:50, 25 April 2017

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.