MacroContext.ValueType Property

From DiceRoller Documentation

Gets or sets the type of value this macro returns.

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

Syntax

public ResultType ValueType { get; set; }

Property Value

Type: Dice.ResultType

The type of value this macro returns.

Remarks

This field is initialized to ResultType.Total. The callback should change this if the macro needs to sometimes return number of successes.