Difference between revisions of "Dice/AST/DiceAST/Value"
From DiceRoller Documentation
(Created page with "{{APIdoc|DiceAST.Value Property}} Gets the final value of the node. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public decimal Value { get; protected set; } </syntaxhigh...") |
(No difference)
|
Latest revision as of 19:23, 16 May 2017
Gets the final value of the node.
- Namespace: Dice.AST
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public decimal Value { get; protected set; }
Property Value
Type: System.Decimal
The final value of the node.
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.