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.