< Dice‎ | RollResult
Revision as of 22:11, 10 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollResult.ResultType Property}} Gets whether or not Value represents the die total or the number of successes. {{ns}} == Syntax == <syntaxhighlight lang="C#"> publ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RollResult.ResultType Property

From DiceRoller Documentation

Gets whether or not Value represents the die total or the number of successes.

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

Syntax

public ResultType ResultType { get; private set; }

Property Value

Type: Dice.ResultType

Whether or not Value represents the roll total or the number of successes. This property is read-only.

Remarks

In a die roll where normal dice are mixed with dice which count number of successes, the final result will be ResultType.Total rather than ResultType.Success. In other words, normal dice override success dice.