< Dice‎ | AST‎ | DiceAST
Revision as of 19:17, 16 May 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|DiceAST.UnderlyingRollNode Property}} Gets the roll node underneath this node, unless this node is a roll node of some sort. {{ns}} == Syntax == <syntaxhighlight la...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DiceAST.UnderlyingRollNode Property

From DiceRoller Documentation

Gets the roll node underneath this node, unless this node is a roll node of some sort.

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

Syntax

protected internal virtual DiceAST UnderlyingRollNode { get; }

Property Value

Type: Dice.AST.DiceAST

The roll node underneath this node, unless this node is a roll node of some sort.

Remarks

The default implementation of UnderlyingRollNode returns this. If you are implementing an intermediate node (such as a new extra), you should override this to return Expression.UnderlyingRollNode (assuming your node's reference to your child is named Expression).