< Dice | RollResult
Difference between revisions of "Dice/RollResult/AllMacros"
From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.AllMacros Field}} The value for every macro, from left-to-right according to the normalized Expression. {{ns}} == Syntax == <syntaxhigh...") |
(No difference)
|
Latest revision as of 17:51, 25 April 2017
The value for every macro, from left-to-right according to the normalized Expression.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
private IReadOnlyList<decimal> AllMacros
Field Value
Type: System.Collections.Generic.IReadOnlyList<System.Decimal>
The value for every macro, 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.