BuiltinMacros Class

From DiceRoller Documentation

Contains callbacks for all built-in macros.

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

Inheritance Hierarchy

System.Object

Dice.BuiltinMacros

Syntax

public static class BuiltinMacros

Methods

Name Description
S NumDice(MacroContext) Returns the number of dice rolled so far.

Remarks

These macros are automatically registered whenever constructing a new RollerConfig object, but can be removed from the macro registry if desired.