< Dice‎ | AST‎ | DiceAST
Revision as of 19:23, 16 May 2017 by Skizzerz (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DiceAST.Value Property

From DiceRoller Documentation

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.